How should you calculate and label VWAP on crypto perpetuals?

Volume-weighted average price, or VWAP, is total traded quote value divided by compatible base-coin volume over a declared window. For a linear USDT crypto perpetual, label the contract, volume units and reset boundary. VWAP describes transactions in that window; it is not automatically a buy or sell signal, a guaranteed fill or an execution algorithm.

What is the weighted-price calculation?

Arithmetic illustration only, using synthetic trades on one hypothetical linear USDT perpetual. Trade prices are 100,102 and 99 USDT per coin; matching base-coin volumes are 2,1 and 3. Multiply each price by its own volume, then sum:

Arithmetic illustration only.
Price Base volume Traded quote value
100 2 200 USDT
102 1 102 USDT
99 3 297 USDT

Total quote value =599 USDT; total base volume =6 coins. VWAP =599 /6 =99.833333… USDT per coin. The unweighted mean, (100 +102 +99) /3 =100.333333…, answers a different question because it gives each trade equal weight regardless of size.

Why do the volume units matter?

Bybit's kline documentation distinguishes volume and turnover units; for linear USDT contracts it specifies base-coin volume and quote-coin turnover. Compatible totals can therefore support a turnover/base-volume calculation for that stated instrument type. Do not apply this unit relationship blindly to another contract type or mix contracts with coin volume.

The dimensional check is USDT divided by base coin = USDT per coin. If a feed reports contract counts, convert them using contract units and multipliers first. If price and volume describe different markets or windows, their quotient is not the intended benchmark even when it looks numerically reasonable.

What happens when another trade arrives?

Add a synthetic trade of 4 coins at 101. It contributes 404 USDT. The new totals are 599 +404 =1,003 USDT and 6 +4 =10 coins, producing VWAP 100.3. Do not average the old VWAP and 101 equally: the prior accumulated volume was 6 and the new volume 4.

An incremental record can store cumulative quote value and base volume, plus the window identity. Preserve those sums rather than repeatedly rounding each partial average. Show sensible display precision while retaining enough calculation precision to reconcile the result.

How should you define the reset?

A session VWAP needs an explicit session boundary even though the perpetual market's contract has no expiry. An anchored VWAP needs a declared anchor. A rolling VWAP needs a fixed lookback and inclusion rule. These are different windows and can produce different values from the same trades.

State the chosen timezone and reset in advance. If a chart resets at 00:00 Asia/Shanghai while a research file resets on another timezone's midnight, do not call the mismatch an indicator error. The two calculations describe different windows. Changing the anchor after seeing an attractive result is a research revision, not a neutral display adjustment.

Is a candle-price approximation the same thing?

Multiplying each candle's typical price by its volume produces an approximation unless that price is the actual volume-weighted price of its underlying trades. A high/low/close average does not contain the full intrabar trade distribution. Label the approximation and its input timeframe rather than claiming exact transaction VWAP.

The advanced-tactics lesson discusses execution tactics. This page is about a benchmark calculation, not a promise that slicing orders will achieve it. Spread and slippage still affect executable results. If you test a price/VWAP condition, use only observations available at the decision time; the final session VWAP is not known earlier in the session.

Past performance does not guarantee future results.

Related: moving averages for crypto futures

What are the short answers on VWAP?

Should I average the prices without volume weights?

Not for VWAP. Sum price times compatible base volume, then divide by total base volume over the same declared window.

Is a high/low/close average times candle volume exact trade VWAP?

Not generally. It is an approximation unless the selected candle price equals the underlying trades' volume-weighted price.

Does a price below VWAP guarantee a favorable long entry?

No. VWAP is a historical benchmark for a chosen window. A trading hypothesis needs separate testing, execution assumptions and risk rules.

Leveraged futures carry a high risk of loss.

Last reviewed by Ric Mescallado