Learn
LearnTrading mechanics

Understanding Liquidation and How to Avoid It

What liquidation is, how your liquidation price is determined, and the practical habits that keep your positions safe.

July 14, 2026

Liquidation is the word every leveraged trader learns to respect. It is the mechanism that closes your position when losses approach your collateral, and it is the single most expensive lesson in perps trading. The good news: it is predictable, visible in advance, and avoidable with a few habits.

What liquidation is

When you trade with leverage, your margin backs a position larger than your deposit. The exchange must ensure your losses never exceed the collateral you posted. So when the market moves against you far enough that your remaining margin falls below a safety threshold called maintenance margin, the exchange steps in and closes your position at market. That is liquidation.

For an isolated position, you lose the margin assigned to that position. For cross positions, losses draw on your whole account balance, which gives you more room but puts more at stake.

The two margin thresholds

  • Initial margin is what you post to open a position: position value divided by your leverage.
  • Maintenance margin is the minimum required to keep the position open. On Hyperliquid it is set at half of the initial margin at maximum leverage. Liquidation triggers when your equity backing the position falls below this level.

Notice something important: maintenance margin depends on the market's maximum leverage, not your chosen leverage. Trading at low leverage on a high-leverage market gives you a very wide buffer.

A worked example

Suppose BTC trades at 100,000 USDC and its market allows up to 40x leverage. Maintenance margin at max leverage would be half of 1/40, which is 1.25 percent of position value.

You open a long worth 10,000 USDC using 10x leverage, posting 1,000 USDC of isolated margin.

  • Your maintenance requirement is 1.25 percent of 10,000, which is 125 USDC.
  • You get liquidated when losses eat your margin down to that level, roughly an 875 USDC loss.
  • That is about an 8.75 percent drop in BTC's price. At 10x leverage, less than a 9 percent move ends the trade.

Run the same trade at 3x leverage with 3,333 USDC of margin and the market needs to fall roughly 32 percent before liquidation. Same position size, radically different survivability.

The same 10,000 USDC position: at 10x it liquidates under 9 percent down; at 3x it survives to roughly 32 percent.

You never have to do this math yourself. The order form shows your estimated Liquidation Price before you place the order, the Positions tab shows it live for every open position, and it is drawn as a line on the chart.

Mark price, not last price

Liquidations are calculated using the mark price rather than the last traded price. The mark price blends quotes from major outside exchanges with Hyperbeat's own order book, so a single rogue trade printing far from the real market cannot push you into liquidation. Your liquidation triggers on where the market genuinely is, not on one outlier tick.

External exchange quotes and the live book blend into the mark price; one outlier trade cannot move it.

Under the hood: how a liquidation actually runs

On Hyperliquid, a liquidation is not one brutal event. When your equity hits the maintenance threshold, the system first tries to close your position with ordinary market orders into the book, and you keep any collateral left over. Only if your equity keeps falling, below roughly two-thirds of the maintenance margin, does a backstop step in: a liquidator vault takes over the position, and any surplus flows to the community pool (HLP) rather than to the exchange. Importantly, there is no separate liquidation or clearance fee. For an isolated position only that position and its margin are at stake; for cross positions your whole cross balance is on the line.

If you like formulas, the liquidation price is:

liq_price = price − side × margin_available / position_size / (1 − l × side)

where side is +1 for a long and −1 for a short, l is 1 divided by the market's maximum leverage, and margin_available is your account value (cross) or the position's isolated margin, each minus the maintenance requirement. The order form computes this for you; the formula just shows what moves it.

A liquidation runs in stages: market-order close first, you keep any remainder, and the backstop only takes over below two-thirds of maintenance margin.

How to avoid liquidation

  • Use less leverage. This is 90 percent of the answer. Liquidation distance scales with leverage: at 20x a roughly 5 percent move can end you, at 3x you can survive a crash.
  • Always check the liquidation price before confirming an order. If a normal day's volatility could reach it, your position is too big.
  • Use stop losses. A stop loss closes your position at a level you choose, before liquidation does it for you at a worse one. Liquidation should be the backstop you never touch, not your exit plan.
  • Add margin to isolated positions when needed. The pencil icon in the Margin column lets you add collateral and push the liquidation price away. Do this deliberately, not as a reflex to defend a losing trade.
  • Watch your Unified Account Ratio. For cross positions, the account card shows maintenance margin against total equity. If that ratio climbs toward 100 percent, reduce positions or add funds.
  • Beware of funding drains. If you hold a position for weeks, funding payments can slowly erode the margin cushion you started with.
A stop loss exits at a price you chose; liquidation exits at the worst one. Keep the stop well above the liquidation price.

If you do get liquidated

It happens to almost everyone once. Treat it as tuition: review what leverage you used, where your liquidation price was relative to normal volatility, and whether a stop loss would have saved most of the position. Then size smaller. The traders who last are not the ones who never lose, they are the ones whose losses stay survivable.

Keep learning

Nothing in this article is financial advice.

About Hyperbeat

Hyperbeat is the Liquid Banking platform built on Hyperliquid. It brings together a global account, savings, trading, loans, and a credit card in one place, so money can move, earn, and settle at the speed of the chain. Hyperbeat serves individuals and businesses worldwide at hyperbeat.org.

Share this article

More guides

What Are Perpetual Futures? A Beginner's Guide to Perps
Learn

What Are Perpetual Futures? A Beginner's Guide to Perps

July 14, 2026

Perpetual futures let you trade the price of an asset without owning it, with no expiry date. Learn how perps, leverage, and funding work before you place your first trade.

Read more
Getting Started with Hyperbeat Trade
Learn

Getting Started with Hyperbeat Trade

July 14, 2026

A step-by-step walkthrough of setting up Hyperbeat Trade, from creating your account to placing your first order, with gasless one-click trading and one balance for spot and perps.

Read more
A Tour of the Hyperbeat Trade Interface
Learn

A Tour of the Hyperbeat Trade Interface

July 14, 2026

Learn what every panel on the Hyperbeat Trade screen does, from the chart and order book to the order form, account card, and history tabs.

Read more