Isolated vs Cross Margin in DeFi Perps: How Margin Ratio Works and How to Size Without Getting Liquidated

By lz · Oct 19, 2026 · 10 min read

Most liquidation stories start the same way: “I was only using 10x leverage.” Leverage wasn’t the problem. The problem was how much margin was backing the position, and what else that margin was exposed to. Two traders can both be “10x long” and face completely different liquidation prices — because one is on isolated margin and the other is on cross margin.

This guide explains the two margin modes, defines margin ratio, derives the liquidation price for each mode with numbers you can check, and ends with the one sizing rule that matters: choose your position size from risk, and let leverage be the output — never the input.

What margin actually is

Margin is the collateral you post to back a leveraged position. Three numbers describe every position:

notional = price × size
leverage = notional / margin
initialMargin = notional / leverage

If you go long 0.5 BTC at $100,000, your notional is $50,000. Post $5,000 of margin and you are at 10x leverage. Post $20,000 and you are at 2.5x on the same position. Same direction, same size, same market — very different risk, because the margin cushion is different.

Two margin concepts get confused constantly, so keep them apart:

  • Initial margin — what you post to open the position.
  • Maintenance margin — the minimum equity your position must keep to stay open. Fall below it and the venue liquidates you.

Maintenance margin is usually expressed as a percentage of notional, the maintenance margin rate (MMR):

maintenanceMargin = notional × MMR

MMR is venue-specific and can differ by market and position size. The 1% MMR used in every example below is illustrative — check your venue’s docs or the live position panel for the real number before trading on it.

Isolated vs cross margin

Isolated margin assigns a fixed slice of collateral to one position. If that position gets liquidated, you lose (at most) that slice. Your other positions and the rest of your account are untouched.

Cross margin lets every open position draw on your entire account balance. One pool of equity defends all positions. A position survives deeper drawdowns — but a bad position can drain the whole account, and one liquidation can cascade into others.

Isolated marginCross margin
Collateral backing the positionOnly the margin assigned to itYour whole account balance
Loss if this position liquidatesCapped at the assigned marginCan eat the entire account
Effect of other positionsNone — positions are independentShared pool — one bad position drains margin for all
Liquidation priceHigher (closer to entry) for the same sizeLower (further from entry) for the same size
Best forCapping the damage of one idea; testing a thesisHolding a small number of positions you actively manage

Neither mode is “safer” in the abstract. Isolated is safer for containing a loss. Cross is safer for surviving a wick — at the price of exposing everything.

Margin ratio: the one number to watch

Venues display margin health under different names — margin ratio, margin usage, account leverage — and the definitions differ, so always read the label on your venue. The version used in this guide:

marginRatio = accountEquity / totalNotional

A higher margin ratio means a bigger cushion. A margin ratio of 40% means your equity is 40% of your total notional. Liquidation arrives when equity falls to total maintenance margin, i.e. when your margin ratio falls to roughly the MMR. The gap between your margin ratio and the MMR is your room to survive.

The practical takeaway: leverage and margin ratio are two views of the same thing. 10x leverage on one position with no spare balance means a margin ratio of 10%. The same position with spare balance behind it has a higher margin ratio and a lower liquidation price. That is why “what leverage are you using?” is the wrong question — “what is your margin ratio?” is the right one.

Liquidation price: isolated margin (derived)

For an isolated position, only its own margin defends it. Take a long: you post margin M, hold size S, enter at P0. At price P, your equity is the margin plus unrealized PnL:

equity(P) = M + (P − P0) × S

Liquidation hits when equity equals maintenance margin, MMR × P × S. Solving for P (ignoring fees and funding, which only make liquidation arrive sooner):

long:  P_liq = P0 × (1 − 1/leverage) / (1 − MMR)
short: P_liq = P0 × (1 + 1/leverage) / (1 + MMR)

Worked example — long 0.5 BTC at $100,000, 10x isolated, MMR 1%:

P_liq = $100,000 × (1 − 0.10) / (1 − 0.01)
      = $100,000 × 0.90 / 0.99
      = $90,909.09

A 9.09% drop liquidates you — not 10%, because maintenance margin takes its cut first. Raise leverage and the liquidation price creeps toward your entry fast:

Leverage (isolated long, $100,000 entry, MMR 1%)Liquidation priceDrop to liquidation
5x$80,808.08−19.19%
10x$90,909.09−9.09%
25x$96,969.70−3.03%
50x$98,989.90−1.01%

At 50x, a 1% wick ends the trade. The leverage didn’t change your thesis — it changed how much being briefly wrong costs you.

Liquidation price: cross margin (worked comparison)

Under cross margin, your whole account equity defends the position. Same trade, different backing: long 0.5 BTC at $100,000, but now the account holds $20,000 of equity instead of $5,000 of isolated margin.

equity(P) = $20,000 + (P − $100,000) × 0.5
maintenanceMargin(P) = 1% × P × 0.5

Set them equal:

$20,000 + 0.5P − $50,000 = 0.005P
0.495P = $30,000
P_liq = $60,606.06

The same 0.5 BTC long survives down to $60,606 on cross margin versus $90,909 on isolated margin — a 39.4% drop instead of 9.1%. That is the cross-margin bargain: far more room to survive, but if price does reach $60,606, the loss is nearly the whole $20,000 account, not the $5,000 isolated slice.

And cross margin’s hidden trap: every position shares the pool. Add a second losing position and the liquidation price of the first one moves against you, even though you never touched it. Correlated positions on cross margin are one big position wearing a disguise.

Size from risk, not from leverage

Here is the sizing rule that makes margin mode a choice instead of a gamble:

riskAmount = accountEquity × riskPerTrade
positionNotional = riskAmount / stopDistancePct
impliedLeverage = positionNotional / accountEquity

Worked example — $20,000 account, 1% risk per trade, stop 2% from entry:

riskAmount = $20,000 × 1% = $200
positionNotional = $200 / 2% = $10,000
impliedLeverage = $10,000 / $20,000 = 0.5x

Notice what happened: the position is $10,000 notional, and leverage is just the arithmetic output — 0.5x. You never “chose” leverage. You chose how much you were willing to lose ($200) and where you would admit you were wrong (2% away), and the size followed.

This is also why max leverage is a trap. A venue offering 50x is offering you the ability to risk your whole account on a 1% move. The maximum is a ceiling on position size, not a recommendation. Professional sizing works the other way: risk first, size second, leverage last.

Five mistakes that get margin traders liquidated

  1. Using max leverage as a position size. Leverage is a multiplier on both PnL and liquidation speed. Size from risk (above), not from the slider.
  2. Adding margin to a losing isolated position without a plan. Topping up margin lowers the liquidation price, which is sometimes right — but “add margin until it comes back” is averaging down with extra steps. Decide the max loss before entry.
  3. Running many correlated positions on cross margin. Three longs on BTC, ETH, and SOL on cross margin are not three independent bets. One market-wide drop hits all three against the same equity pool.
  4. Forgetting that fees and funding drain margin. The formulas above ignore fees and funding, which both subtract from equity over time. A position that starts safe can drift toward liquidation on funding alone — see the funding guide linked below.
  5. Confusing initial margin with maintenance margin. Initial margin is what you post; maintenance margin is what keeps you alive. A position can be fully collateralized at entry and still liquidate if price moves against it.

Practical checklist

  • Before entry: compute risk amount, stop distance, and position notional from the sizing formula. Know your liquidation price in both modes.
  • Choose the mode deliberately: isolated when you want to cap one idea’s loss; cross when you hold few positions, actively manage them, and want wick survival.
  • On cross margin: count correlated positions as one exposure. Keep spare equity — a 100% margin usage account has no room for any adverse move.
  • During the hold: re-check margin ratio after big moves, and remember funding and fees are quietly subtracting from equity.
  • After the trade: log the margin mode, liquidation price, and whether margin ratio or the stop did the work. That record is what turns one trade’s lesson into a system.

What this guide doesn’t cover

  • Venue-specific MMR values and liquidation engines. Maintenance margin rates, tiered margin by position size, partial liquidations, and insurance-fund mechanics differ by venue. Check the venue’s docs for the numbers that apply to your market.
  • ADL (auto-deleveraging). When an insurance fund can’t cover a liquidation, profitable positions can be deleveraged. It is rare, but it is the reason even winners should know their venue’s rules.
  • GMX-style mechanics. GMX v2 positions carry their own collateral per position (effectively isolated) with borrow fees instead of funding — the sizing rule still applies, but the cost structure differs. See the GMX liquidation guide below.

Not financial advice. This guide is educational. Nothing on this site is financial, investment, tax, or legal advice. Perpetual futures are leveraged derivatives and can result in the total loss of deposited capital.

Maintenance margin rates and liquidation mechanics are venue-specific and can change. The 1% MMR in the examples is illustrative — verify the live values in your venue’s docs or position panel before trading on them.