HYSA vs. CD vs. Index Fund: Where Does Compound Interest Work Hardest?
Compound interest is the same math everywhere. What changes is the rate, the risk, and how long the money stays put. Here's how the three most common savings vehicles actually stack up — with real dollar examples and a decision framework for which one to use when.
The Three Vehicles in Plain English
High-Yield Savings Account (HYSA): A regular savings account at an online bank that pays a substantially higher rate than a brick-and-mortar bank — currently around 4–5% APY. FDIC-insured up to $250,000. You can withdraw any time. The rate floats: if the Fed cuts, your yield drops with it.
Certificate of Deposit (CD): A time deposit where you agree to lock up money for a set term (3 months to 5 years) in exchange for a fixed rate. Currently 4–5% APY for 1-year terms at competitive banks. FDIC-insured. Withdrawing early triggers a penalty (typically 3–12 months of interest).
Index Fund:A low-cost mutual fund or ETF that tracks a broad market index — most commonly the S&P 500 or a total stock market index. No guaranteed return. Historical long-run average is roughly 10% nominal / 7% after inflation, but any individual year can be deeply negative. No FDIC insurance; you carry the market risk.
The Same $10,000, Three Vehicles, Three Time Horizons
Start with a lump sum of $10,000, no additional contributions, and let each vehicle compound at a realistic rate. The HYSA earns 4.5%, a 12-month CD ladder rolls at 4%, and the index fund averages 7% after inflation.
| Years | HYSA (4.5%) | CD ladder (4%) | Index fund (7%) |
|---|---|---|---|
| 1 | $10,460 | $10,408 | $10,723 |
| 5 | $12,517 | $12,210 | $14,176 |
| 10 | $15,668 | $14,908 | $20,097 |
| 20 | $24,549 | $22,226 | $40,387 |
| 30 | $38,461 | $33,135 | $81,165 |
Assumes monthly compounding and that rates hold steady. Real HYSA and CD rates float; index returns vary year to year.
After 30 years, the index fund finishes with more than double the HYSA and roughly 2.5×the CD ladder. A 2.5 percentage-point rate difference, compounded over three decades, more than doubles the result. That's where compound interest works hardest — not in any one year, but across long horizons at higher rates.
Adding Monthly Contributions Changes the Spread
Few people park a lump sum and forget it — most are saving every month. Add $500/month to each scenario, same rates, over 30 years:
| Vehicle | Rate | Contributed | Final balance | Interest earned |
|---|---|---|---|---|
| HYSA | 4.5% | $180,000 | $379,700 | $199,700 |
| CD ladder | 4.0% | $180,000 | $347,000 | $167,000 |
| Index fund | 7.0% | $180,000 | $610,000 | $430,000 |
Same $180,000 in. Same 30 years. The index fund finishes roughly $230,000 ahead of the HYSA and $263,000 ahead of the CD. The contributions are identical — every extra dollar comes from the rate working on a steadily growing base.
Why the Rate Gap Matters More Than It Looks
Going from 4% to 7% looks like a small bump. It isn't. Use the Rule of 72 to see why: at 4%, money doubles every 18 years. At 7%, it doubles every 10.3 years. Over 30 years:
- At 4% your money doubles ~1.67 times → ends at about 3.2× the starting amount.
- At 4.5% it doubles ~1.88 times → ends at about 3.7× the start.
- At 7% it doubles ~2.9 times → ends at about 7.6× the start.
An extra doubling is the difference between $1 becoming $4 and $1 becoming $8. That's what the rate spread between a HYSA and an index fund buys you — at the cost of accepting market swings along the way.
The Trade-Offs the Table Doesn't Show
If compound math were the only factor, everyone would pile into index funds. Three things keep the other two vehicles in the picture:
- Liquidity. A HYSA gives you money the same or next business day. A CD locks it up until maturity. An index fund settles in 1–2 days, but you may have to sell at a 30% loss if the market is down when you need it.
- Volatility. The 7% index-fund figure is a long-run average. Actual years range from roughly +30% to −40%. A HYSA never has a losing year. The math above only works if you can sit through the bad ones without selling.
- Taxes.HYSA and CD interest is taxed as ordinary income every year it's earned. Index-fund gains in a taxable account are taxed only when sold, and at long-term capital-gains rates. In a Roth IRA or 401(k), the tax drag disappears entirely — which is exactly where the 7% example actually plays out cleanly.
Match the Vehicle to the Time Horizon
The honest answer isn't “pick one.” It's “use each for what it's good at.” A simple framework:
0–1 years
HYSA
Emergency fund, rent reserves, near-term purchases. Need it tomorrow without taking a loss.
1–5 years
CDs / T-bills
House down payment, planned tuition, known expenses. You know roughly when you'll need it; lock in the rate.
10+ years
Index funds
Retirement, kids' college (if young), long-horizon wealth. The market's ups and downs average out and compounding does its heaviest lifting.
The vehicles aren't in competition. They cover different time horizons. The mistake is parking 10-year money in a HYSA (giving up compounding) or 1-year money in an index fund (taking equity risk you don't need).
Run Your Own Numbers
The tables above use round numbers. Your real situation has a specific starting balance, monthly contribution, and timeline — and the gap between 4% and 7% only gets more dramatic with longer horizons or larger balances.
Plug your numbers into the compound interest calculator three times — once at your HYSA rate, once at a CD rate, and once at 7% — and put the three final balances side by side. The visual is more persuasive than any table.
Then ask: which slice of this money do I actually need in the next year? The rest can go to work in a higher-return vehicle.
Related Tools & Articles
Compound Interest Calculator
Compare HYSA, CD, and index-fund rates side by side
How Long Until Savings Double
Doubling times at HYSA, CD, and stock-market rates
CD vs. Savings Account Calculator
Run a CD and a HYSA side by side with an interactive calculator
Rule of 72 Explained
The mental shortcut behind every rate comparison above
Inflation Calculator
See whether your HYSA actually keeps up with inflation
Frequently Asked Questions
Which has the best compound interest: HYSA, CD, or index fund?
Over the long run, index funds win by a wide margin. At a 7% real return, $10,000 grows to roughly $81,000 in 30 years. The same $10,000 in a 4.5% HYSA grows to about $38,500, and in a CD ladder averaging 4% grows to about $33,100. Higher rates compounded over decades widen the gap dramatically — but index funds carry market risk that HYSAs and CDs don't.
Is a HYSA or CD better for compound interest?
HYSAs and CDs offer similar rates today (roughly 4–5%), but a CD locks the rate in. If you're confident rates are about to fall, a CD captures today's rate for the term. If rates rise, a HYSA tracks up while a CD stays stuck. For pure compounding math at equal rates and equal time, they tie — the difference is rate risk and liquidity.
How much will $10,000 grow in 10 years in each vehicle?
At realistic rates with monthly compounding: HYSA at 4.5% → about $15,670. CD ladder at 4% → about $14,910. Index fund at 7% real return → about $20,100. The index fund pulls ahead by roughly $4,400 over a decade — and the gap compounds.
Should I put my emergency fund in an index fund for higher returns?
No. Emergency funds need to be there when you need them, not at the bottom of a 30% market drawdown. Keep 3–6 months of expenses in a HYSA where principal is FDIC-insured and accessible. Use the index fund for money you won't touch for 10+ years.
Do CDs compound interest?
Yes. Most CDs compound daily or monthly and credit interest to the CD or to a linked account. The APY you see already reflects compounding within the term. The catch is that withdrawing early triggers a penalty — typically 3–12 months of interest — which can wipe out the compounding benefit.
What's the safest way to get higher compound returns?
Split your money by time horizon. Cash you might need this year → HYSA. Cash you're sure you won't touch for 1–5 years → CDs or Treasury bills. Money for 10+ years out → low-cost broad-market index funds in a tax-advantaged account. Each tool compounds best at the right horizon.