Liquidation & leverage · mechanism clarified

Mark Price vs Last Price: Why You Got Liquidated Before Your Level

On the very same candle, one trader sees a deep wick and isn't liquidated while another gets liquidated with no wick at all — and the difference usually comes down to one thing. You assume liquidation tracks the jumpy last traded price on your charts, but the exchange is actually watching a different price: the mark price. Tell these two apart and you'll save yourself a lot of "I got liquidated out of nowhere" grief.

Mark price vs last traded price: how the two price lines diverge during a wick
During a wick the last price jumps violently while the mark price stays relatively smooth — liquidation tracks the latter

First, the distinction: your screen actually shows two prices

Open any futures order page and the number you're staring at, the one that keeps ticking, is the last price — the price of the most recent trade in the market, changing every time a buy and sell match. It's the most intuitive, but also the easiest to yank around with a momentary large order or a thin order book.

On the same page there's usually another, less prominent price: the mark price. It isn't any single trade; it's a "what it should be" reference price the exchange computes from a spot index and other data. It's smoother and closer to true fair value.

One line worth the whole article: your unrealized PnL and your liquidation check both run on the mark price, not the last price. If the "current price" you used in your hand calculation was the last price while the trigger actually watches the mark price, the two are measured differently and naturally won't line up. That's exactly why how liquidation price works keeps stressing "go by the mark price."

Why the mark price exists

If liquidation watched the last traded price directly, big problems would follow. Picture someone holding a large order who, at a moment when the book is thin, slams the last price through a big chunk in an instant — it bounces right back, but that instant is enough to trigger liquidation across a swathe of leveraged positions parked nearby. This is the so-called "wick hunt." The people who got slammed are liquidated; the person running the play picks up the chips at the low.

The mark price exists to plug this hole. It doesn't depend on any single exchange's individual trade — it references a multi-source spot index to derive a price that's hard to manipulate from one point. Using the mark price for liquidation and PnL adds a layer of "anti-manipulation-wick" protection for everyone. That's genuinely good for retail traders, even if it also creates the "why doesn't this match the price I'm watching" confusion.

Another angleThe mark price isn't the exchange making life hard for you — it's the exchange blocking the people who want to harvest you with an extreme momentary price. Once you get that, you stop reading it as "the system is out to get me."

Roughly how the mark price is computed

The exact algorithm varies by platform and gets adjusted, but the idea is broadly the same and usually has two parts:

  • Spot index price: take prices from several major spot markets and blend them into a weighted index that's hard to manipulate from a single point. This is the mark price's "anchor."
  • A sensible basis adjustment: there's a reasonable spread between the perpetual price and the spot index driven by funding and the like, and the mark price applies that kind of adjustment on top of the index, so it both tracks spot and reflects the contract's fair premium or discount.

You don't need to memorize a formula, just build the intuition: the mark price is "steadier" — it filters out the momentary noise of any single platform. For the exact algorithm, go by the mark price notes on Gate's contract rules page (we verified this in June 2026); the exchange may adjust parameters, so don't treat any one version of the formula as permanent truth.

Want to feel, at a glance, how far the mark price has to travel before it touches your liquidation point at different leverage? Plug your entry price, leverage and direction into the liquidation price estimator — what it gives you is an estimated level measured against the mark price. The result is for reference only; go by your order page.
Open the liquidation price estimator

The truth about wicks: why you sometimes get liquidated and sometimes don't

Now that confusion resolves. The very same wick can produce two seemingly contradictory situations:

  • The last price spiked through your hand-calculated liquidation price, but you weren't liquidated. Because the mark price is relatively smooth, it didn't wick that deep and never touched your liquidation point. You think "that was almost the end," but from the liquidation standpoint it never got there.
  • The last price looked tame, yet you got liquidated. The mark price may well have reached your liquidation point at that moment (say the spot index was falling overall), and you just didn't notice because you were watching the last price.

So strictly speaking, "liquidated by a wick" needs you to be clear about which price moved. What actually decides your fate is always the mark price. Next time you review a trade, don't only look at the wick on the last price — pull up the mark price's path and compare, and you'll see what really happened.

Don't gamble on wicksKnowing liquidation tracks the mark price doesn't mean you can "trade right up against the liquidation price and bet the wick won't reach the mark price." In extreme conditions the mark price moves fast too, and leaving a real safety cushion always beats gambling on the mechanism. For how to leave room on size and stops, see futures risk management.

Setting a stop: which price should trigger it

Here's a setting many people miss: on most platforms, when you place an order you can choose whether your stop-loss / take-profit triggers on the "last price" or the "mark price." Each has a trade-off:

Trigger basisUpsideCost
Mark-price triggerHarder to falsely hit on a momentary wick — "steadier"The actual fill may already have drifted from the trigger price
Last-price triggerCloser to the fill your eyes seeEasy to falsely trigger on a single wick, exiting early

There's no absolute right or wrong — it depends on which loss you fear more: if you fear getting stopped out by a wick, lean toward a mark-price trigger; if you want strict execution at the price you see, lean toward the last price. The key is to know which one you've chosen before you order, rather than defaulting to one without realizing it. For how to set the stop itself and how to space it away from the liquidation price, see how to set a stop-loss. Go by Gate's order page for the available options.

How to use this in practice to protect yourself

From the editors · hands-on feel

It's only after staring at the positions panel for a while that the division of labor between these two numbers really sinks in. The practical takeaways come down to a few:

1. When sizing risk, use the mark price. To judge "how close am I to liquidation," look at how far the mark price is from your liquidation price — don't scare yourself with the jumpier last price, and don't let it lull you either.

2. Stop early rather than late; don't treat liquidation as your stop. Since liquidation runs on the mark price and also docks fees and slippage, set your stop well before liquidation on purpose — don't let "the system closing it for you" become your exit plan.

3. Review using the mark-price path. When you feel you were "liquidated by a wick," pull up the mark price and compare — you'll often find it really did reach your level. The problem isn't the mechanism; it's that the position was sitting too close to the edge.

YMYL noteFutures are a high-risk derivative; leverage amplifies losses, and you can lose your entire principal. This article explains a pricing mechanism, not investment advice — it predicts no prices and recommends no actions. Whether to take part is your call based on your own risk tolerance, and you should follow the laws and regulations in your jurisdiction.

FAQ

Which price actually triggers liquidation?

On mainstream perpetual futures, the mark price, not the last traded price. The mark price is computed from a spot index and other sources, which makes it smoother and fairer and stops a single abnormal order from spiking the price and maliciously triggering other people's liquidations.

Why didn't a deep wick liquidate me?

A wick is a sudden, violent spike in the last traded price, while the mark price is computed from an index and is relatively smooth, so it may not wick as deep. Liquidation tracks the mark price, so when the last price spikes through your hand-calculated liquidation price but the mark price hasn't reached it, you aren't necessarily closed out. The reverse holds too.

Should I watch the last price or the mark price for my stop?

It depends on the trigger-price type you choose when ordering. Most platforms let you pick the last price or the mark price as the stop basis: a mark-price trigger reduces false hits from wicks, a last-price trigger sits closer to the actual fill. Understand the difference before you choose, and go by the options and notes on Gate's order page.

Is it normal for the mark price and last price to differ a lot?

Most of the time they're very close. In violent markets, when liquidity thins, or when a single platform gets momentarily yanked, the gap widens noticeably — which is precisely why the mark price exists. When the gap stays abnormal for a while, treat your position with caution.