Liquidation price calculator
Enter a position to see the mark price at which it would be liquidated, the margin it locks and how far the price can move before that, with isolated or cross margin. Below it, the position size a stop-loss allows.
Educational calculator with general formulas for linear, USDT-margined perpetual futures, without fees. Exchanges apply their own rules, and their figure is the one that counts. No investment advice.
Result
Liquidation price54,271.36 USDT
- Price move to liquidation
- 9.55% below the entry
- Initial margin
- 100.00 USDT
- Maintenance margin at entry
- 5.00 USDT
- Quantity
- 0.0166667
How the number comes about
- Quantity = 1000 ÷ 60000 = 0.0166667
- Initial margin = 1000 ÷ 10 = 100
- Liquidation price = (0.0166667 × 60000 − 100) ÷ (0.0166667 × (1 − 0.005)) = 54,271.36 USDT
Position size from a stop-loss
How the liquidation price is calculated
- A position is liquidated when its equity, the margin plus the unrealized profit or loss, falls to the maintenance margin: the maintenance margin rate times the position value at the mark price.
- Quantity = position size ÷ entry price. With isolated margin the margin is position size ÷ leverage; with cross margin the wallet balance backs the position.
- Long: liquidation price = (quantity × entry price − margin) ÷ (quantity × (1 − maintenance margin rate)).
- Short: liquidation price = (quantity × entry price + margin) ÷ (quantity × (1 + maintenance margin rate)).
- With isolated margin this becomes entry price × (1 − 1 ÷ leverage) ÷ (1 − rate) for a long and entry price × (1 + 1 ÷ leverage) ÷ (1 + rate) for a short: the higher the leverage, the closer the liquidation price is to the entry.
What the formula leaves out
- Trading fees and the liquidation fee, which some exchanges reserve from the margin.
- Funding payments, which are paid from or added to the margin of an isolated position.
- Tiered maintenance margin rates: larger positions usually have higher rates.
- The mark price: exchanges liquidate at their mark price, not at the last traded price.
- Other positions under cross margin, and partial liquidations.