How this investment calculator works
Every investment projection rests on the same handful of variables: what you start with, what you add along the way, how fast the money grows, and how long you leave it alone. If you know four of them, the fifth can be solved. That is exactly what the tabs above do. The default tab finds the end balance, while the others work backward from a target to tell you the contribution, the return rate, the starting amount or the number of years you need.
The balance is projected month by month. The annual return you enter is converted to the equivalent monthly growth rate for the compounding frequency you choose, so a 6% rate compounded annually grows money by exactly 6% over any full year, whether you contribute monthly or yearly.
End balance = P × (1 + i)t + C × [(1 + i)t − 1] ÷ i
Here P is the starting amount, C is the contribution per period, i is the growth rate per contribution period and t is the number of periods. Contributions made at the beginning of each period earn one extra period of growth, so multiply the contribution part by (1 + i) in that case.
The variables explained
Starting amount
Also called the principal, this is the lump sum you invest on day one. Because it compounds for the full length of the investment, it often has an outsized effect on the final balance compared with the same amount added later.
Additional contributions
Regular deposits, such as monthly transfers into a brokerage account or 401(k) payroll deferrals. Steady contributions are how most people build wealth, since they turn a modest income into a growing asset base. Contributing at the start of each period rather than the end gives every deposit a little more time to grow.
Return rate
The average annual growth of the investment, including interest, dividends and price appreciation. Historical averages vary widely by asset: cash and CDs have returned a few percent a year, high quality bonds somewhat more, and broad stock indexes have averaged close to 10% a year over long periods with large swings from year to year. A projection assumes a smooth rate, which real markets never deliver.
Compounding frequency
How often earnings are credited and start earning on their own. More frequent compounding gives a slightly higher effective yield at the same nominal rate. For example, 6% compounded monthly is an effective 6.17% a year.
Investment length
Time is the most powerful variable. Doubling the length of an investment more than doubles the interest earned, because growth builds on growth. A rough guide is the rule of 72: divide 72 by the return rate to estimate how many years it takes money to double.
Worked example
Suppose you invest $20,000 today, add $1,000 at the end of every month, and earn 6% a year compounded annually for 10 years. The starting amount grows to about $35,817. The 120 monthly deposits total $120,000 and grow to about $162,473. The end balance is $198,290.40, made up of $20,000 starting money, $120,000 of contributions and $58,290.40 of interest.
Now turn it around. To reach $1,000,000 with the same $20,000 start and 6% return, you would need to contribute about $5,934 a month for 10 years, or keep contributing $1,000 a month for roughly 28.8 years.
Common types of investments
| Investment | Typical role | Main risk |
|---|---|---|
| Certificates of deposit (CDs) | Fixed rate for a fixed term, insured up to limits | Inflation and early withdrawal penalties |
| Bonds | Regular interest income, lower volatility than stocks | Interest rate changes and issuer default |
| Stocks and stock funds | Long-term growth through ownership in companies | Large short-term price swings |
| Real estate | Rental income plus appreciation, often with leverage | Illiquidity, vacancies and maintenance costs |
| Commodities | Diversification and an inflation hedge | Volatile prices and no income |
Things a projection cannot capture
- Volatility. Two portfolios with the same average return can end with very different balances if the bad years arrive at different times, especially when you are adding or withdrawing money.
- Taxes. Interest and gains in a taxable account are taxed along the way, which lowers the effective return. Tax-advantaged accounts defer or eliminate that drag.
- Fees. Fund expense ratios and advisory fees come straight out of returns. A 1% annual fee can consume a large share of the interest earned over several decades.
- Inflation. The end balance is in future dollars. Subtract expected inflation from the return rate to get a rough figure in today's purchasing power.