Investment Calculator
See how compound interest and regular contributions grow your wealth over time.
See how compound interest and regular contributions grow your wealth over time.
Compound interest has been called the eighth wonder of the world, and the math justifies the cliché. A 25-year-old who invests $500 per month at a 7% real return until age 65 will accumulate roughly $1.3 million. A 35-year-old doing the exact same thing — same monthly contribution, same return, same end age — will have only $608,000. The 25-year-old contributed $60,000 more in total; their ending balance is $700,000 higher. That $640,000 of additional wealth came entirely from time, not from extra money.
This guide explains how the investment calculator above works, walks through realistic return assumptions, and explains why most investors fail to capture the returns they should — even when they do everything else right.
Initial investment is the lump sum you start with, sometimes called present value or principal. This compounds the longest, which is why a $10,000 starting balance often dwarfs decades of subsequent contributions in the final calculation.
Monthly contribution is your regular, recurring investment. Consistency matters more than amount. The investor who contributes $300 every month for 30 years will dramatically outperform the investor who tries to time the market with $1,000 lump sums made "when the time feels right." Markets cannot be timed reliably; missing the ten best trading days of a typical decade cuts long-term returns roughly in half.
Annual return rate is the most consequential and most misunderstood input. The S&P 500 has averaged roughly 10% nominal returns over the past century, or about 7% after adjusting for inflation. Use 7% real (inflation-adjusted) for stock-heavy portfolios in long-term planning. For diversified balanced portfolios with a meaningful bond allocation, 5% to 6% real is more realistic. Be deeply skeptical of any plan that assumes 10%+ real returns indefinitely.
Investment period is the time horizon. This is where compound growth gets exponential — literally. A portfolio held for 40 years at 7% grows by a factor of 14.97. A portfolio held for 30 years grows by a factor of 7.61. The same portfolio over 20 years grows by a factor of just 3.87. Half the time, less than a quarter of the growth.
Compounding frequency determines how often returns are credited and reinvested. Most stock and ETF returns compound continuously through reinvested dividends and price appreciation; the calculator above lets you select monthly, quarterly, or annual to model different account types. The differences are meaningful but small — monthly versus annual compounding on a 30-year portfolio differs by about 3% to 4% in ending value.
Inflation rate erodes purchasing power. A nominal $1 million in 30 years, assuming 2.5% inflation, has the purchasing power of about $477,000 today. Always plan in real (inflation-adjusted) terms. The calculator above shows both the nominal future value and the inflation-adjusted equivalent.
The future value formula for a series of contributions is FV = PV(1+r)n + PMT × [((1+r)n − 1) / r], where PV is your starting principal, r is the periodic interest rate, n is the number of periods, and PMT is the contribution per period. The first term gives you the growth of your initial investment; the second term gives you the growth of your stream of contributions.
Worked example: $10,000 initial investment, $500 per month, 30 years, 7% nominal return, monthly compounding. r = 0.005833, n = 360, PMT = $500. Initial investment grows to $81,164. Contributions accumulate to $612,438. Total ending value: $693,602. Of that total, you contributed $190,000 ($10,000 + $500 × 360). The other $503,602 — over 70% of the final balance — is investment growth.
For quick mental estimates, divide 72 by your annual return rate to find how many years it takes your money to double. At 6%, money doubles every 12 years. At 8%, every 9 years. At 10%, every 7.2 years. This works because of the natural log of 2 and is accurate to within a percent or two for typical investment returns. It's also why the difference between earning 6% and earning 8% over a long career is so much larger than it sounds — your money doubles more times.
Industry research consistently shows that the average mutual fund investor earns 1% to 3% per year less than the funds they invest in. The funds themselves haven't lost money — the investors have, by buying high (when markets feel safe and returns have been strong) and selling low (during corrections, when fear peaks). This is the "behavioral gap" and it costs the average investor hundreds of thousands of dollars over a lifetime.
The cure is dollar-cost averaging — investing a fixed amount on a fixed schedule regardless of market conditions. The calculator above implicitly models this with monthly contributions. By contributing the same amount whether the market is up or down, you buy more shares when prices are low and fewer when prices are high. Over 30 years, this discipline beats almost every form of active timing.
Run a conservative and an optimistic scenario. Use 5% real and 7% real as your bookends. The actual outcome will likely fall somewhere in between, and planning to the conservative number ensures you're not surprised on the downside.
Test the impact of starting earlier. Run the calculator with your current age and again as if you'd started 5 years earlier. The gap is usually shocking. Use this gap to motivate yourself — and your kids — to start contributing as early as possible, even if the contributions feel small.
Compare different contribution levels. Try $300, $500, and $800 per month. The differences in ending value are not linear because each additional dollar gets the same multi-decade compounding. An extra $200 per month over 30 years at 7% adds $245,000 to your ending balance.
Account for taxes and fees. The calculator shows pre-tax growth. In a Roth IRA or Roth 401(k), withdrawals are tax-free. In a traditional IRA or 401(k), withdrawals are taxed as ordinary income. In a taxable brokerage, you pay capital gains and dividend taxes along the way. Index fund expense ratios (typically 0.03% to 0.20%) reduce returns; high-fee actively managed funds (typically 0.75% to 1.50%) reduce them dramatically more over decades.
For long-term planning, use 6% to 7% real (inflation-adjusted) for a stock-heavy portfolio, or 5% to 6% real for a balanced portfolio. These are conservative estimates relative to historical averages but appropriately humble given the unpredictability of any individual investing period. If a calculator or salesperson assumes 10%+ real returns, treat the projection as marketing, not planning.
Mathematically, lump-sum investing wins about two-thirds of the time because markets trend upward over time, so getting fully invested sooner usually beats waiting. But dollar-cost averaging is psychologically easier and reduces the regret risk if you happen to lump-sum invest right before a market crash. Both work; the best strategy is the one you'll actually follow.
Yes — by at least the inflation rate, ideally more. A flat $500 per month today will buy substantially less in 30 years. Most retirement plans allow automatic annual contribution increases; setting these up so contributions rise with your salary is one of the highest-leverage moves in long-term wealth building.
Markets fall by 20% or more roughly every 5 to 7 years. They have always recovered, eventually. The mistake is selling during the fall and locking in the loss. The investors who do best are the ones who continue contributing through downturns; their dollar-cost averaging buys more shares at the lower prices, accelerating the recovery in their portfolios.
Inflation reduces the purchasing power of future dollars. Always work in real (inflation-adjusted) terms when planning for goals decades away. The calculator above shows both nominal and inflation-adjusted ending values; focus on the inflation-adjusted number when assessing whether you'll meet your goals.
This guide is for educational purposes only and is not investment, tax, or legal advice. Past performance does not guarantee future results. Consult a fee-only fiduciary financial advisor for guidance specific to your situation.