Skip to content
AlertaChart

Liquidation price calculator

Estimate where an isolated-margin long or short on a USDT-margined perpetual contract would be liquidated, from the entry price, the leverage and your exchange's maintenance margin rate. The formula is shown and explained below.

An educational estimate, not investment advice. Every exchange calculates liquidation with its own rules — maintenance margin tiers, fees and funding payments change the result — so the liquidation price your exchange shows is the one that counts.

Calculate

The maintenance margin rate and the maintenance amount come from your exchange's margin tier table for this contract and your position value. The values filled in below are an illustration, not any exchange's current rates.

Side
Liquidation price
54,271.36
Distance from entry
9.55% below entry
Position margin
1,000.00 USDT
Maintenance margin at liquidation
45.23 USDT
Position size (coins)
0.166667
Price where the whole margin is lost
54,000.00
Mobile AppDownload on the App StoreGet it on Google Play

The formula

For one position in isolated margin, the liquidation price is the price at which the margin left in the position falls to the maintenance margin:

Liquidation price = (M + A − s × Q × E) ÷ (Q × R − s × Q)

  • M — the position's margin: position value ÷ leverage, plus any margin you added
  • A — the maintenance amount of your tier (0 in the first tier)
  • s — +1 for a long, −1 for a short
  • Q — the position size in coins (position value ÷ entry price)
  • E — the entry price
  • R — the maintenance margin rate (0.5 % = 0.005)

With no maintenance amount and no added margin it simplifies to E × (1 − 1 ÷ leverage) ÷ (1 − R) for a long and E × (1 + 1 ÷ leverage) ÷ (1 + R) for a short. Higher leverage moves the liquidation price closer to the entry; a higher maintenance margin rate does too.

This is the formula Binance publishes for USDⓈ-M futures (How to Calculate Liquidation Price of USDⓈ-M Futures Contracts), with the terms for the account's other positions set to zero, as they are in isolated margin. Our implementation reproduces both worked examples of that article.

A worked example

Illustrative numbers: a BTCUSDT long worth 10,000 USDT at an example entry price of 60,000 USDT, 10× leverage and a 0.5% maintenance margin rate. Then Q = 0.166667 BTC and M = 1,000.00 USDT, so the liquidation price is 54,271.36 — 9.55% below the entry.

Without any maintenance margin the whole 1,000.00 USDT margin would only be gone at 54,000.00. The maintenance margin is the reason an exchange closes the position earlier.

Why your exchange may show a different price

  • Tiers: the maintenance margin rate rises with the position value, and each tier has its own maintenance amount. Use the row of your exchange's table that matches your position.
  • Fees: an exchange may include the fee to close the position in its calculation, which moves the liquidation price slightly.
  • Funding: funding payments can change the margin behind a position — how depends on the exchange and the margin mode — and with it the liquidation price.
  • Reference price: exchanges trigger liquidation on their own reference price — Binance, for example, when the mark price reaches the liquidation price, not on the last trade — so a wick on one exchange does not necessarily liquidate a position on another.
  • Cross margin: with cross margin the whole account balance backs the position, so its liquidation price depends on your balance and your other positions. This calculator covers isolated margin only.

Practise before risking money

Alerta Practice, part of the Pro and Elite plans, lets you trade live prices with a virtual 100,000 dollar balance, with leverage, take profit and stop loss, and its panel lists the liquidation price of each open position. Practice results are simulated and do not include every cost of real trading.

Educational content, not investment advice. With leverage you can lose more than you expect in a fast market; check every number with your exchange.

Related

Mobile AppDownload on the App StoreGet it on Google Play