OKX adds the liquidation fee directly to the maintenance margin rate — the trigger point sits slightly closer to entry price than a pure MMR formula would suggest.
Funding rate: — every 8h (sample data)
Based on OKX's mark price, not the chart/last price.
Isolated margin only. Cross margin depends on your whole account balance and isn't modeled here.
Very large positions get liquidated in steps on OKX (partial liquidation).
Auto-deleveraging (ADL) can close a position in extreme cases regardless of the liquidation price.
OKX is one of the exchanges that adds a liquidation fee (the taker fee rate) directly to the maintenance margin rate before checking the 100% trigger threshold: Denominator = Position × Mark Price × (Tier MMR + Fee Rate). The result sits slightly closer to entry price than a pure MMR formula.
OKX also tiers its maintenance margin rate by position size (notional = margin × leverage). The calculator above automatically warns you if your desired leverage isn't even available for your position size.
Read more on maintenance margin →