Index Investing Calculator

Replay history: pick an index, an amount and the dates, and see what your investment would have been worth, month by month, based on what the index actually did.

Index

The S&P 500 tracks 500 of the largest US companies. The Nasdaq Composite is heavier in technology companies and has swung more, both up and down.

Dividends

Many companies in the index pay part of their profits to shareholders as dividends. “Reinvested” uses every dividend to buy more of the index, as a fund investor who reinvests would. “Left out” follows the index level alone.

Inflation

Prices rise over time, so a dollar invested years ago bought more than a dollar does now. “Adjusted” turns every amount into dollars of your end month using the Consumer Price Index, so the gain shows how much more you could actually buy.

Worth in June 2026

$311,453

After 20 years in the S&P 500

You put in
$58,000
Gain
$253,453
437% on what you put in
From reinvested dividends
$72,864
$238,589 without them
Index growth per year
11.4%
dividends reinvested
Biggest fall along the way
-49%
Oct 2007 to Mar 2009

Investing $10,000 plus $200 a month in the S&P 500 from June 2006 to June 2026 would have grown to $311,453, a gain of $253,453 on the $58,000 you put in, with dividends reinvested. Along the way the index fell as much as 49% (Oct 2007 to Mar 2009); investors who kept going through the drop still got this result.

Dividends reinvested. Every dividend buys more of the index, as it would for a fund investor who reinvests. There are no fees or taxes. Our S&P 500 data runs to June 2026.

S&P 500 vs Nasdaq, price only, same dates and amounts

MeasureS&P 500 (your choice)Nasdaq Composite
Worth at the end$238,589$408,545
Gain$180,589$350,545
Index growth per year9.3%13.3%
Biggest fall-50.8%-48.5%
Your investment over time

What you put in, and what it was worth each month as the index moved.

  • Worth
  • You put in
$0$50K$100K$150K$200K$250K$300K$350K20062011201620212026

Year by year

Jun 2006 to Jun 2026

What this calculator assumes

  • With “Dividends: Reinvested”, every dividend buys more of the index in the month it’s paid. We only have dividend history for the S&P 500, so Nasdaq results are always price only.
  • No fees or taxes. Real index funds charge a yearly fee, which lowers the return a little every year, and in a taxable account dividends are taxed in the year they’re paid.
  • The starting amount is invested in the start month; each monthly amount is invested at the end of each following month, at that month’s index level.
  • Each month’s level is the average of that month’s daily closing prices, so moves within a month (including the exact bottom of a crash) aren’t shown.
  • With “Inflation: Adjusted”, each amount is scaled by the Consumer Price Index (CPI-U, all US urban consumers) from its own month to the end month. BLS didn’t publish October 2025, so that month uses the average BLS recommends, of the months either side.
  • Past performance doesn’t tell you what will happen next. The future could be better or worse than any period in the data.

These are estimates to help you understand the numbers, not financial advice. Check the exact figures with your lender or a qualified adviser before making a decision.

Guides on this topic

Frequently asked questions

What is an index fund?

A mutual fund or ETF that tries to match the return of a market index, such as the S&P 500, by holding the same companies. Because nobody is picking stocks, index funds often have lower fees than actively managed funds, though not all of them do, so check the cost before you invest.

Which is better, the S&P 500 or the Nasdaq?

Neither is always better. The Nasdaq Composite leans heavily on technology companies, so it has risen faster in some periods and fallen much harder in others. The S&P 500 is spread across more industries. Try the same dates on both: the comparison table shows the growth and the biggest fall side by side.

Does this include dividends?

For the S&P 500, yes, unless you switch “Dividends” to “Left out”. Reinvesting them adds a lot over long periods: try both settings on the same dates to see the difference. For the Nasdaq Composite we only have the index level, so its results leave dividends out and understate what a fund investor would actually have had.

Is it better to invest a lump sum or monthly?

If markets rise over time, money invested earlier has longer to grow, so a lump sum often ends up ahead. Investing monthly spreads out your timing risk and matches how most people are paid. Try both in the calculator by moving money between the starting and monthly amounts.

Can I lose money in an index fund?

Yes. Index funds rise and fall with the market. In our data (monthly averages), the S&P 500’s price fell more than 40% from its peak three times (1973–1974, 2000–2003 and 2007–2009), and the Nasdaq Composite fell 74% from 2000 to 2002. The “biggest fall along the way” figure shows the worst drop over the dates you picked. People who sold during those drops locked in their losses; people who kept investing got the results shown here.

Does this account for inflation?

It can. Set “Inflation” to “Adjusted” and every amount is shown in dollars of your end month, using the Consumer Price Index from the Bureau of Labor Statistics. What you put in years ago is scaled up to what it would buy today, so the gain and the growth per year show how much more you could actually buy, not just how many more dollars you have.

Does this include fees?

No. Fund fees come out of your return every year, so a fund with a 1% yearly fee would have done noticeably worse than the index over decades. Many broad index funds charge much less than that.