Execution Cost Simulator: Worked Examples
The key lesson is which cost term dominates at different order sizes. For small, patient orders the spread dominates; for large orders permanent market impact takes over. These scenarios fix order size, average daily volume, bid-ask spread, daily volatility, and participation rate, then apply the standard impact decomposition: permanent impact scales with volatility times the square root of order-over-volume; temporary impact scales linearly; the spread cost is the half-spread. Participation rate affects duration, not cost.
Worked Examples
See the inputs and outcome together
Each scenario keeps the starting point, the outcome, and the actual lesson in one place so the page reads like a decision notebook, not a data dump.
- 1
Modest order, tight spread
Buying 100,000 shares against a 5,000,000-share daily volume, so 2 percent of ADV, on a tight 5-basis-point spread with 2 percent daily volatility at 10 percent participation.
Permanent 2.83 bps, temporary 0.20 bps, half-spread 2.50 bps, total 5.53 bps ($5,528), duration 78 min.
Side
Buy
Order size / ADV
100,000 / 5,000,000
Spread
5 bps
Daily volatility
2%
Participation
10%
Permanent impact (2.83 bps) and the half-spread (2.50 bps) are the two big terms; temporary impact is rounding error at 2 percent of ADV. For a small, liquid order the cost is roughly the half-spread plus the impact of moving the book a touch.
- 2
Large order, impact takes over
The same name and spread, but a 500,000-share order, now 10 percent of ADV. This is where the square-root impact term dominates.
Permanent 6.32 bps, temporary 1.00 bps, half-spread 2.50 bps, total 9.82 bps ($49,123), duration 390 min.
Side
Buy
Order size / ADV
500,000 / 5,000,000
Spread
5 bps
Daily volatility
2%
Participation
10%
Five times the order does not cost five times the impact; permanent impact rises only to 6.32 bps because it scales with the square root of order size. But total cost jumps to $49,123 on the larger notional, and the order now needs a full trading day. Size hurts through the square root, not linearly.
- 3
Tiny order on a wide spread
A small 10,000-share order, just 0.2 percent of ADV, but on a wide 20-basis-point spread. The spread now dwarfs impact.
Permanent 0.89 bps, temporary 0.02 bps, half-spread 10.00 bps, total 10.91 bps ($1,091), duration 8 min.
Side
Buy
Order size / ADV
10,000 / 5,000,000
Spread
20 bps
Daily volatility
2%
Participation
10%
Here the half-spread of 10 bps is over ten times the impact. For small orders in illiquid names the spread, not impact, is your real execution cost, so patient limit orders that avoid crossing the spread matter far more than slicing for impact.
- 4
Same cost, faster fill
The baseline order from example 1, but executed at 25 percent participation instead of 10 percent.
Total cost unchanged at 5.53 bps ($5,528), but duration drops from 78 to 31 minutes.
Side
Buy
Order size / ADV
100,000 / 5,000,000
Spread
5 bps
Daily volatility
2%
Participation
25%
Raising participation only shortens the fill; the impact terms are identical. In this model speed buys you reduced timing risk, not lower impact, so the participation rate is a risk-versus-time decision rather than a cost decision.
Patterns
Try These Tools
Run the numbers next
Statistical Arbitrage Capacity Calculator
Maximum strategy AUM from signal half-life, daily volume, slippage, fees, and target Sharpe. Square-root impact closed-form.
Order Book Replay Visualizer
Drop a Level-2 CSV and watch the book reconstruct tick by tick. Animated depth bars, best bid/ask, spread over time. Understand microstructure before.
Sources & References
- Optimal Execution of Portfolio Transactions — Almgren, R. and Chriss, N., Journal of Risk (2001)
- Direct Estimation of Equity Market Impact — Almgren, Thum, Hauptmann and Li (2005)
Related Content
Keep the topic connected
Slippage
Slippage as the gap between expected and executed price: the components (spread, market impact, latency), and how to model each in a backtest.
Bid-Ask Spread
Bid-ask spread defined: quoted vs effective vs realized spread, why the touch isn't the cost you actually pay, and how to measure each.
Maker-Taker
Maker-taker fee model: makers get a rebate, takers pay. Why the model exists, what it incentivizes, and how to size up real net cost.