How to use this calculator
- Pick what you want to solve for: the end amount, the contribution needed, the return rate needed, the starting amount needed, or the time needed.
- Enter a goal amount for any solve-for option other than 'End amount'.
- Fill in the remaining fields: starting amount, recurring contribution and frequency, expected annual return, and compounding.
- Enter the number of years, unless you're solving for years — then the calculator finds it for you.
- Review the result, the projected ending balance, and the yearly contributions-vs-interest chart and schedule. Share the link or export the schedule as CSV.
How it's calculated
By default the calculator projects growth directly: a lump sum compounds as FV = P × (1 + r)n, and recurring contributions compound with the future-value-of-an-annuity formula, FV = PMT × [(1 + r)n − 1] ÷ r. Your nominal annual rate and compounding frequency are converted into the correct rate per contribution period first, so contributions and compounding can run on different schedules.
For the other solve-for options, the calculator runs the same projection repeatedly and narrows in on the answer with bisection search: it tries values, checks whether the resulting end balance is above or below your goal, and repeats until the result is accurate to a very small tolerance.
Contribution needed and starting amount needed search for the smallest amount whose projected end balance meets your goal exactly.
Return rate needed searches rates from −50% to 200% a year for the one that hits your goal in the given time — if even 200% isn't enough, or your goal is already met with 0% growth, the calculator tells you so instead of guessing.
Years needed projects year by year until the balance reaches your goal, then estimates the fraction of the final year using straight-line interpolation between that year's start and end balance.
Assumptions
- The return rate you enter (or solve for) is treated as constant for every year of the projection; real markets fluctuate significantly year to year.
- Contributions happen exactly on schedule with no fees, taxes, or early withdrawals.
- Solving for return rate or time answers the math question 'what rate/time hits this goal at these other inputs' — it isn't a prediction that any specific investment will actually deliver that rate.
- Results are for planning and educational purposes only, not investment advice or a guarantee of future performance.
Frequently asked questions
How is investment growth calculated?
A starting balance grows using compound interest, FV = P × (1 + r)^n, and recurring contributions grow using the future value of an annuity formula. The calculator converts your nominal annual return and compounding frequency into the exact rate for each contribution period, then projects the balance forward year by year.
What does 'solve for contribution needed' mean?
It flips the usual question around: instead of telling you the ending balance for a contribution you choose, it finds the smallest recurring contribution that reaches your stated goal by the target year, given your starting amount, return, and compounding. It uses the same growth formula, searched by bisection rather than solved algebraically.
What does 'solve for return rate needed' tell me?
It answers 'what average annual return would I need to reach my goal' given your starting amount, contributions, and years. It's a useful reality check — if the required return is far above typical long-term market averages, the goal may need a longer timeline, a bigger contribution, or a lower target instead.
Why does the calculator say my goal isn't reachable?
This happens only when the goal exceeds what's mathematically possible within the search range: for return rate, that means even 200% annual growth wouldn't get there; for years, it means 100 years (the calculator's cap) isn't enough at the rate you entered. Try increasing the contribution, starting amount, or time horizon, or lowering the goal.
What's the difference between this and the compound interest calculator?
They share the same underlying growth engine. The compound interest calculator always projects forward from your inputs. This investment calculator adds the ability to solve backward — for the contribution, rate, starting amount, or time needed to hit a specific goal.
Does contribution timing (start vs. end of period) matter much?
It has a modest effect. Contributing at the start of each period gives that money one extra period of growth compared with contributing at the end, so 'start' timing produces a slightly higher ending balance for the same contribution amount — the gap grows with higher rates and more periods.
What return rate should I assume for stocks, bonds, or a balanced portfolio?
This calculator doesn't recommend a rate — that depends on your specific investments, time horizon, and risk tolerance. Many long-term financial plans use a range of assumptions and stress-test several scenarios rather than relying on a single number; consider trying a few different rates here to see how sensitive your plan is.
How does inflation affect these results?
The projection itself uses the nominal return you enter. If you set an inflation rate under Advanced, results reflect it only insofar as you've already chosen a return net of inflation, or you can compare the nominal ending balance against your own inflation expectations separately.
Can I model an annual raise to my contribution?
Yes. Under Advanced, 'Annual contribution increase' grows your periodic contribution by a fixed percentage every year, which is useful for modeling a contribution that rises alongside a salary increase.
Is this calculator accurate for retirement accounts like a 401(k) or IRA?
It models the underlying growth math the same way, but it doesn't account for employer matches, contribution limits, or tax treatment. For those, use the 401(k) or Roth IRA calculators, which build on the same growth engine with those specifics included.
Related calculators
Related guides
Key terms
Sources
Disclaimer: This calculator provides estimates for educational purposes only and is not financial, tax, or legal advice or an offer of credit. Actual payments depend on your lender, loan terms, taxes, and insurance. Consult a qualified professional before making financial decisions.