Home » Investing » Index Funds Explained: How They Work, Costs and Risks
A magnifying glass focusing on a pie chart made of diverse building blocks, symbolizing the evaluation of an index fund's weighted holdings and market exposure.

Index Funds Explained: How They Work, Costs and Risks

By Max Fonji

Last reviewed: October 1, 2026

An index fund is an investment fund that seeks to follow a specified market index. It can provide a practical way to hold a portfolio of investments under a defined set of rules. Its usefulness depends on what the index includes, how the fund follows it, what you pay and whether that exposure fits your goals.

Index investing simplifies some decisions, but it does not make returns predictable or remove the possibility of loss. This guide explains the mechanics and uses worked examples to show how weighting, fees and contributions affect the numbers.

What is an index fund?

A market index measures the performance of a defined group of investments. An index fund attempts to deliver a similar investment result, before or after the adjustments described in its objective and disclosures. You purchase shares of the fund; you cannot invest directly in the index itself.

An index fund can be structured as a mutual fund or an exchange-traded fund. “Index” describes the investment approach, while “ETF” describes a fund structure. An ETF can also be actively managed. The SEC explains these distinctions in its index-fund definition.

For the trading mechanics, see how ETFs work. For a comparison of structures, see ETFs vs. mutual funds.

How an index fund follows its benchmark

The index provider sets rules for selecting investments and assigning weights. The fund manager implements the fund’s strategy within those rules and its own prospectus.

  • Full replication: the fund seeks to hold the index’s constituents in corresponding weights.
  • Sampling: the fund holds a selection intended to represent the index’s characteristics.
  • Ongoing implementation: the manager handles cash flows, distributions, index changes and trading.

A fund does not need to hold every constituent to be an index fund. Sampling, operating expenses and trading costs can cause its results to differ from the benchmark. The SEC’s index-fund overview discusses those limitations.

Passive management still requires operational decisions. It does not mean there are no people managing the portfolio, no transactions or no costs.

Why weighting rules matter

Two indexes can contain similar companies and give investors different exposures because they assign different weights. Market-capitalization weighting generally assigns more weight to larger companies; equal weighting aims to assign similar weights at specified rebalancing dates. Some indexes also use caps, screens or other selection rules.

The S&P 500 is a large-company U.S. stock index with eligibility and selection rules. It is not simply an automatic list of the 500 largest stocks. S&P describes its index family and float-adjusted weighting in its U.S. indices methodology and S&P 500 overview.

The Rich Guy Math: a three-company index

Imagine an index based on these simplified market values:

Hypothetical market-capitalization weights
CompanyMarket valueIndex weight
A$60 billion60%
B$30 billion30%
C$10 billion10%

Total market value is $100 billion. Company A’s weight is $60 billion ÷ $100 billion = 60%. A hypothetical $1,000 position following these weights would have approximately $600 of exposure to A, $300 to B and $100 to C.

If A falls 20% while B and C are unchanged, the index loses 12%: 60% × 20% = 12%. Having three holdings did not make each holding equally important.

Price changes can alter market-cap weights without a trade. That does not mean every index adjustment is costless: changes in constituents, shares, eligibility or methodology can require trading.

Common types of index funds

Choose the exposure before comparing fund costs
TypeExposure to investigateA question to ask
U.S. total stock marketCompanies across market-size groups, as defined by the benchmarkHow much weight still sits in the largest companies?
U.S. large-company stocksA selected large-cap segmentDo I also need exposure outside that segment?
International stocksSpecified countries outside the domestic marketDoes it include emerging markets, and is currency exposure hedged?
BondsDebt selected by issuer, credit quality, maturity or other rulesWhat are the duration and credit risks?
Sector, factor or themeA narrower group or a particular investment characteristicHow concentrated is the resulting portfolio?

A bond index fund can lose value when interest rates rise or credit conditions deteriorate. The word “bond” does not guarantee a stable share price or fixed payout. See FINRA’s bond-risk explanation.

Diversification reduces dependence; it does not erase risk

Broad funds can spread exposure across many issuers. Nevertheless, a large holding, a dominant sector or a common economic risk can influence the entire fund.

Owning several funds can also repeat the same exposure. For example, adding a large-company U.S. stock fund to a total U.S. stock market fund may increase exposure to companies already held. FINRA recommends checking the underlying holdings when assessing concentration and overlap.

In a hypothetical portfolio, 70% is invested in a broad fund with 30% technology exposure, and the remaining 30% is in a technology-only fund. Total technology exposure is approximately:

(70% × 30%) + (30% × 100%) = 51%.

The portfolio has two fund names but more than half its value depends on one sector in this simplified example. Portfolio weights reveal more than the number of funds.

Tracking difference and tracking error are different measures

Tracking difference is the gap between a fund’s return and its benchmark return over a specified period. If the benchmark earns 8.00% and the fund earns 7.92%, the fund trails by 0.08 percentage points, or eight basis points.

Tracking error, in its statistical usage, measures how variable those return differences are across observations, commonly through an annualized standard deviation. It is not another name for the expense ratio.

A fund could trail by a fairly consistent amount and have low tracking error, while another fluctuates above and below the benchmark. Vanguard discusses the measurement in its explanation of bond-index implementation.

Compare identical dates, currencies and return conventions. A dividend-reinvested fund return and a price-only index return do not measure the same thing. An occasional return above the benchmark does not change an index fund’s tracking objective.

The Rich Guy Math: isolate the effect of fees

To measure a fee difference, hold the other assumptions constant. Giving one fund a higher gross return and then attributing the entire result to lower fees mixes two separate effects.

Consider a hypothetical $10,000 investment held for 30 years. Both portfolios earn an assumed 7% gross return each year. One has an annual fee of 0.05%, the other 1.00%. There are no contributions, taxes or other charges.

For this simplified model, deduct the fee once at year-end after growth:

Ending value = $10,000 × [(1 + 0.07) × (1 − annual fee)]30.

Hypothetical fee comparison with identical gross returns
Annual fee assumptionEnding value
0.05%$74,988.95
1.00%$56,307.88
Difference$18,681.07

The difference includes the modeled charges and the growth forgone on money removed by those charges. It is not simply “total fees paid.” Actual fund expenses accrue through fund assets rather than through this once-a-year illustration.

The example does not predict returns or represent a universal index-versus-active comparison. Actual funds have different portfolios and costs. The SEC’s fund-fees bulletin explains why the prospectus and additional transaction costs matter.

How regular contributions change a growth scenario

Suppose you start with $0 and invest at the end of each month for 30 years. Assume a constant 6% effective annual return after fund expenses and before taxes. The equivalent monthly rate is (1.06)1/12 − 1.

Illustrative accumulation with 360 end-of-month contributions
Monthly contributionTotal contributedModeled ending value
$500$180,000$487,256.49
$600$216,000$584,707.78

The additional $100 per month contributes $36,000 more and increases the modeled ending value by $97,451.30 before rounding the displayed balances. The extra contribution is under your control; earning a steady 6% is an assumption.

Real returns vary, losses can occur, and inflation reduces future purchasing power. Explore other assumptions with our compound interest calculator guide. Match its rate convention to the scenario you want to model.

Index funds and taxes

Low turnover does not make a fund tax-free. In a taxable account, dividends and capital-gain distributions can be taxable even when you do not sell your own shares. A sale can also realize a gain or loss. Reinvesting a distribution generally does not remove its taxable character.

However, the fund’s specific structure plays a role. Because of how ETF shares are created and redeemed (an “in-kind” process), ETF index funds generally distribute fewer capital gains to their shareholders than mutual fund index funds do.

Unrealized price appreciation is generally different from a realized gain; it is misleading to say all capital gains are taxed annually. Retirement accounts have their own rules. See IRS Publication 550 and its explanation of investment income and distributions.

Do not estimate an exact after-tax advantage from turnover alone. You would also need the actual distributions, tax classifications, account type and investor’s tax circumstances.

How to evaluate an index fund

  1. Identify the job. Decide which exposure you need and when the money may be required.
  2. Read the index rules. Check eligible investments, weighting, exclusions and rebalancing.
  3. Inspect the fund. Review its largest holdings, sector or country weights and implementation approach.
  4. Compare total ownership costs. Include operating expenses and applicable account or transaction charges.
  5. Review comparable results. Use the same benchmark, dates and total-return conventions.
  6. Check portfolio overlap. Determine what it adds to the investments you already own.

A low-cost fund following an unsuitable index remains an unsuitable exposure. For ETF-specific comparison details, use how to choose ETFs; for the broader planning decisions, start with Investing for Beginners.

Frequently asked questions

What is the best index fund?

There is no universal choice. First choose the intended exposure, then compare funds tracking that exposure by costs, implementation, access and fit with the rest of your portfolio.

Are index funds guaranteed to beat active funds?

No. Lower costs help when other results are equal, but actual portfolios and returns differ. Historical comparisons need a defined category, benchmark, time period and methodology; a single percentage cannot describe every market.

Can I lose money in a broad index fund?

Yes. Broad exposure can reduce dependence on one issuer while still exposing you to substantial market declines. A long holding period does not guarantee recovery by the date you need the money.

Does an index fund rebalance my entire portfolio?

No. The fund follows its own mandate. If you hold separate stock and bond funds, their changing values can alter your overall allocation even while each fund tracks its own index.

How much money do I need to start?

Check the fund and platform. Mutual funds can have minimum initial investments; ETF purchases can require a whole share unless the broker supports fractional shares. Account rules and fees are separate considerations.

Editorial Note: This guide was researched using SEC and FINRA explanations, S&P’s index documentation, Vanguard’s discussion of tracking measurements and IRS investment-income guidance. The weighting, fee and contribution examples were calculated from the assumptions printed beside them. They are illustrations rather than historical backtests or forecasts. This article does not rank named funds or assume that a particular return, tax saving or recovery period will occur. Review the fund’s current prospectus before relying on its costs or strategy.