How Binance calculates the liquidation price
Binance publishes one formula for USDⓈ-M perpetuals that covers both isolated and cross margin. What changes between the two is the balance that backs the position and whether other positions count. Binance's own cross-margin example is reproduced below, and the same arithmetic runs in the Binance liquidation calculator.
The formula (one-way mode)
- WB
- In isolated mode, the position's own margin (initial margin plus any margin added). In cross mode, the cross wallet balance.
- TMM₁, UPNL₁
- Cross mode only: the maintenance margin and the open P/L of all your other positions. Both are zero in isolated mode.
- cum, MMR
- The maintenance amount and maintenance rate of the bracket that covers the position's value at the liquidation price.
- s, Q, EP
- +1 for a long and −1 for a short; size in BTC; open price (the average after adding to a position).
Fees are not a separate term: by the time the formula is applied they have already come out of the wallet balance.
Binance's own example, reproduced
Binance's FAQ gives 26,316.89 for this position, noting small differences from rounding. The reference code behind the calculator reproduces it to the cent, along with the second position in the same example (ETHUSDT, 1,153.26). It shows how much cross margin depends on the rest of the account: the other position's open loss of 448,192.89 is in the numerator.
Maintenance brackets, and the price at several leverages
Binance raises the maintenance rate in steps as the position's value grows, and subtracts a maintenance amount for each step so the margin does not jump at a boundary. The bracket is picked at the liquidation price, not the open price.
| Size | Leverage | Side | Maintenance | Liquidation price | Room |
|---|---|---|---|---|---|
| 0.5 BTC | 5× | long | 0.40% | 48,192.8 | 19.68% |
| 0.5 BTC | 5× | short | 0.40% | 71,713.1 | 19.52% |
| 0.5 BTC | 10× | long | 0.40% | 54,216.9 | 9.64% |
| 0.5 BTC | 10× | short | 0.40% | 65,737.1 | 9.56% |
| 0.5 BTC | 20× | long | 0.40% | 57,228.9 | 4.62% |
| 0.5 BTC | 20× | short | 0.40% | 62,749.0 | 4.58% |
| 0.5 BTC | 50× | long | 0.40% | 59,036.1 | 1.61% |
| 0.5 BTC | 50× | short | 0.40% | 60,956.2 | 1.59% |
| 0.5 BTC | 100× | long | 0.40% | 59,638.6 | 0.60% |
| 0.5 BTC | 100× | short | 0.40% | 60,358.6 | 0.60% |
| 20 BTC | 10× | long | 0.65% + 1,500.00 | 54,277.8 | 9.54% |
| 20 BTC | 10× | short | 0.65% + 1,500.00 | 65,648.3 | 9.41% |
| 100 BTC | 10× | long | 1.00% + 12,000.00 | 54,424.2 | 9.29% |
| 100 BTC | 10× | short | 1.00% + 12,000.00 | 65,465.3 | 9.11% |
At 10×, a 0.5 BTC long is closed after a move of about 9.6%, not the 10% the leverage suggests. A 100 BTC position falls in the 1% bracket and loses roughly another third of a percent of room.
Isolated or cross
In isolated mode the liquidation price is fixed once the position is open, unless margin is added or removed or the position changes. In cross mode it moves whenever the wallet balance or any other position moves: a loss elsewhere pulls it closer, a gain pushes it away. The isolated vs cross guide works through how far.
What else moves it
- Margin added or removed in isolated mode moves it away or closer.
- Adding to or reducing the position changes the average open price, the size and possibly the bracket.
- Funding paid or received changes the wallet balance, and in cross mode the liquidation price with it.
- Mark price. Binance liquidates on the mark price, not the last traded price. A chart set to last price can pass the level without a liquidation.
If Binance's position screen shows a different number from a calculation, these are the usual causes. Hedge mode, where a long and a short in the same contract are held separately, uses extra terms not covered here.
Related
- Liquidation price calculator (Binance, Bybit and Delta Exchange India), with your stop checked against it
- How Bybit calculates the liquidation price
- How Delta Exchange India calculates the liquidation price
- Liquidation price, explained
- Formula reference: sources, read dates and test files