How Liquidation Price Is Calculated
The liquidation price of a leveraged position isn't a mystery — it's a formula. Here's the isolated-margin calculation with a worked example.
Liquidation is the moment a leveraged position is force-closed because its margin can no longer cover losses. The liquidation price is exactly where that happens — and for isolated margin, it's fully knowable in advance. Here's the math.
The simplified formula (isolated margin)
For an isolated-margin position, a useful simplified estimate is:
- Long:
Liq ≈ Entry × (1 − 1/Leverage + MMR) - Short:
Liq ≈ Entry × (1 + 1/Leverage − MMR)
where MMR is the maintenance margin rate — the minimum margin the venue requires to keep the position open. Exchanges publish full formulas that also fold in fees; Bybit's, for example, accounts for the estimated fee to close the position and a maintenance-margin deduction (Bybit: isolated liquidation, Bybit: maintenance margin).
A worked example
Say you go long BTC at an entry of $67,500 with 10x leverage and a maintenance margin rate of 0.5%:
Liq ≈ 67,500 × (1 − 1/10 + 0.005) = 67,500 × 0.905 = $61,087.50
So a drop of about 9.5% wipes out the position. Note the pattern: at 10x, roughly a 10% adverse move liquidates you; at 20x, ~5%; at 50x, ~2%. The maintenance margin rate shaves that threshold slightly closer.
Try it
Change the leverage and maintenance margin rate and watch the liquidation price — and the "distance to liquidation" — move:
Simplified isolated-margin estimate. Excludes fees and funding. See the formula and source below.
Cross margin behaves differently
Everything above is for isolated margin, where the liquidation price is fixed. Under cross margin, the liquidation price floats because it depends on your whole account balance and other open positions — see Isolated vs. Cross Margin.
Why this matters for an exchange
The liquidation engine is one of the most safety-critical systems a venue runs: it must calculate these thresholds accurately, monitor mark prices in real time, and close positions cleanly so the platform never takes on bad debt. It's a core reason operators lean on proven infrastructure rather than building risk systems from scratch. (More on the business side in How Crypto Exchanges Make Money.)
Formulas and maintenance-margin tiers vary by exchange and contract type; figures reflect the cited documentation.
GammaFloww Team
Derivatives exchange infrastructure engineers
The GammaFloww team builds white-label crypto derivatives exchange infrastructure — matching engines, liquidity, and risk systems — used by partners to launch futures and options venues. These guides distill what we've learned shipping and operating that stack.
More in Trader Education
Crypto Leverage Explained: What 125x Really Means
Leverage lets a trader control a large position with a small margin — but it shrinks the distance to liquidation fast. Here's what 125x actually means.
Isolated vs. Cross Margin
Isolated and cross margin change how — and when — a leveraged position gets liquidated. Here's the difference, with the liquidation behavior sourced.
Funding Rates Explained: Why Perps Track Spot
The funding rate is the mechanism that keeps a perpetual future tethered to spot. Here's who pays whom, how often, and what it costs.
What Are Perpetual Futures? A Plain-English Guide
Perpetual futures are the most-traded product in crypto. Here's how they work — no expiry, funding rates, leverage — explained simply.
Thinking about launching your own venue?
GammaFloww is the white-label engine behind modern derivatives exchanges. See how fast you could go live.
