
*Evidence: Logged-out mainnet public UI, captured and refreshed automatically each week. Official source.*
Hyperliquid liquidates positions when the relevant equity falls below maintenance margin. A liquidation-price calculation must use the correct cross or isolated margin inputs and the applicable margin tier. Selected leverage alone is not a complete liquidation calculator.
This reference follows the official liquidation documentation, checked on 17 November 2026. Examples below are hypothetical arithmetic, not live account readings or trading results.
Initial margin is different from maintenance margin
The margining documentation gives the initial-margin requirement as:
initial_margin = position_size * mark_price / leverage
Maintenance margin is currently half of initial margin at the asset's maximum leverage, rather than half of whatever leverage the user selects. Margin tiers also matter. Read the current asset and tier requirements before calculating a threshold.
For cross positions, unrealized PnL is included in account value. For isolated positions, the liquidation computation uses that position's isolated margin and notional value.
Use the official liquidation-price formula
The liquidation page gives:
Like what you're reading? Try it yourself โ this link supports ChartedTrader at no cost to you.
Trade on Hyperliquid โ
liq_price = price - side * margin_available / position_size / (1 - l * side)
l = 1 / MAINTENANCE_LEVERAGE
side = 1 for long and -1 for short
margin_available (cross) = account_value - maintenance_margin_required
margin_available (isolated) = isolated_margin - maintenance_margin_required
For assets with margin tiers, the documentation specifies the unique tier corresponding to the position value at the liquidation price. Do not silently substitute an arbitrary current tier or use position notional in dollars where the formula requires position size in asset units.
A hypothetical long-position calculation
Suppose the formula inputs are a price of $60,000 per unit, position size of 1 unit, available margin of $5,400, side = 1, and l = 0.0125. The arithmetic is:
liq_price = 60000 - 1 * 5400 / 1 / (1 - 0.0125 * 1)
= 60000 - 5400 / 0.9875
= 54531.65 (rounded to two decimal places)
This demonstrates the formula's units and denominator. It does not assert the margin tier of any currently listed asset or account. For a real position, obtain the appropriate margin and tier inputs, including a maintenance rate valid for that asset; changing a hypothetical input changes the result.
The displayed price is still an estimate
The docs distinguish the order-entry estimate from the estimate shown after opening a position. Order-book liquidity can make the entry estimate differ from the open-position estimate. Funding payments and changes in other cross positions' unrealized PnL can also change the actual liquidation price.
For cross positions, the actual liquidation price is independent of the selected leverage. For isolated positions, leverage affects the allocated isolated margin and therefore the liquidation price. A simple table saying cross always has a farther liquidation price would omit the account state that determines the result.
Liquidation does not have a single execution path
The official liquidation page describes attempts to close through market orders on the order book, potentially leaving remaining collateral if maintenance requirements are met. Backstop liquidation is a separate path: a cross backstop transfers cross positions and cross margin to the liquidator; an isolated backstop transfers that isolated position and margin while leaving cross positions and margin untouched.
Mark price, not just the last book price, is used for liquidation. Reducing exposure or exiting before the threshold can avoid relying on liquidation as an exit; execution conditions still matter.
For connected account tasks, use the Hyperliquid guide hub. Open Hyperliquid through our referral link only after assessing the risks. Leveraged perpetual trading can result in substantial losses and liquidation; this reference is not investment advice.