Implementation Shortfall Calculator

Inputs

Implementation shortfall (basis points)168.00
Total shortfall$8,400.00
Execution cost$3,200.00
Opportunity cost$4,000.00
Execution cost (basis points)64.00
Opportunity cost (basis points)80.00
How this was calculated
  1. Inputs: decision price $50.00, average execution price $50.40, final price $52.00, 8,000 of 10,000 shares filled, explicit costs $1,200.00.
  2. Execution cost = (execution - decision) x filled = $3,200.00; opportunity cost = (final - decision) x unfilled = $4,000.00.
  3. Total shortfall = $3,200.00 + $4,000.00 + $1,200.00 = $8,400.00 against a paper portfolio of $500,000.00.
  4. Implementation shortfall = 168.00 basis points of the paper portfolio.

Every investment decision leaks money between the moment it is made and the moment it is fully traded. Perold's 1988 implementation shortfall measures the leak exactly: compare the paper portfolio that buys instantly at the decision price with the real portfolio that actually got filled, and charge the difference to execution. This calculator splits the shortfall into its three published parts - execution cost on the shares filled, opportunity cost on the shares missed, and explicit costs - and reports the total both in dollars and in basis points of the paper portfolio.

Worked examples

Partial fill in a rising market

(50 $ · 50.4 $ · 52 $ · 8000 · 10000 · 1200 $)

Implementation shortfall (basis points)168.00
Total shortfall$8,400.00
Execution cost$3,200.00
Opportunity cost$4,000.00
Execution cost (basis points)64.00
Opportunity cost (basis points)80.00

Favourable execution, partial fill

(25 $ · 24.8 $ · 23.5 $ · 4000 · 5000 · 300 $)

Implementation shortfall (basis points)-160.00
Total shortfall$-2,000.00
Execution cost$-800.00
Opportunity cost$-1,500.00
Execution cost (basis points)-64.00
Opportunity cost (basis points)-120.00

Thin fill, strong drift

(100 $ · 101.25 $ · 104 $ · 2000 · 4000 · 500 $)

Implementation shortfall (basis points)275.00
Total shortfall$11,000.00
Execution cost$2,500.00
Opportunity cost$8,000.00
Execution cost (basis points)62.50
Opportunity cost (basis points)200.00

The paper portfolio idea

The paper portfolio is a fiction with a purpose. It buys the full order, instantly, at the price showing when the manager decided - the decision price - and never pays a cent of commission. The real portfolio buys late, partially, at worse prices, and pays for the privilege. Implementation shortfall is the return gap between the two, and its power is that nothing escapes it: delay, market impact, a rising market that punishes an unfilled order, and the broker's ticket charge all land in the same number, attributed to the decision rather than to the market's noise.

The first worked example is the canonical case. The decision price is 50.00, the order is for 10,000 shares, and the paper portfolio is therefore 500,000 dollars. The desk fills 8,000 shares at an average of 50.40 while the stock runs to 52.00, and pays 1,200 in explicit costs. The shortfall comes to 8,400.00 - 168.00 basis points of the paper portfolio - and the split between its parts is where the story lives.

  • Paper portfolio: full order, instantly, at the decision price
  • Execution cost is charged on the shares actually filled
  • Opportunity cost is charged on the shares never filled
  • Explicit costs - commissions, fees, taxes - are added last

Execution cost vs opportunity cost

Execution cost is the slippage on what traded: (average execution price - decision price) x shares filled. In the first example that is forty cents on 8,000 shares, 3,200.00, or 64.00 basis points. Opportunity cost is the quieter and often larger term: (final price - decision price) x shares never filled. The 2,000 unfilled shares in the first example missed a rise of 2.00, so opportunity cost is 4,000.00 - 80.00 basis points, more than the execution cost, on an order that was mostly filled. Partial fills in moving markets are where shortfall hides.

The third example is that lesson with the volume turned up. Only 2,000 of 4,000 shares fill, the stock runs from 100.00 to 104.00, and opportunity cost reaches 8,000.00 - 200.00 of the total 275.00 basis points - while execution cost on the filled shares is a comparatively modest 2,500.00. A desk reporting only slippage on filled shares would call that trade cheap. Perold's accounting calls it what it was: an expensive decision, most of whose cost never appeared on any execution report.

Worked examples

Example 1: Decision price 50; Average execution price 50.4; Final (closing) price 52; Shares executed 8000; Shares ordered 10000; Explicit costs (commissions and fees) 1200. Implementation shortfall (basis points) = 168.00. Supporting values: Total shortfall $8,400.00; Execution cost $3,200.00; Opportunity cost $4,000.00; Execution cost (basis points) 64.00; Opportunity cost (basis points) 80.00. Inputs: decision price $50.00, average execution price $50.40, final price $52.00, 8,000 of 10,000 shares filled, explicit costs $1,200.00. Execution cost = (execution - decision) x filled = $3,200.00; opportunity cost = (final - decision) x unfilled = $4,000.00. Total shortfall = $3,200.00 + $4,000.00 + $1,200.00 = $8,400.00 against a paper portfolio of $500,000.00. Implementation shortfall = 168.00 basis points of the paper portfolio.

Example 2: Decision price 25; Average execution price 24.8; Final (closing) price 23.5; Shares executed 4000; Shares ordered 5000; Explicit costs (commissions and fees) 300. Implementation shortfall (basis points) = -160.00. Supporting values: Total shortfall $-2,000.00; Execution cost $-800.00; Opportunity cost $-1,500.00; Execution cost (basis points) -64.00; Opportunity cost (basis points) -120.00. Inputs: decision price $25.00, average execution price $24.80, final price $23.50, 4,000 of 5,000 shares filled, explicit costs $300.00. Execution cost = (execution - decision) x filled = $-800.00; opportunity cost = (final - decision) x unfilled = $-1,500.00. Total shortfall = $-800.00 + $-1,500.00 + $300.00 = $-2,000.00 against a paper portfolio of $125,000.00. Implementation shortfall = -160.00 basis points of the paper portfolio.

Example 3: Decision price 100; Average execution price 101.25; Final (closing) price 104; Shares executed 2000; Shares ordered 4000; Explicit costs (commissions and fees) 500. Implementation shortfall (basis points) = 275.00. Supporting values: Total shortfall $11,000.00; Execution cost $2,500.00; Opportunity cost $8,000.00; Execution cost (basis points) 62.50; Opportunity cost (basis points) 200.00. Inputs: decision price $100.00, average execution price $101.25, final price $104.00, 2,000 of 4,000 shares filled, explicit costs $500.00. Execution cost = (execution - decision) x filled = $2,500.00; opportunity cost = (final - decision) x unfilled = $8,000.00. Total shortfall = $2,500.00 + $8,000.00 + $500.00 = $11,000.00 against a paper portfolio of $400,000.00. Implementation shortfall = 275.00 basis points of the paper portfolio.

Explicit costs and the total

Explicit costs are the visible part: commissions, exchange fees, taxes and ticket charges, entered here as a single dollar figure. They are usually the smallest part - 1,200.00 of the first example's 8,400.00, 500.00 of the third example's 11,000.00 - but they are the only part known with certainty in advance, which is why brokers quote them and why shortfall analysis exists to look past them. The total is the plain sum of the three parts, and the calculator shows each part in dollars before converting, so the composition is never lost inside the headline.

Basis points are the reporting unit because dollars do not travel: 8,400.00 is a large shortfall on a 500,000 paper portfolio and a rounding error on a portfolio a hundred times larger. Dividing by the paper portfolio's value - decision price times shares ordered - gives 168.00 basis points in the first example and 275.00 in the third, numbers that can be compared across trades, brokers, desks and years. Transaction-cost analysis as an industry is, at bottom, the discipline of collecting those basis points honestly.

Reading basis points

A shortfall can be negative, and the second example shows how. The decision price is 25.00; the desk buys 4,000 of 5,000 shares at 24.80 while the stock falls to 23.50. Execution cost is -800.00 - the desk bought below the decision price - and opportunity cost is -1,500.00, because the unfilled shares missed a fall, not a rise. Even after 300.00 of explicit costs the total is -2,000.00, or -160.00 basis points: the real portfolio beat the paper one. Falling markets flatter slow buyers exactly as rising markets punish them, which is why shortfall is averaged over many trades before anyone is judged by it.

Sign discipline matters when reading the parts. Each part is signed by the same convention - a cost to a buyer when prices move against the order - so a negative part is a gain, and the parts can offset: a desk that fills slowly in a falling market books negative opportunity cost while still paying positive explicit costs. The calculator keeps the signs visible in every line rather than netting them away, because the offsetting is itself information about how the order was worked.

Practitioners often meet shortfall through its younger rival, the VWAP benchmark, which grades a fill against the day's average price. VWAP is easier to compute and easier to game - a desk can guarantee a good VWAP grade by trading with the volume curve while the decision bleeds. Perold's measure survives because it is anchored to the decision rather than to the day's trading: it cannot be flattered by patience in a rising market or by volume-weighted camouflage, and its three parts keep pointing at the two decisions - how fast to trade, and whether to complete - that actually cost the money.

What shortfall cannot see

Perold's measure is complete about the trade and silent about everything around it. It does not ask whether the decision itself was good - a brilliant stock pick can carry a dreadful shortfall and a bad pick a negative one. It does not separate the manager's delay from the broker's working of the order, unless the timestamps are kept and the shortfall is decomposed further by hand. And it is benchmarked to one fragile number, the decision price: move the recorded decision moment and the shortfall moves with it, which is why serious TCA fixes the decision timestamp before the order is released.

None of that diminishes the measure; it defines its jurisdiction. Within the life of an order, implementation shortfall is the whole truth - every cent the decision lost to reality is in one of its three parts. The worked examples span its range: a routine partial fill at 168.00 basis points, a flattering fall at -160.00, and a thin fill in a running market at 275.00. A desk that computes it for every order, in basis points, with the parts separated, knows what its decisions cost to express - which is the first thing worth knowing about them.

FAQs

What shortfall does the first worked example give?

168.00 basis points - 8,400.00 in total on a 500,000 paper portfolio.

What is the total shortfall in dollars in the first example?

$8,400.00: execution cost 3,200.00, opportunity cost 4,000.00 and explicit costs 1,200.00.

What is the opportunity cost in the first example?

$4,000.00. The 2,000 unfilled shares missed the rise from the 50.00 decision price to the 52.00 close.

What shortfall does the favourable second example give?

-160.00 basis points. Buying below the decision price in a falling market beat the paper portfolio by 2,000.00.

What is the opportunity cost in basis points in the third example?

200.00 basis points of the 275.00 total - the unfilled half of the order in a market that ran from 100.00 to 104.00.

What shortfall does the third example give?

275.00 basis points, 11,000.00 in total, dominated by the 8,000.00 opportunity cost.

Sources

Related calculators

VWAP Calculator
The volume-weighted average price of a trading session from total value and total shares, with the typical price and how far the close sits from VWAP.
Bid-Ask Spread Calculator
Quoted bid-ask spread in basis points of the midpoint, with the midpoint, dollar spread and the effective spread paid by a trade at a given price.
Roll Spread Calculator
Roll's (1984) implied bid-ask spread from the serial covariance of successive price changes: S = 2 sqrt(-Cov), with the spread as a percent of price, half-spread and one-way cost in basis points.