How To Calculate CAGR In Excel (2026)

CAGR is the steady yearly growth rate that would take a starting value to an ending value over a set number of years.

Excel has a built-in function for this called RRI, and you can also write the same calculation with the power operator.

This guide shows both methods with worked examples, and explains a confusing example on Microsoft’s own RRI page.

Table of Contents

Quick answer: two ways to get CAGR

MethodFormulaResult for 1,000 growing to 1,500 over 5 years
RRI function=RRI(5,1000,1500)0.0845, or 8.45%
Power operator=(1500/1000)^(1/5)-10.0845, or 8.45%

Format the result cell as a percentage to see 8.45% instead of 0.0845.

What the RRI function does

Microsoft describes RRI as a function that returns an equivalent interest rate for the growth of an investment.

That is the compound annual growth rate when each period is one year.

Microsoft lists the syntax as RRI(nper,pv,fv), and all three arguments are required.

ArgumentMeaningIn a CAGR calculation
nperThe number of periods for the investmentNumber of years
pvThe present value of the investmentStarting value
fvThe future value of the investmentEnding value

Calculate CAGR with RRI

  1. Put your starting value in A2, your ending value in B2, and the number of years in C2.
  2. Click an empty cell, such as D2.
  3. Type =RRI(C2,A2,B2) and press Enter.
  4. With the sample numbers 1000, 1500, and 5, the cell shows 0.084471771.

The order matters: periods first, then the starting value, then the ending value.

Show the result as a percentage

  1. Click the result cell.
  2. On the Home tab, click Percent Style in the Number group, or press Ctrl+Shift+%.

For more control on Windows, open the launcher next to Number, choose Percentage in the Category list, and set the decimal places.

Entering 0 decimal places shows 8% instead of 8.45%, so use 2 if you want to see the hundredths.

Calculate CAGR with the power operator

The same result comes from =(B2/A2)^(1/C2)-1 using the caret operator.

Microsoft lists ^ as the exponentiation operator, and says Excel evaluates exponentiation before multiplication and division, and those before addition and subtraction.

That is why the parentheses around B2/A2 and around 1/C2 are needed, since Microsoft says parentheses override the default order.

PartWhat it does
B2/A2Ending value divided by starting value
^(1/C2)Takes the root for the number of years
-1Turns the growth multiple into a rate

Second worked example

Suppose revenue grew from 12,000 to 18,000 over 4 years.

FormulaResult
=RRI(4,12000,18000)About 0.1067, or 10.67%
=(18000/12000)^(1/4)-1About 0.1067, or 10.67%

Both formulas agree, so use whichever is easier for you to read.

Count the periods correctly

The number of periods is the number of growth steps, not the number of data points.

A series that runs from 2021 to 2025 has five yearly values but only four years of growth, so the period count is 4.

Values listedYears of growthUse as nper
2021 to 20252025 minus 20214
2020 to 20252025 minus 20205

Using the wrong count is the most common reason a CAGR looks too high or too low.

The confusing example on Microsoft’s RRI page

Microsoft’s example is =RRI(96,10000,11000), described as growing 10,000 to 11,000 over 8 years.

The listed result is 0.0009933, while the description states 0.012, or 1.2%.

The two numbers agree once you notice that 96 periods over 8 years is 12 periods per year.

So 0.0009933 is a rate per period, and multiplying it by 12 gives roughly 1.2% per year.

To get a yearly rate for the same investment, use =RRI(8,10000,11000) with 8 yearly periods.

The takeaway is that RRI returns a rate for whatever period length you count in nper.

Check the result

A quick way to confirm the rate is to grow the starting value by it and see whether you land on the ending value.

  1. Keep the CAGR in D2 as a decimal.
  2. In E2, type =A2*(1+D2)^C2 and press Enter.
  3. The cell should show 1500 for the sample data.

If E2 matches your ending value, the periods and the order of the arguments are correct.

Calculate CAGR for many rows

If each row holds one item with its own start value, end value, and years, enter the formula once in the first row.

Then drag the fill handle at the bottom-right corner of the result cell down the column to copy it to the other rows.

Because the cell references are relative, each row uses its own A, B, and C values automatically.

What CAGR does not show

CAGR uses only the starting value, ending value, and number of periods, so it ignores everything in between.

Two investments with very different ups and downs can have the same CAGR.

It also cannot be calculated from a start or end value of zero or less, so choose a different measure for data that crosses zero.

Which method to choose

If you wantUse
The shortest formulaRRI
To see each step of the mathThe power operator version
A yearly rate when your data is monthlyCount the months in nper, then compare with the yearly period count

Both give the same number when the inputs match, so the choice is only about readability.

Whichever you pick, label the start value, end value, and years in their own cells so anyone opening the workbook can follow the formula.

Avoid typing the numbers straight into the formula for anything you will reuse, because changing one value then means editing the formula itself.

Errors you might see

ErrorMicrosoft says it meansTypical cause
#NUM!An argument value is invalidZero periods, or a zero or negative start or end value
#VALUE!An argument has an invalid data typeA number stored as text

Microsoft only states that invalid values return #NUM! and invalid data types return #VALUE!, so the typical causes in the table are the usual triggers rather than a Microsoft list.

If a number is stored as text, see how to convert numbers stored as text in Excel.

For other error codes, read how to fix #N/A, #VALUE! and #REF! errors.

CAGR smooths growth into one steady yearly rate, so it hides ups and downs along the way.

For a single change between two numbers, see how to calculate percentage difference in Excel.

To measure how much yearly values bounce around, see how to calculate standard deviation in Excel.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *