Library · Trading Mechanics

Liquidation

Liquidation is the forced closing of a leveraged position by the exchange when the margin behind it falls below the maintenance requirement.

  • Intermediate
  • 5 min read
  • Updated

High-risk topic

Liquidation is how leveraged positions end when they go wrong. Leverage multiplies losses as well as gains, and a liquidation can take the entire margin of a position. Under cross margin that can be the whole account balance. This page explains the mechanism only.

Why it matters

A spot holder who bought without borrowing can wait out a falling price, though the asset may never recover. A leveraged trader cannot always do so. Once losses have used up the margin, the exchange closes the position itself, at the market, without asking.

Liquidation is a major difference between leveraged and unleveraged trading. It turns a temporary price move into a permanent loss.

What it looks like

Liquidation of a leveraged long (hypothetical)
ENTRY (10x LONG)LIQUIDATION PRICEPosition closedcollateral lostRecovery comes too late
A leveraged long is closed by the exchange when price reaches the liquidation price. The later recovery does not help: the position no longer exists. Hypothetical data for illustration.

Liquidation is the forced closing of a position by the exchange or broker when the margin behind it falls to the maintenance requirement. The price at which this happens is the liquidation price.

The exchange does this to protect itself and the traders on the other side. If the position stayed open and price kept moving, the loss would exceed the collateral, and someone else would have to cover it.

In plain words

Think of a pawnbroker holding a watch as security for a loan. If the watch’s market value falls close to the size of the loan, the pawnbroker sells it straight away to be sure of being repaid. It makes no difference to the pawnbroker that watch prices might recover next month.

How it works

What happens in a liquidation
  1. Losses growPrice moves against the position.
  2. Threshold reachedEquity falls to the maintenance margin.
  3. Exchange takes overOpen orders are cancelled. The trader loses control.
  4. Forced closeThe position is closed in the market.
  5. SettlementFees are charged. Little or no margin is left.
The whole sequence is automatic and can complete in moments. Details differ between exchanges.

The trigger is a comparison the exchange runs continuously: is the position’s equity still above the maintenance margin? Equity is the margin plus unrealized P&L. When the answer becomes no, the liquidation engine takes over.

On most derivatives exchanges the comparison uses the mark price, not the last traded price, so that a single odd trade does not liquidate positions.

How the liquidation price is estimated

Key prices of a hypothetical 10x long
  1. Entry100Position opened with margin equal to 10% of its size.
  2. Liquidation priceabout 90.5Equity equals the maintenance requirement (0.5% here). The exchange closes the position.
  3. Bankruptcy price90The price at which the margin would be exactly zero.
Liquidation is set to happen before the margin is fully gone, so that the position can be closed without leaving a debt.
Long: liquidation price = entry x (1 - 1/L + m)L is the leverage and m is the maintenance margin rate.
Short: liquidation price = entry x (1 + 1/L - m)Both are simplified approximations for a position with its own fixed margin, ignoring fees and funding. Exact formulas differ between exchanges.

Setting m aside gives the common rule of thumb: a position at leverage L is liquidated by an adverse move of roughly 100 / L percent.

Leverage Approximate adverse move to liquidation
2x 50%
5x 20%
10x 10%
20x 5%
50x 2%
Higher leverage, less room for error
0255075100204060801002x: about 50%10x: about 10%50x: about 2%Leverage (x)Approx. adverse move to liquidation (%)
Roughly, a position at leverage L can be liquidated by a move of about 100/L percent against it. Real liquidation prices come sooner because of maintenance margin and fees. Simplified approximation.

In practice liquidation comes sooner than the table suggests, because of the maintenance margin, fees and funding payments charged against the margin.

Going deeper

Isolated and cross margin

Under isolated margin the loss is normally limited to the margin assigned to the position, although extreme moves can exceed it. Under cross margin the whole balance is the buffer, so liquidation comes later and can cost far more. See isolated and cross margin.

What happens to the remaining margin

Exchanges usually charge a liquidation fee. Many liquidate large positions in steps instead of all at once. If the position is closed at a better price than the bankruptcy price, the difference may be returned to the trader or paid into an insurance fund, depending on the venue.

If the market moves too fast and the position closes beyond the bankruptcy price, the shortfall is typically covered by the exchange’s insurance fund. When the fund is not enough, some exchanges reduce the positions of profitable traders on the other side, a process called auto-deleveraging. The contract-level detail is in liquidation on perpetuals.

Cascades

A forced close is a market order. Many liquidations at nearby prices push the market further in the same direction and can trigger more. See liquidation cascades.

A hypothetical 10x long, liquidatedHypothetical illustration

A trader opens a long of 10 units at 100, a position of 1,000, with 100 of isolated margin. The hypothetical maintenance rate is 0.5%.

  • Estimated liquidation price: 100 x (1 - 0.10 + 0.005) = 90.5.
  • Price falls to 90.5. The unrealized loss is 95. Equity is 5, equal to the maintenance requirement. The exchange closes the position.
  • Of the 100 margin, 95 went to the price move. The rest is largely consumed by fees.
  • Price later rises to 105. It makes no difference. There is no position.

The same 10 units held with 500 of margin (2x) would have an estimated liquidation price of 100 x (1 - 0.50 + 0.005) = 50.5. At 90.5 that position shows a loss of 95, which is 19% of its margin, and is still open.

What it does NOT mean

  • Liquidation is not a stop loss. A stop loss is an exit the trader chooses. Liquidation is imposed by the exchange where almost all of the margin is already gone. See stop loss vs liquidation.
  • A liquidation price is not a level the market aims for. It is arithmetic on one position’s entry, margin and rules.
  • Liquidation does not always stop at the assigned margin. Under cross margin it can consume the whole balance.
  • Low leverage does not make liquidation impossible. It makes the required adverse move larger.

Common mistakes

  1. Using 100 / L as an exact distance. Maintenance margin, fees and funding bring the liquidation price closer.
  2. Watching the last price. Many exchanges trigger liquidation from the mark price, which can differ.
  3. Assuming the liquidation price is fixed. Funding payments, added positions and changed requirements all move it.
  4. Expecting a warning or time to react. Crypto markets trade at all hours and liquidation engines are automatic.

Risks and limitations

  • A liquidation converts an unrealized loss into a realized one at the worst point for that position.
  • Forced closes in fast markets can fill at poor prices, and liquidation fees add to the loss.
  • In extreme conditions, auto-deleveraging can also close positions that were in profit.
  • Every figure on this page is simplified. The exchange’s own documentation defines the actual rules.

Key takeaway

Liquidation is a forced close by the exchange when margin falls below the maintenance requirement. Higher leverage brings it closer, it can take the entire margin, and exact rules differ between exchanges.

Sources and further reading