Guide · 9 min read

What is liquidation in crypto? How it works and how to avoid it

Liquidation is the exchange closing your position because your margin can no longer cover the loss. Here is exactly when it happens, how to calculate the price, and why liquidations come in waves.

By the CryptoScanX team · Updated 22 November 2026 · Educational content, not investment advice

Binance futures movers USDT-M perpetuals · live
Loading…
—Loading live data…
PairPrice24hFundingVolume
Data: Binance public futures API, refreshed every minute. Pairs with under $5M daily volume are hidden.Get alerts in the app →

Liquidation in crypto is the forced closing of a leveraged position when the trader’s collateral can no longer cover the losses. On a futures exchange it triggers when the mark price reaches your liquidation price. You lose the margin on that position and usually pay a liquidation fee. The exchange does this so your loss never grows past what you put up.

Key takeaways

  • You are liquidated when your margin balance falls below the maintenance margin, not when it reaches zero.
  • Exchanges trigger liquidation off the mark price, not the last traded price.
  • Liquidation distance is roughly 1 ÷ leverage: 10× is about a 10% move, 100× is under 1%.
  • Liquidations are market orders, so they come in cascades.
  • A stop-loss placed before your liquidation price costs less than being liquidated.

What liquidation means

When you trade crypto futures with leverage, you only put up part of the position’s value as margin. The exchange effectively lends you the rest. If price moves against you far enough that your remaining margin falls below the maintenance margin, the exchange closes the position for you. That forced close is a liquidation.

Think of maintenance margin as the safety buffer the exchange insists on. It exists so that the exchange can close your position while there is still something left to cover the loss.

How liquidation works, step by step

  1. You open a position and post initial margin. For a $10,000 position at 10× leverage that is $1,000.
  2. Price moves against you. Your unrealised loss reduces your margin balance.
  3. When margin balance reaches the maintenance margin level, the position is flagged for liquidation. Binance describes this as the point where the margin ratio reaches 100%.
  4. The exchange cancels your open orders for that position and tries to close it. Binance describes sending large immediate-or-cancel orders first, and stopping if the remaining assets cover the required margin.
  5. A liquidation fee is deducted from what is left. Binance states the exact rate on its trading-parameters page.
  6. If the position cannot be closed at a price that covers the loss, it is a bankrupt position. The exchange’s insurance fund absorbs the shortfall. If that is not enough, auto-deleveraging can close opposing profitable positions.

Exact procedures differ by exchange. Always read the rules of the venue you use.

Mark price vs last price

Most major exchanges trigger liquidation from the mark price, a fair-value price built from an index of spot prices on several exchanges and funding data. The last traded price is not used. This protects you from a single bad trade or a short wick on one order book triggering a liquidation. Your realised profit still settles at the actual last price you traded at.

How to calculate your liquidation price

Real exchange formulas include tiered maintenance rates, fees and, on Binance, a maintenance-amount adjustment. For an isolated position with no other costs, the exact structure is clean:

  • Long: liquidation price = entry × (1 − 1 ÷ leverage) ÷ (1 − maintenance margin rate)
  • Short: liquidation price = entry × (1 + 1 ÷ leverage) ÷ (1 + maintenance margin rate)

Where do these come from? Margin balance = margin + unrealised profit and loss. Liquidation happens when margin balance equals maintenance margin. For a long, margin is entry × qty ÷ leverage, the loss is qty × (entry − price), and maintenance margin is price × qty × rate. Solve for price and you get the formula above.

Worked example 1: isolated long, 10×

You buy BTC at $60,000 with $1,000 margin at 10×. Notional is $10,000, so the position is 10,000 ÷ 60,000 = 0.1667 BTC. Use an illustrative maintenance margin rate of 0.5%.

Long: 60,000 × (1 − 0.10) ÷ (1 − 0.005) = 54,000 ÷ 0.995 = $54,271, a fall of about 9.55%.

Check it. At $54,271 the loss is 0.1667 × (60,000 − 54,271) = $954.77. Margin left: 1,000 − 954.77 = $45.23. Maintenance margin: 54,271 × 0.1667 × 0.005 = $45.23. They match, so that is where liquidation triggers.

The same trade as a short: 60,000 × 1.10 ÷ 1.005 = 66,000 ÷ 1.005 = $65,672, a rise of about 9.45%.

The “bankruptcy price”, where margin would be fully gone, is 60,000 × 0.90 = $54,000. The gap between $54,271 and $54,000 is the buffer that pays liquidation costs.

Worked example 2: the same long on cross margin

Now put the same 0.1667 BTC long on cross margin with a $5,000 account. The whole balance backs the position. Liquidation happens when 5,000 − 0.1667 × (60,000 − price) = price × 0.1667 × 0.005.

Solving: price = (10,000 − 5,000) ÷ (0.1667 × 0.995) = $30,151, a fall of about 49.7%.

Cross margin gave the trade much more room. The price you pay is that an account liquidation can take the whole $5,000, not just $1,000. See cross vs isolated margin.

Leverage vs distance to liquidation

Same $60,000 long, same 0.5% maintenance rate, isolated margin:

LeverageLong liquidation priceFall to liquidationShort liquidation priceRise to liquidation
2×$30,15149.7%$89,55249.3%
5×$48,24119.6%$71,64219.4%
10×$54,2719.5%$65,6729.5%
25×$57,8893.5%$62,0903.5%
50×$59,0951.5%$60,8961.5%
100×$59,6980.5%$60,2990.5%

At 50× and above, ordinary intraday noise is enough to liquidate a position. See leverage trading explained. The calculation also shifts with exchange tiers: larger positions face higher maintenance rates, so the real liquidation price moves closer. Use the liquidation calculator or your exchange’s own figure.

Liquidation vs stop-loss vs margin call

Stop-lossLiquidationMargin call
Who decidesYouThe exchangeThe broker
Price levelYour choiceFixed by margin and leverageWarning level set by the broker
What you keepMost of your marginLittle or none, minus a feeYou can add money
Typical in cryptoYesYes, automaticRare. Many exchanges liquidate without a call.

Why liquidations come in cascades

A liquidation is a market order. A liquidated long is sold and a liquidated short is bought back. When many traders use similar leverage and entries, the first liquidations push price into the next cluster, which triggers more. This chain reaction is a liquidation cascade.

In the data it shows up as a sharp price move, a volume spike and a large drop in open interest within a few candles. When open interest stops falling, the forced selling or buying is usually done. Read more in open interest vs volume and liquidation heatmaps.

Liquidation in DeFi lending

The word also describes DeFi loans, which work differently. You deposit collateral and borrow against it. If the collateral falls too far, anyone can repay part of the debt and take your collateral at a discount.

Illustrative example: you deposit 10 ETH at $3,000 ($30,000) and borrow $20,000 of stablecoins. Assume the protocol allows borrowing up to 80% of collateral value before liquidation (thresholds vary by protocol and asset). Health factor = 30,000 × 0.80 ÷ 20,000 = 1.2. It reaches 1.0 when 10 × price × 0.80 = 20,000, so at ETH = $2,500. Below that, your collateral can be liquidated.

How to avoid being liquidated

  • Use a stop-loss well before your liquidation price. Being stopped out costs less than being liquidated, because you keep the rest of your margin and skip the liquidation fee.
  • Size the position from your stop, not from the leverage slider. Risk a fixed small share of your account per trade.
  • Prefer isolated margin while learning, so one bad trade cannot drain the account.
  • Add margin early if you want to keep a position, rather than waiting until the last candle.
  • Watch crowded positioning. Extreme funding and fast-rising open interest make a cascade more likely.
  • Mind funding and fees. They draw on margin over time, which pulls the real liquidation price closer.

Stop before liquidation, worked out. On the 10× long above, liquidation is $54,271. A stop at $58,800 risks (60,000 − 58,800) × 0.1667 = $200 plus fees, which is 20% of the $1,000 margin. Without the stop, a fall to liquidation loses nearly the whole $1,000.

Common mistakes

  • Choosing leverage first and a stop second.
  • Assuming the liquidation price shown at entry stays fixed. Fees, funding and tiers change it.
  • Using cross margin on a speculative trade with the whole account behind it.
  • Averaging down on a losing leveraged position, which moves the liquidation price closer.
  • Believing losses are limited to margin on every product. On some venues and account types, negative balances are possible. Read your exchange’s terms.

Partial vs full liquidation

Not every exchange closes your whole position at once. Some close it in steps. Hyperliquid’s documentation, for example, says that for positions above 100,000 USDC only 20% of the position is sent to the book as a market order in a given block, followed by a 30-second cooldown. During the cooldown, liquidation orders for that user cover the whole position. Smaller positions are sent whole.

Binance’s FAQ describes a related idea it calls smart liquidation. It first tries to reduce the deficit by placing large immediate-or-cancel orders at a calculated bankruptcy price, and stops if the remaining assets cover the required margin. Details differ between venues and change over time, so read the current rules.

Insurance fund and auto-deleveraging

Sometimes price gaps through your liquidation price so fast that the position cannot be closed at a price that covers the loss. The position then becomes bankrupt, meaning its margin is fully gone. What happens next depends on the exchange:

  • Insurance fund. Binance’s FAQ says its futures insurance fund takes over bankrupt positions as far as it can and bears the resulting losses. It also keeps any profit from them.
  • Auto-deleveraging (ADL). If the fund cannot cover the loss, the exchange can force-close opposing, profitable positions against the bankrupt one.
  • Backstop liquidators. Hyperliquid describes a second stage where, if equity falls below two thirds of maintenance margin without a successful book liquidation, a liquidator vault takes over the position.

That is why a flash crash can close profitable positions you never expected to lose. It is rare, but it is part of the risk.

Where does the leftover margin go?

Go back to the 10× long from the first example. Liquidation triggers at $54,271 with $45.23 of margin left. The bankruptcy price, where margin would be zero, is $54,000. That $45.23 is the buffer that pays liquidation costs. Binance states that a liquidation clearance fee is deducted from the position’s assets based on the notional value and a rate listed in its trading parameters. If the fee and slippage consume the buffer, nothing is left.

The difference between being stopped and being liquidated, on the same trade and the same $1,000 margin:

Stopped at $58,800Liquidated near $54,271
Price loss$200$955
FeesNormal trading feeNormal fee plus liquidation fee
Margin leftAbout $800Close to zero
Your decision?YesNo

Liquidation across products

ProductTriggerWho closes it
Futures and perpetualsMargin balance falls below maintenance margin, on the mark priceThe exchange’s liquidation engine
Margin trading (borrowed spot)Margin level falls below the platform’s thresholdThe exchange
DeFi lendingHealth factor falls below 1Anyone, usually for a liquidation bonus
Spot (no borrowing)Not applicableNot applicable

Reading the news: “$X million liquidated”

Headlines often say “$500 million liquidated in 24 hours”. Treat that as a gauge of how much leverage was flushed, not as a measure of how much money was lost. A position liquidated at $54,271 is counted at its full notional value, not at the $1,000 margin that was actually lost. Large totals mark crowded positioning being cleared and often appear near local turning points, but a big number does not tell you the direction of the next move.

How to use this with CryptoScanX

Spotting a flush in progress

Long liquidation flush

% Change(4) < −6 AND Relative Volume > 4 AND OI Change %(24h) ≤ −8

A fast drop on heavy volume while open interest collapses: longs being forced out.

Short liquidation squeeze

% Change(4) > 6 AND Relative Volume > 4 AND OI Change %(24h) ≤ −8

The mirror image: shorts being bought back.

This guide is educational and is not financial advice. The formulas are simplified. Your exchange’s own figure decides when you are liquidated.

Free live tools

Frequently asked questions

What is liquidation in crypto?

Liquidation is when an exchange force-closes a leveraged futures position because its margin can no longer cover the loss. You lose the margin on that position and usually pay a liquidation fee.

How does liquidation work in crypto?

As price moves against you, unrealised loss reduces your margin balance. When it falls to the maintenance margin level, measured on the mark price, the exchange cancels your orders and closes the position. A fee is taken and any shortfall is covered by the insurance fund.

How is liquidation price calculated?

For an isolated long, entry × (1 − 1/leverage) ÷ (1 − maintenance margin rate). For a short, entry × (1 + 1/leverage) ÷ (1 + maintenance margin rate). Exchanges add tiered rates and fees, so use their calculator for the exact figure.

Can I lose more than my margin when liquidated?

On most major futures exchanges your loss on an isolated position is limited to its margin, and an insurance fund covers shortfalls. On cross margin you can lose your whole account balance. Terms differ by venue, so check yours.

What is a liquidation cascade?

A chain reaction where forced closes push price into the next cluster of liquidations, triggering more. It shows up as a sharp move, a volume spike and a large drop in open interest.

What is the difference between liquidation and a stop-loss?

A stop-loss is an exit you choose. Liquidation is an exit the exchange forces at a level set by your margin and leverage. A stop placed before liquidation usually leaves you with more of your margin.

Does liquidation happen on spot trading?

No. Spot trades use your own coins with no borrowing. Liquidation applies to leveraged products such as futures, margin trading and DeFi loans.

What does liquidations today mean?

The total value of futures positions force-closed across exchanges in the last 24 hours. Large totals usually follow sharp moves and mark crowded positioning being cleared out.

Crypto futures are leveraged and carry a high risk of loss. This guide is educational and is not investment advice.

CryptoScanX app icon

900 futures. 98 indicators. One app in your pocket.

Stop flicking through charts one by one. Let the scanner watch the whole market and tap you on the shoulder when something qualifies.

Free to install · Premium $3.99/month globally · ₹99/month in India · cancel anytime

CryptoScanX on Google PlayFree · 98 indicators · live alerts

Install