Liquidation Price Calculator for Crypto Futures (Isolated Margin)
Estimate where a USDT-margined perpetual position is liquidated on OKX or Bybit. Everything runs in your browser; nothing is sent or stored.
The formulas behind the numbers
Bybit publishes the USDT perpetual formula for isolated margin in Trading Rules: Liquidation Process (last updated 2026-10-15). With position size in coins:
Bybit's own example (1 BTC long at 40,000 USDT, 50x, 3,000 USDT added, MMR 0.5%, taker 0.055%) gives 36,380.25 USDT. This calculator returns the same figure with those inputs. The MM deduction term is left at 0, as in that example.
OKX explains in How do I calculate the liquidation price for futures? (updated 2026-08-11) that an isolated position enters forced liquidation when its maintenance margin ratio, margin ÷ (MMR + fee), falls to 100% or below. Setting that ratio to 100% and solving for the price gives:
OKX's figure includes the taker fee in the denominator, so its estimate sits slightly closer to the entry price than Bybit's for the same inputs.
Liquidation distance by leverage (worked example)
OKX formula · entry 100,000 USDT · MMR 0.5% · taker 0.05% · no extra margin| Leverage | Bankruptcy price | Long liquidation | Short liquidation |
|---|---|---|---|
| 3x | 66,667 | 67,035 (-32.96%) | 132,604 (+32.60%) |
| 5x | 80,000 | 80,442 (-19.56%) | 119,344 (+19.34%) |
| 10x | 90,000 | 90,498 (-9.50%) | 109,398 (+9.40%) |
| 20x | 95,000 | 95,525 (-4.47%) | 104,426 (+4.43%) |
| 50x | 98,000 | 98,542 (-1.46%) | 101,442 (+1.44%) |
| 100x | 99,000 | 99,548 (-0.45%) | 100,448 (+0.45%) |
Why the exchange may show a different number
- Mark price, not last price. Both exchanges trigger liquidation on the mark price, so a wick on the last traded price does not by itself liquidate a position.
- Tiered MMR. The maintenance margin rate rises with position size (risk limit / position tier). A larger position can have a liquidation price closer to entry than this page shows with 0.5%.
- Cross margin. In cross mode the whole account balance backs the position, so the liquidation price moves with your other positions and free balance. This page covers isolated margin only.
- Fees and funding. Bybit notes that closing fees can cause minor differences. Funding payments taken from or added to the position margin also shift the price over time.
- Added or removed margin. Use the extra-margin field to see how adding margin moves the liquidation price away from entry.
Frequently asked questions
How is the liquidation price calculated for a long position?
Does position size change the liquidation price?
What maintenance margin rate should I enter?
Why is the 100x liquidation price so close to entry?
Is the liquidation price the same as the bankruptcy price?
Does this work for cross margin?
Is any data sent to CoinPopBit?
Sources and limits
Bybit, Trading Rules: Liquidation Process (Unified Trading Account), last updated 2026-10-15. OKX, How do I calculate the liquidation price for futures?, updated 2026-08-11. Checked 2026-11-12. Results are estimates for education and planning, not trading advice; leveraged futures can lose the whole margin.