Slippage: Measuring the Gap Between a Trading Decision and Execution
For educational purposes only; not investment advice.
Direct answer
Section titled “Direct answer”Slippage is the difference between an execution price and a clearly defined benchmark price. For a buy, an execution above the benchmark is adverse; for a sale, an execution below it is adverse. Slippage can also be favorable. It is not a single market field and cannot be measured until the benchmark, timestamp, side, quantity, and fills are specified.
A useful decision benchmark is the midpoint when an order reaches the broker or market. Other valid benchmarks include the strategy’s decision price, the prevailing best quote, or VWAP over a specified interval. Each answers a different question. Comparing a morning order with the closing price mixes execution quality with market movement.
Where execution cost comes from
Section titled “Where execution cost comes from”The best bid and offer show only the best displayed prices and available sizes at a moment. A marketable buy normally pays the offer; if its quantity exceeds that level, it can trade at successively higher offers. Between decision and fill, quotes can also move because of news, other orders, routing and processing time, or the information inferred from the order itself.
Slippage can contain:
- spread cost: crossing from the midpoint to the opposite quote;
- market impact: consuming displayed or hidden liquidity and causing other participants to reprice;
- delay and drift: price changes while an order is routed, rests, or is split over time;
- fees and rebates: explicit venue and broker economics, if included in the chosen cost measure;
- opportunity cost: the unfilled portion of a decision when price moves away.
For fills Pi and quantities Qi, the volume-weighted execution price is:
average fill = Σ(Pi × Qi) / ΣQi
Using benchmark P0, adverse filled slippage is (average fill - P0) × filled quantity for a buy and (P0 - average fill) × filled quantity for a sale. Implementation shortfall goes further by including commissions and the price change on shares that were never executed. Define the convention before comparing brokers or strategies.
A limit order caps the highest buy price or lowest sale price, but does not guarantee a fill. A market order prioritizes execution but not price. A stop order generally becomes a market order after its trigger; the trigger is not a guaranteed execution price. A stop-limit order controls price after triggering but can remain unfilled.
Order-book example
Section titled “Order-book example”At the decision time, a stock is quoted $49.98 bid / $50.00 offer. The visible offers are 200 shares at $50.00, 300 at $50.05, and 700 at $50.15. A market order to buy 1,000 shares fills 200, 300, and 500 shares at those prices:
average fill = (200 × 50.00 + 300 × 50.05 + 500 × 50.15) / 1,000 = $50.09
Against the $49.99 arrival midpoint, filled slippage is:
($50.09 - $49.99) × 1,000 = $100
Only one cent per share is the initial half-spread; the rest reflects depth and price impact in this simplified book. Real executions can include hidden liquidity, price improvement, cancellations, multiple venues, and quote changes, so displayed depth is not a promise.
Now suppose a trader decides to buy 5,000 shares at a $25.00 midpoint but a $25.02 limit fills only 2,000 shares at $25.01. Filled slippage is just $20. If the other 3,000 shares are abandoned after price reaches $25.40, ignoring the missed shares makes the limit strategy look artificially cheap. Relative to the original decision, the unfilled opportunity component is $0.40 × 3,000 = $1,200, subject to the analyst’s stated convention.
For gap risk, a sell stop at $48 can trigger when the first executable market after news is $42.50. The resulting market order may fill near that market, not $48. The order worked as specified; there simply were no executable prices between the prior close and the reopening market.
Measurement and control checklist
Section titled “Measurement and control checklist”- Save synchronized decision, broker-arrival, routing, acknowledgment, and fill timestamps together with every partial fill.
- Record the quote and depth source. Delayed market data cannot support millisecond execution analysis.
- Normalize slippage in dollars, per share, and basis points of notional; group results by buy/sell side, liquidity, volatility, time of day, and order size relative to volume.
- Report median, high percentiles, and worst observations, not only the average. Execution cost often has a heavy adverse tail around news and halts.
- Compare normal hours with premarket and after-hours separately; participation, spreads, order rules, and depth differ.
- Check the specific option contract rather than the underlying stock’s liquidity. Contract multiplier makes small premium differences economically meaningful.
- Use smaller orders or patient execution only when the reduced impact is worth added timing and non-completion risk. Splitting an order is not automatically cheaper.
- Review confirmations and broker execution-quality disclosures, but do not infer causation from a few fills. Price improvement versus a quote can coexist with poor performance versus the decision price.
- In backtests, vary spread, impact, and fill assumptions with market state and size. A fixed zero-slippage assumption is not a deployable result.
Common misconceptions
Section titled “Common misconceptions”- “The last trade is the price I can receive.” It may be stale, tiny, or on the opposite side; executable price depends on current quotes and depth.
- “Zero commission means zero transaction cost.” Spread, impact, delay, fees, and opportunity cost remain.
- “A limit order eliminates slippage.” It limits fill price, but partial fills, non-fills, cancellation, and later repricing can still create decision shortfall.
- “A stop price guarantees an exit price.” A stop is a trigger; gaps and thin markets can produce distant fills.
- “A 100-share test predicts a 10,000-share execution.” Market impact is nonlinear and available depth changes.
- “Favorable slippage proves good routing.” Market movement may have helped; evaluation needs many comparable orders and consistent benchmarks.
Related topics
Section titled “Related topics”Authoritative sources
Section titled “Authoritative sources”- Trade Execution: What Every Investor Should Know - U.S. Securities and Exchange Commission
- Types of Orders - Investor.gov
- Order Types - Financial Industry Regulatory Authority