uponly / blog
glossary

mark price vs index price: definition and why both exist

mark price vs index price on perps explained. clean definitions, how each is calculated, and why mark price (not last price) decides your liquidation.

uponly team5 min readGlossary

the index price is a spot-derived reference for what the underlying asset is actually worth, usually computed as a weighted average across multiple major spot exchanges. the mark price is a smoothed, manipulation-resistant version of the perp's current price, derived from the index plus a damped premium. liquidations, pnl displays, and risk calculations on most modern perp venues are driven by mark price, not by the last trade. understanding the distinction is how you stop getting confused when your screen shows one number and your liquidation calc uses another.

in plain english

index price is "what btc is really worth right now, averaged across the major spot venues." mark price is "what this perp should be worth based on the index plus a controlled premium." last price is "the price of the most recent trade on this specific perp." all three can be slightly different at any moment.

why both exist

if liquidations used last price, attackers could wick a single trade on a thin perp market and force liquidations across the entire book. mark price prevents that. by anchoring to a multi-source spot index and adding a damped premium, mark price ignores instant wicks and only reacts to sustained moves.

  • last price: most recent fill on the perp, can spike on a single thin print.
  • index price: average spot price across multiple cex/dex sources.
  • mark price: index plus a damped premium, used for risk and pnl.
  • fair price: synonym for mark price on some venues.
when your position card shows pnl that does not match the last price you see on the chart, it is almost always because pnl is being computed off mark price, not last. this is a feature, not a bug.

how each is calculated

index price is typically a volume-weighted or time-weighted average of spot prices from a set of approved exchanges. mark price is the index plus a moving-average premium that captures how far the perp is currently deviating, but smoothed so a single wick cannot dominate. each venue publishes its exact methodology.

how it shows up on uponly.win

uponly routes to avantis on base. avantis uses chainlink and pyth oracles for index price and computes mark price off those feeds plus its own market data. your liquidation on a rip is triggered by mark price, not by the last on-chain trade. this is what prevents a one-block wick from blowing up your position on a normal market move. for the broader picture on how uponly executes, see how uponly was built in one night.

common confusions

people often assume the price they see on tradingview is the same one used by their perp venue. it usually is not. tradingview shows last price from a specific exchange feed. your perp venue uses its own mark price for risk. close enough most of the time, different in moments that matter.

  1. liquidation triggers off mark price, not last price.
  2. pnl on screen is usually computed off mark price.
  3. mark price is smoother than the candle chart, by design.
  4. index price is the spot reference; mark price is the perp-aware reference.

see also

want to see mark price in action? open uponly, take a small rip, and watch the displayed entry, liquidation, and current price. the price defending your position is the mark, not the chart wick.

Frequently asked questions

what is mark price?

a smoothed, manipulation-resistant price used by perp venues to compute pnl and trigger liquidations. it is derived from the index price plus a damped premium.

what is index price?

a reference price for the underlying asset, computed as a weighted average across major spot exchanges. it is the anchor that perps tether to.

why does mark price matter more than last price?

because liquidations and pnl run off mark, not last. a single wick on the perp does not move mark price enough to liquidate you, which is the whole point of using mark.

is mark price the same as fair price?

on many venues, yes. "fair price" and "mark price" are used interchangeably to mean the smoothed perp price used for risk calculations.

does uponly use mark price for liquidations?

yes, indirectly. uponly routes to avantis, which uses oracle-derived mark price for risk and liquidations. that is what prevents wick liquidations on rips.

#mark price#index price#glossary#perps

Want to actually trade this?

uponly.win is the one-tap arcade for crypto perps. 75x–500x leverage. No house. No fees on losses. No fees to open. We only take a small variable cut when you win big.

Related reads