Liquidation Price Calculator
Where a leveraged position gets force-closed, and how far that is from your entry. The number worth knowing before you size up, not after.
By Joey van Diest, founder and editor Updated
- Liquidation price
- …
- Distance
- …
- Initial margin
- …
- Notional
- …
What a liquidation price is
Your liquidation price is the level at which the exchange force-closes a leveraged position because the loss has eaten through the margin backing it. Trade with leverage and you post only a fraction of the position's value as collateral; once price moves far enough against you that what is left can no longer cover the exchange's maintenance requirement, the position is closed for you, at market, with a fee. It is the single most important number to know before you open a leveraged trade, because it tells you exactly how much room the trade has before that decision is taken out of your hands. Enter the side, entry, leverage and maintenance rate and this returns the price and how far it sits from entry, for a long or a short, isolated or cross.
The formula
long: Pliq = Pentry × (1 − 1/L − c) ÷ (1 − m)
short: Pliq = Pentry × (1 + 1/L + c) ÷ (1 + m)
L = leverage, m = maintenance margin rate, c = extra cushion ÷ notional
Liquidation occurs if the amount of money available to cover the margin (the funds you have deposited) are less than the amount needed to meet the maintenance requirements. If you are trading long, for example, the margin posted will be the entry price divided by leverage or units traded, and the margin losses will increase with each falling price. Once the remaining margin is equal to the maintenance margin on the position's present value, the exchange will close your account. The equality can be solved using the equation provided above. When trading in an Isolated Mode, the amount of extra cash, c, available in case of liquidation will be 0; however, in Cross Mode, there will be additional funds from a second wallet used to provide some extra time before liquidation takes place.
A worked example
You have longed 1 Bitcoin at $65,000 using 10 times leverage, with an initial maintenance rate of .50%. The total margin posted was $6,500. This means that the price needs to fall to 65,000 * (1 – .10)/(1–.005) = $58,793 or approximately 9.5% less than when the position was opened for liquidation. Please note that this is not a true 10% loss as the maintenance charge has consumed some portion of the margin cushion, therefore, you will be forced to close slightly prior to losing all of your margin.
Now raise leverage to 25x. Margin drops to $2,600, but liquidation climbs to roughly $62,713, just 3.5% below entry. Bitcoin moves 3.5% in an ordinary session. That is the real trade-off leverage presents: it does not change your risk per trade if your position size is unchanged, it changes how much room the position has before the exchange takes the decision away from you.
Works on any perp exchange, and why the number differs
The maths is the same on every venue, so this covers Binance, Bybit, OKX, Bitget, MEXC, Hyperliquid and the rest; only the maintenance-margin schedule changes. Your exchange's own figure will usually sit a little closer than a flat calculation, for three reasons. Maintenance margin is tiered: it rises with position size, so a large position liquidates sooner than the default rate here. Exchanges also subtract estimated closing fees and any accrued funding from your collateral, which drags the level in. And most liquidate against a mark price, an index built from several exchanges, rather than the last traded price, so a single-venue wick may not trigger it. Set the maintenance rate to match your tier and this lands within a hair of the exchange estimate; treat the venue's own number as the authority.
Keep your stop inside your liquidation
The practical rule this calculator supports: your stop loss should always trigger comfortably before liquidation. If your planned stop is further from entry than the liquidation price, the stop is decorative, the exchange will close you first, at a worse price and with a fee. Size the trade with the position size calculator, check the margin tied up with the margin calculator, and if you trade perpetuals, watch what funding is costing you to hold via the funding dashboard, since accrued funding erodes margin and drags liquidation closer over time.
Perp liquidation is not DeFi lending liquidation
A leveraged perp or futures position, which is what this tool models, is liquidated differently from a loan on a DeFi lending protocol like Aave or Compound. On a lending protocol, liquidation is driven by your health factor, the ratio of collateral value to borrowed value measured against a liquidation threshold (loan-to-value), and it triggers when your collateral falls or your debt grows past that line, not from a leverage multiple. If you are checking a lending position rather than a leveraged trade, read your protocol's health-factor figure instead; this calculator is built for perpetual and futures positions.
Frequently asked questions
- Why does my exchange show a slightly different liquidation price?
- Three usual reasons. First, maintenance margin is tiered: it rises with position size, so a large position has a higher rate than the default here, and liquidates sooner. Second, exchanges deduct estimated closing fees and accrued funding from your margin, which pulls the level closer. Third, some venues liquidate against a mark price (an index) rather than the last traded price. Set the maintenance rate to match your tier and this will land very close, but treat the exchange figure as authoritative.
- What is the difference between isolated and cross margin here?
- Margin is based on each individual trade, therefore the liquidation price for a single trade will be dependent upon the amount entered into (leverage), the entry price and the maintenance rate. The cross margin utilizes all of the funds available in your account and allows those balances to absorb any losses, moving the potential liquidation price out. Simply input the amount you have available in your spare balance in the "Cross Margin" box and it will add that additional margin to your current position.
- Does higher leverage change my risk per trade?
- Not by itself, and this is the most misunderstood point in leveraged trading. Your risk is set by position size and where your stop is, not by the leverage number. What leverage changes is how much margin is locked up and how close liquidation sits. The danger is that high leverage moves liquidation so close to entry that ordinary noise closes you out before your stop would have. A stop placed further away than your liquidation price is not a stop at all.
- Should I rely on liquidation instead of a stop loss?
- No. It will be at the worst time (usually at an additional cost), and in some cases when the market is poor it could occur for a price you would have never wanted to sell at. The stop loss is simply what you set at the price you want to use as your exit. This tool allows you to see if your liquidation is well outside of your stop loss; if that is true then the stop loss is how the trade ended.
- Does this work for Binance, Bybit or other futures?
- Yes. Any USDT-margined perpetual or crypto futures position uses the same long/short formula; only the maintenance-margin rate differs by exchange and by position-size tier. Set the maintenance rate to the tier your exchange shows for your size and the result lands close to its estimate. The isolated and cross modes here mirror the two margin modes those venues offer.
- How do I calculate a liquidation price by hand?
- For a long, liquidation price = entry × (1 − 1/L − c) ÷ (1 − m), where L is leverage, m is the maintenance-margin rate and c is any extra cushion divided by notional; for a short, add those terms instead of subtracting. A 10x long at $65,000 with a 0.5% maintenance rate liquidates at 65,000 × (1 − 0.10) ÷ (1 − 0.005) ≈ $58,793. The calculator above does this for either side and folds in your cross-margin cushion.
- Is this about business liquidation or a liquidation sale?
- No. This is trading liquidation: the forced close of a leveraged crypto or futures position. It has nothing to do with business asset liquidation, liquidation-value accounting, a venture liquidation preference, or retail liquidation sales and pallets. If that is what you are after, this is the wrong tool.
Method and limitations
All calculations are based on pure arithmetic from your input data. Nothing is loaded into your browser or sent to a server when you type. A flat maintenance margin rate is used by the model. Exchanges use a variable interest rate (i.e., a tiered system) for the larger positions, calculate the estimated cost of closing as well as the actual costs of funding (accruing interest), and may close out positions against a mark or index price rather than last trade price. Both of these differences will bring the true level closer than displayed here. The liquidation amount provided by your exchange is correct. This application is informational purposes only, it should never be taken as investment/trading advice.
This tool runs entirely in your browser. Nothing you enter is sent to us or stored.
For general information and education only. This is not financial advice and not a recommendation to buy or sell anything. This tool is provided as is, with no warranty of accuracy: like any software it can contain errors, so always verify figures against your broker or the original source before acting on them. Trading and investing carry risk, including the risk of losing more than your initial outlay.
Spotted an error? Email contact@economicium.com and it will be corrected. Maintained by Joey van Diest.