Skip to content
Crypto

Margin Call Calculator

Calculate your exact liquidation price for leveraged trading positions. Enter entry price, leverage, position type, and maintenance margin to determine when a margin call will occur.

Position details

$

Leverage and margin

x
%

Liquidation price

$54,300.00

9.50% move from entry triggers liquidation

Margin call price

$54,330.00

Broker warning before liquidation

Initial margin

$6,000.00

10.00% of position

Position value

$60,000.00

1 unit at $60,000.00

Max loss before liquidation

$5,700.00

Initial margin minus maintenance margin

Capital structure

  • Your equity (margin)$6,000.0010.0%
  • Borrowed capital$54,000.0090.0%

How the liquidation price is calculated

Three steps from your entry price and leverage to the exact price that wipes your margin.

  1. Initial margin (collateral)

    Initial Margin=Position ValueLeverage\text{Initial Margin} = \frac{\text{Position Value}}{\text{Leverage}}

    Position value of $60,000.00 at 10x leverage requires $6,000.00 initial margin.

  2. Maintenance margin floor

    Maintenance Margin=Position Value×MMR\text{Maintenance Margin} = \text{Position Value} \times \text{MMR}

    At 0.5% MMR, the required floor is $300.00.

  3. Long liquidation price

    Pliq=PentryInitial MarginMaintenance MarginQtyP_{\text{liq}} = P_{\text{entry}} - \frac{\text{Initial Margin} - \text{Maintenance Margin}}{\text{Qty}}

    Your position is liquidated if price drops to $54,300.00, a move of 9.50% from entry.

Report tool

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:

Pliqlong=PentryMinitialMmaintenanceQtyP_{\text{liq}}^{\text{long}} = P_{\text{entry}} - \frac{M_{\text{initial}} - M_{\text{maintenance}}}{\text{Qty}}

Short position

For a short, a rising price hurts you. The symmetrical formula:

Pliqshort=Pentry+MinitialMmaintenanceQtyP_{\text{liq}}^{\text{short}} = P_{\text{entry}} + \frac{M_{\text{initial}} - M_{\text{maintenance}}}{\text{Qty}}

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?
A margin call is triggered when your account equity falls below the maintenance margin level set by your broker. At that point, the broker demands additional funds or will begin liquidating your position.
What is the difference between a margin call and liquidation?
A margin call is the warning: your broker asks you to add funds. Liquidation is the action: if you do not respond, the broker closes your position automatically at the liquidation price to recover the borrowed capital.
Does higher leverage always mean a closer liquidation price?
Yes. The higher your leverage, the smaller the adverse price move required to wipe your margin. At 100x leverage, only a 1% move against your position can trigger liquidation.
What is the maintenance margin rate (MMR)?
The MMR is the minimum equity percentage a broker requires you to maintain relative to the total position value. It is set by the exchange or broker and varies by asset and leverage tier. Binance, for example, uses tiered MMRs starting around 0.5% for lower leverages.
Can I avoid liquidation by adding funds?
Yes. Depositing additional collateral after a margin call raises your equity above the maintenance level, moving your effective liquidation price further from the current market price. This is called "topping up" or "adding margin."
Is this calculator specific to crypto exchanges?
The formula works for any leveraged market: crypto perpetuals, futures, CFDs, and traditional margin accounts at stock brokers. The key inputs are the same: entry price, leverage, position size, and the broker's maintenance margin rate.
What currency does this calculator use?
All amounts are displayed in US dollars (USD). The formulas are currency-neutral; you can apply the same logic to EUR, GBP, or any asset-denominated position.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.