Investing
Investment & ROI Calculator
Project the growth of your portfolio with regular contributions. Compare compounding frequencies and see your total return at a glance.
How the investment calculator works
Return on investment (ROI) measures how much your money has grown relative to what you originally put in. A 100% ROI means you doubled your money; a 50% ROI means your portfolio grew by half. This calculator combines a one-time initial deposit with recurring monthly contributions and compounds the total at the rate and frequency you choose, letting you see exactly how much of your final portfolio balance comes from your own contributions versus investment growth.
Monthly contributions matter more than most investors realize. Adding a fixed amount every month means your later contributions benefit from compounding for a shorter period, but your earlier contributions — and the gains they produce — are themselves reinvested and continue growing. This interplay between the timing of deposits and the compounding schedule is what makes the year-by-year chart so revealing: in early years, contributions dominate the balance; in later years, accumulated growth overtakes them.
The calculator reports two return figures: cumulative ROI and annualized return (CAGR). Cumulative ROI tells you the total percentage gain over the entire holding period. Annualized return converts that gain into a per-year equivalent, making it easy to compare against benchmarks like the S&P 500 or a savings account, regardless of how long you held the investment. Use both: cumulative to understand total wealth created, annualized to compare efficiency.
The formula
ROI and CAGR are calculated as follows:
ROI = (final value − total invested) / total invested × 100%
CAGR = (final value / total invested)^(1 / years) − 1
Where total invested = initial deposit + (monthly contribution × months)In plain English: ROI divides your profit by your total cost and expresses it as a percentage. CAGR raises the ratio of final value to total cost to the power of one divided by the number of years, then subtracts one — effectively asking "at what constant annual rate would my money have had to grow to reach this result?" Both metrics ignore the timing of individual cash flows, which is why they work best for straightforward buy-and-hold or regular-contribution scenarios.
Worked example
Suppose you invest $5,000 upfront and add $300 per month for 20 years at an 8% annual return compounded monthly.
- Total contributed: $5,000 + ($300 × 240 months) = $77,000
- Final portfolio value: approximately $193,000
- Investment growth (gain): approximately $116,000
- Cumulative ROI: ($116,000 / $77,000) × 100 ≈ 151%
- Annualized return (CAGR): roughly 8% per year
The key takeaway: you contributed $77,000 of your own money, but compounding turned that into $193,000 — more than $116,000 of the final balance came purely from reinvested growth. This is why starting early and staying invested through volatility is the most reliable wealth-building strategy available to ordinary investors.
When to use this calculator
- Comparing investment options. Enter the same time horizon with different return rates to see the dollar difference between a 6%, 8%, or 10% annualized return.
- Projecting retirement savings. Model your current savings balance as the initial deposit, your planned monthly contribution, and a target retirement date to see if you are on track.
- Evaluating lump sum vs. monthly contributions. Set monthly contributions to zero for pure lump-sum scenarios, or set the initial amount to zero to see contributions-only growth.
- Modeling different return scenarios. Use pessimistic (5%), base (8%), and optimistic (10%) return assumptions to understand your range of outcomes before committing capital.
- Measuring past portfolio performance. Enter the actual amount you invested, the number of years held, and your ending balance to calculate the annualized return your portfolio has delivered.
Key concepts
- ROI (Return on Investment)
- The total percentage gain on your investment: profit divided by total cost. Simple and intuitive, but does not account for how long the money was invested.
- CAGR (Compound Annual Growth Rate)
- The annualized rate at which an investment would have grown at a constant pace to reach its ending value. The standard metric for comparing investments held for different lengths of time. Learn more about compound interest.
- Real vs. nominal return
- Nominal return is the raw percentage your investment grew. Real return subtracts inflation, giving you a sense of actual purchasing-power gain. With US inflation averaging around 3%, a 10% nominal return is roughly a 7% real return. See also: APR vs. APY.
- Time horizon
- The number of years you plan to stay invested. Longer horizons amplify the effect of compounding exponentially. Doubling your time horizon does not double your ending balance — it multiplies it by much more, because gains compound on gains.
Common mistakes
- Ignoring taxes on gains. In taxable accounts, capital gains tax and dividend tax reduce your effective return. Model post-tax returns by subtracting your expected tax rate from the annual return input.
- Cherry-picking favorable time windows. Reporting a 3-year return during a bull market inflates the apparent CAGR. Always compare investments over the same time period, or use full market cycles.
- Forgetting expense ratios. A 1% annual fund fee does not sound like much, but on a 20-year horizon it can consume 15–20% of your ending balance. Subtract expense ratios from your expected return before modelling.
- Comparing investments with different time horizons. A 150% ROI sounds better than a 50% ROI, but if the first took 30 years and the second took 5, the second had a far higher CAGR. Always annualize before comparing.
- Confusing annualized and cumulative return. An investment that doubled in 10 years has a 100% cumulative return but only a 7.2% CAGR. Reporting the cumulative figure without the time context is misleading.
Frequently asked questions
What's a good ROI for investments?
What's the difference between ROI and IRR?
What's the difference between annualized and cumulative return?
Does the calculator show pre-tax or post-tax returns?
How do I adjust the result for inflation?
Should I invest a lump sum or spread it out monthly?
Related calculators
- Compound Interest CalculatorModel pure compounding without contributions
- Retirement CalculatorProject your nest egg at retirement age
- 401(k) CalculatorEstimate employer-matched retirement savings
- Loan CalculatorCalculate monthly payments and total interest
Disclaimer: This calculator is for informational and educational purposes only. Results are hypothetical projections based on a constant rate of return and do not account for taxes, fees, inflation, or market volatility. Past performance is not indicative of future results. Consult a qualified financial adviser before making investment decisions.