MARGINPADOpen app →
Free calculator · real HL formula

Hyperliquid Liquidation Calculator

The only calculator built on Hyperliquid's actual margining: maintenance margin is 1/(2 × max leverage) of the asset — not a CEX-style tier table — and the liquidation price comes from the exact formula in the HL docs. Free, instant, no sign-up.

The formula this page uses

From the Hyperliquid docs: liq_price = price − side × margin_available / position_size / (1 − l × side), where l = 1 / (2 × max_leverage) and, for an isolated position, margin_available = isolated_margin − l × notional. side is +1 for longs and −1 for shorts.

The key difference from CEXes: on Binance or Bybit the maintenance margin rate is a tier table by position size (roughly 0.4-0.5% on BTC at retail sizes). On Hyperliquid it is a constant per asset, derived from that asset's maximum leverage — half the initial margin at max leverage. A 40x-max asset carries 1.25% maintenance margin at every position size a retail trader will reach; a 3x-max longtail asset carries 16.7%.

Worked example: long BTC at $60,000 with $1,000 margin at 10x (notional $10,000, max leverage 40x, l = 0.0125). Margin available = 1000 − 0.0125 × 10.000 = $875. Position size = 0.16667 BTC. Liquidation = 60000 − 875 / 0.16667 / (1 − 0.0125) = $54,684 — an 8.86% drop. The naive CEX-style formula would put it near $54,300; the difference is the maintenance margin Hyperliquid keeps in reserve.

Maintenance margin by asset class

Asset max leverageMaintenance marginTypical assets
40x1.25%BTC, ETH
25x2%large caps
20x2.5%SOL, HYPE, mid caps
10x5%mid alts
5x10%small alts
3x16.7%thin longtail listings

Hyperliquid also applies margin tiers on very large positions for some assets — for institutional-size positions the maintenance requirement can rise. Fees: 0.015% maker / 0.045% taker at the base tier; funding settles every hour (vs 8h on most CEXes), so an 0.01%/h rate is ~87.6% annualized.

Frequently asked questions

How is Hyperliquid's liquidation price calculated?

Liquidation triggers when equity falls below maintenance margin = 1/(2 × max leverage) of notional. This calculator implements the exact docs formula, including the (1 − l × side) divisor most calculators skip.

Why does it differ from Binance or Bybit?

CEXes tier maintenance margin by position size; Hyperliquid derives it from the asset's max leverage. Same user leverage, different liquidation distance — especially on alts where HL's maintenance margin is much higher than a CEX tier-1.

What about fees and funding?

Base fees 0.015% maker / 0.045% taker. Funding is hourly — roughly 8× more settlement events than a CEX — which compounds meaningfully on positions held for days.

Is this calculator free?

Yes — free, no sign-up, all math in your browser. Practice the same mechanics risk-free in the paper trading terminal, or watch real Hyperliquid whale positions with their exact liquidation prices.

Related: Hyperliquid whale tracker · All calculators · Bybit liquidation calculator · How to avoid liquidation. Educational tool — verify with Hyperliquid's own preview before trading. Not financial advice.