CalcOpenly
English

ROI and CAGR calculator

Calculate ROI (total return) and CAGR (compound annual growth rate) from an investment's start and end values, over years or between two dates.

Drafted with AI writing toolsUpdated Checked examples: 6

$
$
$
Dividends, interest or rent you took out. It is added to the final value.
years
Try
CAGR (annualized return)
%
CAGR (annualized return): 10.53 %
Maximum decimal places: 2; Nearest, ties away from zero
Total return (ROI)
65%
Gain
$6,500.00
Growth multiple
1.6500×
Holding period
5years

Turning $10,000.00 into $16,500.00 over 5 years is a total return of 65%, the same as 10.53% a year compounded.

Growth path

$0$5,000$10K$15K012345Years1.65×
Compounding at the CAGRStraight line
Value at the CAGR Rows: 6
YearValueGrowth since previous row
0$10,000.00$0.00
1$11,053.42$1,053.42
2$12,217.82$1,164.39
3$13,504.87$1,287.05
4$14,927.50$1,422.63
5$16,500.00$1,572.50
How it's calculated S
  1. Total value received

    Vend+I=16,500+0=16,500.00V_{end} + I = 16{,}500 + 0 = 16{,}500.00
  2. Total return

    ROI=16,500.00−10,000.0010,000.00=65.0000%ROI = \frac{16{,}500.00 - 10{,}000.00}{10{,}000.00} = 65.0000\%
  3. Holding period

    t=5 yearst = 5\ \text{years}
  4. Compound annual growth rate

    CAGR=(16,500.0010,000.00)1/5−1=10.5342%CAGR = \left(\frac{16{,}500.00}{10{,}000.00}\right)^{1/5} - 1 = 10.5342\%

    Income is treated as received at the end; reinvesting it earlier would change the rate slightly.

About the ROI and CAGR calculator

ROI is the total gain as a share of the amount invested: (final value + income − amount invested) ÷ amount invested. CAGR turns that into a steady yearly rate, (ending value ÷ amount invested)^(1/years) − 1: the rate that, compounded every year, would reach the same end value. Between two dates, the holding period is the actual number of days divided by 365.25, or by 365 as Excel's XIRR does.

With the defaults, 10,000 growing to 16,500 in 5 years is a 65% total return and a CAGR of 10.53% a year. Dividing 65% by 5 years gives 13%, which overstates the yearly rate because it ignores compounding.

Both figures treat the investment as one payment in and one value out. If you added or withdrew money along the way, use the XIRR calculator, which weights each cash flow by its date.

How to calculate CAGR and ROI

CAGR = (final value ÷ amount invested)^(1 ÷ years) − 1, and ROI = (final value − amount invested) ÷ amount invested. An investment of 10,000 that grows to 16,500 in 5 years has an ROI of 65% and a CAGR of 10.5342% a year. Use CAGR to compare investments held for different lengths of time.

CAGR is the one steady yearly rate that links the start and end values. The investment's actual yearly returns could have swung widely around it.

Dividing the 65% by 5 years gives 13%, which overstates the yearly rate because it ignores compounding.

ROI formula with income and costs

ROI = (final value + income − amount invested) ÷ amount invested × 100%. Income is cash you took out along the way, such as dividends, interest or rent, and it counts as received at the end.

1,000 that grew to 1,100 and paid 50 of dividends gained 150, an ROI of 15%. Over two years that is a CAGR of (1,150 ÷ 1,000)^(1/2) − 1 = 7.2381%.

To include costs, use net figures: add purchase fees to the amount invested and subtract selling costs from the final value.

CAGR worked by hand

  1. Growth multiple: M = 16,500 ÷ 10,000 = 1.65.
  2. Fifth root: 1.65^(1/5) = 1.105342296.
  3. CAGR: 1.105342296 − 1 = 0.105342, or 10.5342% a year.

Check it by compounding back: 10,000 × 1.105342296^5 = 16,500.00. Keep the decimals for that check, since a rate rounded to 10.53% gives 16,496.84.

Excel's RRI function computes the same root: =RRI(5, 10000, 16500) returns 0.105342. Its period count sets the unit, so periods in months give a monthly rate.

ROI and CAGR examples

InvestedFinal valueIncomeYearsROICAGR per year
10000165000565.00%10.5342%
100001650001065.00%5.1353%
1001440244.00%20.0000%
1007502-25.00%-13.3975%
1000110050215.00%7.2381%
10001000050.00%0.0000%
1000003-100.00%-100.0000%
100010500.255.00%21.5506%

The same 65% ROI is 10.5342% a year over 5 years but 5.1353% over 10. A loss gives a negative CAGR, and a total loss is −100% whatever the holding period.

CAGR vs average annual return

An investment that gains 50% and then loses 50% ends at 100 × 1.5 × 0.5 = 75. The arithmetic average of the two returns is 0%, but the two-year CAGR is −13.3975%.

Compound growth multiplies the yearly growth factors; averaging the percentages ignores that, so the average overstates growth whenever returns vary.

CAGR for a holding period under a year

Annualizing a short holding period assumes the same return repeats. A 5% gain in 3 months becomes 1.05^4 − 1 = 21.5506% a year, which says little about the next nine months. For short holdings the total return is the plainer figure.

CAGR between two dates

With purchase and valuation dates, years = days between them ÷ 365.25 (an average year) or ÷ 365 (the convention Excel's XIRR uses). Each row below doubles 10,000 to 20,000 with no income:

Bought onValued onDaysDays per yearYears usedCAGR per year
2020-01-012025-01-011827365.255.00205314.8633%
2020-01-012025-01-0118273655.00547914.8524%
2023-01-012024-01-013653651.000000100.0000%
2024-01-012025-01-01366365.251.00205399.7161%

The five years from 2020 include two leap days, so they span 1,827 days. Neither divisor counts whole calendar years, so state the day basis when you compare two results.

When CAGR is the wrong measure

CAGR assumes one payment in and one value out. If you added or withdrew money along the way, use the XIRR calculator, which weights each cash flow by its date.

For the future value of regular monthly investments at an assumed rate, use the SIP calculator.

Tax, fees and inflation are not deducted, so use net values when they belong in the comparison. To measure the change in purchasing power, use the inflation calculator. A CAGR describes past growth, not an offered interest rate or a guaranteed return.

Worked examples

10,000 to 16,500 in 5 years

Amount invested
10,000
Final value
16,500
Income received along the way
0
Holding period from
Years
Years held
5 years
Total return (ROI)
65%
CAGR (annualized return)
10.53423%
Gain
6,500.00

Checked against: 1.65^(1/5) − 1 = 10.5342296%

Doubling between two dates

Amount invested
10,000
Final value
20,000
Income received along the way
0
Holding period from
Dates
Bought on
2020-01-01
Valued on
2025-01-01
Days per year
365.25 (average year)
Holding period
5.002053 years
CAGR (annualized return)
14.863299%
Total return (ROI)
100%

Checked against: 1,827 days / 365.25 = 5.0020534 years; 2^(1/5.0020534) − 1 = 14.8632986%

Exactly one year, 365-day basis

Amount invested
100
Final value
110
Income received along the way
0
Holding period from
Dates
Bought on
2023-01-01
Valued on
2024-01-01
Days per year
365 (as Excel XIRR)
Holding period
1 year
CAGR (annualized return)
10%
Total return (ROI)
10%

Checked against: 365 days / 365 = 1 year, so CAGR equals ROI (definition)

Income taken out counts toward the return

Amount invested
1000
Final value
1100
Income received along the way
50
Holding period from
Years
Years held
2 years
Total return (ROI)
15%
CAGR (annualized return)
7.238053%

Checked against: √1.15 − 1 = 7.2380529%

Questions

How do you calculate ROI?

Divide the gain by the amount invested and multiply by 100: ROI = (final value + income − cost) ÷ cost × 100. An investment of 10,000 now worth 16,500 has an ROI of 6,500 ÷ 10,000 = 65%. Income you took out counts too: 1,000 that grew to 1,100 and paid 50 of dividends returned 15%.

How do you calculate CAGR?

Divide the ending value by the starting value, raise the result to the power 1 ÷ years, and subtract 1. For 10,000 growing to 16,500 in 5 years, 1.65^(1/5) − 1 = 10.53% a year. In Excel, =RRI(5, 10000, 16500) returns the same rate.

What is the difference between ROI and CAGR?

ROI measures the whole gain and ignores time; CAGR spreads it over the years as a compound rate. A 65% ROI is a CAGR of 10.53% if it took 5 years but only 5.14% if it took 10 years. Use CAGR to compare investments held for different lengths of time.

Is CAGR the same as the average annual return?

No. The average of yearly returns ignores compounding, so it overstates the growth whenever returns vary. An investment that gains 50% one year and loses 50% the next has an average return of 0%, but it ends at 75% of its starting value, a CAGR of −13.40% a year.

Should I use CAGR for a holding period under a year?

With care, because CAGR assumes the same return would repeat for a full year. A 5% gain in 3 months annualizes to 1.05^4 − 1 = 21.55% a year, which says little about what the next nine months will bring. For short holdings the total return is the plainer figure.

About this calculator

ROI=Vend+I−V0V0,CAGR=(Vend+IV0)1/t−1ROI = \frac{V_{end} + I - V_0}{V_0},\qquad CAGR = \left(\frac{V_{end} + I}{V_0}\right)^{1/t} - 1

Sources

  1. Microsoft Excel RRI function (equivalent interest rate for growth)
  2. CFA Institute — Quantitative Methods: The Time Value of Money (annualized returns)

For planning only. Lenders, tax authorities and markets apply their own rounding, fees and rules; confirm figures with them before you commit.

Checked against references

This calculator includes 6 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.