The objective of an index fund is to exactly replicate the benchmark index by portfolio and returns. Any deviation from this objective is tracked by a mathematical formula called tracking error. A lower tracking error means the fund is tracking the index very well.