The standard explanation — "an index fund tracks the market" — is accurate and nearly useless. It doesn't tell you how the tracking works, why index funds consistently outperform most active alternatives over long horizons, or what you actually own when you buy one.
The engineering framing is more precise: an index fund is a replication system. The objective is to match a target benchmark's return with minimum tracking error and minimum cost. How that replication is implemented, and what it costs, determines whether the fund is actually useful.
Start with the index itself, because most people have the wrong mental model of what they are replicating.
What a Market Index Actually Is
A market index is not a basket of equally-weighted companies. The S&P 500 holds 500 companies, but the effective exposure is heavily concentrated in the largest ones. Each company's weight equals its market capitalization divided by the total market cap of all 500 companies combined.
In practice, the ten largest holdings can represent 30-35% of the entire index. The 250th company might account for 0.05% of your exposure. The 1st company might account for 7%. Buying "the market" means owning a lot of the biggest companies and progressively less of everything below them.
Market-cap weighting has one useful mechanical property: it is self-adjusting. Companies that grow larger become more heavily weighted automatically, without any trading required. When a company shrinks, so does its weight. This keeps transaction costs low and makes the index easy to replicate, but it also means the index tilts toward whatever has already appreciated the most.
How a Fund Replicates an Index
There are two replication approaches. Full replication holds every security in the index at its exact weight, continuously rebalanced as market caps shift and the index composition changes. Sampling holds a representative subset: the largest positions in exact proportion, smaller positions approximated. For the S&P 500, full replication is tractable; indices with thousands of securities or illiquid constituents often rely on sampling.
The measure of replication quality is tracking error: the standard deviation of the difference between the fund's daily return and the index return. For a well-managed large-cap index fund, annual tracking error is typically 0.01-0.05%. The expense ratio creates a predictable and expected performance gap below the index; genuine tracking error beyond that is the quality metric to watch when comparing funds.
One mechanism that partially offsets expenses is securities lending. Index funds often lend their holdings to short sellers in exchange for a fee. For large funds holding heavily-shorted securities, that income can cover a meaningful fraction of the expense ratio, sometimes reducing the effective cost below the stated rate.
The Cost That Compounds
The expense ratio is a guaranteed first-order deduction from gross return, applied every year regardless of performance. It does not give up when markets are down. At 7% gross and a 0.03% expense ratio, net return is 6.97%. At 0.75%, net return is 6.25%. A 0.72 percentage point difference.
That gap compounds. On a $50,000 starting balance with $6,000 in annual contributions over 30 years, the difference between 0.03% and 0.75% accumulates to roughly $100,000 in final portfolio value. The tool below lets you adjust the inputs; the cumulative impact is almost always larger than it appears from the annual percentage alone.
The expense ratio is also not the full cost in a taxable account. Portfolio turnover generates capital gain distributions: when a fund sells appreciated securities, shareholders receive a taxable distribution even if they sold nothing. Active funds typically run 50-100% annual turnover — large-cap index funds are often below 5%, since index composition changes infrequently. In the 24% federal bracket, substantial gain distributions from a high-turnover fund add meaningful drag that does not appear in the stated expense ratio.
Adjust the expense ratios and time horizon to see how the cost differential compounds. Fund A defaults to a typical index fund; Fund B defaults to the low end of the active fund range.
What You Actually Own
Market-cap weighting creates concentration at the top. In the S&P 500, the ten largest companies by market cap typically account for 30-35% of total index weight. "Diversified across 500 companies" and "equally diversified across 500 companies" describe very different portfolios. You likely own the former, though there are equally-weighted funds available for many indexes.
However, this may not be a flaw to correct. Large companies are large because they have generated returns, and owning more of them is a mechanical consequence of tracking that market signal. But it is worth understanding the position you hold: an S&P 500 index fund is a bet on US large-cap equities, skewed toward its largest constituents at any given time.
The S&P 500 is also not the economy. It covers the 500 largest US public companies by market cap, excluding small-cap stocks, private companies, and all non-US markets. A total market index fund extends coverage to small and mid-cap names but remains US-only and market-cap weighted throughout. International exposure requires a separate allocation. None of these are flaws in the instrument; they are positions you hold deliberately once you understand the mechanics.
Where Index Funds Show Up
Once you understand the mechanics, the questions that follow are portfolio construction decisions: which index, which account type, which provider.
• 401k and IRA equity core — the S&P 500 or total market fund is the right default for the equity allocation in most tax-advantaged accounts; it establishes a low-cost baseline that active fund selection has to beat
• Taxable account equity — where tax efficiency matters most; low-turnover index funds have a meaningful structural advantage over high-turnover active funds through reduced capital gain distributions
• International allocation — total international index funds extend the same logic globally; a reasonable allocation is 20-40% of total equity depending on conviction about US vs. international valuations
• Factor tilts — small-cap value indices, dividend indices, and sector funds allow systematic factor exposures without individual stock selection
• Fixed income — bond index funds are reasonable, though the active-versus-passive case is less decisive in fixed income than in equities
Each of these gets its own treatment on this site. The mechanics are consistent throughout: define a target, track it at minimum cost, and let the math work over time.
Takeaways
• A market index is not an equal-weighted basket; market-cap weighting means the largest companies dominate the effective exposure
• Before costs, active management in aggregate must match passive management in aggregate; after costs, it must underperform — this is arithmetic, not opinion
• The expense ratio is a compounding headwind applied every year against an ever-larger balance; the cumulative impact is substantially larger than the annual percentage implies
• In taxable accounts, portfolio turnover creates additional tax drag that does not appear in the expense ratio; the full cost gap between low- and high-turnover funds is wider than stated fees suggest
• The S&P 500 is not the economy: it is a US-only, large-cap, market-cap-weighted portfolio, and treating it as a complete picture of diversification understates the positions you are implicitly taking