Crypto Liquidation Price: Formulas and Worked Examples
October 1, 2026 · 10 min read
A crypto liquidation price is the price at which the exchange forcibly closes your leveraged position, because the remaining margin has fallen to the maintenance margin level. For a linear USDT-margined perpetual contract in isolated margin, the calculation is simple: P_liq = E × (1 − 1/L) / (1 − MMR) for a long, and P_liq = E × (1 + 1/L) / (1 + MMR) for a short, where E is the entry price, L the leverage and MMR the maintenance margin rate. This guide breaks down these formulas, checks them against worked examples, compares isolated and cross margin, and shows why the leverage setting does not change your risk at the stop.
Disclaimer: educational content only, not investment advice. Leveraged derivatives carry a high risk of capital loss, which can be fast and total. Access to them is restricted or banned in several countries, including for retail traders in the US on many offshore platforms, and the rules depend on where you live. The formulas below are for learning purposes: every exchange applies its own tiers, fees and rules, and the liquidation price shown by the exchange is always the one that counts.
Notional, margin and leverage: three quantities to keep apart
Before any formula, three concepts need to be clear:
- Notional value: quantity × price. This is the real size of the position. It determines profits, losses and funding.
- Initial margin: the collateral locked up, equal to notional / leverage.
- Leverage setting: the leverage selected for the position on the exchange.
A fourth quantity measures the account's real risk: effective leverage, equal to the sum of open notionals divided by total account equity. A trader who opens 0.1 BTC at 50,000 USDT (5,000 USDT notional) at 10x on a 10,000 USDT account locks up 500 USDT of margin, but their effective leverage is only 0.5.
The maintenance margin is the minimum collateral that must be kept: MMR × quantity × mark price. With a 0.5% MMR, it comes to 25 USDT for 5,000 USDT of notional. When the position's margin balance falls to that level, liquidation is triggered.
How to calculate the liquidation price of a long
Assumptions: linear USDT-margined perpetual contract, isolated margin, a single MMR tier, fees and funding ignored for now.
A long's margin balance equals the initial margin plus the unrealized profit or loss. Liquidation happens when it equals the maintenance margin:
Q × E / L + Q × (P − E) = MMR × Q × P
Dividing by Q and solving for P:
P_liq (long) = E × (1 − 1/L) / (1 − MMR)
Verified worked example
Long 0.2 BTC at 50,000 USDT, 10x leverage, 0.5% MMR.
- Notional: 10,000 USDT. Initial margin: 1,000 USDT.
- P_liq = 50,000 × 0.9 / 0.995 = 45,226.13 USDT, a 9.55% drop.
Check: at 45,226.13, the unrealized loss is 0.2 × (50,000 − 45,226.13) = 954.77 USDT. That leaves 1,000 − 954.77 = 45.23 USDT of margin. The maintenance margin is 0.005 × 0.2 × 45,226.13 = 45.23 USDT. The two amounts are equal: the calculation holds.
You will often see the shortcut P_liq ≈ E × (1 − 1/L + MMR), which gives 45,250 here. It is fine for a ballpark figure, not for a precise calculation.
The liquidation price of a short
For a short, unrealized profit is Q × (E − P). The condition becomes:
Q × E / L + Q × (E − P) = MMR × Q × P
P_liq (short) = E × (1 + 1/L) / (1 + MMR)
Short 0.2 BTC at 50,000 USDT, 10x leverage, 0.5% MMR: P_liq = 50,000 × 1.1 / 1.005 = 54,726.37 USDT, a 9.45% rise.
Check: unrealized loss 0.2 × 4,726.37 = 945.27 USDT; remaining margin 1,000 − 945.27 = 54.73 USDT; maintenance margin 0.005 × 0.2 × 54,726.37 = 54.73 USDT. Consistent.
A short gets liquidated slightly sooner in percentage terms than a long (9.45% versus 9.55%) because the maintenance margin grows as the price rises.
Liquidation distance by leverage
With E = 50,000 and MMR = 0.5%, in isolated margin:
| Leverage | Long liquidation | Drop | Short liquidation | Rise |
|---|---|---|---|---|
| 2x | 25,125.63 | −49.75% | 74,626.87 | +49.25% |
| 3x | 33,500.84 | −33.00% | 66,334.99 | +32.67% |
| 5x | 40,201.01 | −19.60% | 59,701.49 | +19.40% |
| 10x | 45,226.13 | −9.55% | 54,726.37 | +9.45% |
| 20x | 47,738.69 | −4.52% | 52,238.81 | +4.48% |
| 50x | 49,246.23 | −1.51% | 50,746.27 | +1.49% |
| 100x | 49,748.74 | −0.50% | 50,248.76 | +0.50% |
%% titre: Price drop that liquidates a long by leverage %% narration: This chart shows the drop that is enough to liquidate a long in isolated margin, with a 0.5 percent maintenance margin. At 5x, it takes nearly a 20 percent drop; at 50x, 1.5 percent is enough; at 100x, half a percent. xychart-beta title "Drop before a long is liquidated (%)" x-axis ["2x", "3x", "5x", "10x", "20x", "50x", "100x"] y-axis "Drop (%)" 0 --> 50 bar [49.75, 33.0, 19.6, 9.55, 4.52, 1.51, 0.5]
At 50x or 100x, a single wick lasting a few minutes is enough. In crypto, a 1.5% move within an hour is nothing unusual.
Isolated vs cross margin: what changes for liquidation?
In isolated margin, only the margin assigned to the position can be lost. In cross margin, the entire available account balance serves as collateral. Liquidation is further away, but it takes the whole account with it.
For a single position in cross margin, with W the total account balance:
- Long: P_liq = (Q × E − W) / (Q × (1 − MMR))
- Short: P_liq = (Q × E + W) / (Q × (1 + MMR))
Example: 0.2 BTC at 50,000 (10,000 USDT notional) on an account with W = 5,000 USDT, an effective leverage of 2.
- Long: (10,000 − 5,000) / (0.2 × 0.995) = 25,125.63 USDT
- Short: (10,000 + 5,000) / (0.2 × 1.005) = 74,626.87 USDT
These are exactly the prices for isolated margin at 2x. That makes sense: in cross margin, what matters is the account's effective leverage, whatever the leverage setting says. If the balance W exceeds the notional Q × E, the long's numerator turns negative: no liquidation is possible, since effective leverage is below 1.
| Criterion | Isolated margin | Cross margin |
|---|---|---|
| Maximum loss | The position's margin | The entire account balance |
| Liquidation distance | Depends on the leverage setting | Depends on the account's effective leverage |
| Multiple positions | Independent | A loss on one weakens all the others |
| Readability | Simple math, capped loss | Account-wide math, harder to track |
For learning, isolated margin is easier to read: the maximum loss is known in advance. Cross margin is not "safer" because it pushes liquidation further away: it shifts the risk onto the whole account.
Explore the "Advanced Crypto Trading: Strategies, Risk and Automation" course
Why the leverage setting does not change your risk at the stop
This is the most counterintuitive aspect of leverage: the loss at the stop depends only on the quantity and the distance to the stop. The leverage setting only affects the margin locked up and the distance to liquidation.
Take a long at 50,000 with a stop at 48,500 (−3%) and an accepted risk of 150 USDT. Quantity: 150 / 1,500 = 0.1 BTC, or 5,000 USDT of notional. MMR 0.5%.
| Leverage setting | Margin | Liquidation | Loss at stop | Liquidated before the stop? |
|---|---|---|---|---|
| 2x | 2,500 USDT | 25,125.63 | 150 USDT | No |
| 5x | 1,000 USDT | 40,201.01 | 150 USDT | No |
| 10x | 500 USDT | 45,226.13 | 150 USDT | No |
| 20x | 250 USDT | 47,738.69 | 150 USDT | No, but only 1.5 times further than the stop |
| 50x | 100 USDT | 49,246.23 | Stop never reached | Yes |
From 2x to 20x, the loss at the stop stays at 150 USDT. At 50x, the position is liquidated at −1.5%, well before the stop: the 100 USDT margin is lost (plus liquidation fees) on a move that did not even invalidate the trade idea.
%% titre: What leverage changes and what it does not %% narration: In this diagram, the loss at the stop depends only on the quantity and the distance to the stop. The leverage setting acts on the margin locked up, and therefore on the distance to the liquidation price. flowchart LR A["Quantity"] --> C["Loss at stop"] B["Distance to stop"] --> C A --> D["Notional"] D --> F["Margin locked up"] E["Leverage setting"] --> F F --> G["Liquidation distance"]
Choose leverage after size
The rigorous method reverses the beginner's order:
- Set your accepted risk in USDT and place the stop where the analysis says.
- Derive the quantity from it.
- Choose the lowest leverage compatible with your available margin, keeping liquidation at least twice as far away as the stop.
In the example, the two-times rule requires liquidation at 50,000 − 2 × 1,500 = 47,000 at most. You need 50,000 × (1 − 1/L) / 0.995 ≤ 47,000, so 1/L ≥ 0.0647 and L ≤ 15.46. Maximum leverage: 15x (liquidation at 46,901.17). At 16x, liquidation moves up to 47,110.55, too close.
What brings liquidation closer in real life
The formulas above ignore several factors, all of which move liquidation closer.
Funding on perpetual futures
Perpetuals have no expiry: a funding rate, exchanged between buyers and sellers, typically every 8 hours on many exchanges, keeps their price close to spot. When it is positive, longs pay shorts.
Example: funding of +0.01% per period on the 10,000 USDT notional long, or 1 USDT per period, 3 USDT per day, 90 USDT over 30 days. If that funding is deducted from the isolated margin (as it is on many exchanges), margin drops from 1,000 to 910 USDT and liquidation moves up:
P_liq = (Q × E − Q × E / L + funding paid) / (Q × (1 − MMR)) = (10,000 − 1,000 + 90) / 0.199 = 45,678.39 USDT
Liquidation has moved 452 USDT closer without the price moving at all. During euphoric phases, funding can reach several times that level.
Fees and maintenance margin tiers
- Trading fees: opening fees, and on some exchanges a reserve for closing fees, reduce available margin.
- MMR tiers: the larger the position, the higher the maintenance rate (and the lower the maximum leverage allowed). A large position therefore has a closer liquidation than the first tier suggests.
- Mark price: liquidation triggers on the mark price, calculated from several sources, not on the last traded price. This limits liquidations caused by an isolated wick, without eliminating them.
Liquidation cascades
When many high-leverage positions are clustered around the same levels, a first wave of liquidations fires market orders that push the price toward the next liquidations. This is the cascade mechanism, responsible for 10 to 20% moves within minutes during some historical episodes. The insurance fund and, as a last resort, auto-deleveraging (ADL) of winning positions complete the system on the exchange side.
Frequently asked questions
How do I find the exact liquidation price of my position?
The exchange shows it in the position details and often before you confirm the order. The formulas in this article help you understand and anticipate it; they do not replace the displayed figure, which includes the exchange's own tiers, fees and funding.
Is the liquidation price the same as a stop-loss?
No. A stop-loss is an order you place to exit at a level you choose, with a known loss. Liquidation is a forced close that happens when margin is exhausted, and it costs you the position's entire margin, plus liquidation fees. A well-built position exits at the stop long before it gets near liquidation.
Does cross margin prevent liquidation?
It pushes liquidation further away by putting the whole account balance on the line, but it does not eliminate it. If it happens, the entire balance is lost, not just the position's margin. It therefore requires monitoring the effective leverage of the whole account.
Do these formulas apply to inverse contracts?
No. Inverse contracts, margined and settled in the crypto itself (for example in BTC), have a non-linear payoff and different formulas. This article only covers linear stablecoin-margined contracts, which are the most common.
Conclusion
A crypto liquidation price takes one line to calculate once notional, margin and maintenance margin are clear: E × (1 − 1/L) / (1 − MMR) for a long, E × (1 + 1/L) / (1 + MMR) for a short, in isolated margin and before fees. Yet the formula is not the most important part; the order of reasoning is: size comes from risk and the stop, leverage is chosen afterward, and liquidation must stay far beyond the stop, accounting for the funding and fees that pull it closer. To go deeper into market microstructure, funding, hedging and volatility-based position sizing, start with the free lesson on the order book and liquidity.
Explore the "Advanced Crypto Trading: Strategies, Risk and Automation" course