Liquidation price calculator for crypto futures
The interactive calculator loads here. The formula and worked examples below show exactly how it works.
Enter your side, entry price, size and leverage, and the calculator shows the price at which an isolated-margin USDT perpetual would be liquidated. It uses the same model as the CryptoPaperTrading futures simulator, so the number you see here is the number you will see on a practice position.
What the inputs mean
- Side: long profits when the price rises, short profits when it falls. The liquidation price is below entry for a long and above entry for a short.
- Entry price (E): the price your position opened at.
- Quantity (q): position size in coins, for example 0.5 BTC. Quantity × entry is the position value (notional).
- Leverage (L): notional ÷ margin. 10x on a $45,000 position means $4,500 of margin.
- Margin (M): the money you assign to this isolated position. It is the most you can lose on it.
- Maintenance margin rate (m): the minimum equity you must keep, as a share of position value. It is 0.5% on this site. Real exchanges use tiers, so large positions often have a higher rate.
The liquidation price formula
For an isolated-margin linear (USDT-margined) perpetual:
Long liquidation price = (E·q − M) / (q·(1 − m)) Short liquidation price = (E·q + M) / (q·(1 + m))
For a fresh position, where the margin is simply notional ÷ leverage, this is close to:
Long ≈ E × (1 − 1/L + m) Short ≈ E × (1 + 1/L − m)
The short version is handy for mental maths: a long liquidates after a move of roughly 1/L − m. At 10x that is 10% − 0.5% = 9.5%.
Fees are not part of the formula. On this site the opening fee is paid from your cash on top of the margin, so it does not move the liquidation price. On real exchanges, fees and any liquidation fee can put the liquidation price slightly closer to entry; check your exchange's own rules.
Worked example: a 10x BTC long
You go long 0.5 BTC at $90,000 with 10x leverage. The position is worth $45,000, so your margin is $4,500.
Liquidation = (90,000 × 0.5 − 4,500) / (0.5 × 0.995)
= 40,500 / 0.4975
= $81,407.04That is a 9.55% drop from entry. The quick approximation gives $90,000 × 0.905 = $81,450, which is within $43 of the exact figure.
Worked example: a 20x SOL short
You short 10 SOL at $200 with 20x leverage. The position is worth $2,000, so your margin is $100.
Liquidation = (200 × 10 + 100) / (10 × 1.005)
= 2,100 / 10.05
= $208.96A rise of just under 4.5% ends the trade. Many coins move that much in an afternoon, which is why 20x on a mid-cap coin leaves very little room.
Leverage table: how far until liquidation
These are the price moves needed to liquidate a fresh position with 0.5% maintenance margin. The exact figures come from the full formula; the approximation is 1/L − m.
| Leverage | Long: approx. move | Long: exact move | Short: exact move |
|---|---|---|---|
| 2x | −49.5% | −49.75% | +49.25% |
| 3x | −32.8% | −33.0% | +32.7% |
| 5x | −19.5% | −19.6% | +19.4% |
| 10x | −9.5% | −9.55% | +9.45% |
| 20x | −4.5% | −4.52% | +4.48% |
| 25x | −3.5% | −3.52% | +3.48% |
On CryptoPaperTrading the maximum is 25x on BTC and ETH, 20x on mid caps and 10x on smaller coins; anything above 10x is a Pro feature. The table shows why the caps exist: at 25x, an ordinary daily move can close the position.
Liquidation is triggered by the mark price
Exchanges check liquidation against a mark price, not the last traded price on their own order book, so one odd wick does not wipe everyone out. On this site the mark price is the live Binance spot last price, which is indicative. Read mark price vs last price for the difference.
When the mark price reaches your liquidation price, the position is closed automatically and the margin assigned to it is lost. Your other balance is untouched because the margin is isolated. This calculator covers isolated positions; a cross position's liquidation price also depends on your free balance and other cross positions (see isolated vs cross margin).
Use the result to place your stop
- Pick your stop-loss from the chart first.
- Check that it sits well before the liquidation price: above it for a long, below it for a short.
- If it does not, lower the leverage or reduce the size. Lower leverage means more margin, which pushes liquidation further away.
- Size the trade from the stop distance with the position size calculator, then check the result with the PnL calculator.
The full background is in what is liquidation and leverage and margin.
Frequently asked questions
How do I calculate my liquidation price?
For an isolated long, liquidation = (entry × quantity − margin) ÷ (quantity × (1 − maintenance rate)). For a short, use (entry × quantity + margin) ÷ (quantity × (1 + maintenance rate)). For a fresh position, a long is roughly entry × (1 − 1/leverage + 0.005).
Why is my exchange's liquidation price slightly different?
Exchanges use tiered maintenance margin rates, may include fees or a liquidation fee, and cross margin positions depend on the whole balance. This calculator uses this site's isolated margin model: 0.5% maintenance, fees ignored. Cross positions on the simulator show an estimated liquidation price instead.
Does adding margin move the liquidation price?
Yes. More margin on the same quantity raises M in the formula, which moves a long's liquidation price down and a short's up. On the simulator you can add margin to an isolated position from the Positions table. Using lower leverage from the start does the same thing.
Is liquidation based on the last price or the mark price?
The mark price. On CryptoPaperTrading the mark is the live Binance spot last price, so it can differ slightly from a futures exchange's own mark.
Can I lose more than my margin?
Not with isolated margin on this simulator. When the liquidation price is reached the position is closed, and the most you lose on it is the margin assigned to it. With cross margin a liquidation can take your whole free balance, but the balance never goes below zero.