What Is VWAP? Formula, Worked Example and How to Place a VWAP Order

VWAP is the average price a market traded at, weighted by volume. Hyperdash explains the formula with a worked example, how traders use it as a benchmark, and how to place a VWAP order.

By Hyperdash

, 7 min read

Line drawing of a beam balance with weights of different sizes and the fulcrum at the weighted balance point, next to the title What is VWAP?

VWAP (volume-weighted average price) is the average price a market traded at over a period, with bigger trades counting more. To get it, add up price times size for every trade, then divide by the total size traded. Traders mostly use it as a benchmark: if you bought below VWAP, you paid less than the market did over the same window.

On Hyperdash you can also trade toward it with a VWAP order, which spreads a large order over hours or days and puts more of it into the hours the market usually trades most.

Put it into practice on Hyperdash: Hyperdash has a VWAP order under the Pro selector in the trade panel, in the Advanced group next to Chase TWAP and POV, for working large orders on Hyperliquid perps and spot markets.

How to calculate VWAP

The formula is:

VWAP = sum of (price × size) ÷ sum of size

A trade of 50 contracts counts fifty times as much as a trade of 1 contract at the same price. VWAP shows where most of the volume changed hands. A time-weighted average shows where the price sat most of the time.

Most charting tools compute VWAP from bars instead of single trades. They take each bar's typical price, (high + low + close) ÷ 3, times its volume. The result is close to the trade-level number but not identical, so two charts can show slightly different VWAP values.

A worked VWAP example

In this made-up example, a market prints four trades:

Example VWAP calculation (made-up numbers)
TradePriceSizePrice × size
11002200
21028816
31015505
4995495
Total202,016

VWAP is 2,016 ÷ 20 = 100.80. The simple average of the four prices is 100.50. VWAP sits higher because the biggest trade, 8 units, went through at 102.

Say your buys in this window averaged 100.60. You paid 0.20 less than VWAP, about 0.2% better than the market. A seller at 100.60 would have done 0.2% worse.

How traders use VWAP

As an execution benchmark. A desk that buys a large position over a day compares its average fill with the day's VWAP. Beating it means the order was worked well relative to everyone else trading in that window. It says nothing about whether the position will make money.

As an execution target. A VWAP algorithm trades in proportion to volume: more when the market is busy, less when it is quiet. Trading heavily into thin hours moves the price more, so following volume usually means less market impact. For the cost side, see what slippage is and how to keep it small.

As a reference line on the chart. Intraday traders watch where price sits relative to VWAP for context. Anchored VWAP starts from a bar you choose, such as a listing or a big news candle. Both describe past trading. VWAP lags and does not predict the next move on its own.

VWAP in 24/7 crypto markets

Stock markets have an open and a close, so a daily VWAP resets each morning. Hyperliquid perps trade around the clock, so you choose the window. A UTC-day VWAP, a rolling 24-hour VWAP and an anchored VWAP can give three different numbers at the same moment.

The volume source matters too. To judge fills you got on Hyperliquid, compare them with Hyperliquid's own VWAP over the same window, not another exchange's. Volume is also uneven through the week: on many markets it climbs around the US stock market open, and weekends are quieter.

VWAP vs TWAP vs POV

All three split a large order into many smaller ones. They differ in what sets the pace.

How Hyperdash paces VWAP, TWAP and POV orders
OrderWhat sets the paceDurationLimit price
VWAPThe market's typical volume at each time of day, from up to the last 8 weeks3 hours to 24 hours (7 days on a Hyperdash wallet)Optional
TWAPEqual sizes at even intervalsFrom 5 minutesNo
POVA set share of the volume trading right nowNo set duration, runs until filled or stopped, 30 days at mostOptional

A TWAP trades the same amount every interval, busy or quiet. Chase TWAP keeps that pace but works each slice as a post-only order at the best bid or ask and sweeps any shortfall at market. VWAP leans into the hours that usually trade most. POV follows volume as it happens, about a minute behind. To see TWAP activity across Hyperliquid, read Hyperliquid TWAP data.

How to place a VWAP order on Hyperdash

  1. Open the market you want to trade on Hyperdash. VWAP works on perp and spot markets, and from subaccounts.
  2. In the trade panel, open the Pro selector and choose VWAP in the Advanced group.
  3. Enter the Size in the asset or in USD.
  4. Set the Duration in hours and minutes. The default is 12 hours. The minimum is 3 hours; the maximum is 24 hours on a connected wallet or 7 days on a Hyperdash wallet.
  5. Optionally set a Limit Price, the worst price any part of the order can trade at. It must be within 50% of the current price.
  6. Turn on Reduce Only if the order should only shrink an existing position.
  7. Check the order value and fees the panel shows, then place the order.

Hyperdash builds the schedule from up to the last 8 weeks of the market's volume, in 30-minute slots, with separate profiles for weekdays, Saturdays and Sundays. It splits your duration into 30-second clips, and each clip rests a post-only limit order at the best bid (buys) or best ask (sells). Every 1, 3 or 5 minutes, depending on duration, a market order sweeps whatever is behind schedule, capped at 8% slippage and never past your limit. Resting orders pay the maker rate and sweeps pay the taker rate; see maker vs taker fees.

The order keeps working after you close the app. The Algos tab shows what has filled, the time left and whether it is on schedule, ahead or behind.

Example: at 8:00 AM EST on a Monday you place a 12-hour VWAP to buy 10 BTC with a limit price. If the 9:30 to 10:00 AM EST slot usually trades far more than an evening slot, the order buys more in that half hour and less in the evening. If price rises above your limit, the order waits and falls behind schedule. At 8:00 PM EST a final sweep buys what it can at your limit or better; the rest stays unfilled.

A few rules to know before you place one:

  • The order must be worth at least $10, and your account must be able to fund at least half of it when you place it.
  • The market needs at least one week of trading history. Newer markets are refused.
  • You can run one VWAP per market at a time, across all your wallets and subaccounts, and a running VWAP cannot be edited. Stop it and place a new one.
  • The schedule is fixed when you place the order and does not react to volume during your window. POV does.

Where VWAP falls short

The volume schedule helps most over a day or longer; over 4 hours or less it adds little over an even TWAP. A limit price caps what you pay but can leave part of the order unfilled if the market runs away.

VWAP also does not remove the cost of crossing the spread or eating through thin depth, so check the book first. How to read an order book covers depth and spreads, and stop losses, take profits and trailing stops covers the exits that sit alongside an algo.

Ask your AI agent about Hyperliquid VWAP

Your AI agent can answer "What was the volume-weighted average price of ETH on Hyperliquid over the last 24 hours, using hourly candles?"

For more, read how to use technical indicators without overcomplicating your charts and how to trade on Hyperliquid.

FAQ

What is VWAP in simple terms?

The average price a market traded at over a period, where bigger trades count for more. It shows where most of the volume changed hands.

Is VWAP a buy or sell signal?

No. It is an average of past trades, so it lags. Traders use it as a benchmark for their fills and as context on the chart, not as a forecast.

Does VWAP reset every day?

A standard daily VWAP does, at the start of each session. In 24/7 crypto markets you pick the window, such as the UTC day, a rolling 24 hours or an anchored start point.

What is the difference between VWAP and TWAP?

TWAP weights every moment equally and trades the same amount each interval. VWAP weights by volume, so a VWAP order trades more in busy hours and less in quiet ones.

Can I place a VWAP order on Hyperliquid?

Yes, through Hyperdash. Choose VWAP under the Pro selector in the trade panel, set a size, a duration of at least 3 hours and an optional limit price.

Get started on Hyperdash

  • Hyperdash lets you trade equities, commodities, FX and crypto, follow top traders and research any market with live and historical data.
  • Advanced Execution covers TWAP, Swarm and Chase orders for large trades.
  • Building with Hyperliquid data? Get a Hyperdash Data API key and connect the MCP server to Claude or ChatGPT in about 2 minutes.

Start trading

Trade 600+ markets 24/7 with live position, order flow and liquidation data.