Crypto Liquidations Explained: How to Avoid Getting Liquidated
A crypto liquidation is the forced closure of a leveraged position by an exchange when losses have consumed the trader's margin down to the minimum the exchange requires. The trader loses the collateral backing the position, usually pays a liquidation fee on top, and has no option to hold on and wait for a recovery. Liquidations exist because leveraged positions are partly funded with borrowed money, and the exchange will always close the trade before the borrowed portion is at risk. They are also one of the defining features of crypto markets: during sharp moves, billions of dollars in leveraged positions can be wiped out within hours, accelerating the very crash or spike that triggered them. This guide explains exactly how liquidation works, how the liquidation price is calculated, why cascades happen, and what actually keeps traders out of trouble.
What Is a Crypto Liquidation?
Liquidation only happens to leveraged positions: margin trades and futures contracts where part of the position is funded with borrowed money. When you buy a coin outright on the spot market and hold it, the price can fall 90% and you still own the coins; nobody can force you to sell. The moment you trade with leverage and margin, that changes. Your own deposit, the margin, is the only buffer protecting the lender, so the exchange watches it in real time and closes the position the instant the buffer runs too thin.
From the exchange's point of view this is not punishment, it is self-protection. If your $200 of margin controls a $2,000 position and the market moves 10% against you, your buffer is gone and every further tick would be the exchange's loss. Force-closing at that point guarantees the borrowed funds are repaid. From the trader's point of view, though, liquidation is the worst outcome a trade can have: the position is closed at a loss, the margin is gone, and there is no position left to recover if the market bounces a minute later.
Liquidations are most common on perpetual futures, the dominant leveraged product in crypto. If you are not sure how those differ from ordinary buying and selling, read our guide to spot vs futures trading first, because everything in this article lives on the futures side of that divide.
How Liquidation Works
Three numbers control the life of a leveraged position. The initial margin is the collateral you post to open the trade. The maintenance margin is the minimum collateral the exchange requires to keep the position open, always some fraction of the position's value. And the mark price is the price feed the exchange uses to value your position, typically a blend of prices across several markets rather than the last traded price on one order book, so that a single manipulated wick cannot trigger unnecessary liquidations.
As the market moves against you, unrealized losses are subtracted from your margin. When the remaining margin falls to the maintenance requirement, the liquidation engine takes over: it cancels the position's open orders and force-closes the position at the best available prices. Some platforms send a margin call warning first, inviting you to add collateral or reduce the position, but in a fast market the price can blow through the warning level and the liquidation level in seconds. Most exchanges also charge a liquidation fee, which is deliberately painful and typically feeds an insurance fund that covers cases where a position is closed at worse prices than expected.
The practical takeaway: liquidation is mechanical, automatic, and unemotional. No human reviews it, no grace period exists, and the engine does not care that the market recovered thirty seconds later.
How Liquidation Price Is Calculated
Your liquidation price is set the moment you open the trade, and leverage is the main input. A useful simplified formula for an isolated long position is:
Liquidation price ≈ entry price × (1 − 1/leverage + maintenance margin rate)
For a short, the signs flip: entry price × (1 + 1/leverage − maintenance margin rate). Intuitively, 1/leverage is the percentage cushion your margin gives you, and the maintenance margin rate claws a little of that cushion back because the exchange steps in before your margin hits zero. The table below ignores the maintenance rate to keep the pattern visible: it shows where liquidation sits for a long position entered at $30,000.
| Leverage | Liquidation price | Distance from entry |
|---|---|---|
| 2x | $15,000 | 50% below |
| 3x | $20,000 | 33% below |
| 5x | $24,000 | 20% below |
| 10x | $27,000 | 10% below |
| 20x | $28,500 | 5% below |
A worked example shows how the maintenance margin tightens things further. Say you post $500 of margin at 10x leverage to open a $5,000 long at $30,000 with a 0.5% maintenance margin rate. The simplified formula gives 30,000 × (1 − 0.10 + 0.005) = $27,150. Without the maintenance rate the estimate would be $27,000, so the exchange's buffer moved your liquidation price about $150 closer to your entry. At 20x the same effect is proportionally larger, which is one reason high-leverage positions die even sooner than the headline math suggests.
Real exchanges layer on tiered maintenance rates that rise with position size, entry and exit fees, and funding payments, so published formulas never match your exchange to the dollar. Treat every estimate as approximate, build in a safety margin, and if you want to experiment with the numbers, our free leverage and liquidation calculator runs this exact math on any entry price, leverage, and position size.
Partial vs Full Liquidation
Not every liquidation takes the whole position at once. On larger positions, many exchanges use partial liquidation: the engine closes a slice of the position to bring the margin ratio back inside the requirement, and only keeps going if the market keeps falling. A small retail position usually skips the formalities and is closed in full the moment it crosses the line.
The far more important distinction is how much of your money is exposed. With isolated margin, only the collateral you assigned to that one position is at stake; when it is gone, the damage stops. With cross margin, your entire account balance backs every open position, which delays liquidation, but when it comes, it can take everything in the account with it. Cross margin quietly converts one bad trade into a full-account event, and it is the default setting on some platforms, which is exactly why you should check before opening anything.
Liquidation Cascades and Squeezes
Liquidations do not just end individual trades; in crypto they move the whole market. Because traders cluster around the same round numbers and popular leverage levels, liquidation prices pile up in the same zones. When price reaches one of those zones, the engine force-sells the liquidated longs, that selling pushes price lower, which triggers the next band of liquidations, and so on. This chain reaction is a liquidation cascade, and it is a big part of why crypto crashes are so fast and so deep. During major crashes, billions of dollars in leveraged positions have been erased in a single day.
The same mechanic works in reverse. When price rises into a zone crowded with liquidatable shorts, their forced buy-backs fuel the rally, a short squeeze. If shorting is new territory, our guide on how to short crypto explains why a short position is bought back, not sold, when it dies. Squeezes and cascades are also why price so often spikes through obvious levels and snaps back: the move was forced trading, not fresh conviction. Understanding where market cycles concentrate this leverage, near euphoric tops and capitulation bottoms, makes the violence of those phases much less mysterious.
How to Avoid Liquidation
Everything that prevents liquidation comes down to keeping price far away from your liquidation level, or making sure hitting it would not matter much. In practice:
Use low leverage, or none. The table above is the whole argument. At 2x you can survive a 50% move; at 20x a routine 5% wobble ends you. Most professional traders who use leverage at all stay at the low end, because they intend to still be trading next year.
Exit with a stop-loss before liquidation can happen. A stop-loss placed well inside your liquidation price turns a total loss into a controlled one, and you keep the rest of your margin plus the fee you never paid. Where to put that stop is its own skill, covered in our risk management guide, but any sane stop beats letting the liquidation engine be your exit.
Size the position so a stop-out is boring. If a full stop-out costs 1% to 2% of your account, no single trade can hurt you. Our guide to position sizing shows the math; it matters more than any entry signal.
Prefer isolated margin and do not feed a loser. Isolated margin caps the damage at one position. Repeatedly topping up margin on a losing trade is just liquidation on an installment plan, and it converts a small planned loss into a large unplanned one.
Practice Without Liquidation Risk
The traders who get liquidated fastest are the ones who took on leverage before they could manage an ordinary spot position: no exit plan, no sizing rules, no feel for how violently crypto moves. Those fundamentals are exactly what you can build safely. CustomCrypto is a free iOS paper trading app where you trade dozens of coins at real market prices with virtual money, no account, and everything stored on your device. It is deliberately spot-only, with no leverage, margin, or liquidations, so you can watch a 10% dip happen to a practice portfolio and understand, viscerally, what that same move would have done to a 10x position. Learn the market's temperament for free first; the leverage casinos are not going anywhere.
Frequently Asked Questions
What happens when you get liquidated in crypto?
When you get liquidated, the exchange force-closes your leveraged position because your losses have eaten through your margin. The margin you posted for that position is gone, and most exchanges charge an additional liquidation fee on top. You do not get a say in the timing and you cannot wait for a rebound: once the mark price touches your liquidation price, the position is closed automatically.
How is liquidation price calculated?
A simplified estimate for an isolated long position is entry price times (1 minus 1/leverage plus the maintenance margin rate). For a short, it is entry price times (1 plus 1/leverage minus the maintenance margin rate). At 10x leverage that puts liquidation roughly 10% away from your entry before fees. Every exchange calculates it slightly differently because of fees, funding, and tiered maintenance margins, so treat any formula as an approximation.
Can you lose more than your margin in a liquidation?
With isolated margin, your loss is normally capped at the margin you assigned to that position plus the liquidation fee, and major exchanges use insurance funds to absorb any shortfall. With cross margin, however, the position draws on your entire account balance, so one bad trade can drain everything in the account. That difference is why beginners who experiment with leverage are usually told to start with isolated margin.
How do you avoid liquidation in crypto trading?
Use low leverage or none at all, place a stop-loss well before your liquidation price so you exit with a controlled loss instead of a total one, and size positions small enough that a stop-out does not damage your account. Prefer isolated margin so a single trade cannot drain your balance, and avoid rescuing losing positions by repeatedly adding margin. The most reliable method is simply trading spot, where liquidation does not exist.
Practice Trading With Zero Liquidation Risk
Use CustomCrypto to practice spot trading with real market prices and virtual money. No leverage, no margin, no liquidations. Free on iOS.
Download Free App