neofinance
How Binance derives the mark price
Liquidations and unrealised PnL on Binance perpetuals run off the mark price, not the last trade. The graph below rebuilds it live in your browser from Binance’s public feeds, step by step, and checks the result against the number Binance publishes.
Loading graph…
The rule
Mark Price = median( Price 1, Price 2, Contract Price )
Price 1 = Index × (1 + last funding rate × time to next funding / funding period)
Price 2 = Index + MAn( (bid₁ + ask₁)/2 − Index ), one sample per second
Contract = last traded price on the perpetual n is 30 samples (30 seconds) for crypto perpetuals and 60 (one minute) for TradFi perpetuals. Taking the median means no single input — say, one spiky trade — can set the mark by itself. Price 1 anchors to the index plus the funding premium still to be paid; Price 2 follows where the perp’s own book trades, smoothed.
Same formula, different index
The mark formula is identical for both contracts. What differs is everything feeding the Price Index.
| BTCUSDT | NVDAUSDT | |
|---|---|---|
| Contract type | PERPETUAL (crypto) | TRADIFI_PERPETUAL (equity) |
| Index sources | 8 spot exchanges (loading) | Market-data vendors (loading) plus a small weight on the perp itself |
| Currency | Quotes already in USDT | USD quotes ÷ USDT/USD index |
| Trading hours | 24/7, one regime | Regime follows the US session — now: US overnight session |
| Outlier guard | ±3% vs median; 5 min stale → weight 0 | ±5% vs median (regular, extended, overnight); ±3% weekends |
| Price 2 window | 30 s | 60 s |
| Funding | every 8h, cap ±0.00% | every 8h, cap ±0.00% |
For NVDAUSDT the session shown is read from the New York clock and ignores exchange holidays. Binance publishes the TradFi vendor weights but returns no live vendor prices, so those boxes show the weight only. When Binance cannot get stable reference data it falls back to a “last price protected” mode, which this page does not model.