How Bybit calculates the liquidation price
Bybit sets risk-limit tiers by position value. Each tier has a maintenance margin rate and a maintenance margin deduction. Bybit's isolated-margin formula for USDT perpetuals in the Unified Trading Account is published in its help centre:
Long: [E × Q − E × Q ÷ L − Extra ÷ (1 − taker fee) − MM deduction] ÷ (Q − Q × MMR)Short: [E × Q + E × Q ÷ L + Extra ÷ (1 + taker fee) + MM deduction] ÷ (Q + Q × MMR)E is the entry price, Q the size in coins, L the leverage and Extra any margin you added after opening. The estimated fee to close appears in both the initial and the maintenance margin, so it cancels out of the formula.
Bybit's own example
Long 1 BTC at 40,000 USDT with 50x leverage, then 3,000 USDT of margin added. Maintenance margin rate 0.5%, taker fee 0.055%.
[40,000 − 800 − 3,000 ÷ 0.99945 − 0] ÷ (1 − 0.005) = 36,380.25 USDT. This calculator returns the same figure for those inputs.
Want to see the same position on other exchanges? Compare liquidation prices across all 8 exchanges.
Getting a different number on the exchange? The eight usual reasons.
Isolated or cross margin
In isolated mode only the margin assigned to the position can be lost, so the liquidation price depends on that margin alone. Adding margin to an isolated position moves its liquidation price further away. In cross mode the whole wallet balance backs your positions, which pushes the liquidation price further away but puts the whole balance at risk.
How to move the liquidation price further away
- Use lower leverage, which locks more margin into an isolated position.
- Add margin to an isolated position after opening it.
- Trade a smaller size, which can also keep you in a lower tier.
- In cross mode, keep more balance in the futures wallet.
Frequently asked questions
How does Bybit calculate the liquidation price?
Bybit liquidates a position when its margin balance falls to the maintenance margin, judged on the mark price rather than the last traded price. The tier is chosen from the position's value at the liquidation price, so a long can fall into a lower tier before it is liquidated. The maintenance margin is the position value at the liquidation price times the tier's rate, minus the tier's maintenance amount.
What is the maximum leverage on Bybit futures?
Up to 150x, on 5 of the 821 USDT perpetuals we track. The limit depends on the contract and falls as the position grows. On BTCUSDT the first tier allows 150x up to 300,000 USDT at a 0.33% maintenance rate; larger positions move into tiers with lower leverage and a higher rate.
Why is my liquidation price on Bybit different from this calculator?
The usual reasons are the margin and the price. The calculator uses the margin you enter, while your real position's margin changes with fees, funding payments and any margin you add or remove. In cross mode, your other positions and their unrealized profit count too. Liquidation is triggered on the mark price, and the exchange may change a contract's tiers at any time.
Is liquidation based on the mark price or the last price?
All of these exchanges trigger liquidation on the mark price, which follows a price index across several markets. The last traded price can briefly go past your liquidation price without liquidating you, and the reverse can also happen.
Can I use this for several positions in cross mode?
Not exactly. Cross mode here assumes one open position. With several positions, the unrealized profit and loss and maintenance margin of the others also count, so the real liquidation price on Bybit will differ.
How current is the tier data?
Tiers are pulled from each exchange's API every few hours, and the time of the last update is shown at the bottom of every page. Exchanges change tiers from time to time, so check the tier table against the exchange before a large trade.