How is liquidation price calculated on crypto perpetual futures?

Liquidation price is the mark price at which your remaining margin can no longer cover the maintenance margin, so the exchange closes the position. Higher leverage moves that price closer to your entry. A stop-loss should sit well before it. Leveraged futures carry a high risk of loss.

What is liquidation price?

Liquidation price is the mark price at which the margin left on a perpetual can no longer cover the maintenance margin, so the exchange closes the position.

It is not your stop-loss. A stop is an order you place. Liquidation is the exchange's close-out when the remaining collateral is too small. On a long, that price is below the entry. On a short, it is above the entry. Raising leverage, with the same notional size, posts less margin and pulls liquidation closer to the entry.

The glossary entry for liquidation price states the same idea in one line. This page shows the arithmetic and the checks around it.

Leverage explained shows how 5x and 20x move that estimate on a $1,000 notional long while the dollar risk at the stop stays the same.

How is liquidation price calculated for isolated margin?

Maintenance margin is the minimum collateral the exchange requires to keep the position open. Isolated margin is collateral assigned to one position, so the estimate below uses only that position's margin.

Exchanges do not share one exact formula. Fees, the maintenance tier, and the way the exchange counts unrealized loss all change the printed price. The expressions below are a planning estimate, not a substitute for the position panel.

Simplified isolated-margin estimate:

Long ≈ entry × (1 − 1/leverage + maintenance margin rate).

Short ≈ entry × (1 + 1/leverage − maintenance margin rate).

Worked examples use a Bitcoin entry of 60,000 and a maintenance margin rate of 0.5% (0.005). These inputs are for the arithmetic. Your contract's rate is whatever the exchange shows.

  1. Long at 10x. 1/leverage = 1/10 = 0.10. The factor is 1 − 0.10 + 0.005 = 0.905. Liquidation ≈ 60,000 × 0.905 = 54,300.
  2. Short at 10x. The factor is 1 + 0.10 − 0.005 = 1.095. Liquidation ≈ 60,000 × 1.095 = 65,700.
  3. Long at 20x. 1/leverage = 1/20 = 0.05. The factor is 1 − 0.05 + 0.005 = 0.955. Liquidation ≈ 60,000 × 0.955 = 57,300.

The 10x long estimate sits 60,000 − 54,300 = 5,700 under the entry, about 9.5% away. The 20x long estimate sits 60,000 − 57,300 = 2,700 under the entry, about 4.5% away. Doubling leverage from 10x to 20x moved the estimate 3,000 points closer to the entry (57,300 − 54,300 = 3,000). That is the practical point of the formula: higher leverage shrinks the gap.

Check the exchange's position panel before you rely on any of these figures. The panel includes that venue's fees and maintenance schedule. The estimate is only there so you can see the direction and the size of the move. The liquidation price calculator runs this same isolated estimate for a long or a short, and it also runs the cross-margin form that uses account balance instead of 1/leverage.

Why does the exchange use mark price instead of last price?

Mark price is the fair-value price the exchange uses for unrealized PnL and liquidation, separate from the last traded price on that order book.

Last price is the latest fill. On a thin book it can print far from the price on other markets for a moment, then snap back. If liquidation followed that print, a single wick could close positions that the broader price never reached. Mark price is built to resist that. Venues typically anchor it to an index of spot markets and a basis, then liquidate against the mark. The exact blend is the exchange's, and it is published in that venue's contract specs.

Two consequences follow. Your stop can be touched by the last price while the mark has not reached liquidation, which is what you want. A stop can also fail to fill if price gaps, and the mark can still travel to liquidation afterward. The glossary defines mark price.

How does cross margin change liquidation?

Cross margin pools the account balance as collateral for open positions, instead of locking a fixed amount on one trade.

With more collateral available, the price at which remaining margin fails the maintenance test moves farther from the entry, for as long as that extra balance is there. A position that is up elsewhere can support a losing one. The other side of that support is that a large adverse move can draw down funds you were not thinking of as this trade's margin, including the cushion for other positions.

Isolated margin keeps the estimate on this page tied to one position. Cross margin makes the liquidation price depend on the whole account, so it changes as other trades and balances change. Neither mode removes liquidation. They change which funds are eligible to delay it. Isolated vs cross margin compares the risk cap, the margin pool, and a $1,000 account when a $200 margin position is liquidated. See also isolated vs cross margin in the glossary.

How far should my stop-loss be from liquidation?

Set the stop first, size the position from the risk amount, then check that liquidation sits well beyond the stop.

Take the 10x long example. Entry 60,000, estimated liquidation 54,300. A stop at 59,400 is 600 under the entry (60,000 − 59,400 = 600). The liquidation estimate is 59,400 − 54,300 = 5,100 beyond that stop. That gap is the room between "my order should be out" and "the exchange closes me." If your real panel shows liquidation between the entry and the stop, the position is too large or the leverage is too high for that stop. Reduce one of those. Moving the stop out toward liquidation increases the loss the stop allows, so it is not a fix.

Risk management defines risk per trade and the position-size formula. The position size calculator turns a stop distance into notional size so you can compare that size with the liquidation on the panel. The manual crypto futures trading terminal shows If All Loss, the equity left if every open stop is hit together, before you add another position.

How do I avoid liquidation?

You reduce how often price can reach it. You do not get a guarantee.

  • Use lower leverage so the estimate sits farther from the entry, as the 10x versus 20x arithmetic shows.
  • Prefer isolated margin when you want one position's loss capped at its own collateral.
  • Risk a fixed small percentage of equity per trade, and let the stop distance set the size.
  • Keep a stop-loss on the position, placed so it triggers well before the liquidation price on the panel.

A stop can be skipped in a fast market. Maintenance margin and fees pull the real liquidation closer than a sketch that ignores fees. Leveraged futures carry a high risk of loss.

If you automate the stop and the size, the futures bot pages for Bitunix, OKX, Bitget, Bybit, and MEXC show how entries, stop-loss, take-profit, and risk per trade go through a trade-only API key. Guests can test the parameters on Bot Settings. The rules are still yours. The exchange can still liquidate a position that runs past them.

Related: max leverage calculator for your stop

What are the short answers on liquidation price?

What is liquidation price?

Liquidation price is the mark price at which your remaining margin can no longer cover the maintenance margin, so the exchange closes the position. Higher leverage moves that price closer to the entry. Leveraged futures carry a high risk of loss.

How is liquidation price calculated for isolated margin?

A simplified long estimate is entry times (1 minus 1/leverage plus the maintenance margin rate). A simplified short estimate is entry times (1 plus 1/leverage minus the maintenance margin rate). At a 60,000 entry, 10x leverage, and a 0.5% maintenance margin rate, the long estimate is 60,000 times 0.905 = 54,300 and the short estimate is 60,000 times 1.095 = 65,700. Exchanges' exact formulas differ and include fees. Check the exchange's position panel.

Why does the exchange use mark price instead of last price?

Mark price is a fair-value price, separate from the last traded price, and the exchange uses it for unrealized PnL and liquidation. A single thin last-trade print can wick through a level the mark price never reaches. Marking to that fair value keeps one print from closing the position.

How does cross margin change liquidation?

Cross margin shares account balance across positions, so other funds can hold a position open and liquidation sits farther from entry while that extra margin lasts. The loss can then reach more of the account. Isolated margin limits the close-out to the margin assigned to that position.

How do I avoid liquidation?

Use lower leverage, isolated margin, a fixed risk per trade, and a stop-loss that is always on. Place the stop first, size the position from that risk, and confirm liquidation sits well beyond the stop. Leveraged futures carry a high risk of loss.

Last reviewed by Ric Mescallado