Markets, participants and events · Order book walk
What does a market order pay as it walks up the book?
The fills, total cost and average price of a market buy against the ask ladder you enter, measured against the reference price you name.
- Shares filled · across 4 levels of the entered ladder5,000
- Unfilled remainder, shares · the order less the shares the entered depth fills; the book is never extrapolated0
- Levels used · walked from the lowest ask up4
- Average price (VWAP), a share · total cost ÷ shares filled20.0728
- Excess over the reference · total cost − shares filled × reference, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only$264.00
- Excess over the reference, % · VWAP ÷ reference − 1, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only0.2637%
Arithmetic on the numbers entered, not a forecast.
| Shares filled | Cost | |
|---|---|---|
| Level 1: 500 shares at $20.02min(remaining, size) · price × shares filled | 500 | $10,010.00 |
| Level 2: 800 shares at $20.04min(remaining, size) · price × shares filled | 800 | $16,032.00 |
| Level 3: 1,200 shares at $20.06min(remaining, size) · price × shares filled | 1,200 | $24,072.00 |
| Level 4: 2,500 shares at $20.10min(remaining, size) · price × shares filled | 2,500 | $50,250.00 |
- VWAP = Total ÷ filledVWAP = 100,364 ÷ 5,000=20.0728
- Excess = Total − filled × RExcess = 100,364 − 5,000 × 20.02=$264.00
- Excess % = (VWAP ÷ R − 1) × 100Excess % = (20.0728 ÷ 20.02 − 1) × 100=0.2637%
Rounded for display; the result uses full precision.
A buy of 5,000 shares walked through the entered ask ladder, lowest price first, fills 5,000 shares across 4 levels for $100,364.00, an average (VWAP) of 20.0728 a share. Measured against the stated touch (best ask) of $20.02, the excess is $264.00 (0.2637%), on the filled shares only. The order fits inside the entered depth, so nothing is left unfilled. Slippage against the touch and against the mid are different numbers for the same fill, so the reference is the one you state. The ladder is the one you enter: nothing is fetched, and no venue or routing is implied.
Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.
Used in these lessons
- Market liquidity and depth: how much the market can absorbLesson 7 · Topic 6 · Financial markets: how they work
- Level 2 quotes and order-book data: the conceptLesson 9 · Topic 13 · Market data literacy
- Market ordersLesson 2 · Topic 29 · Orders and execution
- The order book and how matching worksLesson 7 · Topic 29 · Orders and execution
- Liquidity and depthLesson 8 · Topic 29 · Orders and execution
When it helps
You want to see how an order larger than the first ask level fills level by level, and how much the average price moves from the touch or the mid.
Reading the result
The excess depends on the reference you state: the same fill measured against the touch and against the mid gives two different numbers. Only the shares filled are benchmarked; an order larger than the depth you entered leaves an unfilled remainder, and the book is never extrapolated.
Nothing you enter is saved or sent. Calculators earn no XP.