ROI Calculator
Measure return on investment as a percentage and annualized rate.
About the ROI Calculator
This ROI (Return on Investment) calculator measures the profitability of an investment as a percentage of the original cost. Enter the initial amount invested, the final value (current or realized), and the holding period in years, and the tool returns both the total ROI and the annualized (compound annual growth rate, CAGR) ROI — the latter being the more meaningful figure for comparing investments held over different time periods.
Total ROI simply divides gain by cost: $5,000 gain on a $10,000 investment is 50% ROI. But 50% over 1 year is exceptional, while 50% over 10 years is mediocre. The annualized ROI (CAGR) normalizes for time: 50% over 1 year = 50%/year, while 50% over 10 years = 4.14%/year. Without annualizing, you cannot meaningfully compare a 3-year stock holding with a 10-year real-estate investment.
The calculator handles both gains and losses. A final value below the initial investment produces a negative ROI, which is shown with the minus sign preserved. This is essential for evaluating losing trades, underperforming funds, or business ventures that did not pan out.
How It Works
Total ROI is the simplest measure:
ROI = (Final Value - Initial Value) / Initial Value * 100Annualized ROI (also called CAGR, compound annual growth rate) is the geometric mean return that, if compounded annually, would produce the observed final value:
Annualized ROI = ((Final / Initial)^(1/years) - 1) * 100The geometric mean is the correct way to annualize because it accounts for compounding. The arithmetic mean (total ROI divided by years) overstates returns because it ignores the compounding effect. For a 50% gain over 3 years, the arithmetic average is 16.67%/year, but the geometric (correct) annualized return is 14.47%/year.
CAGR is the standard metric used in fund prospectuses, annual reports, and investment comparisons because it accurately reflects what you would have earned each year if the return had been constant.
Worked Examples
Suppose you invested $10,000 in a stock 3 years ago, and the position is now worth $15,000.
- Gain: $15,000 - $10,000 = $5,000
- Total ROI: ($5,000 / $10,000) * 100 = 50%
- Annualized ROI: ((15000/10000)^(1/3) - 1) * 100 = (1.1447 - 1) * 100 = 14.47%/year
Compare with another $10,000 investment that grew to $14,000 over 2 years: total ROI is 40% (less than the first investment), but annualized ROI is 18.32% (higher). The second investment is better on a per-year basis.
For a losing investment: $10,000 dropping to $7,500 over 3 years gives total ROI = -25%, annualized = -9.14%/year. The annualized figure tells you the average yearly decay rate, which is what you would compare against a benchmark like the S&P 500.
When to Use This Tool
Use this ROI calculator when:
- Comparing the performance of two stocks, funds, or properties held over different time periods
- Evaluating whether an actively managed fund beat its benchmark after fees
- Assessing the return on a real estate flip (purchase + renovation vs sale price)
- Measuring the profitability of a business investment (equipment, marketing campaign, training program)
- Comparing a 1-year CD return with a multi-year bond ladder
- Reviewing the historical performance of your 401(k) portfolio
- Evaluating whether to hold or sell a position based on its annualized return vs alternatives
For multi-asset portfolio analysis with periodic contributions, you need IRR (internal rate of return) — not yet a separate tool here, but the APR Calculator uses similar Newton-Raphson methodology.
Limitations & Disclaimer
This calculator computes total and annualized ROI for a single lump-sum investment with a single final value — it does not handle periodic contributions, partial withdrawals, dividends reinvested at varying times, or tax-loss harvesting. It does not adjust for inflation (use the Inflation Calculator separately), taxes on capital gains, transaction fees, or opportunity cost. Past performance is not indicative of future results. This is an educational tool, not investment advice. See our disclaimer for full terms.
Frequently Asked Questions
What is the difference between ROI and CAGR?
ROI (Return on Investment) is the total percentage gain or loss over the entire holding period. CAGR (Compound Annual Growth Rate) is the annualized version of ROI, accounting for compounding. CAGR is the better metric for comparing investments held over different time periods because it normalizes for time.
Should I use annualized ROI or total ROI?
Use total ROI when comparing investments held over the same time period (e.g., two stocks both held 3 years). Use annualized ROI when comparing investments held over different periods (e.g., a 3-year stock vs a 10-year bond). Annualized ROI is also more useful for benchmarking against published annual returns like the S&P 500.
Does this calculator account for dividends?
Only if you include dividends in the final value. If you received $500 in dividends on a $10,000 investment that ended at $15,000, enter $15,500 as the final value. This is called 'total return' and is the correct way to measure investment performance.
What about fees, taxes, and inflation?
For net ROI, subtract any fees (management fees, transaction costs) from the final value, and use after-tax dollars if comparing taxable investments. For real (inflation-adjusted) ROI, use the <a href='/tools/inflation-calculator.php'>Inflation Calculator</a> to convert both initial and final values to today's dollars before computing ROI.
How is this different from IRR (Internal Rate of Return)?
ROI/CAGR assumes a single initial investment and a single final value — no intermediate cash flows. IRR handles multiple cash flows (e.g., $1,000 invested now, $500 added next year, $200 withdrawn in year 3, $2,000 final value). IRR is more accurate for real-world portfolios with periodic contributions or withdrawals; use a dedicated IRR tool for those cases.
What is a good ROI?
For comparison, the U.S. stock market (S&P 500) has returned about 10% annualized nominally and 7% inflation-adjusted over the long run. A 'good' ROI therefore depends on context: 8% in stocks is mediocre, 8% in bonds is excellent, 8% in cash is exceptional. Always compare ROI against a relevant benchmark for the same asset class and time period.
Last updated: July 21, 2026 · Author: HT99 Tools Editorial Team · Reviewed by: HT99 Tools Editorial Team