How-to recipes · Analysis

How to calculate CAGR in Excel

Calculate the compound annual growth rate between two values with a simple formula or the RRI function, and avoid counting the years wrong.

Intermediate RRI POWER GEOMEAN AVERAGE YEARFRAC COUNT

Revenue grew from 1.25 million to 2.01 million over five years. By how much per year? Dividing the total growth (61%) by five gives 12.2%, but that ignores compounding: growth in later years builds on a bigger base. The compound annual growth rate (CAGR) is the constant yearly rate that would take you from the starting value to the ending value. It is the standard way to summarise growth of revenue, users, investments or prices over several years.

The example data

Revenue for six years, 2021 to 2026, in A1:B7. That is five years of growth, from the end of 2021 to the end of 2026.

The CAGR formula

CAGR = (ending value / starting value)^(1 / number of years) - 1. In Excel:

D2fx=(B7/B2)^(1/(A7-A2))-1
ABCD
1YearRevenue
2202112500009.97%
320221390000
420231460000
520241720000
620251850000
720262010000

Formatted as a percentage with two decimals. A7-A2 = 5 years of growth.

Result: 9.97%

  1. B7/B2 is the total growth factor: 2,010,000 / 1,250,000 = 1.608.
  2. ^(1/5) takes the fifth root, the factor per year: about 1.0996.
  3. -1 turns the factor into a rate: 9.96%.

Check: 1,250,000 × 1.0996^5 ≈ 2,010,000. POWER is an alternative to the caret: =POWER(B7/B2,1/(A7-A2))-1.

The RRI function

RRI (Excel 2013 and later, including Microsoft 365) calculates exactly the same rate with the number of periods first:

D2fx=RRI(A7-A2,B2,B7)
ABCD
1YearRevenue
2202112500009.97%
320221390000
420231460000
520241720000
620251850000
720262010000

RRI(number of periods, present value, future value). Formatted as a percentage.

Result: 9.97%

RRI is easier to read and less prone to bracket mistakes. Use the manual formula when you need to share the workbook with someone on Excel 2010 or earlier, or when you want the calculation to be visible step by step.

Counting the years correctly

Watch out. Six values span five periods. A very common mistake is to count the rows: using 6 as the number of years gives 8.24%, which understates the growth. Always subtract the first year from the last, or use COUNT(B2:B7)-1.

When the start and end are dates rather than whole years (an investment held from 15 March 2023 to 30 September 2026), use the exact fraction of years with YEARFRAC: =(End/Start)^(1/YEARFRAC(StartDate,EndDate))-1.

CAGR versus the average growth rate

The yearly growth rates in the example are 11.2%, 5.0%, 17.8%, 7.6%, 8.6%. Their simple AVERAGE is 10.05%, which is higher than the CAGR of 9.97%. The arithmetic average always overstates compound growth when rates vary; applying 10.05% for five years would overshoot the real 2026 revenue. CAGR is the rate that actually reproduces the end value.

In Microsoft 365 you can confirm the CAGR from the yearly rates with GEOMEAN on the growth factors: =GEOMEAN(B3:B7/B2:B6)-1 returns the same 9.96%. In Excel 2016 and 2019 this needs Ctrl+Shift+Enter.

Projecting forward

Once you have the CAGR, projecting is the compound interest formula in reverse: the revenue expected in 2029 at the same rate is =B7*(1+D2)^3. Treat such projections carefully: past growth rates rarely continue unchanged. See How to calculate compound interest in Excel.

Pitfalls

  • Negative or zero starting values. CAGR is undefined when the start is 0 and meaningless when the start or end is negative (a loss turning into a profit). Report the absolute change instead.
  • Ignoring the path. CAGR only uses the first and last values. A business that dropped 40% and recovered has the same CAGR as one that grew smoothly. Show the yearly values too.
  • Mixing periods. For monthly data, the CAGR formula gives a monthly rate; convert it to an annual rate with =(1+monthly)^12-1.
  • Formatting. The result is a decimal (0.0996); format it as a percentage rather than multiplying by 100.
Tip. For the change between just two periods, see How to calculate percentage change in Excel. Financial formulas are introduced in Excel for finance basics: loan schedules with PMT, IPMT, PPMT and a budget.
⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

More how-to recipes