# Implementation shortfall

Implementation shortfall is the difference between a trade’s hypothetical value at the decision price and its actual outcome, including execution costs and the cost of unfilled shares.

## What it means

A decision to trade and a completed trade do not necessarily have the same economic result. Implementation shortfall measures the gap between executing the entire intended quantity at a benchmark price and what actually happens. The benchmark is often the price when the decision is made, called the decision or arrival price.

For a buy, paying more than that price increases shortfall; for a sell, receiving less increases it. Commissions and other explicit fees add to the cost. If some shares remain unfilled, their subsequent price movement also matters: the missed opportunity can be a cost or a benefit. The measure is commonly used in transaction-cost analysis to evaluate execution after the fact.

## How it is calculated

For an order evaluated at a chosen end price, one useful signed formula is:

`IS (US$) = s × [Σ(qᵢ × (pᵢ − p₀)) + (Q − Σqᵢ) × (pₑ − p₀)] + C`

- `s` is +1 for a buy and −1 for a sell.
- `Q` is the intended number of shares; `qᵢ` is the number filled in execution `i`.
- `p₀` is the decision-price benchmark in US$ per share; `pᵢ` is execution `i`’s fill price in US$ per share.
- `pₑ` is the price in US$ per share used to value shares still unfilled at the chosen endpoint.
- `C` is total explicit execution costs in US$, such as commissions and fees.
- `Σ` means add the amounts for every fill. `Q − Σqᵢ` is the unfilled share count.

The first bracketed component measures the filled shares against the decision price. The second measures the opportunity cost, or benefit, of the unfilled shares. State the benchmark, endpoint, fees and treatment of unfilled shares when comparing reported figures. Shortfall per intended share is `IS ÷ Q`, in US$ per share; dividing `IS` by `Q × p₀` gives a percentage of intended benchmark value.

## Worked example

The following round numbers are hypothetical. An investor decides to buy 100 shares when the stock is US$50.00. Sixty shares fill at US$50.20, 40 remain unfilled, and the stock is US$50.50 at the evaluation endpoint. Commission is US$2.00.

1. Filled-share cost: `60 × (US$50.20 − US$50.00) = US$12.00`.
2. Unfilled-share opportunity cost: `40 × (US$50.50 − US$50.00) = US$20.00`.
3. Add the commission: `US$12.00 + US$20.00 + US$2.00 = US$34.00`.

The implementation shortfall is US$34.00, or US$0.34 per intended share. Against the US$5,000 intended benchmark value, it is `US$34 ÷ US$5,000 = 0.68%`. This does not mean the investor paid US$34 more for the 60 shares alone: US$20 reflects the measured cost of not completing the intended purchase by the endpoint.

## Why it matters before you trade

Actual shortfall is known only after execution and an evaluation endpoint. Before trading, the concept helps identify potential sources of cost: crossing the bid-ask spread, market impact, commissions, price movement while an order is outstanding, and the possibility of a partial fill. A low estimated cost for filled shares does not by itself account for an unfilled quantity.

An estimate is not a promise of a particular fill or total cost. The benchmark and evaluation horizon can materially change the result, especially when prices move quickly.

## How PreTrAIde uses it

PreTrAIde does not state that it calculates or reports implementation shortfall. Its pre-trade analysis instead estimates execution-related inputs, including bid-ask spread, participation in daily volume and market impact, and provides execution scores and a suggested execution strategy. Those estimates can inform a check of possible costs before an order is placed; they are not an observed shortfall. PreTrAIde does not receive, transmit or execute orders. Its verdicts are decision support, not recommendations.

## Common mistakes

- Treating shortfall as just the difference between a fill price and an arrival price, while ignoring fees or unfilled shares.
- Comparing results that use different decision prices, evaluation endpoints or fee assumptions.
- Assuming a negative result is an error. It can indicate a favorable fill or favorable price movement on unfilled shares.
- Treating a pre-trade estimate as the realized outcome. Actual shortfall depends on fills and the specified endpoint.

---
Source: https://pretraide.com/glossary/implementation-shortfall
