Understanding position margin is essential for any trader engaging in leveraged derivatives trading, such as futures and perpetual contracts. It acts as collateral to maintain open positions and helps determine liquidation risk. This guide breaks down how position margin works across different margin modes—isolated margin and cross margin—and explores key mechanics, including funding fees, automatic top-ups, and partial/full hedging scenarios.
Isolated Margin Mode: Position Margin Explained
In isolated margin mode, each position has a dedicated margin that’s separate from the overall account balance. If the position is liquidated, only the allocated margin is at risk (excluding funding payments).
The formula for calculating position margin in isolated mode is:
Position Margin (Isolated) = Initial Margin + Close Fee
This isolation limits risk but also means less flexibility—if the market moves against the position, there’s no automatic draw from the rest of your balance unless you manually top up.
Automatic Margin Top-Up Due to Funding Fees
Funding fees are periodic payments exchanged between long and short traders in perpetual contracts, typically settled at fixed intervals (e.g., every 8 hours UTC). When a trader owes a funding fee:
- The amount is first deducted from available balance.
- If available balance is insufficient, the system pulls funds from the position margin.
This reduces the margin supporting the position, bringing the liquidation price closer to the mark price, thereby increasing liquidation risk.
👉 Learn how funding fees impact your trading strategy and avoid unexpected margin depletion.
To mitigate this risk, traders can:
- Deposit additional funds
- Convert assets
- Increase order margin after canceling inactive orders
These actions boost either the available balance or directly top up position margin, depending on contract type.
Asset Addition Rules by Contract Type
1. Inverse Contracts
- Scenario A: Funding fee deduction causes margin to drop but remains positive.
→ Added assets go to available balance, not automatically added to position margin. - Scenario B: After funding fee deduction, position still has unrealized P&L.
→ New assets first top up position margin until it reaches the sum of initial margin + close fee. Any excess goes to available balance.
Example:
Trader A holds a BTCUSD long with 1 BTC initial margin. Due to zero available balance, funding fees reduce position margin to -0.05 BTC. They then deposit 1.1 BTC.
- System restores position margin to 1 BTC (original level)
- Remaining 0.05 BTC goes to available balance
2. USDT-Margined Contracts
Regardless of current margin status, any new asset added will:
- First replenish position margin up to (Initial Margin + Close Fee)
- Excess funds go to available balance
This automatic top-up feature enhances safety in volatile conditions.
Cross Margin Mode: Dynamic Position Margin
In cross margin mode, the entire available balance in the relevant currency is used as collateral to prevent liquidation. This offers greater flexibility but spreads risk across all positions in that asset.
1. Single Position (No Hedge)
Here, unrealized P&L directly affects position margin.
- Unrealized Profit: Does not increase usable balance until closed
- Unrealized Loss: Deducted from available balance and added to position margin
Position Margin (Profit) = Initial Margin + Close Fee
Position Margin (Loss) = Initial Margin + Close Fee – Unrealized Loss
Example – Unrealized Loss:
Trader opens a 750 MNT long at 2.753 USDT with 50x leverage.
- Initial Margin: 41.295 USDT
- Close Fee: ~1.5175 USDT
- Initial Position Margin: ~42.81 USDT
- Unrealized Loss: -7.5 USDT
→ Updated Position Margin: 42.81 + 7.5 = ~50.31 USDT
→ Available Balance decreases by 7.5 USDT
Example – Unrealized Profit:
Same setup, but unrealized gain of +2.25 USDT.
→ Position Margin remains at 42.93 USDT
→ No change in available balance until closure
Unrealized profits cannot be reused until settlement.
2. Full Hedge Mode
When a trader holds equal-sized long and short positions in the same instrument (e.g., 750 MNT long + 750 MNT short), they enter a fully hedged state. One side’s profit offsets the other’s loss, greatly reducing liquidation risk.
Formulas:
Long Position Margin = 1.2 × Maintenance Margin % × Position Value + Close Fee – Net Unrealized Loss
Short Position Margin = 1.2 × Maintenance Margin % × Position Value + Close Fee
Once locked in:
- Net loss is fixed
- Future price movements don’t affect margin usage
- Available balance stays stable
Example:
Trader locks in a 4.5 USDT loss on a 750 MNT long by opening an equal short at 2.756 USDT.
→ Long margin drops to ~30.88 USDT
→ Short margin: ~26.38 USDT
→ Total locked; no further liquidation threat regardless of price swing
👉 Discover how hedging strategies can protect your portfolio during market swings.
3. Partial Hedge Mode
When long and short sizes differ (e.g., 1000 MNT long vs. 1200 MNT short), only part of the exposure is hedged.
For Smaller Positions:
Margin = 1.2 × MM% × Value + Close Fee
For Larger Positions:
Margin = 1.2 × MM% × Hedged Value + Close Fee + Unhedged Initial Margin – Net Hedged P&L – Unhedged P&L
Example:
Trader holds:
- Long: 1000 MNT @ 2.817 → Value = 2817 USDT
- Short: 1200 MNT @ 2.814 → Value = 3376.8 USDT
Hedged portion: 1000 MNT
Net hedged loss: -3 USDT
Unhedged short: 200 MNT (profitable)
→ Long (smaller): ~35.87 USDT margin
→ Short (larger): ~50.60 USDT margin
As unrealized losses grow, larger positions require more margin, reducing available balance accordingly.
Frequently Asked Questions (FAQ)
Q: What happens if my position margin goes negative?
A: A negative position margin increases liquidation risk significantly. In isolated mode, even small adverse moves can trigger immediate liquidation. In cross mode, the system draws from available balance to cover the shortfall—unless insufficient funds exist.
Q: Can I manually adjust my position margin?
A: Yes, especially in isolated margin mode. You can increase or decrease allocated margin depending on platform rules and whether orders are active.
Q: How do funding fees affect my margin?
A: Funding fees are paid/received every funding interval. If you owe fees and have no available balance, they’re taken from position margin—reducing buffer against liquidation.
Q: Is cross margin safer than isolated margin?
A: Cross margin uses more capital as collateral, reducing liquidation risk under normal conditions. However, large drawdowns can affect all positions sharing that asset pool.
Q: Does unrealized profit count toward my margin?
A: In cross margin mode, unrealized profits aren’t added to position margin but help offset losses elsewhere. They only become usable after closing the position.
Q: Why does my available balance change when I have unrealized P&L?
A: In cross margin mode, unrealized losses are deducted from available balance and added to position margin to maintain solvency. Profits remain locked until settlement.
Core Keywords
- Position Margin
- Isolated Margin
- Cross Margin
- Funding Fees
- Liquidation Risk
- Unrealized P&L
- Hedging Strategy
- Leverage Trading