Compute the liquidation price for any Hyperliquid perp position. Enter side, entry price, leverage, and margin mode — the calculator returns the liquidation level and the percentage cushion to it, using HL's standard isolated-margin formula.
The asset label is informational — math depends only on entry, leverage, and side.
Leave blank to use HL tier-1 default (½ × initial margin). Override for deeper position-size tiers or different markets.
The BTC long liquidates when price moves 5.00% down from entry.
Hyperliquid liquidates an isolated perpetual position when mark-to-market loss eats through the available margin minus the maintenance-margin reserve. Mathematically, for a long position the liquidation price is entry × (1 − 1/L + mmr); for a short, it’s entry × (1 + 1/L − mmr). L is leverage; mmr is the maintenance-margin fraction.
HL’s default tier-1 maintenance margin is half the initial margin — i.e. mmr = 0.5 / L. The calculator uses this default unless you override the maintenance-margin field. Larger positions can fall into deeper tiers with a higher mmr, which raises the liquidation price toward your entry — check HL’s per-market margin-tier table for precision on size-sensitive positions.
Cushion percentage is the price move (down for a long, up for a short) that exhausts the position. Use it to sanity-check leverage against expected volatility: a 5% cushion against an asset that swings 8% intraday is a setup designed to liquidate.
Keel is a Strategy OS for AI-assisted systematic trading on Hyperliquid. Build, backtest, and run live strategies with realistic fees, slippage, and funding modeled. Free to start — connect a Hyperliquid wallet when you’re ready to go live.
Hyperliquid liquidates an isolated position when the mark-to-market loss equals the available margin minus the maintenance-margin requirement. The formula reduces to: long liq = entry × (1 − 1/L + mmr), short liq = entry × (1 + 1/L − mmr), where L is leverage and mmr is the maintenance-margin fraction. This calculator defaults to mmr = ½ × (1/L), Hyperliquid’s tier-1 default.
Maintenance margin is the minimum equity Hyperliquid requires you to hold against a position before liquidating. The default in this calculator is half the initial margin, which matches HL’s tier-1 perps. Larger position sizes can fall into deeper tiers with higher maintenance-margin fractions — override the field if you need a precise number from HL’s margin-tier table.
Higher leverage means a smaller move against you exhausts your margin. At 10x leverage the cushion is roughly 5% of entry; at 20x it’s ~2.5%; at 50x ~1%. This calculator surfaces both the absolute price and the cushion percentage so you can size leverage relative to expected volatility.
It computes the isolated-equivalent liquidation. Under cross-margin, liquidation depends on your entire account equity, not just this position — losses on other positions can push this one toward liquidation earlier than the isolated number suggests. Use the isolated price as a floor, then keep margin headroom across the account.
Build a strategy in Keel that includes explicit stop-loss orders sized relative to liquidation distance. The Keel execution engine places stops automatically on every fill and re-prices them on position changes — meaningfully tighter risk control than relying on the liquidation engine.
Compute gross PnL, funding cost, and net PnL for any HL perp trade. The funding-cost layer is the line every other calculator skips.
Live ranking of HL perps by current funding rate — annualized, with 7d persistence. Find pairs paying the most carry right now.
Cross-sectional screener for HL perps. Filter by momentum, funding, volume, breakout, and regime metrics across 200+ pairs.