OKX Liquidation Price: How to Calculate It in 2026

You’re long on Bitcoin with 10x leverage, and suddenly the market drops 8%. Your position gets liquidated, and you lose your entire margin. That’s the harsh reality of futures trading without understanding your liquidation price. On OKX, knowing how to calculate this number before you enter a trade is the single most important risk control tool you have. This guide breaks down the exact formulas, factors, and strategies to keep your positions alive.

💡
Ready to Trade with AI?
Join thousands trading smarter on Aivora — the AI-powered crypto exchange. Spot trading, futures, and AI-driven market predictions.
Open Free Account →

Key Takeaways

  1. Your liquidation price on OKX depends on your entry price, leverage, position size, and margin mode (cross or isolated).
  2. Cross margin uses your entire wallet balance as collateral, while isolated margin only uses the allocated margin for that position.
  3. Maintenance margin requirements (usually 0.4% to 1% of position value) determine the exact price where liquidation triggers.
  4. Using lower leverage, like 2x or 3x, gives you a much wider buffer before liquidation compared to 10x or 20x.
  5. You can manually calculate liquidation price with a simple formula, or use OKX’s built-in calculator and risk indicators.

What Is a Liquidation Price on OKX Futures?

In futures trading, your liquidation price is the asset price at which the exchange automatically closes your position to prevent your losses from exceeding your margin. On OKX, when the mark price hits your liquidation price, the system triggers a market order to close the position. This happens because the maintenance margin — the minimum amount of equity required to keep the position open — is no longer sufficient to cover potential losses.

Let’s be clear: liquidation is not a penalty. It’s a safety mechanism. Without it, traders could rack up debts that exceed their deposits. But for you, the trader, it means losing the entire margin you put up for that position. And if you’re using cross margin, it could drain your whole account balance.

How Does OKX Calculate Liquidation Price?

The calculation depends on two main factors: your margin mode and the type of contract (linear or inverse). OKX uses a formula based on the position’s notional value, leverage, and maintenance margin rate. Let’s walk through each piece.

Key Variables in the Formula

  • Entry Price: The average price at which you opened your position.
  • Leverage: The multiplier applied to your margin (e.g., 10x means you control 10x the margin amount).
  • Maintenance Margin Rate (MMR): A percentage set by OKX, typically 0.4% for BTC/USDT perpetuals, but can be higher for volatile altcoins.
  • Margin Mode: Isolated (margin is separate) or Cross (margin uses entire wallet balance).
  • Position Size: The number of contracts or units you hold.

The Basic Formula for Long Positions (Isolated Margin)

For a long position in isolated margin mode on a linear contract like BTC/USDT, the liquidation price is calculated as:

Liquidation Price = Entry Price × (1 – (1 / Leverage) + Maintenance Margin Rate)

Let’s plug in real numbers. Say you buy 1 BTC at $60,000 with 10x leverage and a 0.4% maintenance margin rate. The calculation looks like this:

Liquidation Price = $60,000 × (1 – (1 / 10) + 0.004)

= $60,000 × (1 – 0.1 + 0.004)

= $60,000 × 0.904

= $54,240

So, your position gets liquidated if BTC drops to $54,240. That’s a 9.6% drop from your entry. Not a huge buffer, right? That’s the reality of 10x leverage. Now, if you used 2x leverage instead, the liquidation price would be much lower: $60,000 × (1 – 0.5 + 0.004) = $30,240. That’s a 49.6% buffer.

Formula for Short Positions (Isolated Margin)

For a short position, the formula flips:

Liquidation Price = Entry Price × (1 + (1 / Leverage) – Maintenance Margin Rate)

Using the same numbers: $60,000 × (1 + 0.1 – 0.004) = $60,000 × 1.096 = $65,760. So you’d be liquidated if BTC rises to $65,760, an increase of 9.6%.

Cross Margin: A Different Calculation

With cross margin, the liquidation price adapts because your entire wallet balance acts as collateral. OKX calculates it dynamically based on your total account equity. The formula is more complex, but the key insight is this: cross margin gives you a lower liquidation price initially because more funds are available to absorb losses. However, if you have multiple positions open, a losing trade in one market can drain funds from another, triggering cascading liquidations.

For example, if you have $10,000 in your wallet and open a 1 BTC long at $60,000 with 10x leverage, your initial margin is $6,000 (10% of $60,000). With cross margin, the liquidation price might be around $54,500, similar to isolated. But if you also have a $4,000 ETH short that’s losing money, your total equity drops, and the BTC liquidation price rises. This interdependence is why many traders prefer isolated margin for precision.

How to Use OKX’s Built-in Liquidation Calculator

You don’t have to do the math manually every time. OKX offers a Position Calculator in the trading interface. Here’s how to use it:

  1. Open the futures trading page and select your contract (e.g., BTC/USDT perpetual).
  2. Click the calculator icon next to the order entry panel.
  3. Enter your entry price, leverage, and position size.
  4. Select margin mode (isolated or cross).
  5. The calculator instantly shows your liquidation price, margin ratio, and potential profit/loss at various exit prices.

This tool is invaluable for testing scenarios before you commit capital. For instance, you can check: “If I use 5x leverage, what price causes liquidation? What about 20x?” The answer might surprise you. At 20x leverage on a $60,000 BTC entry, your liquidation price is around $57,300 — just a 4.5% drop.

Factors That Affect Your Liquidation Price

Several variables can shift your liquidation price after you open a position. Understanding these is key to risk management in crypto futures.

Funding Rate Payments

On OKX perpetual swaps, you pay or receive funding rates every 8 hours. If you’re long and the funding rate is positive (longs pay shorts), your position equity gradually decreases. Over time, this raises your liquidation price. A series of high funding payments can eat into your margin and trigger liquidation even if the market doesn’t move against you.

Position Size Changes

If you add to your position, your average entry price changes, and so does your liquidation price. Adding to a losing position actually brings your liquidation price closer to the current market price, increasing risk. This is a common mistake traders make when they try to “average down.”

Market Volatility and Leverage

High volatility can cause sudden price swings that hit your liquidation price before you have time to react. That’s why using lower leverage (2x-5x) is considered a risk-aware approach. For example, during the May 2021 crash, Bitcoin dropped over 30% in a single day. Traders using 10x leverage on longs were wiped out. Those using 2x leverage survived the drawdown.

Practical Tips to Avoid Liquidation

  • Use stop-loss orders: Set a stop-loss at a price above your liquidation price. Even a 1% or 2% buffer can save you from market noise triggering a close.
  • Monitor your margin ratio: OKX displays your margin ratio in real time. If it drops below 1%, you’re at risk. Add margin or reduce position size when it approaches 2%.
  • Start with isolated margin: Until you’re comfortable with the mechanics, use isolated margin to limit losses to a single position.
  • Reduce leverage: 3x to 5x leverage provides a much safer buffer than 10x or 20x. The difference between a 15% buffer and a 5% buffer is often the difference between surviving a dip and getting liquidated.
  • Watch the funding rate: If funding rates are extremely high (e.g., 0.1% per 8 hours), consider avoiding long positions until they normalize.

Frequently Asked Questions

What is the difference between liquidation price and bankruptcy price?

The liquidation price is the price at which OKX closes your position. The bankruptcy price is the theoretical price at which your entire margin is wiped out. In practice, OKX liquidates before the bankruptcy price to cover trading fees and slippage. The gap between them is usually small, around 0.5% to 1%.

Does OKX charge a liquidation fee?

Yes. OKX charges a liquidation fee, typically 0.5% to 1% of the position’s notional value. This fee is deducted from your remaining margin. If the fee exceeds your margin, the exchange may use the insurance fund to cover the difference.

Can I manually close a position before liquidation?

Absolutely. You can close your position at any time using a market or limit order. This is often a better strategy than waiting for liquidation, as you control the exit price and avoid the liquidation fee.

How does partial liquidation work on OKX?

When your margin ratio drops below the maintenance level, OKX may partially reduce your position size rather than closing it entirely. This happens in cross margin mode. The exchange sells enough contracts to bring your margin ratio back above the threshold, and you keep the remaining position.

Is liquidation price the same for all OKX contracts?

No. Each contract has its own maintenance margin rate, which varies by asset and leverage tier. Major pairs like BTC/USDT have lower rates (0.4%), while altcoin pairs can have rates as high as 2% or more. Always check the contract specifications before trading.

What happens if the market gaps past my liquidation price?

If the market opens significantly lower (or higher for shorts) than your liquidation price, OKX closes your position at the best available price. This can result in a loss larger than your margin, creating a negative balance. In this case, the exchange’s insurance fund covers the deficit, but you may still face debt collection.

Can I calculate liquidation price for cross margin manually?

It’s much harder to calculate manually for cross margin because it depends on your total wallet equity and all open positions. The easiest approach is to use OKX’s real-time calculator or monitor your margin ratio in the trading interface.

Key Risks to Consider

Calculating your liquidation price is a powerful risk control tool, but it’s not a guarantee against losses. Market conditions can change rapidly, and slippage during volatile periods can cause your position to close at a worse price than your calculated liquidation price. For instance, if the market drops 15% in minutes, OKX may not be able to fill your liquidation order at the exact price you expected. This is called slippage, and it can turn a 10% loss into a 12% or 15% loss.

Another risk is the cascading effect of liquidations. When a large number of positions get liquidated at once, the market can move even further against remaining positions. This creates a feedback loop that amplifies losses. During the March 2020 crash, over $1 billion in long positions were liquidated in a single day, driving Bitcoin down over 50% from its peak. Traders who thought they had a safe buffer with 5x leverage were caught off guard.

Finally, remember that leverage amplifies both gains and losses. While a 10% move against a 10x leveraged position wipes out your margin, a 10% move in your favor doubles your money. The temptation to use high leverage is strong, but the math doesn’t lie. A single bad trade can erase weeks of gains. Always size your positions so that a single liquidation doesn’t wipe out your entire portfolio. This content is for educational and informational purposes only and does not constitute financial advice.

Sources & References

Ethereum Futures Funding Rate Explained for Beginners
{“@context”:”https://schema.org”,”@type”:”FAQPage”,”mainEntity”:[{“@type”:”Question”,”name”:”Key TakeawaysnnYour liquidation price on OKX depends on your entry price, leverage, position size, and margin mode (cross or isolated).nCross margin uses your entire wallet balance as collateral, while isolated margin only uses the allocated margin for that position.nMaintenance margin requirements (usually 0.4% to 1% of position value) determine the exact price where liquidation triggers.nUsing lower leverage, like 2x or 3x, gives you a much wider buffer before liquidation compared to 10x or 20x.nYou can manually calculate liquidation price with a simple formula, or use OKX’s built-in calculator and risk indicators.nnnnWhat Is a Liquidation Price on OKX Futures?nIn futures trading, your liquidation price is the asset price at which the exchange automatically closes your position to prevent your losses from exceeding your margin. On OKX, when the mark price hits your liquidation price, the system triggers a market order to close the position. This happens because the maintenance margin — the minimum amount of equity required to keep the position open — is no longer sufficient to cover potential losses.nLet’s be clear: liquidation is not a penalty. It’s a safety mechanism. Without it, traders could rack up debts that exceed their deposits. But for you, the trader, it means losing the entire margin you put up for that position. And if you’re using cross margin, it could drain your whole account balance.nnHow Does OKX Calculate Liquidation Price?nThe calculation depends on two main factors: your margin mode and the type of contract (linear or inverse). OKX uses a formula based on the position’s notional value, leverage, and maintenance margin rate. Let’s walk through each piece.nnKey Variables in the FormulannEntry Price: The average price at which you opened your position.nLeverage: The multiplier applied to your margin (e.g., 10x means you control 10x the margin amount).nMaintenance Margin Rate (MMR): A percentage set by OKX, typically 0.4% for BTC/USDT perpetuals, but can be higher for volatile altcoins.nMargin Mode: Isolated (margin is separate) or Cross (margin uses entire wallet balance).nPosition Size: The number of contracts or units you hold.nnnThe Basic Formula for Long Positions (Isolated Margin)”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”For a long position in isolated margin mode on a linear contract like BTC/USDT, the liquidation price is calculated as:”}},{“@type”:”Question”,”name”:”What is the difference between liquidation price and bankruptcy price?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”The liquidation price is the price at which OKX closes your position. The bankruptcy price is the theoretical price at which your entire margin is wiped out. In practice, OKX liquidates before the bankruptcy price to cover trading fees and slippage. The gap between them is usually small, around 0.5% to 1%.”}},{“@type”:”Question”,”name”:”Does OKX charge a liquidation fee?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Yes. OKX charges a liquidation fee, typically 0.5% to 1% of the position’s notional value. This fee is deducted from your remaining margin. If the fee exceeds your margin, the exchange may use the insurance fund to cover the difference.”}},{“@type”:”Question”,”name”:”Can I manually close a position before liquidation?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Absolutely. You can close your position at any time using a market or limit order. This is often a better strategy than waiting for liquidation, as you control the exit price and avoid the liquidation fee.”}},{“@type”:”Question”,”name”:”How does partial liquidation work on OKX?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”When your margin ratio drops below the maintenance level, OKX may partially reduce your position size rather than closing it entirely. This happens in cross margin mode. The exchange sells enough contracts to bring your margin ratio back above the threshold, and you keep the remaining position.”}},{“@type”:”Question”,”name”:”Is liquidation price the same for all OKX contracts?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”No. Each contract has its own maintenance margin rate, which varies by asset and leverage tier. Major pairs like BTC/USDT have lower rates (0.4%), while altcoin pairs can have rates as high as 2% or more. Always check the contract specifications before trading.”}}]}
{“@context”:”https://schema.org”,”@type”:”Article”,”headline”:”OKX Liquidation Price: How to Calculate It in 2026″,”description”:”By Editorial Team · July 2026 You’re long on Bitcoin with 10x leverage, and suddenly the market drops 8%. Your position gets liquidated, and you lose.”,”author”:{“@type”:”Organization”,”name”:”Fatcatguide Editorial Team”},”publisher”:{“@type”:”Organization”,”name”:”Fatcatguide”},”mainEntityOfPage”:”https://www.fatcatguide.com/?p=545″,”datePublished”:”2026-07-14T09:19:44+00:00″,”dateModified”:”2026-07-14T09:19:44+00:00″}

🚀
Trade Smarter with AI
AI-powered crypto exchange — BTC, ETH, SOL & more
Start Trading →
BTC: ... ETH: ... SOL: ...