Investment Calculator: What Your Money Could Grow Into, With the Maths Shown
An investment calculator turns a vague hope, that saving a little each month will somehow be enough, into a number you can look at and judge. You type in what you have now, what you can add each month, an assumed return, and a time horizon. It shows what those inputs add up to, how much of the result is your own money, and how much is growth. That split matters, because it shows whether the plan leans on your discipline or on returns you can't control.
Most people overrate the return rate and underrate the horizon. A high assumed return flatters any plan on paper, yet it's the one input nobody can promise. Time is the input you can protect, by starting now.
How the maths works
The calculator compounds monthly. Each month, your balance grows by one twelfth of the annual return, then your contribution for that month is added, or added first if you choose beginning of month. Repeat that for every month in the horizon, and small monthly gains start earning gains of their own. That's the whole engine.
Raise that monthly factor to the power of the total months, and you get the growth factor for a lump sum. A stream of monthly contributions uses a related factor: the growth factor minus one, divided by the monthly rate. Beginning of month contributions get one extra month of growth, so their factor is multiplied by the monthly factor once more. Add the two grown parts together for the ending balance.
The model assumes the same return every month, which real markets never deliver: your actual path will zigzag. The result is also before tax and fees, unless you build those costs into a lower assumed return. Treat it as a planning figure, not a forecast.
Every input, explained
Target amount (your goal). The ending balance you want to reach. It only drives the maths in the two reverse modes below.
Starting amount. What you already have invested today. It gets the full horizon of compounding, so it works harder than money added in year 15.
Monthly contribution. What you add each month, every month, for the whole horizon. Missed months are months of compounding lost for good.
Return rate (%/yr). Your assumed annual return, before tax and fees. Many people model a diversified stock portfolio at 5 to 7% after inflation. Pick a rate you could still live with if it came in lower.
Time period (years). How long the money stays invested, as a whole number of years. This input has the most power in the whole calculator, as the worked example shows.
Inflation rate (%/yr). Used only to restate the ending balance in present-day terms. It doesn't change the nominal balance, only how you read it.
Contributions at. End of month means each contribution is added after that month's growth; beginning of month means it is added before, so it earns one extra month.
A worked example, step by step
Start with $10,000, add $300 a month, assume an 8% annual return, and leave it for 20 years, with contributions at the end of each month. Here's what the calculator does.
- Monthly factor. 1 + (8 ÷ 100) ÷ 12 = 1.006667, so the balance grows about 0.67% each month before the new contribution lands.
- Months. 20 years is 240 months. Raise 1.006667 to the power of 240, and the lump sum growth factor is about 4.927.
- Starting amount grown. $10,000 times 4.927 is about $49,270. The original $10,000 alone, untouched, nearly quintuples.
- Contributions grown. The annuity factor is (4.927 minus 1) divided by 0.006667, about 589. $300 a month times 589 is about $176,704.
- Ending balance. Add the two parts, and the calculator's exact figure is $225,974.15.
Now split that headline. Your deposits total $82,000: the $10,000 you started with plus $72,000 of monthly contributions. Growth supplies the other $143,974.15, almost two thirds of the final balance.
The horizon table, at a glance
Keep the same plan, $10,000 to start, $300 a month, 8% return, and change only the horizon. The growth is not linear. It bends upward, slowly at first, then fast.
| Horizon | Deposits | Ending balance |
|---|---|---|
| 10 years | $46,000 | $77,080.21 |
| 20 years | $82,000 | $225,974.15 |
| 30 years | $118,000 | $556,465.13 |
Doubling the horizon from 10 to 20 years nearly triples the balance, on only $36,000 more deposited. Stretching to 30 years more than doubles it again.
What the return rate does
Hold the plan at $10,000 plus $300 a month for 20 years, and change only the assumed return. Small rate changes move the answer a lot over two decades.
| Assumed return | Ending balance after 20 years |
|---|---|
| 5% | $150,436.50 |
| 7% | $196,665.39 |
| 8% | $225,974.15 |
| 10% | $301,091.39 |
The gap between 5% and 10% is about $150,000 on the same deposits. Run your plan at a pessimistic rate first. If it only works at 10%, you'll need a bigger contribution, a longer horizon, or a smaller target.
Working backwards from a target
The calculator has three modes. Ending Balance answers "what will I have?" Starting Amount and Monthly Savings answer "what must I do?"
Aim for $500,000 in 20 years at 8%, keeping the $10,000 starting amount, and the required monthly contribution is $765.22, more than double the $300 in our example. Flip it around: keep the $300 a month, and the starting amount needed is $65,619.41. A monthly habit you can sustain beats a lump sum you don't have.
Inflation: the number that shrinks the headline
Our example ends at $225,974.15 in future dollars. At 3% inflation over 20 years, that buys what $125,116.41 buys in present-day terms: the ending balance divided by 1.03 to the power of 20, about 1.806. Judge a long horizon plan by the second number.
Common mistakes
- Assuming a heroic return. A plan that only works at 12% is not a plan. Test it at 5% too, and fix the gap with contributions or time, not optimism.
- Forgetting fees and tax. A 1% annual fee, taken every year, eats a large slice of a 30 year result. Subtract fees from your assumed return before you trust the output.
- Stopping and starting. Pausing contributions in the middle costs more than pausing at the end, because the paused money misses its longest compounding stretch. Automate the payment on payday.
- Judging by the nominal balance alone. $556,465.13 after 30 years sounds like a fortune until inflation is applied. Always read the present-day figure beside it.
- Changing the plan after every bad year. Markets fall, and a steady rate model hides that fact. Selling in a dip locks in the loss and breaks the compounding chain the plan depends on.
Practical tips
Raise the contribution when your pay rises, and treat that raise as money you never had. Keep an emergency fund separate from this money, so a broken car never forces you to raid the investment. Revisit the plan once a year, then leave it alone.
Frequently asked questions
How much do I need to invest each month to reach $100,000?
It depends on your starting amount, return, and horizon. As a guide, $300 a month at 8% for 20 years with $10,000 to start reaches $225,974.15, so $100,000 needs far less.
Is it better to invest a lump sum or a little each month?
A lump sum invested today gets the longest compounding run, so it usually wins on maths alone. Monthly investing wins on real life, because most people don't have a large lump sum sitting idle. If you have both, use both.
What return rate should I assume for a long term investment plan?
For planning, many people use 5 to 7% a year for a diversified stock portfolio after inflation, and less for bonds or cash. That is an assumption, not a promise, and real returns arrive in lumps. Run your plan at the low end of that range.
Does the calculator include tax and fees?
No. The result is before tax and fees, so it reads higher than what you keep. Lower your assumed return by roughly your fee rate to allow for them.
Why does starting early matter more than saving more later?
Because growth compounds on growth. Money invested at 25 gets 40 years of monthly gains building on earlier gains, while money invested at 45 gets only 20. Our horizon table shows it plainly: $77,080.21 in 10 years, $225,974.15 in 20 years, and $556,465.13 in 30 years.
Related calculators: Compound Interest Calculator, Retirement Calculator, and 401(k) Calculator.
An investment plan is only as good as the contribution you keep making when the market looks grim. Work out your target, test it at a rate you can defend, set the payment to run on payday, and check the CalcMega Blog for the same plain maths on your next decision.
Disclaimer: this guide explains investment maths for education only and is not financial, investment, or tax advice. Returns are never guaranteed, you can lose money, and taxes and fees depend on the account and your circumstances, so check your own figures with a qualified adviser before investing.
Further reading: the US Securities and Exchange Commission publishes its own compound interest calculator, which lets you run the same starting amount and monthly contribution and compare the result.