Risk Management
Crypto Liquidation Price: How It Is Calculated
A liquidation price is the level at which an exchange would forcibly close a leveraged position because your margin no longer covers the required minimum. This guide explains a simplified version of that math — it is not an exact exchange formula.
6 min read
All prices below are illustrative examples, not current market data. This is a simplified educational model, not an exchange's actual liquidation price.
Key terms
- Margin: the collateral you put up for the position.
- Leverage: position value ÷ margin.
- Maintenance margin rate (MMR): the minimum share of the position value that must remain as margin.
- Long: profits if price rises. Short: profits if price falls.
Simplified formula (isolated margin)
The calculator assumes liquidation when equity (margin plus unrealized P&L) equals maintenance margin on the position at the liquidation price. Solving for that price gives:
Long: Liquidation ≈ (Position value − Margin) ÷ (Quantity × (1 − MMR)) Short: Liquidation ≈ (Position value + Margin) ÷ (Quantity × (1 + MMR))
- Position value
- Entry price × Quantity
- Margin
- Position value ÷ Leverage, or the margin you enter
- MMR
- Maintenance margin rate as a decimal
Dividing through by quantity, a long position simplifies to Entry × (1 − 1/Leverage) ÷ (1 − MMR).
Example: long vs short
Worked example
1 BTC position at an entry of $30,000, 10× leverage, 0.5% maintenance margin
- Margin = 30,000 ÷ 10 = $3,000
- Long: (30,000 − 3,000) ÷ (1 × 0.995) ≈ $27,135.68
- Short: (30,000 + 3,000) ÷ (1 × 1.005) ≈ $32,835.82
Both are roughly 9–10% from entry. At 20× they would be about half as far away.
Why actual exchange liquidation differs
- Exchanges trigger liquidation from a mark price, not the last traded price.
- Tiered maintenance margin: larger positions often face higher MMRs.
- Fees: liquidation and closing fees may be deducted, moving the price closer to entry.
- Cross margin: other balances in the account can support the position, pushing liquidation further away.
- Funding payments and partial liquidation rules change margin over time.
Always check the liquidation price shown by your exchange; the calculator's estimate is for understanding the relationship between inputs.
Calculator walkthrough
- Open the Crypto Liquidation Price Calculator.
- Choose long or short and enter entry price and quantity.
- Enter leverage, or the margin amount instead.
- Enter a maintenance margin rate from your exchange's documentation.
- Press Calculate to see the estimated liquidation price and its distance from entry.
Run your own numbers
Estimate the price at which a leveraged position could be liquidated.
Related calculators
Frequently asked questions
Related guides
Crypto Leverage Explained: Margin, Position Size & Risk
How crypto leverage works: margin, position value, how leverage amplifies gains and losses, the liquidation concept, fees and funding, and why exchange rules differ.
Crypto Position Size: How to Calculate Trade Size
How to calculate crypto position size from account size, entry price, stop-loss and the amount you choose to risk, with a formula, worked example and free calculator.
Crypto Profit & Loss Calculator: How to Calculate P&L
Learn how to calculate crypto profit and loss from buy price, sell price, quantity and trading fees, with long-term and short-term examples and a free P&L calculator.