If you invested $1000000 in the S&P 500 at the beginning of 2017, you would have about $1,932,780.98 at the end of 2022, assuming you reinvested all dividends. This is a return on investment of 93.28%, or **11.61% per year**.

This lump-sum investment beats inflation during this period for an inflation-adjusted return of about 61.88% cumulatively, or **8.36% per year**.

If you used dollar-cost averaging (monthly) instead of a lump-sum investment, you'd have $1,669,562.91.

The graph below shows the performance of $1000000 over time if invested in an S&P 500 index fund. The returns assume that all dividends are automatically reinvested.

This chart shows the rate of gains and loss by month, including dividends:

The *nominal* return on investment of $1000000 is $932,780.98, or 93.28%. This means by 2022 you would have $1,932,780.98 in your pocket.

However, it's important to take into account the effect of inflation when considering an investment and especially a long-term investment. You can convert S&P returns to their *real* (inflation-adjusted) value using an inflation calculation based on the U.S. Bureau of Labor Statistics Consumer Price Index (CPI).

In the case of the returns described above, the CPI in 2017 was 245.120 and the CPI in 2022 was 292.656.

The ratio between these CPIs describes how relative buying power of a dollar has changed over 5 years.

Adjusted for inflation, the $1,932,780.98 *nominal* end value of the original $1000000 investment would have a *real* return of roughly **$618,841.04** in 2017 dollars. This means the inflation-adjusted return is **61.88%** as opposed to the original 93.28%.

For more information on inflation, see our U.S. inflation calculator for 2017.

The table below shows the full dataset pertaining to a $1000000 investment, including gains and losses over the 72-month period between 2017 and 2022.

Note that data shown is the *monthly average closing price*. Returns include dividends.

Remember, returns are based on the average closing price across the *entire* month. Some losses are offset by dividend returns.

Dollar-cost averaging is an alternative to investing the full lump-sum of $1,000,000.00 up-front. Instead, the capital is invested over a period of time.

Consider a strategy in which $1,000,000.00 was invested in the S&P 500 over a period of no more than 24 months beginning in 2017. This would result in a final amount of $1,669,562.91, including dividend reinvestments. In this particular case, dollar-cost average returns are **less than** the returns of a lump-sum investment (which ends with $1,932,780.98).

The information on this page is derived from Robert Shiller's book, Irrational Exuberance and the accompanying dataset, as well as the U.S. Bureau of Labor Statistics' monthly CPI logs.

Note that S&P index value for the current quarter is based on a moving average of closing prices, per Robert Shiller's methodology. The inflation data used is based on annual CPI averages.

Start Value Average monthly close | $2,275.12 |

End Value Average monthly close | $4,573.82 |

Change in price | +101.04% +14.99% / yr |

Change incl. dividends | +93.28% +11.61% / yr |

Change incl. dividends, inflation-adjusted | +61.88% +8.36% / yr |

Final amount, nominal ($1000000 base) | $1,932,780.98 |

Final amount, inflation-adjusted ($1000000 base) | $1,618,841.04 |