CryptoPaperTrading

Mark price vs last price: what is the difference, and why does it matter?

A futures screen usually shows two prices that are almost the same and occasionally very different. The last price is where the contract last traded. The mark price is the exchange's estimate of fair value. Your liquidation is normally decided by the mark, not the last trade.

Two definitions

Most of the time mark and last are very close to each other. They split during fast moves, thin liquidity or a sudden large order on one venue.

How exchanges typically derive the mark price

Each exchange publishes its own method, and the details change over time, but many follow a similar pattern:

  1. Build an index. Take spot prices for the coin from several large spot exchanges and combine them, often as a weighted average. Prices far out of line with the rest are usually excluded, so one broken venue cannot drag the index.
  2. Add a basis component. A perpetual normally trades a little above or below spot. Exchanges add a smoothed version of that gap, for example a short moving average of the difference between the perp's price and the index, or a value tied to the current funding rate.
  3. Smooth it. Some exchanges take a median of several candidate values. The aim is a price that follows the real market but ignores brief spikes on one book.
Mark price ≈ Index price (multi-exchange spot average) + smoothed basis

Because the index is an average of many venues and the basis is smoothed over time, a single wick on one exchange barely moves the mark. Check your exchange's documentation for its exact method.

Why liquidations use the mark price

If liquidations used the last price, anyone with enough size could push the price on one thin order book for a few seconds and trigger a wave of liquidations, then profit from the forced orders. Even without bad intent, a single fat-finger order could wipe out traders whose positions were fine by every other measure.

Using the mark protects against these wick liquidations. To be liquidated, the broad market across several exchanges has to move against you, not just one trade on one book. See liquidation for how the liquidation price itself is calculated.

Worked example: a wick that the mark ignores

You go long 0.5 BTC at $80,000 with 10x leverage. The position is worth $40,000, so your margin is $4,000. With 0.5% maintenance margin:

Liquidation = (80,000 × 0.5 − 4,000) / (0.5 × 0.995)
            = 36,000 / 0.4975 = $72,362

A large market sell hits a thin order book and the last price on that exchange drops to $71,800 for a few seconds, 10.25% below your entry. Meanwhile spot prices on other exchanges barely move, and the mark price stays near $78,900.

Uses last priceUses mark price
Price checked$71,800$78,900
Below $72,362 liquidation?YesNo
ResultLiquidated, $4,000 margin lostPosition stays open
Unrealised P&L—(78,900 − 80,000) × 0.5 = −$550

Same position, same moment, very different outcome. This is the main reason the mark price exists. You can check your own numbers with the liquidation price calculator.

What it means for stop-losses

Liquidation almost always uses the mark price, but stop orders are different. Many exchanges let you choose what triggers a stop: last price or mark price.

Neither choice is right for every trade. What matters is knowing which one your stop uses, and keeping the stop well before your liquidation price. More on stop types in order types.

How CryptoPaperTrading handles it

On CryptoPaperTrading the mark price is the Binance spot last price for each coin. It is a simplification and should be treated as indicative.

In practice this means mark and last are the same price here. There is no separate multi-exchange index or smoothed basis, so a sharp wick on Binance spot can reach your liquidation price or stop on this simulator even when an exchange using an index-based mark would have ignored it. Funding payments are also not simulated.

The upside is simplicity: what you see on the chart is what values your position. The lesson to carry to a real exchange is to check which price drives liquidations and stops there, and to leave extra room for wicks. Practise this on the crypto futures simulator.

Frequently asked questions

Which is used for liquidation, mark price or last price?

On most crypto futures exchanges, liquidation is based on the mark price. It is calculated from a multi-exchange index, so a brief wick on one order book is less likely to liquidate you. Check your exchange's documentation to confirm.

Why is my unrealised P&L different from what the last price suggests?

Unrealised P&L is usually calculated at the mark price. When mark and last differ, the P&L shown follows the mark, not the last trade on the chart.

Is the mark price the same as the index price?

Not exactly. The index is a spot average across several exchanges. The mark usually starts from the index and adds a smoothed basis that reflects where the perpetual is trading relative to spot.

Should I trigger my stop-loss on mark price or last price?

It is a trade-off. A last-price trigger reacts faster but can be hit by a wick. A mark-price trigger ignores short wicks but can react later in a fast move. Pick one deliberately and keep the stop well before your liquidation price.

What mark price does CryptoPaperTrading use?

The Binance spot last price for each coin. It is a simplification of how real exchanges work, so a wick on Binance spot can liquidate a position here even if an index-based mark would not.

Practise this: Practise futures and leverage in the simulator with $10,000 in virtual USD.