What Is Liquidation?
How exchanges forcibly close positions that no longer meet margin requirements.
Liquidation is the forced closure of a leveraged trading position when the trader's margin falls below the minimum maintenance threshold required by the exchange. In perpetual futures markets, liquidation acts as the primary risk management mechanism that prevents traders from owing more than their deposited collateral. When a position is liquidated, the exchange's risk engine automatically closes it at market price, and the remaining margin (if any, after covering losses and fees) is either returned to the trader or absorbed into an insurance fund.
Why Liquidation Exists
Leveraged trading allows traders to control positions larger than their capital. A trader with $1,000 at 10x leverage controls a $10,000 position. If the market moves 10% against them, the loss equals their entire margin. Without liquidation, the trader would owe money to the exchange—a bad debt that the exchange or its counterparties must absorb.
Liquidation prevents this by closing positions before the loss exceeds the deposited collateral. It protects:
- The exchange from accumulating bad debt from underwater accounts.
- Other traders who are counterparties to the liquidated position.
- The insurance fund by closing positions while there is still margin remaining to cover fees and slippage.
In well-designed systems, liquidation is a last resort. Margin calls, auto-deleveraging, and progressive liquidation mechanisms help minimize the frequency and impact of forced closures.
How Liquidation Is Triggered
Liquidation is triggered when a position's margin ratio falls below the exchange's maintenance margin requirement. The key variables are:
- Initial margin – The collateral required to open a position. At 10x leverage, this is 10% of the position's notional value.
- Maintenance margin – The minimum collateral required to keep a position open, typically lower than the initial margin (e.g., 0.5% to 5% depending on the asset and exchange).
- Mark price – The reference price used to calculate unrealized PnL and margin ratios. Exchanges use mark price (rather than last traded price) to prevent manipulation-triggered liquidations.
The liquidation price can be calculated approximately as:
For a long position: Liquidation Price = Entry Price x (1 - 1/Leverage + Maintenance Margin Rate)
For a short position: Liquidation Price = Entry Price x (1 + 1/Leverage - Maintenance Margin Rate)
These are simplified formulas; actual liquidation prices also account for fees, funding payments, and other adjustments.
Types of Liquidation
Different exchanges use different liquidation mechanisms:
- Full liquidation – The entire position is closed at once. This is the simplest approach but can cause significant market impact for large positions.
- Partial liquidation – Only a portion of the position is closed, reducing leverage to bring the margin ratio back above the maintenance threshold. This is gentler and reduces market impact.
- Incremental liquidation – The position is closed in stages over a short period, with each step evaluated independently. This approach minimizes slippage.
- Auto-deleveraging (ADL) – When a liquidation results in a loss exceeding the available insurance fund, the exchange may forcibly close profitable positions on the other side to cover the shortfall. This is a last-resort mechanism used by venues like Hyperliquid.
Progressive and partial liquidation approaches are considered more sophisticated and trader-friendly, as they give positions a better chance of survival during temporary volatility spikes.
Liquidation Cascades
One of the most significant risks in leveraged markets is the liquidation cascade—a chain reaction where liquidations trigger further price movement, which triggers more liquidations:
- A price drop forces liquidation of overleveraged long positions.
- These liquidations are effectively forced sell orders that push the price lower.
- The lower price triggers liquidation of more long positions at higher margin levels.
- The cascade continues until enough positions are cleared or buying pressure absorbs the forced selling.
Liquidation cascades are more severe in markets with high open interest, concentrated leverage, and low organic liquidity. They are responsible for many of the rapid 10-20% crashes seen in crypto markets, often recovering partially once the cascade exhausts itself.
Exchange operators and risk teams monitor open interest concentrations and funding rates to anticipate potential cascade scenarios. Advanced risk engines implement circuit breakers and rate-limited liquidation to mitigate cascade severity.
How to Avoid Liquidation
Traders can take several practical steps to reduce liquidation risk:
- Use lower leverage – Lower leverage means a wider gap between entry and liquidation price. A 3x leveraged position has roughly three times more room than a 10x position.
- Set stop-loss orders – Place stop-loss orders above (for longs) or below (for shorts) the liquidation price to exit before forced closure.
- Monitor margin ratio – Keep track of your margin ratio and add margin when it approaches dangerous levels.
- Use isolated margin for risky trades – Isolated margin limits liquidation damage to the assigned collateral, protecting your broader account.
- Avoid holding large positions during high-volatility events – FOMC decisions, earnings, protocol upgrades, and other catalysts increase the probability of rapid price moves.
- Diversify across uncorrelated positions – In cross margin mode, uncorrelated positions can offset each other, reducing account-level liquidation risk.
Frequently Asked Questions
What happens when a perpetual futures position is liquidated?
The exchange's risk engine forcibly closes the position at the current market price. The trader loses the margin allocated to that position (in isolated mode) or sees their account balance reduced (in cross margin mode). Any remaining margin after covering losses and fees is typically added to the exchange's insurance fund.
Can I get liquidated if I am in profit?
Generally no—if a position has unrealized profit, it has more margin than when it was opened. However, in cross margin mode, losses on other positions can drain your overall account balance, potentially leading to liquidation of a position that had been profitable. Funding rate payments can also erode margin over time.
What is the difference between liquidation price and bankruptcy price?
The liquidation price is where the exchange begins the forced closure process, triggered when margin falls below the maintenance threshold. The bankruptcy price is where the margin equals exactly zero. Liquidation happens above the bankruptcy price to provide a buffer for closing the position without creating bad debt.
Do I owe money if I am liquidated?
On most crypto exchanges, no. Perpetual futures on crypto platforms typically use a system where your maximum loss is limited to your deposited margin. The insurance fund and auto-deleveraging mechanisms absorb any shortfall, so traders do not face negative balances or margin calls requiring additional deposits.
How do liquidation cascades affect the market?
Liquidation cascades cause rapid, outsized price movements as forced position closures generate large market orders that push prices further in the same direction, triggering more liquidations. These cascades can cause 10-20% price swings in minutes and are a defining characteristic of highly leveraged crypto markets.
Is there a way to see upcoming liquidation levels?
Several analytics platforms provide liquidation heatmaps and estimated liquidation levels based on open interest and leverage data. Tools like Coinglass, Hyblock, and Kingfisher show estimated liquidation clusters. However, these are estimates—exact liquidation prices depend on individual trader positions that are not publicly disclosed.
Ready to launch your exchange?
perps.studio gives you the infrastructure to deploy a fully branded perpetual futures exchange in minutes.