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.
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
Why do liquidation calculators disagree?
Most calculators use one maintenance margin rate for every coin and size, and one formula for every exchange. In reality each exchange sets tiers per contract and uses its own formula. This calculator loads each contract's tiers from the exchange's API and applies that exchange's published formula.
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.
Do fees and funding change my liquidation price?
The result uses the margin you enter. Funding payments and fees add to or take from your margin while the position is open, and that moves the liquidation price. Recalculate with your current margin if a position stays open for a long time.
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 on a schedule, 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.