In 2020 I lost $5,000 to a single liquidation. It happened at night, while I was asleep. I was trading crypto at 5x to 10x and thought that was careful: a 20–30% move against me did not seem like something that actually happens. In crypto it does, usually on news, and it does not wait for you to wake up.
This post is what I wish I had read before that night: what the liquidation price is, how it is calculated, what the exchange actually does when it is hit, and the rules I trade by now.
What is the liquidation price?
The liquidation price is the level at which the exchange closes your leveraged position for you, because the margin behind it is almost used up. Leverage does not change how far the market moves. It changes how far it can move against you before the position is taken away.
On the order ticket it usually shows as est. liquidation price. Why "estimated" comes up below, in the section on mark price.
How is the liquidation price calculated?
With isolated margin, the collateral behind a position is the notional value divided by the leverage. At 10x, a $10,000 position is backed by $1,000. A 10% move against it would wipe that out — but the exchange does not wait for zero. It closes the position while a small slice of margin remains, the maintenance margin, to cover the cost of closing.
For a long, roughly:
liquidation price ≈ entry × (1 − 1/leverage + maintenance margin rate)
For a short:
liquidation price ≈ entry × (1 + 1/leverage − maintenance margin rate)
Exchanges add details — tiered maintenance rates for large positions, fees, the mark price — but the shape is the same.
Backcandle uses a 0.5% maintenance rate plus a 0.08% fee buffer, 0.58% in total. For a long, the move that triggers liquidation is:
| Leverage | Adverse move to liquidation |
|---|---|
| 2x | about −49.4% |
| 5x | about −19.4% |
| 10x | about −9.4% |
| 20x | about −4.4% |
| 50x | about −1.4% |
| 100x | about −0.4% |


Read my 2020 mistake against this table. At 5x the line was about 19% away, at 10x about 9%. I treated a 20–30% move as impossible. On a volatile coin, overnight, on news, it is just a bad night.
A worked example
A long on BTC at $60,000 with 10x leverage:
- 1/leverage = 0.10
- liquidation price = 60,000 × (1 − 0.10 + 0.0058) = 60,000 × 0.9058 = $54,348
The same trade as a short:
- liquidation price = 60,000 × (1 + 0.10 − 0.0058) = 60,000 × 1.0942 = $65,652
A $5,652 move, about 9.4%, in either direction. On 19 May 2021 BTC opened at $42,882 and traded as low as $28,688 the same day — a 33% drop, enough to liquidate a long at 3x.


Mark price, wicks and the "estimated" liquidation price
Most crypto exchanges do not liquidate on the last traded price. Binance, for example, triggers liquidation when the mark price reaches your liquidation price, and builds the mark price from funding data and spot prices on several exchanges — specifically to avoid "spikes and unnecessary liquidations during periods of high volatility" (Binance Futures Liquidation Protocols). A wick on one exchange's chart does not always move the mark price with it.
The same page explains the "estimated": in a fast market the mark price can jump past your liquidation level within a second, so the price the position is actually liquidated at can differ from the one shown on the ticket.
I have never been taken out by a wick that reversed straight after. That is not luck with the mark price — I push the liquidation price into a safe zone as soon as I open the position, so I do not watch the mark price at all. More on that below.
Backcandle replays exchange candles and has no mark price: if a candle's wick crosses your liquidation price, the position is closed. That is stricter than most exchanges, which is the better direction to be wrong in while practising.
What happens when you get liquidated?
On Binance, when the mark price hits the liquidation price (same source):
- open orders on that position are cancelled;
- the exchange first tries to close only part of the position, to bring the margin back above the maintenance level, and stops if that is enough;
- a liquidation clearance fee is taken from the margin left in the position;
- if the margin runs out before the position is closed, the remainder is a bankrupt position: it is closed at the bankruptcy price — the level where the margin is exactly zero — and the insurance fund takes the loss.
That last point is the difference between the liquidation price and the bankruptcy price: liquidation is triggered a little before the margin hits zero, bankruptcy is zero. In practice, on isolated margin you lose the margin of that position either way. With cross margin, the account balance stands behind it.
Liquidation price vs stop-loss
A stop is a decision: the point where your idea is wrong, sized so the loss is a planned fraction of the account. Liquidation is what happens when there is no such decision. It costs the entire margin of the position, and it fires at a level set by arithmetic, not by the chart.
After 2020 I did what most people do. I moved from cross to isolated margin and started using stops. On a volatile market they were hit constantly, and I kept wanting to move them lower and lower — all the way down to the liquidation line. That is the moment to notice: if the stop you want sits beyond the liquidation price, the leverage is too high for the trade, not the stop too wide.
In the end I decided stops are not my strategy. What I do instead only works because of how small the positions are, which is the next section.
How I avoid liquidation now
Small margin, always. A position gets no more than about $100 of margin on a deposit of about $10,000 — roughly 1%. Everything else below depends on this.
Leverage follows volatility. I look at how volatile the instrument is first. On a volatile one I never use high leverage. On a quick trade where my signals and strategy line up, I go up to 20x — but only on the stable majors: BTC, ETH, SOL and XRP. Small margin with 15–20x makes enough to be worth it while the risk stays inside my rules.
I move the liquidation price, not a stop. I look at moving averages and recent highs and lows and, with extra margin, push the liquidation price into a zone price should not reach. I call this "near-liquidation": the position is in a bad spot, but it is still mine. When the market gives a move I can average into, I add to the position and get out of the bad trade through the averaging.
Here is what adding margin does, with Backcandle's formula. Take an ETH long at an illustrative $3,000 with $100 of margin at 20x — a $2,000 position, about 0.667 ETH:
| Margin in the position | Liquidation price | Distance from entry |
|---|---|---|
| $100 (20x as opened) | $2,867 | −4.4% |
| $200 | $2,717 | −9.4% |
| $400 | $2,417 | −19.4% |


Doubling the margin moves the line as far as halving the leverage would, because that is what it does: the same position, backed by more collateral. The price of a safer line is more money at stake. At $400 the trade is still small next to a $10,000 deposit, but it is 4% of it, not 1%.
Hedging. Sometimes I open a long and a short with the same margin. After a trend move, when I see the reversal confirmed by my strategy, I close one side and add margin to the side that is behind. One ETH trade: 50 USDT of margin, then 150 USDT added when averaging, at 10–25x. Both trades I took that way closed in profit, 20 and 80 USDT.
There is a catch, and it is not small. Averaging into a losing position works for me because I start with a small margin and have a $10,000 deposit behind it. I have had trades where I averaged once, then again, then again — and still got out, because the deposit could carry it. Without that extra margin or buffer, do not do this. Without a buffer, averaging down is just a slower way to reach the liquidation price with a bigger position.
Isolated vs cross margin
With isolated margin, each position can lose only the margin assigned to it. With cross margin, the whole account balance stands behind every position, which pushes the liquidation price further away but puts the account on the line.
I use only isolated margin now. It means control over each trade, and it means I can sleep. Cross margin can be a good tool if you trade with stops. But if you are not at the screen around the clock, with a phone and alerts that let you react in time, use either a stop or isolated margin — the night I lost $5,000 is what the alternative looks like.
Backcandle also uses isolated margin per position; you can add margin to move a position's liquidation price further away, as in the table above, or remove it to free collateral.
Burn once, cheaply
My advice to anyone who has just opened their first 20x position: get burned once, and then follow risk management. People do not learn from other people's mistakes.
If you want that burn to cost less than mine, replay is the cheap place to get it. Open a leveraged position on the October 10 liquidation cascade or the May 2021 crash and watch how quickly a liquidation price that looked distant comes into range. In Backcandle you can also cap leverage per session with the discipline rules, so the limit is set before the trade, not during it.
How much to risk per trade, and why a few losses in a row are normal, is covered in drawdown recovery and risk per trade and R-multiples and expectancy.