Your liquidation price is the price at which the exchange closes your perp for you, because your losses have used up nearly all the margin behind it. It is shown when you open a trade. Knowing how it is set, and why it moves, is the main thing that keeps a leveraged trade open.

What is a liquidation price in crypto?

A liquidation price is the market price at which a leveraged trade gets closed automatically. For a long, it sits below your entry price. For a short, it sits above it.

It comes from your margin, the money you put down for the trade. Every venue sets a minimum you must keep, called the maintenance margin. When losses push you below it, the venue closes some or all of the trade. That forced close is a liquidation.

Many apps call it the "estimated liquidation price". The word "estimated" matters. Phoenix's docs say it plainly: "Liquidation price is an estimate, not a fixed promise." Fees, funding and your other trades can all move it.

Loans on lending apps have liquidation prices too. This page is about perps. Our guide to how perpetual futures work covers the basics.

How is the liquidation price calculated?

The more leverage you use, the closer your liquidation price sits to your entry. As a rough rule, take one divided by your leverage. Subtract the maintenance margin. That is about how far the price can move against you before you are closed out.

For a long on isolated margin, before fees:

liquidation price = entry price × (1 − 1/leverage) ÷ (1 − maintenance margin rate)

For a short:

liquidation price = entry price × (1 + 1/leverage) ÷ (1 + maintenance margin rate)

For a single isolated trade, these give the same answer as the formula Hyperliquid publishes.

On Hyperliquid, for example, the maintenance margin is half the initial margin at a market's maximum leverage. So a market that allows up to 20x has a maintenance margin of 2.5%.

How much room each leverage level leaves

Here is how far the price can fall against a long, on a market with a 2.5% maintenance margin, before fees.

Leverage Margin as a share of the trade Fall that liquidates a long
2x 50% about 49%
3x 33% about 32%
5x 20% about 18%
10x 10% about 7.7%
20x 5% about 2.6%

At the extreme, Imperial's own leverage page says a 250x trade on BTC is liquidated by "a move of about 0.2%". Our page on why more leverage is not your friend explains why the top of that range is a warning, not a feature.

Worked example: a 10x SOL long

Say SOL trades at $150 and you open a $10,000 long with $1,000 of margin, which is 10x. On a market with 2.5% maintenance margin:

  • the liquidation price is $150 × 0.9 ÷ 0.975, or about $138.50;
  • that is a fall of about 7.7%;
  • trading fees and any funding you pay move it a little closer.

The chart on our SOL price page shows how often SOL has moved that far in a day, which is a quick way to judge whether 10x leaves you enough room.

The exact formulas venues use

Venues publish their own versions. Hyperliquid gives this formula:

liq_price = price - side * margin_available / position_size / (1 - l * side)

In it:

  • side is 1 for a long and −1 for a short;
  • margin_available is your margin minus the maintenance margin;
  • l is one divided by the maintenance leverage.

Jupiter JUP$0.226-4.0% Perps adds its fees to the sum. The closing fee and the borrow fee you owe both come off your collateral first. So two calculators can show slightly different prices for the same trade.

Which price triggers liquidation: mark price or last price?

Most venues liquidate on the mark price, not the last trade. The mark price is the venue's fair price. It mixes prices from other markets with its own order book.

Venue Price that triggers liquidation
Phoenix Mark price
Hyperliquid Mark price
Jupiter Perps (SOL, ETH, BTC pool markets) Oracle price
Jupiter Perps newer markets Mark price

Phoenix says using the mark price "helps prevent a single trade or thin order book from pushing accounts into unsafe states." So a sudden spike on the chart may not close you out. A calm chart doesn't always mean you are safe, either. Our explainer on mark price, index price and oracles goes deeper.

Funding, fees and position size: why the number drifts while you hold

Your liquidation price is not fixed when you open the trade. Four things move it.

  • Funding you pay, or receive, changes your margin, every hour on venues such as Phoenix and Hyperliquid. Our guide to funding rates shows how much.
  • Borrow fees on pool markets. Jupiter says these "accrue continuously and count against your collateral in the liquidation price." Held long enough, fees alone can close a trade with no price move at all.
  • Your other trades, on cross margin. Phoenix warns that "cross-margin liquidation prices can move when funding, mark prices, other positions, or resting orders change."
  • Position size. On Phoenix, bigger positions get lower maximum leverage, so adding to a trade can raise the margin needed for the whole position.

Check the number while you hold, not only when you open.

Cross margin vs isolated margin: what each means for liquidation

On isolated margin, each trade has its own pot of margin and its own liquidation price. Only that trade's price moves decide it.

On cross margin, all your trades share one pot. A winning trade can hold up a losing one, which pushes its liquidation price further away. But a loss on one market drags every other trade's liquidation price closer. Phoenix warns that on cross margin, the estimated liquidation price for one market "can move even if you did not trade that market."

Say you hold a SOL long and a Bitcoin long on cross margin. If BTC falls hard, your SOL trade can be closed even though SOL's price never moved. On isolated margin, only the BTC trade would be at risk. Our guide to cross vs isolated margin covers when each one makes sense.

What happens when you get liquidated?

The venue closes your trade at or near the liquidation price. You lose most or all of the margin behind it. What you get back depends on the venue.

Venue What a liquidation does
Phoenix Can close part of the trade through the order book; a backstop takes over if needed
Jupiter Perps pool markets Closes the trade; "all remaining collateral is taken as a liquidation fee"
Jupiter Perps newer markets Closes the trade; remaining collateral goes back to you
Hyperliquid Closes big trades in parts; charges no liquidation fee
Velocity Closes part of the trade, back to safety plus a buffer

On Hyperliquid, a backstop vault steps in if the order book can't take the trade. Hyperliquid's docs say that then "the maintenance margin is not returned to the user."

Velocity runs on a fork of the code behind Drift Protocol DRIFT$0.00913+1.1%. It closes only part of the trade. It stops once the account is back above its maintenance margin, plus a buffer of 2% of the trade's size.

In a crash, liquidations feed on each other. Forced selling pushes prices lower, and lower prices force more selling. On 10 October 2025, about $19 billion of leveraged trades were force-closed across crypto, Cointelegraph reported.

On days like that, prices can jump past many liquidation prices at once. Trades then close well below where their owners expected. When even the backstop can't cope, some venues close winning trades too. Our page on auto-deleveraging explains how that works.

Liquidation price vs bankruptcy price

The bankruptcy price is where your margin would be all gone. The liquidation price comes a little before it. That way the venue can close you while some margin is left.

The margin left in that gap is the venue's cushion for closing the trade before it runs into debt. On a long at 10x, the bankruptcy price sits about 10% below entry, and the liquidation price a little above it.

Stop-loss, liquidation and bankruptcy prices on a 10x long

Set your stop-loss well above your liquidation price, because a fast gap can jump past the stop, the liquidation price and the bankruptcy price in one step.

Illustrative numbers: a 10x long from $100 with $1,000 of margin.

A fast market can jump past both. Then the trade has lost more than its margin. Velocity's docs call this an account that "still owes a debt and holds nothing that can pay it." Its insurance fund pays first. Anything left is shared across everyone still holding a position in that market, longs and shorts alike.

Liquidation price vs stop-loss

A stop-loss is your own exit. A liquidation is the venue's. Set a stop-loss well before your liquidation price, and a bad trade costs you part of your margin instead of all of it.

Jupiter's docs make the point directly: "A stop loss can close the position before it reaches the liquidation price and keep part of your collateral." They also note that execution is not guaranteed, and in a fast market the position can be liquidated first.

Never treat the liquidation price itself as your stop. It marks where the venue takes over, and by then its fees and rules decide what is left of your margin.

How to avoid liquidation on a perp

You avoid liquidation by keeping a wide gap between the market price and your liquidation price. Each step below widens it or protects it.

  1. Use low leverage. At 2x or 3x, the price has to move by about a third or more to close you out.
  2. Pick isolated margin, so one trade can't drain the rest of your account.
  3. Set a stop-loss well before your liquidation price.
  4. Add margin if the trade moves against you. On Jupiter, "Adding collateral reduces leverage and moves the liquidation price further from the current market price." Phoenix lists adding collateral as a way to improve account health.
  5. Close part of the trade. A smaller position needs less margin.
  6. Watch funding and borrow fees on trades you hold for days.
  7. Plan for gaps. Stock and commodity perps can jump when the real market reopens; our guide to trading stocks at the weekend explains how.

Our view: more leverage is not your friend. Work out how far the price could move on a bad day, keep your liquidation price well beyond that, and let that set your leverage, not the other way round.

The Solana perps hub sets the venues side by side on fees, safety and their liquidation rules. Which venues you can use depends on where you live; our page on perps country restrictions gives each venue's own US and UK terms.