Learning Outcome Statement
Calculate and interpret effective spreads and VWAP transaction cost estimates.
On the exam: The question gives simultaneous bid and ask quotes, fill prices and quantities, trade direction, and a benchmark. It asks for fill-level or weighted effective spreads and VWAP cost in USD per share, USD, or basis points.
When you buy, you pay the seller's ask when you take the displayed offer, but later shares may execute at different prices. The bid quote, $b$, and ask quote, $a$, give the arrival midpoint, $m$, while the execution price, $p$, is what the buyer actually pays. VWAP, or volume-weighted average price, uses each fill $i$'s execution price $p_i$ and filled shares $q_i$ to describe what the whole order paid. The benchmark, $B$, is the comparison price selected by the question, and in the worked mandate it is the arrival midpoint.
| Comparison | Buy order | Sell order |
|---|---|---|
| Fill above midpoint | Adverse execution | Price improvement |
| Fill below midpoint | Price improvement | Adverse execution |
| Positive signed cost | Above benchmark | Below benchmark |
Read the sign after applying the trade direction. For a sell, reverse the price difference before scaling it.
$$ \begin{aligned} m &= \frac{b+a}{2} \ \text{Effective spread for a buy} &= 2 \times \frac{p-m}{m} \ \text{Effective spread for a buy in basis points} &= 2 \times \frac{p-m}{m}\times 10000 \ \text{Weighted effective spread in basis points} &= \frac{2\sum_i (p_i-m)q_i}{m\sum_i q_i}\times 10000 \ \mathrm{VWAP} &= \frac{\sum_i p_i q_i}{\sum_i q_i} \ \text{VWAP transaction cost per share for a buy} &= \mathrm{VWAP}-B \ \text{VWAP transaction cost in USD for a buy} &= (\mathrm{VWAP}-B)\times\sum_i q_i \ \text{VWAP transaction cost in basis points for a buy} &= \frac{\mathrm{VWAP}-B}{B}\times 10000 \end{aligned} $$
First, $m$ puts both quote sides into one reference price. The coefficient in the effective-spread formulas turns the one-sided distance from midpoint into a spread, while dividing by $m$ makes it relative. Multiplying each price gap by $q_i$ gives larger fills more influence, which is why VWAP is not a simple average. Subtracting $B$ gives buy cost per share, multiplying by total shares gives USD, and the basis-point conversion in the formulas gives basis points. For a buy, a positive effective spread or VWAP cost means adverse execution against the selected benchmark.
Run the calculation in this order.
Loading diagram…
This sequence keeps the quoted reference separate from the actual fills and ends with the portfolio consequence. Notice that the midpoint is fixed from the arrival quotes before any fill is judged. Each later step answers a different question: whether a fill was costly, how much each fill contributes, and how the completed order compares with the mandate's benchmark. Keeping those comparisons distinct prevents a favorable-looking quote from replacing the stated benchmark.
Worked example
You are reviewing a completed buy for a tax-exempt defined-benefit pension fund. You need to judge whether the fills controlled execution cost while meeting the mandate. The question asks for each effective spread, the quantity-weighted spread, VWAP, and VWAP cost against the arrival midpoint.
| Given | Value |
|---|---|
| Client | Tax-exempt defined-benefit pension fund |
| Objective | Complete required liquid-equity purchase |
| Constraint | Full completion within trading window |
| Risk capacity | Adequate for temporary tracking error |
| Risk willingness | Low willingness for active execution risk |
| Order | Buy |
| Benchmark | Arrival midpoint |
| Arrival bid | USD 49.9 per share |
| Arrival ask | USD 50.1 per share |
| Fill 1 price | USD 50.1 per share |
| Fill 1 quantity | 300 shares |
| Fill 2 price | USD 50.12 per share |
| Fill 2 quantity | 400 shares |
| Fill 3 price | USD 50.08 per share |
| Fill 3 quantity | 300 shares |
The bars show the actual fill prices in sequence against the midpoint reference of 50.00. Read each bar as one execution price, not as a separate order-level result. Fill 2 is highest, but its contribution to VWAP depends on its 400 shares; fills 1 and 3 each contribute 300 shares. The midpoint line gives a common reference for interpreting those prices, while the calculations below combine price and quantity to assess the full order.
Loading diagram…
-
Average the simultaneous quotes to create the midpoint used for every fill. $\frac{49.9+50.1}{2}=50.00$ USD per share.
-
Apply the buy effective-spread formula to each fill. Fill 1 produces $2\times\frac{50.1-50.00}{50.00}\times10000=40.00$ bps. Fill 2 produces 48.00 bps, and fill 3 produces 32.00 bps.
-
Multiply each execution price by its filled shares because VWAP weights dollars by quantity. Fill 1 contributes $50.1\times300=15,030.00$ USD. Fill 2 contributes $50.12\times400=20,048.00$ USD. Fill 3 contributes $50.08\times300=15,024.00$ USD.
-
Add the notional contributions and filled shares to prepare the weighted average. The totals are USD 50,102.00 and 1,000.00 shares.
-
Divide total notional by total shares rather than averaging listed prices. $\frac{50,102.00}{1,000.00}=50.102$ USD per share.
-
Weight each midpoint gap by shares to get the order-level effective spread. The effective numerator is USD 204.00. $\frac{204.00}{50.00\times1,000.00}\times10000$ produces 40.80 bps.
-
Use $B=m=50.00$ as the benchmark. Keep the full precision of the difference between 50.102 and 50.00 for the cost calculation. It produces USD 102.00 in total and 20.40 bps.
The order met the full-completion constraint, while the positive weighted spread and VWAP cost show adverse execution relative to the arrival midpoint, so the manager should review execution quality without sacrificing completion.
Changed condition
Only the third fill changes. All quotes, quantities, direction, benchmark, and mandate facts stay the same.
| Measure | Base scenario | Changed scenario |
|---|---|---|
| Fill 3 price and spread | 50.08, 32.00 bps | 50.18, 72.00 bps |
| Order-level results | VWAP 50.102, spread 40.80 bps | VWAP 50.132, spread 52.80 bps |
| VWAP cost | USD 102.00, 20.40 bps | USD 132.00, 26.40 bps |
Before calculating, predict that the higher third-fill price will raise every order-level measure. Its midpoint gap and notional contribution rise while its quantity stays fixed. The weighted average, effective spread, and VWAP cost rise because the same shares now cost more. Cover the changed column and recompute the third-fill spread and weighted spread yourself before reading on.
Common error
A candidate treats VWAP as the execution price for every share and compares it with the ask. That feels right because VWAP appears as one price and the ask is the visible buy quote. Unequal quantities and an explicit benchmark give it away, so weight prices by quantity and compare the buy VWAP with the arrival midpoint.
Check yourself
Practice
Which method correctly estimates VWAP transaction cost for the base buy?
Revision snapshot
For a buy, effective spread = $2 \times \frac{\text{execution price}-\text{contemporaneous midpoint}}{\text{midpoint}}$. VWAP = $\frac{\sum_i p_iq_i}{\sum_iq_i}$, and unequal fills must be quantity-weighted. For a buy, VWAP transaction cost = $\mathrm{VWAP}-B$ per share, or $\frac{\mathrm{VWAP}-B}{B}\times10000$ in basis points. Interpret a positive effective spread or VWAP cost as adverse execution relative to the selected benchmark. The exam supplies quotes, fills, quantities, direction, and benchmark. Do not treat VWAP as every share's execution price or compare it with the ask when the benchmark is the arrival midpoint.
Unlock the full lesson and continue reading
Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more