OKX Liquidation Price Calculator

PERPETUAL FUTURES · ISOLATED MARGIN · LONG & SHORT

Find the exact liquidation price for your OKX perpetual futures position before you open it. Enter entry price, leverage and position size.

Exchange
Instrument

Position Side

Default 0.5%: check your exchange's actual rate for this symbol and position size, it varies by exchange and notional tier.

Select an instrument to start

Building something new for traders

Leave your email and we'll let you know first, no spam.

Liquidation mechanics on OKX

OKX uses an isolated margin model by default for perpetual futures. When your equity in an isolated position falls below the maintenance margin requirement, OKX's risk engine triggers liquidation, forcibly closing the position to prevent a negative balance.

The maintenance margin rate on OKX is typically 0.5% for major pairs (BTC, ETH). For a long position, liquidation price ≈ entryPrice × (1 − 1/leverage + 0.005). At 100× maximum leverage this means even a tiny adverse move can trigger liquidation, which is why most experienced traders use 5–20× rather than the maximum.

OKX also has an "auto-deleveraging" (ADL) system for extreme scenarios where the insurance fund is insufficient. In practice, staying well above your liquidation price eliminates ADL risk entirely.

OKX fee structure

OKX charges maker fee 0.02% and taker fee 0.05% on perpetual futures. Maximum available leverage is 100×. This calculator pre-fills these defaults so you get accurate results without needing to look up the fee schedule. If you are on a VIP tier with discounted fees, adjust the fee fields accordingly.

Maker orders (limit orders that add liquidity) cost less than taker orders (market orders that remove liquidity). On OKX, using limit orders for both entry and exit can reduce your total fee cost significantly compared to market orders.

Related OKX calculators

Compare Liquidation Price across exchanges

Fees and leverage differ by exchange: see the same liquidation price math with another exchange's defaults, or switch freely on the generic version.

Use via API or MCP

This OKX liquidation price math is also a deterministic API call: plug exact figures into trading bots, dashboards, or AI agents instead of estimating.

View API & MCP docs →
FAQ
Q.01

How is liquidation price calculated?

Liquidation price depends on your entry price, leverage and maintenance margin. For a long: liq ≈ entry × (1 − 1/leverage + maintenanceMarginRate).

Q.02

What happens when a position is liquidated?

The exchange forcibly closes your position when losses consume your margin. You lose the full margin used for that position.

Q.03

What are OKX perpetual futures fees?

OKX charges maker fee 0.02% and taker fee 0.05%. Maximum leverage is 100×. This calculator uses these defaults but you can adjust them for your actual rate tier.

Q.04

Is this calculator specific to OKX?

Yes, the exchange is pre-selected to OKX with live prices pulled from their API. You can switch to any other supported exchange using the instrument selector.