Notional value —
Base-asset quantity (BTC example) —
Isolated liq estimate —
Distance to liq —
Maintenance margin at entry notional —
1% adverse PnL (loss) —
Margin scope —
Tool guide · formulas · common mistakes

How to use this tool

Start with isolated mode. This estimate covers a linear USDT-margined position where initial margin equals notional divided by leverage, no extra margin has been added, and fees and funding are set to zero. Cross liquidation depends on account equity, other cross positions and open orders. With those inputs missing, the tool keeps the basic position math but withholds liquidation output.

Example: allocate 1,000 USDT, use 10x and assume a BTC long at 60,000 USDT. Notional is 10,000 USDT and base-asset quantity is about 0.166667 BTC. With the sample MMR at 0.4%, the simplified isolated liquidation estimate is 54,216.87 USDT, or 9.64% below entry. At 25x, it is 57,831.33 USDT, a 3.61% distance.

The default 0.4% is an example input, not a fixed BTC rate. Read MMR from the current position tier or trading screen and treat the OKX position panel as the operational value.

The math behind it

Notional N = Margin M × Leverage L
Quantity Q = N / Entry price P

Isolated long estimate  = P × (1 - 1/L) / (1 - MMR)
Isolated short estimate = P × (1 + 1/L) / (1 + MMR)

Long distance to liq = (P - liq) / P
1% adverse PnL = -0.01 × N
Balance condition at liq: margin balance = Q × liq price × MMR

These equations simplify OKX's isolated USDT-margined formula under zero fees, margin M = Q×P/L and no added margin. We checked the OKX futures PnL calculation rules in September 2026. Actual results also include fees, funding, margin adjustments, position tiers and mark price, so this is an estimate rather than a copy of the position panel.

The tool rejects negative MMR, leverage outside 1–125, and MMR greater than or equal to 1/L. A 1x long reaches a zero-price boundary in this zero-fee model; that is not a promise that a real 1x position cannot liquidate.

Common mistakes

"An isolated liquidation always consumes every cent of allocated margin." Not necessarily. Isolated limits the collateral scope to this position; any margin left after liquidation is returned under the platform rules. An extreme move can instead create a bankruptcy deficit or negative balance, handled under the insurance-fund and related rules.

"The cross option can use the same three inputs." It cannot. Cross collateral and liquidation depend on the relevant margin-currency equity and other risks in the trading account. The funding account is not collateral under this calculation. The tool leaves those fields unavailable rather than reusing isolated math.

"If the interface offers a leverage setting, it must suit my risk." Availability is not a recommendation. Compare the estimated liquidation distance with your own exit plan before opening the position.