TWAP vs VWAP is usually argued as an execution question: which schedule should a desk use to work a big order? Most of what ranks for the phrase is written that way. This post takes the other road. If you read charts rather than route parent orders, the interesting thing about the two averages isn't which one is "better". It's that they're the same number until volume gets uneven, and the size of the gap between them tells you how uneven it was.
That's a usable read. It says where the session's business happened, and it says so using two lines you can already plot.
What are TWAP and VWAP, in one shared window?
TWAP is the time-weighted average price. It takes the price in each equal slice of time and averages them with equal weight. VWAP is the volume-weighted average price. It takes the same prices but weights each one by the volume traded in that slice. Same window, same prices, different weights. Nothing else separates them.
Written out over one window of n bars, with pi as the representative price of bar i (close, or the typical price of high, low and close) and vi as its volume:
TWAP = (p1 + p2 + ... + pn) / n
VWAP = (p1v1 + p2v2 + … + pn*vn) / (v1 + v2 + … + vn)
Look at the second formula and set every vi to the same number, say 1,000. The volumes cancel top and bottom and what's left is the first formula. That's the whole relationship. VWAP equals TWAP when volume is spread evenly across the window, and they separate only to the extent that it isn't.
A time-weighted average price is what you'd get if every bar counted the same regardless of how much traded in it. A quiet 3 a.m. bar and a bar full of an earnings release get one vote each. A volume-weighted average gives the busy bar a louder vote. According to the published worked examples on the references linked below, that is the only conceptual step between the two.
A constructed window you can check by hand
Here is a six-bar window. The prices and volumes below are a constructed illustration to show the arithmetic. They aren't market data and they don't come from any instrument. Use them to check your own spreadsheet.
| Bar | Price | Volume (case A, even) | Volume (case B, clustered low) | Volume (case C, clustered high) |
|---|---|---|---|---|
| 1 | 100.00 | 1,000 | 500 | 2,000 |
| 2 | 100.50 | 1,000 | 500 | 5,000 |
| 3 | 101.00 | 1,000 | 1,000 | 1,000 |
| 4 | 100.50 | 1,000 | 1,000 | 1,000 |
| 5 | 100.00 | 1,000 | 5,000 | 500 |
| 6 | 99.50 | 1,000 | 2,000 | 500 |
The six prices sum to 601.50, so TWAP is 601.50 / 6 = 100.25 in all three cases. Volume doesn't enter it at all.
Case A: every bar trades 1,000, so VWAP is also 100.25. Gap: zero.
Case B: volume piles up in bars 5 and 6, where price is lowest. The price-times-volume terms are 50,000 + 50,250 + 101,000 + 100,500 + 500,000 + 199,000 = 1,000,750. Total volume is 10,000. VWAP = 100.075, which is 0.175 below TWAP.
Case C: volume piles up in bars 1 and 2, where price is higher. The terms are 200,000 + 502,500 + 101,000 + 100,500 + 50,000 + 49,750 = 1,003,750 over 10,000 shares, so VWAP = 100.375, which is 0.125 above TWAP.
The price path never changed between the three cases. Only the distribution of volume moved, and the gap moved with it, in both directions. That's the entire mechanism.
When do the two lines diverge, and by how much?
Two conditions have to hold at once for a visible gap. Volume has to be uneven inside the window, and the uneven volume has to land on bars whose prices differ from the window's simple average. Heavy volume at a price that happens to equal the average moves nothing. Heavy volume at the extremes moves a lot.
So the gap scales with two things: how concentrated the volume is, and how far the price at the concentration sits from the time average. A flat, range-bound session with one noisy hour produces a small gap. A trending session where most of the volume printed in the first leg produces a large one.
The sign is directional information of a limited kind. VWAP below TWAP means the volume sat at lower prices than the time-weighted middle. VWAP above TWAP means it sat higher. Neither sign says what price does next. It describes where the transactions happened, and nothing forward-looking is built into the arithmetic.
Anchoring and reset: the part TWAP doesn't have
A volume-weighted average needs a starting point, because the sum has to begin somewhere. The common choices are the session open, a rolling lookback of fixed length, or a manual anchor you place on an event such as an earnings gap or a swing low. Each one answers a different question, and the choice changes the line far more than most people expect. We cover that decision properly in our guide to choosing the anchor for anchored VWAP.
A time-weighted average has no natural anchor. Equal weights mean every bar from any starting point counts the same, so there's no event that makes one start more meaningful than another. On a chart, that makes a plotted TWAP an arbitrary-length moving average of price, and a simple moving average is exactly what an equal-weight mean over a rolling window is. If you plot a "TWAP" over the last 20 bars, you've plotted a 20-bar SMA of the representative price.
That's worth sitting with. The comparison people draw between VWAP and TWAP on a chart is, in practice, a comparison between VWAP and a plain moving average with the same lookback. Once you see that, the question stops being "which is better" and becomes "what does the distance between a volume-weighted mean and an equal-weighted mean of the same bars tell me?"
Reading the spread as a statement about where volume sat
Take the difference VWAP minus TWAP over the same anchor and window. Work through both signs.
Negative spread (VWAP under TWAP). Volume was heavier at the lower prices in the window. Think of a session that opened firm, drifted up on thin trade, then sold off on heavy volume. The equal-weight average still counts all that thin drift. The volume-weighted average mostly counts the selloff. Price sitting above both lines after a recovery is a different picture from price sitting below both lines: in the first case the heavy-volume prices are now underneath you.
That's the useful part. The volume-weighted line sits close to where the bulk of participants' cost basis is, and the spread tells you whether the busy prices were on the low side or the high side of the simple midpoint.
Positive spread (VWAP over TWAP). The mirror image. Heavy trade happened at the higher prices, and the time-weighted line is dragged lower by quiet low-priced stretches. Price pulling back toward VWAP in this state is pulling back toward where most of the volume printed, which is a different statement than pulling back toward an average that quiet hours helped build.
Near-zero spread. Volume was close to evenly spread, or the busy prices sat right at the window's midpoint. The two lines overlap and the second one adds almost nothing. That's a result too. If you plot both and they lie on top of each other, you've learned the session had no strong volume cluster, and a volume-weighted level isn't carrying much extra information over a simple average.
A plain way to scale it: divide the spread by the window's price range, or by an average true range figure you already use, so a 0.175 gap on a 2-point range reads very differently from a 0.175 gap on a 20-point range. Normalising keeps the read comparable from one instrument to the next.
A caution on claims. How often this spread predicts anything is an empirical question, and it needs a measured answer. This post doesn't offer one. If you want to test it, the methodology is simple to state: pick a fixed instrument and timeframe, record the normalised spread at a fixed time each session, record what price does over a fixed horizon afterwards, and compare across a sample of at least a few hundred sessions with the costs of trading included. Treat anything shorter as an anecdote.
VWAP as a benchmark for your own fills
Execution desks use VWAP as the benchmark for a fill. A buy whose average price lands below the day's VWAP is usually described as having beaten it, and the reverse for a sell. The reasoning is that VWAP represents the average price at which the whole market traded, so doing better than it means you got a price better than the typical participant.
For a discretionary trader entering a position, VWAP is also the fairer yardstick of the two. Your entry is one transaction at one moment, and the question you care about is whether you paid more or less than the volume-weighted cost of the session so far. TWAP is a poor yardstick for that, because it counts quiet stretches in which almost nobody transacted.
You can keep a simple log. For each entry, write down the fill price, the session VWAP at that moment and the difference. Over time the distribution of that difference tells you whether you habitually chase (buying above VWAP into strength) or buy weakness. It's a description of your behaviour, not a verdict on it. Slippage, the difference between the price you expected and the price you got, is a separate thing and gets its own treatment in the slippage glossary entry.
The reference pages note that this benchmark logic was formalised in transaction-cost research. The quantt.co.uk explainer cites a 1988 Journal of Finance paper on the total cost of trading on the NYSE as the usual starting point for the VWAP benchmark idea; go to the paper itself rather than relying on a summary if the exact claims matter to you.
When the time-weighted schedule is the safer way to trade
This one is an execution point, not a chart point, and it's worth keeping the two apart.
A VWAP execution schedule tries to trade in proportion to expected volume, so it trades more when the market is busy. That works when the volume profile is predictable. In thin or erratic liquidity the profile isn't predictable, and a schedule keyed to a forecast of volume can end up pushing size into a moment that was forecast to be busy and turned out empty. A TWAP schedule slices the order evenly over time and doesn't depend on the forecast. According to the bookmap.com piece, that independence is its main appeal in illiquid names.
The trade-off is that an even slicing schedule trades the same amount in quiet bars as in busy ones, so its footprint is larger relative to volume in the quiet bars. Neither schedule is free of market impact. They fail in different places.
None of that changes how you should read a chart. A chart reader isn't slicing a parent order. The reason TWAP is sometimes the safer execution doesn't make a plotted TWAP line a better price level. Keep the two uses separate in your head and a lot of confusion goes away.
The common misuse: TWAP as support or resistance
You'll see traders plot a time-weighted average on a chart and treat it as a floor or a ceiling. The logic offered for VWAP as support or resistance is that it marks where the volume traded, so many participants have a cost basis near it and may react when price returns. That logic is a hypothesis about behaviour, and it has its own limits, but at least there's a mechanism.
A time-weighted average has no such mechanism. It marks the arithmetic middle of the prices on the clock, and no participant's cost basis is tied to it. A quiet period that barely traded still pulls it just as hard as a busy period. There's no reason for orders to cluster around it, because no order was ever filled "at the TWAP" except by an algorithm that was told to aim there.
So if price bounces off a TWAP line, it's as likely a coincidence with a moving average as anything else. Treat it as a smoothing line. If you want a level that reflects where trading actually concentrated, that's what volume-weighted tools and volume-at-price views are for. Our piece on footprint charts and bid-ask volume shows how to look at the volume distribution directly, which is the thing the VWAP-minus-TWAP spread is a one-number summary of.
Markets with no session: what to anchor to
Spot crypto and many FX pairs trade around the clock. There's no open, no close, and a "daily reset" is a convention the exchange or your charting platform chose. A session-anchored VWAP on such a market resets at whatever midnight your platform uses, which may mean nothing for how the market actually behaves.
So pick an anchor that has meaning for the instrument:
- A defined event: a major data release, a protocol event, a large gap or a clear swing low or high.
- The start of the liquid window you actually trade, such as the hours when a major region is active, if that's your habit.
- A rolling lookback sized to the move you're studying, accepting that a rolling window drops old bars and the line changes character as it rolls.
Whatever you choose, apply the same window to the TWAP line so the spread compares like with like. A spread between a session-anchored VWAP and a 20-bar TWAP isn't a spread of anything meaningful.
On volume itself: for a 24-hour market, check what your volume number represents. On a spot venue it's that venue's volume, not the market's. On a futures chart it's that contract's volume. A volume-weighted line is only as representative as the volume feeding it, and the data source belongs in your notes.
Putting it into practice without fooling yourself
A short routine keeps this honest.
- Choose one anchor and one window, and write them down before you look at results.
- Plot VWAP and a TWAP computed over exactly the same bars.
- Note the sign and the size of the spread, normalised by the window's range.
- Ask what the volume profile for that window looks like, and check the spread against it. If the profile shows a clear cluster and the spread is near zero, the cluster sat near the midpoint. If the profile is flat and the spread is large, check for a data problem.
- Record, don't conclude. A handful of sessions tells you nothing about reliability.
The brief version: when VWAP and TWAP agree, volume was even and either line will do. When they split, the split is the information. If you want the volume-weighted side explained from the ground up, the Quantzee VWAP glossary entry covers the definition and the reset behaviour.
For general investor education on how technical analysis tools relate to price and volume, the U.S. SEC's investor education site has a plain-language entry: see its technical analysis glossary page. For how markets and brokers handle order execution quality, the investor pages at FINRA are a sensible neutral starting point. The CMT Association at cmtassociation.org publishes material on technical analysis standards if you want a professional-body view.
This is analytical education, not advice. Nothing here is a recommendation to buy or sell anything, and a constructed example says nothing about how any real market will behave. Test any idea on your own data, with costs included, before you rely on it.
Where this fits with other volume reads
The VWAP-minus-TWAP spread is a compressed summary. It throws away the shape of the volume distribution and keeps one number. That's convenient and lossy in equal measure. Two sessions can show the same spread with very different shapes: one with a single huge bar and one with a gradual build. If the shape matters to your question, look at volume-at-price or the raw bar volumes alongside it.
It also says nothing about who was buying and who was selling. A heavy-volume bar at a low price could be aggressive selling or a patient buyer absorbing it. Volume-weighted averages count both the same. That's where order-flow views, covered in the footprint article linked above, add information the spread can't.
And it depends on bar size. On a one-minute chart the two averages are computed from many more points than on an hourly chart, and the constructed table above, with six points, is deliberately coarse so you can do the sums by hand. Real windows contain hundreds of bars, the gaps are usually smaller in proportion, and noise plays a bigger part.
