Sub topic 10
Tracking Difference: The Cost of an Index Fund in Practice
This chapter assumes you know what an expense ratio is and how a fee compounds over decades. It also assumes you know that an index fund tries to match a market index. Here you will learn to measure what an index fund actually costs you, which can differ from the number printed in its fee table.
Why the expense ratio is not the whole story
An index fund promises to deliver the return of an index, such as the S&P 500, minus costs. The expense ratio tells you the advertised cost. It does not tell you what happened to your money relative to the index.
Tracking difference is the gap between a fund's return and its index's return over a stated period. It is usually measured as the fund's return minus the index's return, so a negative number means the fund lagged. If an index returned 10.00% in a year and the fund returned 9.94%, the tracking difference is -0.06 percentage points.
Tracking difference is the realized cost of ownership. Because it uses actual results, it includes costs the expense ratio leaves out and gains the expense ratio ignores.
Tracking difference versus tracking error
These two terms are often confused.
- Tracking difference measures the size and direction of the gap, usually as an annual average or a cumulative total. It answers "how much did I lose against the index?"
- Tracking error is the standard deviation of the fund's return differences over many periods, usually monthly or daily differences that are then annualized. It answers "how consistent is the gap?"
A fund can have a small tracking difference and a large tracking error. For example, it might beat its index by 0.3% in one year and lag by 0.3% the next. For long-term investors, tracking difference matters more because it is what reduces your final balance.
What makes up tracking difference
The expense ratio is the largest steady drag for most funds. Several other items push the result up or down.
| Component | Typical effect | What causes it |
|---|---|---|
| Expense ratio | Lowers return | Management and operating costs, deducted daily from fund assets |
| Trading costs | Lowers return | Commissions, bid-ask spreads, and market impact when the fund buys and sells to follow index changes |
| Cash drag | Lowers return in rising markets | Small cash balances held for redemptions and dividends are not invested in the index |
| Sampling error | Lowers or raises return | The fund holds a subset of the index's securities instead of all of them |
| Securities lending income | Raises return | The fund lends shares to short sellers and keeps part of the fee |
| Withholding tax on dividends | Lowers return | Foreign governments tax dividends paid to the fund, often at rates that differ from those assumed in the index |
| Index rules | Raises or lowers return | The index may assume dividends are reinvested the same day at no cost |
Think of tracking difference as roughly: -expense ratio, -trading costs, -cash drag, +securities lending income, +/- tax and sampling effects.
The fund's expense ratio already includes some operating costs but not the trading costs inside the portfolio. Those costs reduce the fund's return and show up only in the tracking difference.
Why a fund can beat its index
A fund's tracking difference can be positive. This usually comes from securities lending. A fund lends some of its holdings to short sellers, who pay a fee. After the fund's lending agent takes a cut, the remaining income goes back to the fund. In a popular fund with many hard-to-borrow shares, this income can cover most or all of the expense ratio.
This is why a fund with a 0.05% expense ratio can show a tracking difference of 0.00% or better. It is also why two funds that follow the same index can have the same expense ratio but different realized results. Funds in markets where borrowing demand is low earn little lending income.
Positive tracking difference is not free money. The fund takes on counterparty and collateral risk when it lends securities. Fund documents describe the collateral rules and how much of the income the fund keeps.
Measuring tracking difference in Python
The calculation uses annual return histories for a fund and its index. In practice you would take them from the fund provider's performance page. The numbers below are made up for illustration.
import statistics
index_returns = [0.1200, -0.0500, 0.2000, 0.0800, 0.1500]
fund_returns = [0.1190, -0.0509, 0.1992, 0.0795, 0.1488]
# Annual tracking difference: fund minus index, one value per year
differences = [f - i for f, i in zip(fund_returns, index_returns)]
average_difference = statistics.mean(differences)
# Tracking error: how much the yearly gap varies
tracking_error = statistics.stdev(differences)
# Cumulative effect: compare growth of $1 in each
index_growth = 1.0
fund_growth = 1.0
for i, f in zip(index_returns, fund_returns):
index_growth *= 1 + i
fund_growth *= 1 + f
years = len(index_returns)
index_annualized = index_growth ** (1 / years) - 1
fund_annualized = fund_growth ** (1 / years) - 1
print(f"Average yearly difference: {average_difference * 100:.3f} points")
print(f"Tracking error: {tracking_error * 100:.3f} points")
print(f"Index annualized: {index_annualized * 100:.2f}%")
print(f"Fund annualized: {fund_annualized * 100:.2f}%")
print(f"Cumulative difference: {(fund_growth / index_growth - 1) * 100:.2f}%")For this data, the fund lags by about 0.09 percentage points a year on average. The cumulative gap over five years is about 0.4%. Suppose the fund's stated expense ratio is 0.05%. The realized gap is then larger than the fee alone, which suggests trading costs and cash drag took another few hundredths of a point.
Notice that the average yearly difference and the gap in annualized returns are close but not identical. Averaging arithmetic differences is a rough summary. Comparing compound growth is what matches your final balance.
Reading published tracking data
Fund companies and independent data providers publish tracking numbers. When you read them, check these points.
- Which return series is used. Compare the fund's net asset value (NAV) return to the index's total return version, not its price-only version. A price-only index ignores dividends and makes the fund look far better than it is.
- Which version of the total return index is used. Many providers publish a gross total return index and a net total return index. The net version subtracts an assumed withholding tax on foreign dividends. A fund compared to the gross version appears to lag more than it truly does.
- Whether the period is long enough. One year of data is noisy. Three-, five-, and ten-year annualized figures are more reliable.
- NAV return versus market price return for ETFs. The NAV is the value of the fund's holdings per share. The market price is what traded on the exchange. They are usually very close, but they can differ briefly. Tracking difference is normally measured on NAV. You pay the market price when you buy.
Costs that tracking difference does not capture
Tracking difference covers costs inside the fund. It does not include costs you pay when you trade shares.
- Bid-ask spread. For ETFs, the gap between the buying price and the selling price is a cost every time you trade. It is small for large, heavily traded ETFs and can be large for niche ones.
- Premium or discount to NAV. If you buy at a price above NAV and sell below it, you lose the difference.
- Brokerage commissions. Most major brokers charge none for ETFs today, but some charge for mutual funds or specific transactions.
- Taxes. Capital gains distributions and dividend taxes are paid by you and do not appear in pre-tax tracking difference.
For a buy-and-hold investor who trades rarely, these costs are spread over many years and are small. For someone trading often, spreads can exceed the fund's annual fee.
Using tracking difference to choose between funds
Two funds on the same index are often close substitutes. Use this order of checks.
- Compare the expense ratios as a first pass.
- Compare long-run tracking difference, preferably five or ten years, against the correct total return index.
- Look at how much of the result depends on securities lending income, which can change.
- For ETFs, check the typical bid-ask spread and how much the fund trades each day.
- Consider tax treatment and structure, covered in the next chapter.
A fund with a slightly higher expense ratio and a consistently better tracking difference can be the cheaper choice in practice. The reverse also happens. A fund with a very low stated fee but poor replication can trail its index by more than its fee suggests.
Common mistakes
- Treating the expense ratio as the tracking difference. They are related but not equal. The tracking difference is what you earned relative to the index.
- Reading one good year as proof of low cost. A single year can be affected by temporary lending income, tax timing, or index changes.
- Comparing funds that track different indexes. An S&P 500 fund and a total market fund have different returns because they hold different stocks, not because one costs more.
- Ignoring the index's own rules. Indexes assume costless, instant trading. No real fund can do that.
Exercise
An index returned 8.00% over a year. Fund A returned 7.93% with an expense ratio of 0.05%. Fund B returned 8.02% with an expense ratio of 0.09%. Find each fund's tracking difference, and explain how Fund B can beat the index despite charging a higher fee.
Show answer
Fund A's tracking difference is 7.93% - 8.00% = -0.07 percentage points. Fund B's is 8.02% - 8.00% = +0.02 percentage points. Fund A lagged by slightly more than its 0.05% fee, so trading costs or cash drag took about 0.02 points. Fund B's expense ratio is higher, but it can still beat the index because other items offset the fee. The most likely one is securities lending income, which can be larger than the fee, and tax treatment of foreign dividends can also add to it. Over one year this could also be temporary, so a longer record is needed before concluding that Fund B is cheaper in practice.
Exercise
Why should you compare an ETF's NAV return to the index's net total return series instead of its price-only series?
Show answer
A price-only index leaves out dividends, so it understates what the index would have delivered. Comparing the fund to it would make the fund look better than it is. The net total return series includes reinvested dividends and subtracts an assumed foreign dividend withholding tax, which is the closest match to what the fund can actually earn.