Sub topic 5
Tracking error: how consistently the fund follows its index
This chapter assumes you know how tracking difference is calculated (the previous chapter), what a monthly percentage return is, and what a standard deviation measures. You should also be comfortable reading short Python.
Tracking difference tells you how far a fund fell behind its index. Tracking error tells you how reliably it stays that distance behind. These are separate questions, and a fund can do well on one and badly on the other.
What tracking error measures
Tracking error is the standard deviation of the fund's period-by-period return gaps relative to its index. Each period's gap is called the active return:
active return = fund return − index return
A standard deviation measures spread around an average. Tracking error therefore describes how much the gap wobbles from period to period. It does not describe the size of the average gap.
Two consequences follow:
- A fund that trails its index by exactly 0.03% every month has a tracking error of zero. Its gap never varies, even though it always loses.
- A fund whose gap swings between +0.10% and −0.10% around zero has a high tracking error, even though it ends up level with its index.
Tracking difference answers "how much did I lose?" Tracking error answers "how surprised could I be?"
The calculation step by step
- Collect fund returns and index returns for the same dates, at the same frequency, in the same currency.
- Subtract to get one active return per period.
- Take the sample standard deviation of those active returns (divide by n − 1).
- Annualize by multiplying by the square root of the number of periods per year.
| Return frequency | Periods per year | Annualization factor |
|---|---|---|
| Monthly | 12 | √12 ≈ 3.46 |
| Weekly | 52 | √52 ≈ 7.21 |
| Daily | 252 | √252 ≈ 15.87 |
The square-root rule assumes the gaps are independent from one period to the next. If gaps are correlated, for example because a fee accrues slowly and is then settled, the result is only approximate.
The chapter's code uses monthly returns. The next section shows it on two funds with the same average gap but different consistency.
Same gap, different consistency
The function below returns the cumulative gap, the average gap per period, and the annualized tracking error. Fund A trails its index by a constant 0.03% per month. Fund B has the same average gap, but its gap swings above and below that level.
import statistics
def cumulative(returns):
total = 1.0
for r in returns:
total *= 1 + r
return total - 1
def tracking_stats(fund, index, periods_per_year):
if len(fund) != len(index):
raise ValueError("Return series must cover the same periods.")
if len(fund) < 3:
raise ValueError("Need at least three periods.")
active = [f - i for f, i in zip(fund, index)]
return {
"tracking_difference": cumulative(fund) - cumulative(index),
"mean_active": statistics.mean(active),
"tracking_error": statistics.stdev(active) * periods_per_year ** 0.5,
}
index = [0.010, -0.020, 0.030, 0.005, -0.010, 0.015,
0.020, -0.005, 0.012, -0.015, 0.008, 0.010]
# Fund A: constant 0.03% monthly shortfall.
fund_a = [r - 0.0003 for r in index]
# Fund B: same average shortfall, but the gap wobbles around it.
noise = [0.0010, -0.0010, 0.0008, -0.0008, 0.0012, -0.0012,
0.0005, -0.0005, 0.0010, -0.0010, 0.0003, -0.0003]
fund_b = [r - 0.0003 + n for r, n in zip(index, noise)]
for name, fund in [("Fund A", fund_a), ("Fund B", fund_b)]:
s = tracking_stats(fund, index, 12)
print(f"{name}: difference {s['tracking_difference']:.3%}, "
f"mean monthly gap {s['mean_active']:.4%}, "
f"tracking error {s['tracking_error']:.3%}")Fund A prints a tracking error of 0.000%, because its gap never changes. Fund B prints about 0.31%, because the noise has a monthly standard deviation of roughly 0.09%, and multiplying by √12 gives the annual figure. Both funds show nearly the same tracking difference, a little under 0.4% over the year. The cumulative figures differ slightly because of compounding.
A tracking difference table alone would rank these funds as equals. Tracking error is what separates them.
Why a fund's tracking error is not zero
A fund's gap varies from period to period for several reasons. Some of these also affect tracking difference, which later chapters cover in detail.
- Sampling. A fund that holds a subset of the index stocks will deviate whenever the unheld stocks move differently from the held ones.
- Cash and timing. Dividends arrive in cash before they are reinvested, and index changes are traded at prices that differ from the index's assumed prices.
- Securities lending income. Lending income arrives unevenly, which makes the gap bumpy.
- Withholding tax. The index may assume a different tax rate on dividends than the fund actually pays. This creates a lump at each dividend season.
- Pricing differences. The fund's net asset value (NAV, the per-share value of its holdings) may be struck at a different time from the index close. This is common for funds that hold foreign markets.
- Fees. A fee accrued evenly each day adds almost no variance. This is why a high-fee fund can still show low tracking error.
The last point is the main reason to read both measures. A low tracking error says nothing about costs.
Reading the number
There is no universal "good" tracking error. It depends on the index and the replication method.
- A large-cap fund using full replication, where it holds every index stock in index weights, typically shows annualized tracking error of a few hundredths of a percent to about 0.1%.
- A fund that samples a broad or less liquid index, such as small caps, emerging markets, or bonds, may reasonably show several tenths of a percent.
- A synthetic fund, which gets index returns through a swap with a bank, can show very low tracking error. It carries counterparty risk that tracking error does not measure.
Compare funds against the same index and over the same window. A 0.20% tracking error is poor for a fund on a large-cap developed-market index and ordinary for one tracking a broad emerging-markets index.
Practical pitfalls
Use enough data. A standard deviation from 6 months of data is noisy. Prefer 36 months or more, and look at whether the figure is stable across sub-periods.
Match the index version. Use the net total return index that matches the fund's tax assumptions. Comparing a fund to a price index, which ignores dividends, produces a large and meaningless gap. Comparing it to a gross total return index adds a tax-related gap that is not the fund's fault.
Match dates and currency. Align fund and index series to the same calendar dates and the same currency. A currency mismatch can dominate the result.
NAV versus market price. For an ETF, there are two return series. Returns calculated from NAV measure how well the fund tracks its index. Returns calculated from the market price also include premiums and discounts to NAV, which the trading costs chapter covers. For judging the manager, use NAV. For judging your own experience as a buyer, use market price.
Past is not future. What you compute is realized, or ex-post, tracking error. Some providers also publish an ex-ante figure, a model's forecast of future tracking error. The two are not interchangeable.
The measure ignores the mean. Because standard deviation is measured around the average gap, a large steady shortfall does not register. If you want one number that includes both bias and variability, some analysts use the root mean square of the gaps. The convention in factsheets is the standard deviation, so use that for comparisons unless told otherwise.
Using tracking error in a decision
Tracking error is most useful for choosing between two funds on the same index. Read it together with tracking difference.
| Case | Tracking difference | Tracking error | Reading |
|---|---|---|---|
| 1 | Small shortfall | Low | Cheap and consistent. The best case. |
| 2 | Small shortfall | High | Cost is acceptable, but results vary. Investigate the cause. |
| 3 | Large shortfall | Low | Predictable and expensive. Likely a fee issue. |
| 4 | Large shortfall | High | Costly and unreliable. Avoid unless there is a special reason. |
A fund in case 2 may be fine if the noise has a clear, harmless source, such as a valuation time-zone mismatch that reverses the next day. A noisy fund with an unexplained cause deserves more caution.
For a long-term holder, tracking difference matters more than tracking error, because the cumulative shortfall compounds. Tracking error matters more when you rebalance on specific dates, hold the fund as part of a hedge, or need predictable results against a benchmark.
Exercise
Fund X has a tracking difference of −0.30% per year and an annualized tracking error of 0.03%. Fund Y, on the same index, has a tracking difference of −0.10% per year and an annualized tracking error of 0.40%. A long-term investor holding for 20 years must pick one. Which fund do the numbers favour, and what should the investor check before deciding?
Show answer
Over a long holding period the average shortfall compounds, so Fund Y's smaller average loss favours it: about 0.20% per year better, which is roughly 4% of ending value over 20 years. Fund Y's higher tracking error means its yearly results vary more around that average, but if the noise averages out over a long horizon it matters less. Before deciding, the investor should check why Y's gap is so variable (sampling, pricing times, one-off events), whether the 0.10% shortfall is stable across sub-periods rather than the result of a single lucky year, and whether the two figures use the same index, dates, currency, and NAV-based returns. If Y's variability comes from a clear, harmless cause and its average is stable, Y is the better choice. If it has no explanation, the investor should be cautious.