Compound investment calculator
Free compound investment calculator for index funds, 401(k)s, and monthly contributions. Project portfolio growth at historical S&P 500 rates with visual charts. No sign-up.
Popular scenarios (with exact numbers)
Each link opens a dedicated page with year-by-year breakdown, the underlying math, and variations.
See all 50 compound interest questions answered or use the inverse calculator to solve for the monthly contribution needed to hit your goal.
Key terms (used throughout this page)
- Compound return
- Geometric return when gains reinvest. Each year's return compounds the previous year's balance.
- Nominal vs real return
- Nominal = headline %. Real = after inflation. S&P long-run ≈ 10% nominal / 7% real.
- Dollar-cost averaging
- Fixed amount invested on schedule regardless of price. The "monthly contribution" field models exactly this.
- Expense ratio
- Annual fund fee. Index funds 0.03-0.20%; active 0.5-2%. A 1% fee costs ~25% of final wealth over 30 years.
What is compound investing?
Compound investing is the process of reinvesting your investment returns so they generate additional returns over time. Unlike simple interest (where you only earn on the original principal), compound investing means returns earn returns. Over 20-40 years, this snowball effect dominates: $500/month invested at 8% for 30 years grows to about $745,000, of which only $180,000 came from contributions — the other $565,000 is purely compound growth.
How compound investing builds wealth
Compound investing is the engine behind every long-term wealth story. When you invest in broad-market index funds or a diversified portfolio, three things happen simultaneously: your principal earns returns, your returns earn returns, and your regular contributions stack on top of both. Over 20-40 years, this compounds into numbers that look impossible when you start.
The math everyone misses: $500/month at 8% for 30 years = ~$745,000. Your contributions total only $180,000. Compound returns generate the other 76% of the final value. Starting 10 years later with double the contribution still loses — see the cost-of-waiting index.
What return rate should I use?
- S&P 500 historical average: ~10% annually (nominal, before inflation). Roughly 7% after inflation.
- 60/40 stock-bond portfolio: ~7-8% nominal historically. Lower volatility than 100% stocks.
- Aggressive all-stock (US + international): 8-10% nominal over 30+ year periods.
- Conservative (mostly bonds): 3-5% nominal. Appropriate for near-retirement.
- Real return (inflation-adjusted): Use 5-7% for "what will this actually buy" projections. See our inflation-adjusted calculator.
Use 7-8% as a reasonable default for long-term projections. Set aggressive (10%) only if you're young, 100% stocks, and stomach volatility. Always model a conservative scenario too — markets don't deliver smooth averages.
Compound investment growth examples
| Starting | Monthly | Rate | Years | Final value |
|---|---|---|---|---|
| $0 | $500 | 10% | 30 | $1,131,857 |
| $0 | $1,000 | 8% | 30 | $1,490,359 |
| $10K | $500 | 7% | 25 | $460,108 |
| $25K | $1,000 | 10% | 30 | $2,567,810 |
| $50K | $2,000 | 8% | 25 | $2,224,367 |
| $100K | $3,000 | 7% | 20 | $1,950,476 |
Walked example: $10,000 + $500/month at 7% real, year by year
Same scenario tracked at key milestones — monthly compounding, 7% real (after-inflation) return, $500 contributed end-of-month:
| Year | Balance | Contributed | Investment gains | Gains as % of balance |
|---|---|---|---|---|
| 1 | $16,930 | $16,000 | $930 | 5% |
| 5 | $49,884 | $40,000 | $9,884 | 20% |
| 10 | $106,265 | $70,000 | $36,265 | 34% |
| 15 | $185,381 | $100,000 | $85,381 | 46% |
| 20 | $296,341 | $130,000 | $166,341 | 56% — gains exceed contributions |
| 25 | $452,008 | $160,000 | $292,008 | 65% |
| 30 | $670,402 | $190,000 | $480,402 | 72% |
| 40 | $1,389,470 | $250,000 | $1,139,470 | 82% |
The inflection — where market returns produce more than your monthly deposits — arrives around year 18-20 at 7% real. By year 40 the portfolio is 5.5× total contributions. This is what fee drag is competing against: every percentage point of expense ratio compounds away from this curve.
Solve for any variable (reverse calculator)
An investment plan has 5 inputs: starting amount, monthly contribution, return rate, years, and end balance. Lock any 4 and solve for the 5th. Pick a tab below — the calculator runs the math in either direction.
| Solve for | Question it answers | Worked example |
|---|---|---|
| End balance | "How much will I have?" | $10K + $500/mo @ 7% for 30y → $670K |
| Monthly contribution | "How much must I invest monthly to reach $1M?" | $0 start, 25y, 8% → need $1,051/mo |
| Return rate | "What return do I need to hit $500K?" | $50K start + $500/mo, 20y, target $500K → need ~7.8% |
| Starting amount | "How much lump sum do I need today?" | $0/mo, 8% for 25y, target $1M → need $146K today |
| Investment length | "How many years until I hit my goal?" | $25K + $1K/mo, 8%, target $1M → ~22 years |
Tip: adjust the input you control most directly. Most people can change contribution (job/budget) and length (start now). Almost no one can change return rate reliably — assume 7% real and don't overfit to recent history.
Beginning vs end-of-period contributions (annuity-due vs ordinary)
If you deposit on the 1st of the month instead of the 30th, that single dollar compounds for one extra period — multiplied across 360 monthly deposits over 30 years. The cumulative gap on $500/mo at 7% over 30 years:
- End of period (ordinary annuity): $612,000 final balance
- Beginning of period (annuity-due): $615,500 final balance
- Difference: ~$3,500 (+0.6%) for the same total contributed
Small in percentage terms, but free money. Two practical applications: (1) Roth IRA — contribute Jan 1 instead of Dec 31 of the tax year for 12 extra months of compounding; (2) 401(k) — front-load contributions early in the calendar year if your plan allows (mind the per-pay-period employer match true-up rules).
Where compound investing stands in 2026
- S&P 500 long-run nominal CAGR (1995-2025): ~10.5%. Real return after inflation: ~7%. Use 7% real / 10% nominal for retirement projections.
- Vanguard / iShares total-market expense ratios: VTI 0.03%, ITOT 0.03%, VTSAX 0.04%. The fee floor is essentially zero in 2026.
- 401(k) contribution limit 2026: $24,000 employee elective deferral (catch-up $8,000 for 50+). Total combined limit (employee + employer) $72,500.
- IRA / Roth IRA contribution limit 2026: $7,500 ($8,500 with catch-up). Roth income phase-out starts at $153K single, $228K married joint (current IRS schedule).
- Target-date funds expected return: 6-8% nominal depending on equity glide path. Fees 0.05-0.15% at the major providers.
- Bond yields 2026: 10-yr Treasury ~4.0-4.4%, corporate IG ~5-5.5%. Real yields on TIPS ~1.5-2%.
- Inflation: headline CPI ~2.5% (BLS), still above the Fed's 2% target.
Long-run assumptions don't change with the Fed cycle — 7% real for diversified equity is durable across decades. What does change: bond returns, HYSA rates, and the comparative case for cash. With the Fed cutting through 2026, expect HYSA APYs to drift toward 3% over the next 12 months.
Using this calculator for your 401(k) or IRA
Plug in:
- Initial amount: your current 401(k) or IRA balance
- Monthly contribution: your contributions + any employer match (free money — always capture the full match)
- Annual rate: 7-9% for a balanced target-date fund; 9-10% for all-stock index funds
- Years: years until you plan to retire
The number this calculator shows is your projected nominal portfolio value. To estimate real purchasing power, subtract expected inflation (2-3%) from the annual rate, or use the inflation-adjusted savings calculator. For tax-account-specific projections see 401(k) calculator, Roth IRA calculator, and Roth vs Traditional.
Why starting early beats contributing more
Two investors, same 8% return. Anna invests $5,000/year from age 25-35 (10 years, $50,000 total) then stops forever. Ben invests $5,000/year from 35-65 (30 years, $150,000 total). At 65:
- Anna: $787,000
- Ben: $611,000
Anna contributed 1/3 as much and ended with $176,000 more. The extra decade of compounding beat 20 years of extra contributions. Time is the most valuable investment input. See the cost-of-waiting index for the dollar value of each year of delay.
Who this compound investment calculator is for
The 1% fee tax: why expense ratios matter so much
A 1% expense ratio doesn't sound like much. Over 30 years it consumes ~25-30% of final wealth. $500K projected at 8% becomes ~$355K at 7%. The investment industry quietly charges fees that look small but accumulate huge sums. Always check net expense ratio (not gross) for any fund — see our fee analyzer for the exact dollar impact.
Daily vs monthly vs quarterly vs annual compounding (for investments)
Index funds and mutual funds compound monthly (NAV recalculated daily, but dividends/distributions roll up monthly or quarterly). For modeling investment growth, monthly is the right default. Same $10,000 at 8% APR, five frequencies:
| Frequency | Effective APY | 1 year | 10 years | 30 years | Gap vs annual (30 yr) |
|---|---|---|---|---|---|
| Annual (1×/yr) | 8.000% | $10,800 | $21,589 | $100,627 | — |
| Semiannually (2×/yr) | 8.160% | $10,816 | $21,911 | $105,026 | +$4,399 (+4.4%) |
| Quarterly (4×/yr) | 8.243% | $10,824 | $22,080 | $107,652 | +$7,025 (+7.0%) |
| Monthly (12×/yr) | 8.300% | $10,830 | $22,196 | $109,357 | +$8,730 (+8.7%) |
| Semimonthly (24×/yr) | 8.314% | $10,831 | $22,225 | $109,777 | +$9,150 (+9.1%) |
| Biweekly (26×/yr) | 8.316% | $10,832 | $22,229 | $109,839 | +$9,212 (+9.2%) |
| Weekly (52×/yr) | 8.322% | $10,832 | $22,242 | $110,032 | +$9,405 (+9.3%) |
| Daily (365×/yr) | 8.328% | $10,833 | $22,253 | $110,196 | +$9,569 (+9.5%) |
| Continuous (e^rt) | 8.329% | $10,833 | $22,255 | $110,232 | +$9,605 (+9.5%) |
At 8% over 30 years, daily beats annual by 9.5% — bigger than the 3.7% gap at 5% because the rate is higher. But this is still small compared to the 100%+ swing from contribution doubling or rate changes. The takeaway: don't worry about frequency once you've picked the right rate. Use monthly for index-fund projections.
Investment types this calculator handles
The math is the same across asset classes — what changes is the realistic return rate, risk profile, and tax treatment. Plug in the right rate for the asset:
Embed this calculator on your site
Free under CC-BY 4.0. Drop this iframe into any blog post or site:
<iframe src="https://snowballr.io/compound-investment-calculator?embed=1" width="100%" height="800" frameborder="0" loading="lazy" title="Compound Investment Calculator by Snowballr"></iframe>
Attribution appreciated but not required. Link back to snowballr.io/compound-investment-calculator if you'd like.
Compound investment calculator FAQ
What is a good rate of return to use for a compound investment calculator?
How does compound investing differ from compound interest?
How much can $500 a month become in 30 years?
Should I use this calculator for my 401(k)?
Does this calculator account for fees?
What about market crashes?
Can I embed this calculator on my site?
Methodology & sources
Formula: future value of annuity (P(1+r)^t + PMT × [((1+r)^t−1)/r]). Historical S&P 500 returns verified against Robert Shiller's CAPE dataset and the SLickCharts annual return series 1928-2024. Rate guidance based on Vanguard's 10-year capital market expectations and Damodaran's market risk premium series. Calculator and content updated 2026-06-07. Read our editorial standards and methodology.
Related calculators
Sources & methodology
Long-run return assumptions on this page reference these authoritative datasets. Last verified 2026-06-07.
- Robert Shiller (Yale) — S&P 500 historical returns dataset (1871–present) — primary source for the ~10% nominal / ~7% real long-run averages.
- Federal Reserve Bank of St. Louis (FRED) — S&P 500 price series — official daily index history for return calculations.
- U.S. Bureau of Labor Statistics — Consumer Price Index (CPI-U) — inflation series used to convert nominal returns to real returns.
- Investor.gov (SEC) — Compound interest calculator — federal reference for the formula and definitions used here.
- SPIVA Scorecard (S&P Dow Jones Indices) — research showing why long-run index returns beat most active managers.
- Vanguard — Principles for Investing Success — long-term contribution and expected-return frameworks.
Methodology: compound math uses the standard closed-form formula A = P(1 + r/n)^(n×t) plus future-value-of-annuity for monthly contributions. No fees deducted — the rate you enter is assumed net of expense ratios. Cross-check our numbers against 7 other major calculators in our independent feature comparison.
Why this calculator and not the others?
Snowballr publishes six compound-interest variants because the math is the same but the conventions, defaults, and product context differ. Here's where this one fits and when to switch to another.
- Compound interest calculator (general)Generic lump-sum + monthly contributions, default monthly compounding. The right pick when you just want to model 'what if I save X/month at Y% for Z years'.
- Daily compound interest calculatorHYSAs, CDs, money market accounts — products that explicitly state daily compounding. Tiny mathematical edge over monthly (≈0.04% at 5% APY), but it's what your bank actually quotes.
- Monthly compound interest calculatorStandard US brokerage, 401(k), IRA modeling — the convention used by Fidelity, Vanguard, Schwab projections. Monthly is the practical default for retirement math.
- UK compound interest calculatorGBP-denominated savings: Cash ISA, Stocks & Shares ISA, easy-access savings. Defaults assume UK Bank Rate context (2026 BoE base 4.25%) and £20,000 annual ISA allowance.
- Australia compound interest calculator (AUD)AUD-denominated savings: superannuation, high interest savings accounts, ETFs (VAS, A200, IVV). Defaults assume RBA cash rate context (2026) and AUD formatting.
- Canada compound interest calculator (CAD)CAD-denominated savings: TFSA, RRSP, RESP, high interest savings, Canadian ETFs (XIC, VCN, VFV). Defaults reflect Bank of Canada policy rate (2026) and CAD formatting.
- SBI compound interest calculator (India)State Bank of India FD, RD, PPF, and savings — quarterly compounding is the SBI convention. Defaults reflect 2026 SBI FD rates and 7-year PPF lock-in.