What is a margin call?
A margin call is a broker's demand for you to deposit additional funds because your leveraged position has lost enough value that your remaining equity has fallen below the required maintenance margin level. If you do not meet the call, the broker liquidates your position at the liquidation price to cover the outstanding balance. This calculator shows you exactly where both of those trigger points are before you enter a trade.
Leverage amplifies both gains and losses. A 10x leveraged long position means a 10% price drop can wipe your entire margin. Knowing your liquidation price in advance lets you set stop-losses before that level, size your position correctly, and decide whether the risk reward is worthwhile. To estimate ongoing borrowing costs on your debit balance, use our margin interest calculator. Use the crypto leverage calculator to also factor in trading fees and net profit/loss at a target exit price. To model the broader risk-to-reward ratio of the trade, the Kelly Criterion calculator helps you size a position relative to your edge and bankroll.
How the liquidation price is calculated
The standard derivation used by most centralized exchanges (Binance, Bybit, OKX, CME) starts from the equity identity: your remaining equity equals your initial margin plus your unrealized profit or loss. Liquidation happens when that equity equals the maintenance margin.
Long position
For a long position, the price falling from entry hurts you. Solving for the price at which your equity equals the maintenance margin:
Short position
For a short, a rising price hurts you. The symmetrical formula:
Where:
- Mₐnit = Initial Margin = Position Value / Leverage
- Mₘaint = Maintenance Margin = Position Value × Maintenance Margin Rate (MMR)
- Qty = number of units or contracts in the position
Worked example
Suppose you open a long position on BTC at an entry price of $60,000, with 10x leverage, 1 contract, and a 0.5% maintenance margin rate.
- Position value = $60,000 × 1 = $60,000
- Initial margin = $60,000 / 10 = $6,000
- Maintenance margin = $60,000 × 0.5% = $300
- Liquidation price = $60,000 − ($6,000 − $300) / 1 = $54,300
BTC only needs to fall 9.5% from your entry ($60,000 to $54,300) to wipe your $6,000 margin. This illustrates why high leverage dramatically compresses the safe price range. The crypto profit calculator lets you quickly assess your potential gain if the trade goes in your favor, giving you the full risk-reward picture.
Margin call vs. liquidation price
Most brokers issue a margin call warning slightly before liquidation, giving you a window to deposit more collateral or reduce position size. This calculator shows the margin call price at 110% of the maintenance margin floor, which is a common broker convention. The exact threshold varies by broker: some warn at 120%, others at 130%. Always verify the exact figure with your exchange.
How to protect yourself from a margin call
- Use lower leverage. At 2x instead of 10x, BTC would need to drop 47.5% to liquidate the same long, giving you far more breathing room.
- Set a stop-loss above the liquidation price. Exit voluntarily with a controlled loss rather than losing your full margin.
- Keep reserve margin. Never deploy 100% of your account as initial margin. Reserve 30–50% to meet margin calls on volatile days.
- Monitor positions during high-volatility events. News, earnings, and regulatory announcements cause sudden price spikes that can instantly cross your liquidation threshold.
- Size with the Kelly Criterion. Use the Kelly Criterion calculator to find the position size that maximizes long-run growth without risking ruin.
Frequently asked questions
What triggers a margin call?
What is the difference between a margin call and liquidation?
Does higher leverage always mean a closer liquidation price?
What is the maintenance margin rate (MMR)?
Can I avoid liquidation by adding funds?
Is this calculator specific to crypto exchanges?
What currency does this calculator use?
Resources and references
The formulas and methods in this calculator were checked against these independent sources.