6 Steps to Calculate Liquidation Price on OKX Futures

Liquidation is the single biggest risk in crypto futures trading. One wrong move, and your position gets wiped out. But here’s the thing: you can avoid that if you know how to calculate your liquidation price upfront. On OKX, the math isn’t complicated—but it does require you to understand a few key variables. Let’s break it down step by step so you never get caught off guard.

💡
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 →

At a Glance

# Key Point Why It Matters
1 Entry price and leverage determine your liquidation price Higher leverage means a tighter liquidation zone
2 Position size and margin mode change the calculation Cross margin vs. isolated margin give different results
3 Maintenance margin rate is set by OKX per contract It varies by asset and leverage tier
4 The formula for long and short positions differs One uses addition, the other subtraction
5 Funding rate and open interest don’t affect liquidation price Only price movement and margin matter
6 You can use OKX’s built-in calculator for safety Manual math is backup, not primary

1. Know Your Entry Price and Leverage

Your liquidation price starts with your entry price. If you buy Bitcoin at $30,000 with 10x leverage, your liquidation price will be much closer than if you used 2x leverage. That’s because leverage magnifies both gains and losses. On OKX, the standard formula for a long position’s liquidation price is:

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

So if you enter at $30,000 with 10x leverage and a 0.5% maintenance margin rate, the math looks like this: $30,000 × (1 – 0.1 + 0.005) = $30,000 × 0.905 = $27,150. That means your position liquidates if Bitcoin drops to $27,150. A 9.5% move against you—and you’re out. For a short position, the formula flips: Liquidation Price (Short) = Entry Price × (1 + (1 / Leverage) – Maintenance Margin Rate). Using the same numbers: $30,000 × (1 + 0.1 – 0.005) = $30,000 × 1.095 = $32,850. So if Bitcoin rises to $32,850, your short gets liquidated.

This is why leverage is a double-edged sword. A 50x leverage position on OKX would have a liquidation price just 2% away from entry. That’s a tiny buffer. Liquidation in Futures vs Spot — Safer Trading? explains why this matters for your portfolio.

2. Understand Margin Mode: Isolated vs. Cross

OKX offers two margin modes: isolated and cross. In isolated mode, only the margin allocated to that specific position is at risk. So if your liquidation price is hit, you lose only that margin—not your entire account balance. In cross margin mode, your entire wallet balance backs the position. That means a liquidation could eat into your other funds.

Here’s the practical difference: with isolated margin, your liquidation price stays fixed as long as you don’t add or remove margin. With cross margin, your liquidation price can shift if your account balance changes due to other positions or transfers. For example, if you have $1,000 in your wallet and open a $10,000 long position with cross margin, your liquidation price might be at $29,000. But if you later deposit another $500, that liquidation price moves closer to $28,500 because you have more buffer.

Most traders prefer isolated margin for individual positions because it contains the damage. Cross margin is better for hedging or when you want to use your entire balance as collateral. But remember: neither mode guarantees safety. A sharp price move can still liquidate you.

3. Check the Maintenance Margin Rate for Your Contract

OKX sets a maintenance margin rate (MMR) for each futures contract. This is the minimum percentage of the position value you must keep in margin to avoid liquidation. The MMR varies by asset and leverage tier. For Bitcoin perpetual contracts, it’s typically 0.4% to 0.5% for lower leverage, but it increases as leverage goes up.

For example, on OKX, if you trade BTC/USDT perpetual with 20x leverage, the MMR might be 0.5%. But at 100x leverage, it could be 1.0% or higher. You can find this in the contract specifications on the OKX trading page. Always check the MMR before opening a position because it directly affects your liquidation price.

Let’s say you’re trading ETH at $2,000 with 25x leverage and an MMR of 0.6%. The liquidation price for a long would be: $2,000 × (1 – 0.04 + 0.006) = $2,000 × 0.966 = $1,932. That’s only a 3.4% drop before liquidation. Tight, right? So always factor in the MMR when you’re planning your trades.

4. Calculate for Long and Short Positions Separately

The formulas for long and short positions are mirror images. For a long, you subtract the leverage fraction and add the MMR. For a short, you add the leverage fraction and subtract the MMR. This asymmetry matters because the liquidation price for a short is always above your entry, while for a long it’s below.

Here’s a concrete example. You short Bitcoin at $30,000 with 10x leverage and 0.5% MMR. The liquidation price is $30,000 × (1 + 0.1 – 0.005) = $32,850. If you went long instead, it would be $27,150. The distance from entry is the same in both cases (about 9.5%), but the direction flips. This seems simple, but many traders forget that shorts have a higher liquidation price than longs at the same entry.

One common mistake is assuming your liquidation price is symmetric. It’s not. The MMR creates a slight skew. For example, with 0.5% MMR, the long liquidation is 9.5% below entry, while the short liquidation is 9.5% above entry. But if the MMR were 1%, the long would be 9% below, and the short would be 10% above. That asymmetry can catch you off guard if you’re not paying attention.

5. Ignore Funding Rate and Open Interest for Liquidation Price

Some traders think funding rates or open interest affect their liquidation price. They don’t. Funding rates are periodic payments between long and short traders based on the difference between perpetual contract prices and spot prices. They affect your profit and loss over time, but they don’t change the price at which your position gets liquidated.

Open interest is the total number of open contracts. It’s a measure of market activity and liquidity, but it has no direct impact on your liquidation price. What does affect liquidation is your entry price, leverage, MMR, and margin mode. Nothing else.

That said, funding rates can indirectly affect your position if they drain your margin. If you’re in a long position and funding is negative (shorts pay longs), you receive funding, which adds to your margin and pushes your liquidation price further away. But if funding is positive (longs pay shorts), you lose margin over time, which brings your liquidation price closer. So while funding doesn’t change the formula, it can erode your buffer. Keep an eye on it.

6. Use OKX’s Built-in Calculator for Accuracy

OKX provides a liquidation price calculator in its trading interface. You can find it under the “Calculator” tab when you’re setting up a futures order. Enter your entry price, leverage, margin mode, and position size, and it shows you the exact liquidation price. This is the safest way to check because it accounts for all the variables automatically.

But you should still understand the math. Why? Because the calculator assumes you don’t add or remove margin during the trade. If you manually add margin to reduce your liquidation risk, the calculator’s number becomes outdated. For example, if you open a long at $30,000 with 10x leverage and later add $500 in margin, your liquidation price moves from $27,150 to maybe $27,800 (depending on your position size). The calculator won’t update that unless you re-enter the data.

Also, the calculator doesn’t account for trading fees or funding rate deductions. These are small, but over time they can eat into your margin. A good rule of thumb is to add a 1-2% buffer to the calculated liquidation price. So if the calculator says $27,150, treat $27,500 as your effective liquidation zone. That gives you some breathing room.

Risks and Pitfalls to Watch For

Even with the right formula, liquidation can sneak up on you. Here are three common traps.

1. Overleveraging without a buffer. Using 50x or 100x leverage might seem exciting, but it leaves almost no room for error. A 1-2% price swing can wipe you out. Always leave a margin buffer—at least 20-30% above the maintenance margin requirement. For example, if the MMR is 0.5%, aim for 0.7-0.8% to give yourself some cushion. This is not financial advice, but a risk-aware approach.

2. Ignoring funding rate accumulation. As mentioned, funding rates can drain your margin over time. If you hold a position for days or weeks, those small payments add up. On OKX, funding happens every 8 hours. If you’re long and funding is positive at 0.01% per period, that’s 0.03% per day. Over a week, that’s 0.21% of your position value—enough to move your liquidation price by a few dollars. Check the funding rate history before entering a trade.

3. Forgetting to account for fees. Opening and closing a position costs fees. On OKX, maker fees are typically 0.02% and taker fees are 0.05%. For a $10,000 position, that’s $2 to $5 per trade. It doesn’t sound like much, but if you’re trading with thin margin, those fees can push you closer to liquidation. Always include fees in your cost calculations.

This content is for educational and informational purposes only and does not constitute financial advice. All trading involves risk, and you could lose more than your initial margin.

The One Thing to Remember

Your liquidation price isn’t static—it moves with your margin, fees, and funding rates. The formula is simple, but the real world is messy. Always calculate your liquidation price before entering a trade, add a safety buffer, and monitor your margin regularly. One quick check can save you from a total loss. And if you’re unsure, start with lower leverage and isolated margin until you’re comfortable. How to Managing DOT Crypto Futures with Secure Report can help you build a framework for safer trading.

Sources & References

{“@context”:”https://schema.org”,”@type”:”Article”,”headline”:”6 Steps to Calculate Liquidation Price on OKX Futures”,”description”:”By Editorial Team · July 2026 Liquidation is the single biggest risk in crypto futures trading. One wrong move, and your position gets wiped out. But.”,”author”:{“@type”:”Organization”,”name”:”Accuratemachinemade Editorial Team”},”publisher”:{“@type”:”Organization”,”name”:”Accuratemachinemade”},”mainEntityOfPage”:”https://www.accuratemachinemade.com/?p=588″,”datePublished”:”2026-07-07T09:05:29+00:00″,”dateModified”:”2026-07-07T09:05:29+00:00″}

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