How a liquidation price is calculated

How far price must fall before liquidation, by leverage 5.26% the room a 10× long has, against 47.37% at 2×
2× 47.37% liq 52.63 5× 15.79% liq 84.21 10× 5.26% liq 94.74

One entry at 100, one long, one venue tier table — only the leverage changes. Doubling it from 5× to 10× takes the room from 15.79% to 5.26% — more than halving it, because the maintenance margin is taken out of the room before the leverage divides it, and that gap between the intuition and the arithmetic is exactly where positions are lost. Every price here comes from the same function the calculators and the liquidation map use.

coinliqui.com modelled

A liquidation price is the price at which a venue closes a position because the collateral behind it has fallen to the minimum it will accept. That minimum is called maintenance margin, and the formula in general circulation leaves it out — which puts the liquidation further from entry than the venue actually will, the direction that costs money. Not always: once a margin tier caps the leverage, the capped position carries more margin, and the larger position in the table below has more room than the formula shows.

The formula you will usually be given

For a long position, almost every calculator and explainer computes:

liquidation = entry × (1 − 1 ÷ leverage)

The reasoning is intuitive and wrong. At 10× leverage the margin posted is a 10th of the notional, so a move of a 10th against the position wipes it out — $100.00 becomes $90.00. That would be correct if the venue let the collateral reach exactly zero. No venue does, because a position with zero collateral cannot be closed without someone else absorbing the shortfall.

What maintenance margin adds

The venue closes the position while there is still something left: a fixed fraction of the notional that must remain at all times. On Hyperliquid that fraction is half the initial margin required at the tier's maximum leverage — so a tier permitting 10× carries a maintenance margin of 5.00% of notional. Because the position must be closed while that fraction survives, the liquidation price moves towards entry:

liquidation = entry × (1 − 1 ÷ leverage) ÷ (1 − maintenance margin fraction)

The same position, worked twice

A long on a contract trading at $100, opened at 10× on the venue's tiered 10x margin table. The only difference between the two columns is size.

 $1.00M position$4.00M position
Entry price$100$100
Leverage requested10×10×
Leverage the tier permits10×5×
Maintenance margin fraction5.00%10.00%
Common formula says$90.00$90.00
Venue liquidates at$94.74$88.89
Room from entry, formula → venue10.00% → 5.26%10.00% → 11.11%

Every figure in this table is computed on render by the same function the calculators call, over a margin table committed to this project. Nothing here is a number somebody typed in once.

Why the larger position gets less leverage

Maximum leverage is not a property of the venue or of the coin. It is a property of the tier, and tiers step down as the position grows, because a larger position is harder to close without moving the price. On the table used above, positions up to $3.00M may use 10×; above that the cap falls to 5×, and the maintenance margin fraction doubles with it.

Two consequences follow, and neither is visible in the common formula. A request for 10× on a position above the boundary is silently clamped to 5×, so the position is smaller than intended relative to margin. And the liquidation price sits 11.11% from entry rather than 5.26% — the same order, at a different size, with different room.

Tier starts atMaximum leverageMaintenance margin
$0 10× 5.00%
$3.00M 5× 10.00%

Cross and isolated margin

Everything above assumes the position stands on its own collateral — isolated margin. Under cross margin the account's whole free balance backs every position, so the liquidation price of any one of them depends on what the others are doing, and it moves when they do. The arithmetic here is the isolated case because it is the one that can be stated for a single position; under cross margin the same formula gives the price at which that position alone would exhaust its share, which is a floor rather than an answer.

What this does not include

Funding payments are deducted from collateral while a position is open, which moves the liquidation price gradually in the direction of the payment — a long paying funding is liquidated slightly earlier each hour it holds. Fees do the same. Neither is in the formula above, and over a long hold at a high rate the effect is not negligible: what funding costs is the other half of the same arithmetic.

Where to go next