Home › Investing › ROI Calculator

ROI and Annualized Return (CAGR) Calculator

Enter what you invested, what it is worth now and how long you held it. You get total ROI and the annualized return that makes different holding periods comparable.

$
$
yrs

Annualized return (CAGR)

—

Total ROI
—
Gain or loss
—
Growth multiple
—

Tips for using the roi calculator

  • Compare investments by CAGR, not total ROI, when holding periods differ.
  • Subtract inflation from CAGR to get the real return.
  • For rental property, the rental ROI calculator handles cash flow and cap rate.

How the roi calculator works

ROI measures the total gain relative to the amount invested. On its own it ignores time, so a 50% return over 2 years and over 10 years look the same. CAGR fixes that by finding the steady yearly rate that turns the starting value into the ending value.

ROI = (Final − Initial) ÷ Initial
CAGR = (Final ÷ Initial)1 ÷ years − 1

Include dividends or rent you received in the final value, and subtract fees and costs. CAGR assumes a single deposit at the start; if you added money over time, an internal rate of return (XIRR in spreadsheets) is the better measure.

Adjust for inflation

ROI and CAGR are usually quoted in nominal dollars. To see the real gain in buying power, divide by inflation: real CAGR = (1 + CAGR) ÷ (1 + inflation) − 1. The worked example's 10.53% a year with 3% inflation is a real return of about 7.31% a year.

Count every cost

An honest ROI includes everything you put in and everything you received:

  • Costs: purchase fees, commissions, fund expenses, repairs, subscriptions, your own paid time if relevant.
  • Income: dividends, interest, rent, tax credits.
  • Taxes: after-tax ROI is what actually reaches you; taxable accounts and tax-advantaged accounts can differ a lot.

Compare like with like

  • Use CAGR, not total ROI, when holding periods differ, as the worked example shows.
  • Compare against a realistic alternative, such as a low-cost index fund or a savings account, over the same period.
  • Weigh risk: a 12% return with large swings is not automatically better than a steady 8%.

Business and marketing ROI

For a project or campaign, ROI = (gain attributable to the project − cost) ÷ cost. The hard part is attribution: decide in advance what counts as gain (extra revenue or extra profit, which are very different numbers) and over what time window. Using profit rather than revenue avoids overstating returns. For advertising specifically, see the ROAS calculator.

Leverage

Borrowed money magnifies ROI in both directions. A property bought with 20% down that rises 10% in value returns about 50% on the cash invested before costs, but a 10% fall loses half of it. Always calculate ROI on the cash you actually put in, and run a downside case.

Sources

  • U.S. Securities and Exchange Commission: Investor.gov guides on investment returns and fees.

Worked example

$10,000 invested grows to $16,500 in 5 years. Total ROI is 65% and the gain is $6,500. The CAGR is 1.650.2 − 1 = 10.53% a year. A different investment that returned 80% over 8 years has a lower CAGR of 7.62%, even though its total ROI is higher.

Frequently asked questions

What is a good ROI?

It depends on risk and time. The S&P 500 has historically returned about 10% a year before inflation, which many investors use as a benchmark.

What is the difference between ROI and CAGR?

ROI is the total percentage gain. CAGR is the equivalent constant yearly growth rate over the holding period.

Can CAGR be negative?

Yes. If the final value is below the initial investment, CAGR is negative.

Can I use months?

Enter fractions of a year, such as 0.5 for six months. Annualizing very short periods can exaggerate results.

Related guides

Related calculators