Hyperliquid liquidation price: cross, isolated, unified and portfolio margin
Hyperliquid liquidates when the margin behind a position falls below its maintenance margin. Where that line sits depends on cross or isolated margin, and on the account mode.
How is the Hyperliquid liquidation price calculated?
liq_price = price − side × margin_available / position_size / (1 − l × side)
side- 1 for a long, −1 for a short.
l- The maintenance margin rate: 1 / maintenance leverage.
margin_available, cross- account_value − maintenance_margin_required
margin_available, isolated- isolated_margin − maintenance_margin_required
Liquidations trigger on the mark price, which combines external exchange prices with Hyperliquid’s own book. Source: Hyperliquid liquidations.
Liquidation price in cross vs isolated margin
A long of 1 ETH at $2,450, where ETH’s 25x max leverage makes l 0.02:
| Isolated | Cross | |
|---|---|---|
| Margin behind it | $245.00 | $1,000.00 |
| Maintenance margin | $49.00 | $49.00 |
| margin_available | $196.00 | $951.00 |
| Liquidation price | $2,250.00 | $1,479.59 |
| Move to liquidation | −8.2% | −39.6% |
Isolated margin is only what you posted to the position, so it dies alone. Cross margin is the whole cross balance, so the price moves with every other cross position’s profit or loss. Fees and funding are left out. Try your own in the Hyperliquid liquidation price calculator.
Maintenance margin is half the initial margin at max leverage
maintenance margin rate = 1 / (2 × max leverage)
Max leverage is set per asset, so the rate runs from 1.25% to 16.67%.
| Asset | Max leverage | Maintenance |
|---|---|---|
| BTC | 40x | 1.25% |
| ETH | 25x | 2.00% |
| The lowest | 3x | 16.67% |
Margin tiers
maintenance_margin = notional × rate − deduction
Above a notional bound, a tier lowers max leverage, which raises the rate; the deduction is zero in the first tier.
34 of 178 perps have tiers, the first starting at $3M, $100M for ETH and $150M for BTC. Every other perp has one tier. Source: Hyperliquid margin tiers.
What happens at liquidation?
- Market orders go to the book first. Collateral left once the account is back above maintenance stays yours.
- Above $100,000, the first order is for 20% of the position. For 30 seconds after it, any further one is for the whole position.
- Below two thirds of maintenance margin with no fill, the liquidator vault can take over: every cross position and the cross margin, or one isolated position and its margin. The maintenance margin is not returned.
Account modes, and how each liquidates
Standard. Spot and perps are separate balances, and each dex has its own. Each position liquidates at its own price.
Unified account. One balance per asset backs spot and every cross position margined in it. Hyperliquid’s app warns the account may be liquidated once its Unified Account Ratio is above 95%.
Portfolio margin. One portfolio of HYPE, BTC, USDC and USDT, borrowing against them as needed. Hyperliquid documents the account as liquidatable once its Portfolio Margin Ratio passes 95%.
Source: account modes and portfolio margin.
What tula reads, and what it does not
The account mode and its balances, perps on every builder-deployed dex, staked HYPE, and every sub-account as an account of its own, all counted in net exposure. Vault equity counts in the total but not in net exposure: it is a claim on a pool, not the coin.
Each liquidation price is the one Hyperliquid states, never recomputed. Under unified or portfolio margin, breaks ranks the whole account on its ratio, beside any Aave health factor. See liquidation risk across venues.
To follow one account by its address, see the Hyperliquid portfolio tracker; to price funding, the funding rate calculator. When a dex does not load, the unified ratio shows as “at least” the figure over the dexes that did, and the one that did not is named.
Not read: balances on HyperEVM, Hyperliquid’s own EVM chain.
Try it
A public address is enough. Install tula, then:
tula connect hyperliquid tula breaks