Futures Calculator
BTC-USDT-SWAP

OKX Liquidation Calculator

Liquidation price for BTC-USDT-SWAP on OKX, using OKX's own margin tiers.

Every exchange liquidates on the same principle and none of them arrive at the same number. This page uses OKX's published maintenance margin ladder for BTC-USDT-SWAP, so the answer matches what OKX itself would show rather than a generic approximation.

Liquidation price
54,244 $
on OKX, isolated margin
Adverse move that liquidates
9.59 %
Position value
30,000 $
size × entry, what the tier is read from
Margin tier
#1
maintenance rate 0.40 %
Initial margin rate
10.00 %
1 ÷ leverage
Initial margin
3,000 $

OKX maintenance margin tiers

For BTC-USDT-SWAP, as published on 2026-07-22. Other symbols have their own ladders — check yours before sizing.

TierPosition valueMaintenance margin rate (%)Max leverage
10 – 2000k0.40 %100×
22000k – 4000k0.60 %66×
34000k – 8000k1.00 %50×
48000k – 20000k2.00 %25×
520000k – 50000k3.30 %15×
650000k – 100000k5.00 %10×
7100000k – 200000k10.00 %

How it works

OKX closes a position when its margin falls to the maintenance requirement, measured against the mark price rather than the last trade. The requirement is a percentage of the position's value at that moment — which is why the maintenance rate divides rather than adds, and why the widely copied 'entry × (1 − 1/leverage + rate)' is close but never exact.

OKX counts the closing fee towards the requirement, so a position dies slightly earlier than the maintenance rate alone implies — 0.05 % of taker fee is folded in here, exactly as the documentation specifies.

liq = entry × (1 ∓ 1/leverage) ÷ (1 ∓ (mmr + taker fee))

Sources — OKX documentation

Every rate and formula on this page is taken from OKX's own documentation for BTC-USDT-SWAP and was last checked on 2026-07-22. Exchanges revise these tables without notice.

Independent tool, not affiliated with or endorsed by OKX. Confirm against your position's own margin details before trading.

Where the exchanges differ

The same 0.5 BTC position at 10× on a 60,000 entry, priced under each venue's published rules.

ExchangeLiquidationDistanceExit fee in margin
Binance54216.879.64 %not counted
Bybit54271.369.55 %not counted
OKX54244.109.59 %counted
Gate.io54244.109.59 %counted

The same calculation on other exchanges

Margin ladders differ enough to move the liquidation price on identical inputs.

Or use the generic calculator with your own maintenance rate →

Liquidation price on OKX

OKX liquidates a perpetual swap when the margin ratio falls below the tiered maintenance margin ratio plus the liquidation fee. That second term is the detail that distinguishes OKX from Binance and Bybit: the cost of closing the position is part of what you must keep, so the trigger sits slightly further from entry than the maintenance rate alone would put it.

The liquidation fee is inside the requirement

OKX states the margin ratio in terms of maintenance margin plus liquidation fees. Folding the exit cost into the requirement is the more conservative convention, and it is the honest one: the exchange cannot close your position for free, so pretending the closing cost appears from nowhere would leave the insurance fund short on every liquidation.

In practice it moves a long's liquidation price up by roughly the taker fee as a fraction of the position — small next to the maintenance rate at low leverage, and proportionally larger the higher you go. This calculator includes it, which is why the number here sits marginally tighter than a naive comparison against Binance would suggest.

Tier demotion instead of a single closing trade

OKX documents a partial-liquidation path for positions in tier 3 and above: when the margin ratio falls below the current tier's requirement but is still above the first tier's, the system tries to shrink the position into a lower tier rather than close it. A demotion lowers the maintenance rate, which lowers the requirement, which can save the remainder.

The practical consequence is that a large position does not have one liquidation price but a sequence of them, each partial close changing the terms of the next. The price on this page is where the first intervention begins.

Contracts, not coins

OKX quotes size in contracts, and a BTC-USDT-SWAP contract is 0.01 BTC. Enter a position size here in the base asset — the notional it produces is what selects the tier. If you are reading your size off the OKX interface in contracts, divide by one hundred before typing it in, or the tier lookup will be off by two orders of magnitude.

This is the single most common source of a wrong answer on this page, and it is worth checking twice before trusting the tier the calculator picked.

FAQ

Why is my OKX liquidation price closer than on Binance for the same leverage?expand_more

Because OKX counts the liquidation fee towards the maintenance requirement and Binance does not, and because the two maintenance ladders differ. On identical inputs the venues genuinely disagree — that difference is the reason these pages are separate rather than one page with a dropdown.

What is the maintenance margin ratio on OKX?expand_more

It is tiered by position size, starting near 0.4% for the first tier on BTC-USDT-SWAP and rising from there. The larger the position, the higher the rate and the lower the maximum leverage available.

Does this apply to portfolio margin?expand_more

No. Portfolio margin nets risk across an entire book of positions and options, and there is no per-position liquidation price to compute. This page covers isolated margin on a single swap.

What is the difference between the mark price and the index price here?expand_more

The index is the spot reference from outside venues; the mark price adds a funding basis and is what liquidation is measured against. Watching the last traded price is how traders end up surprised by a liquidation that appeared not to trigger.

Analytics & cookies

We use anonymous analytics to understand how to improve the tools. No personal data is collected. You can accept or decline.