Liquidation Price Calculator
Position
- For an isolated-margin long the margin runs out when the adverse move eats the posted margin (1 / leverage) adjusted by the maintenance margin rate.
- Entry $100.00 at 10.0x leverage posts 1 / 10.0 = 10.0% margin, and the maintenance margin rate is 0.5%.
- Liquidation price = entry x (1 - 1/leverage + MMR) = $90.50.
- The price can move 9.5% against the position - it falls to $90.50 - before liquidation under this simplified model; real exchanges use tiered maintenance margins and mark prices, so treat this as an estimate and keep a buffer.
This liquidation price calculator shows the price at which an isolated-margin position would be wiped out, so you can see your risk before you open a trade. It uses the standard simplified isolated-margin model: a long liquidates at entry × (1 − 1/leverage + maintenance margin rate), and a short liquidates at entry × (1 + 1/leverage − maintenance margin rate). The answer is a single break-even price plus the adverse move it represents. A long entered at $100 with 10x leverage and a 0.5% maintenance margin liquidates at $90.50 — a 9.5% adverse move. A short at $250 with 5x leverage and 1% maintenance margin liquidates at $297.50, an adverse rise of 19.0%. At 20x leverage the margin buffer nearly vanishes: the $67,500 long example liquidates at $64,395.00, only 4.6% below entry.
The formula behind this tool is the accepted standard for simplified isolated-margin liquidation estimates, which is why the results match the arithmetic traders use to size positions and set stops. Real exchanges use tiered maintenance margins, mark prices and partial liquidations, so exchange figures will differ from this estimate — treat it as a planning floor, not a quote. This page shows the formula, step-by-step workings, worked examples and sources so you can check every number yourself.
Worked examples
Long at 10x
(Long · 100 $ · 10 x · 0.5 %)
| Estimated liquidation price | $90.50 |
| Adverse move to liquidation | 9.5% |
| Margin buffer per unit | $9.50 |
| Position | Long at 10.0x leverage |
Short at 5x
(Short · 250 $ · 5 x · 1 %)
| Estimated liquidation price | $297.50 |
| Adverse move to liquidation | 19.0% |
| Margin buffer per unit | $47.50 |
| Position | Short at 5.0x leverage |
Long BTC-style at 20x
(Long · 67500 $ · 20 x · 0.4 %)
| Estimated liquidation price | $64,395.00 |
| Adverse move to liquidation | 4.6% |
| Margin buffer per unit | $3,105.00 |
| Position | Long at 20.0x leverage |
Where the formula comes from
The liquidation price formula is not an arbitrary rule of thumb; it falls directly out of how an isolated-margin account is structured. When you open a leveraged position, you post margin that belongs to that position alone. That margin is the cushion absorbing losses. The position is closed out when the loss on the trade has eaten through the posted margin down to the maintenance requirement — the minimum equity the exchange insists you keep behind the position. The price at which that happens is the liquidation price, and the formula is simply the solution to the question: at what price does my remaining equity equal the maintenance requirement?
Start with a long. Your entry price is E and your leverage is L, so the margin you post is E/L per unit. As price falls, you lose one dollar per unit for every dollar of decline. The maintenance requirement is a percentage of the position's value, which for a long is the price times the maintenance margin rate M. Liquidation occurs where the loss equals the posted margin minus that requirement: E/L minus E times M. Solving for the price gives entry x (1 - 1/leverage + maintenance margin rate). For a short the loss runs the other way as price rises, and the same algebra yields entry x (1 + 1/leverage - maintenance margin rate). That is the model this liquidation price calculator applies.
The worked numbers show how the pieces fit. A long entered at $100 with 10x leverage and a 0.5% maintenance margin liquidates at $90.50 — a 9.5% adverse move. The 1/leverage term contributes 10%, and the maintenance rate gives back half a point. A short at $250 with 5x leverage and 1% maintenance margin liquidates at $297.50, an adverse rise of 19.0%: 20% from the leverage term minus the 1% maintenance allowance. Leverage is the dominant force. At 20x, the margin buffer nearly vanishes — the $67,500 long example liquidates at $64,395.00, only 4.6% below entry.
Two cautions follow from the derivation. First, the formula assumes the maintenance requirement is a flat percentage, which is why the maintenance rate appears as a simple subtraction. Second, it assumes a single clean close-out at the computed price. Real exchanges use tiered maintenance margins, mark prices and partial liquidations, so exchange figures differ from this estimate — treat it as a planning floor, not a quote.
Longs and shorts worked
The formula behind this liquidation price calculator treats longs and shorts as mirror images, and the mirror is easiest to see when you run both sides side by side. A long liquidates at entry x (1 - 1/leverage + maintenance margin rate). A short liquidates at entry x (1 + 1/leverage - maintenance margin rate). Same two ingredients, opposite signs. The leverage term subtracts for a long and adds for a short; the maintenance margin rate does the reverse. That single flip explains why the two positions below, at different leverage, end up with very different breathing room.
Take the long first. You enter at $100 with 10x leverage and a 0.5% maintenance margin. One divided by 10 is 0.1, so the long formula reads $100 x (1 - 0.1 + 0.005), which works out to $90.50. Price has to fall 9.5% before the position is liquidated. Now the short: enter at $250 with 5x leverage and a 1% maintenance margin. One divided by 5 is 0.2, so the short formula reads $250 x (1 + 0.2 - 0.01), giving $297.50. That is an adverse rise of 19.0%. Notice the maintenance rate coming out the other way: for the long it is added, nudging the liquidation price up and closer to entry; for the short it is subtracted, pushing the liquidation price further from entry and handing the short more room on that count alone.
The second reason the short has more space is simply leverage. At 5x, the 0.2 leverage term dominates; at 10x, the 0.1 term leaves less cushion. The maintenance rate only adjusts the edge of that cushion, and its direction depends on which side you are on. Push leverage higher and the cushion collapses from both ends. At 20x leverage the margin buffer nearly vanishes: the $67,500 long example liquidates at $64,395.00, only 4.6% below entry. A move that small is ordinary noise in most markets, which is the practical warning behind these numbers.
One caveat belongs with every figure here. Real exchanges use tiered maintenance margins, mark prices and partial liquidations, so exchange figures differ from this estimate. Treat the output as a planning floor, not a quote. The formulas show you the mechanics and the direction of each adjustment; the exchange shows you the final number.
The table below puts the two worked examples next to each other so the sign flip is visible at a glance.
| Position | Entry | Leverage | Maintenance margin | Liquidation price | Adverse move |
|---|---|---|---|---|---|
| Long | $100 | 10x | 0.5% | $90.50 | 9.5% |
| Short | $250 | 5x | 1% | $297.50 | 19.0% |
| Long | $67,500 | 20x | — | $64,395.00 | 4.6% |
Leverage shrinks the buffer fast
Leverage does not just move your liquidation price closer to entry — it compresses the distance in a way that accelerates as leverage climbs. The math behind a liquidation price calculator makes the pattern clear: your buffer is roughly 1 divided by your leverage, minus the maintenance margin rate. At 10x, that buffer is around 10% of entry before maintenance margin is subtracted. At 20x, it is half that. The relationship is inverse, so each doubling of leverage cuts the room for error roughly in half rather than by a fixed amount.
The 20x case shows how little is left. A long entered at $67,500 liquidates at $64,395.00 — only 4.6% below entry. Compare that with the 10x worked example, where a long at $100 with a 0.5% maintenance margin liquidates at $90.50, a 9.5% adverse move. The 20x position has less than half the percentage cushion of the 10x position, and it took only a doubling of leverage to get there. Push leverage higher and the buffer keeps thinning toward the maintenance margin rate itself, where almost no price movement is needed to trigger liquidation.
Leverage on the short side behaves the same way. A short at $250 with 5x leverage and a 1% maintenance margin liquidates at $297.50, an adverse rise of 19.0%. That sounds like a wide cushion, and at 5x it is. But the same inverse rule applies: raise the leverage and the 19% shrinks toward single digits. The direction of the trade changes the formula — entry times (1 + 1/leverage − maintenance margin rate) for shorts instead of (1 − 1/leverage + maintenance margin rate) for longs — but not the squeeze.
This is why distance alone is a misleading safety measure. A 4.6% buffer at 20x can be crossed by a single volatile candle, a wick, or a fast move during thin liquidity, even if the broader trend never turns against you. Volatility, not just the percentage gap to liquidation, is what actually closes leveraged positions. A market that routinely swings several percent in minutes leaves almost no margin for a 20x trade, while the same swing is survivable at 5x or 10x. Before sizing a position, run the numbers through the liquidation price calculator and then ask whether your buffer is wider than the moves the asset typically makes.
One caveat on the output: real exchanges use tiered maintenance margins, mark prices and partial liquidations, so exchange figures differ from this estimate. Treat the result as a planning floor, not a quote.
Why your exchange number differs
If you run the numbers on a liquidation price calculator and then compare them to the figure shown in your exchange's position panel, expect a gap. The estimate here is built on the standard simplified isolated-margin model: a long liquidates at entry × (1 − 1/leverage + maintenance margin rate), and a short at entry × (1 + 1/leverage − maintenance margin rate). That is a clean, transparent formula, but it is not the formula your exchange uses. Knowing where the two diverge tells you how much room to leave yourself.
The first difference is tiered maintenance margins. The model applies a single maintenance margin rate to the whole position, while real exchanges step that rate up as position size grows. A larger position can sit in a higher tier and carry a higher rate than the one you typed in, which moves the true liquidation level closer to your entry. The second is mark versus last price. Exchanges generally trigger liquidations off a mark price that blends index data rather than the last traded price on the book, so a thin wick on one venue may not liquidate you — or a mark that lags a fast move may liquidate you sooner than the chart suggests.
Margin mode changes the math too. Under isolated margin, only the collateral assigned to that position backs it, which is the assumption behind the simplified formula. Under cross margin, your whole account balance stands behind the position, so the effective liquidation distance depends on everything else you hold and can shift as other positions move. Many exchanges also apply partial liquidations, closing part of a position before the whole thing is at risk, so the number you see may be a first trigger rather than a final one. Insurance funds are the last piece: they exist to cover losses beyond a trader's collateral, and their rules and behavior vary by venue.
The size of the gap matters most when leverage is high. At 20x the margin buffer nearly vanishes: the $67,500 long example liquidates at $64,395.00, only 4.6% below entry. A small difference in maintenance margin rate or mark price is a large fraction of a buffer that thin. For reference on how the model behaves elsewhere, a long entered at $100 with 10x leverage and a 0.5% maintenance margin liquidates at $90.50 — a 9.5% adverse move — and a short at $250 with 5x leverage and 1% maintenance margin liquidates at $297.50, an adverse rise of 19.0%.
Because real exchanges use tiered maintenance margins, mark prices and partial liquidations, exchange figures differ from this estimate. Treat the output as a planning floor, not a quote, and keep your own buffer beyond whatever number you calculate.
FAQs
How is a liquidation price calculated?
For an isolated long, the liquidation price is entry price x (1 - 1/leverage + maintenance margin rate). At a $100 entry with 10x leverage and a 0.5% maintenance margin rate, that is $100 x 0.905 = $90.50. The calculator applies this formula to the entry, leverage and margin rate you enter.
Why does higher leverage move liquidation closer?
The posted margin is 1/leverage of the position, so doubling leverage halves the loss the account can absorb. The 20x example has only 4.6% of room versus 9.5% at 10x. Less room means the price needs to move a shorter distance against you before equity reaches the maintenance margin.
What is the maintenance margin rate?
It is the minimum margin fraction an exchange requires to keep a position open. When equity falls to it, liquidation starts. Here it is an input because every venue sets its own, so you enter the rate your exchange publishes rather than relying on a built-in default.
Is this the exact price my exchange will use?
No. Venues use tiered rates, mark prices and sometimes partial liquidation, so treat the result as an estimate and keep a safety buffer beyond it. Your exchange's own figure may differ from the calculator's output, so do not treat it as a guaranteed trigger price.
Does adding margin change the liquidation price?
In isolated margin, adding margin to the position pushes liquidation further away. In cross margin, the whole account balance backs the position, which this model does not cover. This calculator models isolated margin only, so cross-margin results will not match its output.
What happens at liquidation?
The exchange closes the position at market to stop losses exceeding the margin. In fast markets the fill can be worse than the liquidation price itself, so the price you see is not necessarily the price you get. Keep a buffer beyond the estimated level to allow for this.