Slippage
- Category
- Trading Fundamentals
- Level
- Professional
Simple definition
The difference between the price you expected and the price you actually got. In a thin or fast market, a market order can fill well away from the price on the screen.
Professional definition
The signed gap between the realised execution price and a chosen reference — the quote at decision time, the arrival mid, or the price assumed in a backtest. It combines crossing the spread, walking the book for size, and any drift between decision and fill.
Technical definition
Measured as the relative deviation of the size-weighted fill price from the reference, signed so that a positive number is always adverse. Its components separate: the spread cost is deterministic given the quote, the depth cost follows from the levels consumed, and the delay cost is the drift between decision and arrival. On an automated market maker the depth component is a deterministic function of the pool curve, which is why a tolerance can be set in advance there but only estimated on an order book.
Academic definition
The realised deviation of transaction price from a decision-time reference price, conventionally signed against the trader and decomposed into spread, market-impact and delay components.
Mechanism
A market order consumes resting liquidity from the best price outward, so each additional unit fills worse than the last and the final price is the size-weighted average of the levels consumed. Anything that reduces resting depth — volatility, news, a quiet session, a cancelled quote — makes the same order sweep further. Slippage is the price of demanding immediacy, and it grows with size and urgency.
In practice
- Who uses it
- Execution desks, systematic and algorithmic traders, and anyone whose backtest assumed fills at the closing price.
- Why it matters
- It is usually the largest under-modelled cost in a frequent or large-size strategy, and it is most of the gap between a backtest curve and a live one.
- Limitations
- The figure depends entirely on the reference price chosen, so two desks can report different slippage for the same fill. It is only measurable after execution.
Common mistakes
- Backtesting at the close price with no slippage assumption.
- Measuring slippage against a mid taken after the trade.
- Setting a wide tolerance just to guarantee a fill.
Examples
A market order sent into the seconds after an economic release finds the book half as deep as it was. The fill arrives several ticks away, and the trade is already behind by more than the strategy's average expected gain.
A 100-unit buy expects the best ask of 100.00, but only 50 units rest there, 30 at 100.05 and 20 at 100.20. The average fill is 100.055, so slippage is 5.5 basis points against the trader.
- buy market order for 100 units
- reference price = best ask 100.00
- resting depth: 50 at 100.00, 30 at 100.05, 20 at 100.20
- cost = 50 x 100.00 + 30 x 100.05 + 20 x 100.20 = 10,005.50
- average fill = 10,005.50 / 100 = 100.055
- slippage = (100.055 - 100.00) / 100.00 = 0.00055
- in basis points: 5.5
Only the first 50 units filled at the screen price. The rest paid for depth, and fees are additional.
Mathematical foundation
Variables
| P_{fill} | Size-weighted average execution price across all partial fills | price units |
| P_{ref} | Reference price, stated explicitly: decision quote, arrival mid, or backtest price | price units |
| d | Direction indicator: +1 for a buy, -1 for a sell | dimensionless |
| \text{Slippage} | Relative execution shortfall; positive means a worse fill than the reference | fraction or bp |
Procedure
Fix and record the reference price before sending the order. After execution, compute the size-weighted average fill across all partials. Take the relative deviation from the reference and multiply by the direction indicator, so a positive result always means the fill was worse than expected. Multiply by 10,000 to report basis points.
Worked example
- buy 100 units
- P_ref = 100.00
- fills: 50 at 100.00, 30 at 100.05, 20 at 100.20
- notional = 10,005.50
- P_fill = 100.055
- (100.055 - 100.00) / 100.00 = 0.00055
- d = +1
Interpretation
A positive figure is money lost to execution relative to the reference, as a fraction of price. It is a realised cost for one order, not an expected value: the same order repeated into a different book gives a different number.
Assumptions
- The reference price must be stated. The quote at decision time, the arrival mid, the close used in a backtest and the VWAP over the execution window all give different numbers, and no single convention is universal.
- P_fill is the size-weighted average over all partial fills, not the first or the last print.
- This sign convention makes a positive number adverse; some systems instead report a signed deviation in which a negative number is a favourable fill, so reports are not comparable without the convention.
- Fees, funding and borrowing costs are separate line items and are excluded here.
- Only observable after execution, so before trading it must be modelled from depth and volatility rather than measured.
- The split into spread, impact and delay components depends on the timestamps a venue provides, which vary.
- On an order book the realised figure also depends on how the order was worked, so it measures the execution method as much as the market.
Related terminology
- related
- Bid-Ask Spread Market Depth Order Book Order Types Liquidity Backtesting Automated Market Maker
Bid-Ask Spread
The spread is a property of the book before you trade, visible in advance. Slippage is a property of your fill, known only afterwards, and it includes the spread as one of its components.
Sources
CME Group · sections on order types and execution quality
https://www.cmegroup.com/content/dam/cmegroup/education/files/a-traders-guide-to-futures.pdf URL verified
BIS · sections on crypto trading venues, fragmentation and execution costs
https://www.bis.org/publ/othp72.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
