Perpetual Liquidations - How They Work
When a position's equity falls below the maintenance margin, the protocol force-closes it. In leveraged perp markets, cascading liquidations can amplify price moves 3-5x - a 5% drop can trigger forced selling that produces a 20% crash. Understanding the mechanics of liquidation price, keeper incentives, partial vs full liquidations, and ADL is survival knowledge for any perp trader.
Liquidation Price Calculator
Set entry price, leverage, collateral, and direction. The gauge shows your distance from liquidation - the red zone is where your position gets force-closed. The horizontal bar shows entry, liquidation, and current price positions.
Leverage Tiers & Liquidation Thresholds
Most perp DEXs use tiered maintenance margin - larger positions get lower max leverage and higher MMR to protect the insurance fund from concentrated risk. This table shows typical tier configurations.
Liquidation Cascade Simulator
Start with a price drop. Watch how one wave of liquidations creates forced selling that pushes the price lower, triggering the next wave. This self-reinforcing feedback loop is what makes cascades so destructive. An initial 5% drop can produce a 20%+ total drawdown. Click "Run Cascade" to step through rounds.
? Keeper Mechanics by Protocol
? Insurance Fund vs Auto-Deleveraging (ADL)
Frequently asked questions
- What exactly is the liquidation price formula?
- For a long: Liq Price = Entry (1 ? (Collateral ? Fees) / Position Size + MMR). For a short: the sign flips. At its simplest for a position with no fees and 1% MMR: Long liq = Entry (1 ? (1/leverage)), Short liq = Entry (1 + (1/leverage)). This means at 10x leverage, a long needs only a 10% drop to liquidate. The formula scales with fees and borrow costs on GMX.
- What is maintenance margin (MMR) and how does it vary by position size?
- Maintenance margin ratio (MMR) is the minimum equity level a position must maintain to avoid liquidation. Most perp DEXs use tiered MMR: positions under $50K might have 0.4% MMR (125x leverage possible), while $1M-$5M positions sit at 5% MMR (max 20x). The tier table exists to limit concentrated risk - a $10M position at 100x that liquidates at once would be catastrophic for the insurance fund. The larger your position, the more conservative your leverage must be.
- Who can liquidate positions on GMX vs dYdX vs Hyperliquid?
- GMX: any keeper bot can call liquidatePosition when conditions are met. Keepers earn a fixed fee (usually $5-10 per liquidation plus a percentage of residual collateral). dYdX v4: liquidations are protocol-managed - validators monitor positions and force-close them when equity falls below MMR. Hyperliquid: the protocol monitors positions and triggers liquidation through its own keeper network. The key difference: on CLOB DEXs the matching engine force-closes deterministically; on AMM-based DEXs like GMX, the first keeper to submit the transaction gets the fee, creating MEV-like competition for liquidation transactions.
- What is partial vs full liquidation?
- A full liquidation closes the entire position at once when equity falls below the maintenance threshold. A partial liquidation closes only enough of the position to bring equity back above the MMR. dYdX v4 uses tiered partial liquidation: when equity falls below 1 MMR, 25% of the position is closed; below 0.75 MMR, 50% is closed; below 0.5 MMR, the full position closes. GMX V1 uses full liquidation only; V2 added partial liquidations via the isolation mechanism. Partial liquidations are gentler on the order book and reduce cascade amplification.
- How does auto-deleveraging (ADL) work on GMX V2?
- ADL fires when the GM pool's remaining OI on the winning side exceeds what the pool can pay out. The protocol force-reduces the most profitable positions pro-rata - essentially closing winners' positions at the bankruptcy price so the pool stays solvent. ADL is the last resort after borrow fees, OI imbalance rebates, and impact fees have failed to rebalance the book. It's rare under normal conditions but becomes likely in extreme one-directional moves that exhaust the pool's available collateral.
- What is the insurance fund's role in liquidations?
- The insurance fund is the first backstop when a position liquidates below its bankruptcy price - the price at which the remaining collateral would be zero. The gap between liquidation price and bankruptcy price is socialized: the insurance fund covers it if it has sufficient balance; if not, ADL fires. Insurance funds on dYdX are built from trading fees, liquidation surpluses, and protocol treasury top-ups. On GMX, the GM pool itself acts as the implicit insurance since LP deposits cover the opposite side of every trade.
- Why do liquidation cascades amplify price moves?
- When a large open interest is concentrated on one side (say, longs at 80% of OI) and price drops, the liquidation of those long positions creates forced selling that pushes the price further down. This lower price triggers the next tier of liquidations, creating another wave of selling, and so on. The cascade amplifies because each wave of liquidations moves the price enough to trigger the next wave. This is why mark-vs-index design matters: if mark price tracks the local order book closely, liquidations walk the price down violently. If mark is anchored to a multi-venue index, the cascade dampens as external prices provide a floor.
- What is the relationship between liquidation cascade and max leverage?
- At 100x leverage, a 1% adverse move triggers full liquidation. At 5x leverage, a 20% move is needed. The higher the leverage across an entire market, the more likely a moderate price move cascades into mass liquidations. This is why tiered leverage exists - large positions can't be opened at 100x because the liquidation blast radius would be catastrophic. As of 2026, the most dangerous cascades have historically started with persistently high funding rates that crowded longs into extremely leveraged positions, then a macro reversal triggered a cascade.