Over the last 30 years the S&P 500 returned 10.3% a year with dividends reinvested. Cash in 3-month Treasury bills, the rate high-yield savings accounts follow, returned 2.3%. After inflation, cash lost a little purchasing power over that stretch while stocks gained 7.5% a year.
That gap has held for a long time. The question people are asking now is different: savings accounts pay 4% or more again, so is the stock market still worth the risk? Here's what the numbers say, including the years that looked like today.
Stocks vs cash over 5 to 50 years
| Period | S&P 500 | Cash (T-bills) | S&P 500 after inflation | Cash after inflation |
|---|---|---|---|---|
| 5 years (2021–2025) | 14.3% | 3.3% | 9.4% | −1.1% |
| 10 years (2016–2025) | 14.7% | 2.2% | 11.1% | −0.9% |
| 20 years (2006–2025) | 10.9% | 1.7% | 8.2% | −0.8% |
| 30 years (1996–2025) | 10.3% | 2.3% | 7.5% | −0.2% |
| 50 years (1976–2025) | 11.9% | 4.3% | 8.0% | 0.7% |
The last five years include 2022, when the S&P 500 fell 18% and T-bills paid 2%. Even so, over every horizon of ten years or longer the S&P 500 finished far ahead, and cash barely kept up with inflation.
Savings rates are 4% now. Does that change the math?
For most of the 2010s savings accounts paid close to nothing. Since 2023 they've paid 4% or more, because T-bills paid 5.3% in 2023, 5.2% in 2024 and 4.2% in 2025. With inflation around 3%, cash finally earns a real return.
The fair test is to look only at the years that resembled now. Since 1928 there have been 39 calendar years when T-bills paid 4% or more, and 25 when inflation was 4% or higher:
| Years when… | S&P 500 | Cash | S&P 500 real | Cash real | Stocks beat cash |
|---|---|---|---|---|---|
| T-bills paid 4% or more (39 years) | 11.4% | 6.5% | 6.6% | 1.8% | 25 of 39 |
| Inflation was 4% or more (25 years) | 6.4% | 5.2% | −1.2% | −2.4% | 13 of 25 |
| All years (98 years) | 10.0% | 3.4% | 6.8% | 0.3% | 66 of 98 |
When cash paid well, stocks still did better on average and beat cash in 25 of those 39 years. High rates narrow the gap. They haven't closed it.
High inflation is a different story. In those years both stocks and cash lost purchasing power on average, and cash lost more. A savings account doesn't protect you from inflation. It protects the number of dollars, which is useful for money you'll spend soon and a poor deal for money you won't touch for 20 years.
An example: $10,000 once, or $500 a month
Take a 25-year-old with $10,000 who wants to leave it for 30 years. The tables below use 2% for the savings account (roughly what T-bills averaged over the last 30 years) and 10% for the S&P 500 (its average since 1928). Both compound monthly, as in the calculator. At today's 4% the savings account does better, but not by enough to change the result: $10,000 at 4% for 30 years grows to about $33,100, against about $198,400 at 10%.
$10,000 invested once
| Year | Savings account (2%) | S&P 500 index fund (10%) | Difference |
|---|---|---|---|
| Year 0 | $10,000 | $10,000 | $0 |
| Year 10 | $12,212 | $27,070 | $14,858 |
| Year 20 | $14,913 | $73,281 | $58,367 |
| Year 30 | $18,212 | $198,374 | $180,162 |
$500 a month for 30 years
Most people don't have a lump sum. They have a paycheck. Saving $500 at the start of every month:
| Savings account (2%) | S&P 500 index fund (10%) | |
|---|---|---|
| Money put in | $180,000 | $180,000 |
| Growth | $66,773 | $959,663 |
| Final balance | $246,773 | $1,139,663 |
The same $180,000 of savings ends about $892,900 apart.
Those tables assume smooth, fixed returns. Real markets don't move in a straight line, so here is what actually happened to the same money over the last 30 years, crashes included:
$10,000 invested once, 1996–2025
Actual year-by-year returns, dividends reinvested, before fees and taxes.
$500 invested every month, 1996–2025
Actual year-by-year returns, dividends reinvested, before fees and taxes.
What about a crash right before you need the money?
It's a fair worry. The S&P 500 fell about 37% in 2008, and anyone who had to sell in early 2009 took the loss.
The answer is to match the money to the timeline. Money you'll need within about three years (an emergency fund, a house deposit) belongs in a savings account, where a 4% rate is a real bonus. Money for retirement 10 or 20 years away belongs in something that grows. Since 1928 the S&P 500 has never lost money over any 20-year period.
What to do with this
- Keep three to six months of expenses in a high-yield savings account and enjoy the rate while it lasts.
- Put long-term money in a tax-advantaged account first: a 401(k) up to the employer match, then a Roth or traditional IRA.
- Automate a monthly transfer into a low-cost S&P 500 fund such as VOO or IVV, so the decision is made once. The S&P 500 DCA calculator shows what steady monthly deposits would have grown to using actual S&P 500 returns.
- When the market drops, don't check your balance every day. Selling after a fall is how a temporary loss becomes a permanent one.
Further reading

The Simple Path to Wealth
By J.L. Collins
A straightforward guide to investing, emphasizing low-cost index funds, debt avoidance, and financial independence. Perfect for those looking to cut through the noise and build wealth simply.
Learn MoreAffiliate link: if you buy through it, WealthSim may earn a commission at no extra cost to you.
For the full decade-by-decade record, see S&P 500 historical returns. To run the numbers with your own amounts, use the S&P 500 investment calculator.
Past returns don't guarantee future results. This article is educational and is not financial advice.
Source: Damodaran, NYU Stern (S&P 500 total return, bonds, gold, T-bills, CPI), 1928–2025.


