CAGR Formula in Excel: Compound Annual Growth Rate, With RRI

The CAGR formula in Excel, with RRI or POWER, how many periods to use, why averaging growth rates overstates it, and CAGR from monthly data or exact dates.

Founder, Glow Reports. , 3 min read
  • Excel
  • Formulas
  • Finance
Five bars rising from left to right with a dip in the middle, a smooth arrow from the first bar to the last, and a calendar beside them
On this page
  1. What is CAGR?
  2. How do you calculate CAGR in Excel?
  3. Is there a CAGR function in Excel?
  4. How many periods do you use?
  5. Why not average the yearly growth rates?
  6. How do you calculate CAGR from monthly data or exact dates?
  7. What does CAGR not tell you?
  8. How do you get yearly totals from a sales export?
  9. Where does Glow Reports fit?
  10. Common questions

Revenue went from 120,000 to 240,000 in four years, and the board deck needs one growth rate for the period. Averaging the yearly growth rates gives 20.25%, which overstates it. The figure you want is the compound annual growth rate, or CAGR: the steady yearly rate that turns the first value into the last one. In Excel, it is one short formula, , or the RRI function. This guide shows both, how to count the periods without the usual off-by-one error, how to work from monthly data or exact dates, and what CAGR leaves out.

What is CAGR?

CAGR is the constant yearly growth rate that takes a starting value to an ending value over a number of years, with each year's growth compounding on the last. It answers "if growth had been steady, what rate would it have been?" It uses only the first value, the last value and the number of periods.

The Corporate Finance Institute gives the formula as the ending value divided by the beginning value, raised to the power of one over the number of periods, minus one Corporate Finance Institute:

CAGR, written out
=(End/Start)^(1/Periods)-1

Here is the sample used in the rest of this guide, yearly revenue from a sales export. Type it in A1:B6.

YearRevenue
2021120,000
2022150,000
2023138,000
2024190,000
2025240,000

How do you calculate CAGR in Excel?

Divide the last value by the first, raise the result to the power of one over the number of periods, and subtract 1. With the revenue in B2:B6, that is . Format the cell as a percentage. The sample returns 18.92%.

CAGR 2021 to 2025, 18.92%
=(B6/B2)^(1/(A6-A2))-1

Writing the periods as instead of 4 keeps the formula right when you add a year. POWER does the same as the caret, so returns the same 18.92% Microsoft Support.

Check the result by compounding it. 120,000 grown by 18.92% a year gives about 142,705 in 2022, 169,706 in 2023, 201,815 in 2024 and 240,000 in 2025. The path is smooth where the real one dipped in 2023, but both end at the same value.

Is there a CAGR function in Excel?

Not by that name, but RRI computes the same thing: returns 18.92% for the sample. Its arguments are the number of periods, the present value and the future value Microsoft Support. It returns #NUM! when an argument isn't valid and #VALUE! when one isn't a number.

The unit of the periods sets the unit of the rate. Microsoft's own example shows why this matters. returns 0.0009933, a monthly rate, because 8 years were entered as 96 months. The page's description calls the result 1.2% a year, which is what returns. Enter the periods in years when you want a yearly rate.

How many periods do you use?

The number of years between the first and last values, which is the number of data points minus one. 2021 to 2025 holds five values but four years of growth, so the formula uses 4.

Using 5 is the most common CAGR mistake. On the sample it returns 14.87% instead of 18.92%, and nothing on the sheet looks wrong. or keeps the count right.

Why not average the yearly growth rates?

Because an average of percentages ignores compounding. The sample grew 25.00%, minus 8.00%, 37.68% and 26.32% year over year. Their average is 20.25%, but 120,000 grown by 20.25% for four years gives about 250,900, not 240,000.

20.25% is the average of the four yearly rates, against a CAGR of 18.92%.

A fall followed by a rise makes the gap wider. A value that drops 50% and then rises 50% ends 25% lower, yet the average of the two rates is 0%. Keep the yearly rates in the report to show the path, and use CAGR for the rate over the whole period. The percentage change guide covers the year over year formula.

How do you calculate CAGR from monthly data or exact dates?

From monthly data, compute the compound monthly rate and then annualize it. MRR that went from 10,000 to 14,000 in 12 months grew , or 2.84% a month. The yearly rate is , which returns 40%, the same as the plain 12-month change.

Don't multiply a monthly rate by 12. 3% a month compounds to 42.58% over a year, not 36%.

When the first and last values sit on dates that aren't a whole number of years apart, use the days between them. With 125,000 on 31 March 2023 and 180,000 on 30 September 2025, 914 days apart:

CAGR between two dates, 15.68%
=(C3/C2)^(365/(B3-B2))-1

YEARFRAC gives the years as a decimal and fits the same place, as . The days between two dates guide explains both and the date errors to watch for.

What does CAGR not tell you?

It hides everything between the first and last values. The Corporate Finance Institute lists the main limits: CAGR assumes steady growth, uses only the start and end values, and ignores money put in or taken out along the way.

In the sample, the 2023 dip doesn't move the CAGR at all. A business that grew from 120,000 to 300,000 and fell back to 240,000 in the last year has the same 18.92%. Three habits make the figure honest:

  • Show the yearly values or a line chart next to the CAGR.
  • Pick the start year for a reason, and say which years the rate covers. Starting from a weak year inflates the rate.
  • Don't compute CAGR from a start value of zero or below. The formula has no answer there, and RRI returns #NUM!.

CAGR describes past growth. It is not a forecast, and a report that extends it forward should say that it is an assumption.

How do you get yearly totals from a sales export?

Summarize the export by year first, then apply the formula to the first and last totals. A PivotTable with the order date grouped by Years in Rows and the sum of revenue in Values gives the table above. The pivot table by month guide shows the grouping, which works the same way for years.

With a formula, put the years in A2:A6 and use . The SUMIFS guide explains the date criteria. Make sure the first and last years are complete. A last year that stops in November understates the CAGR.

In Google Sheets, the same formula with the caret or POWER works, and Sheets also has an RRI function with the same three arguments Google Docs Editors Help.

Where does Glow Reports fit?

The formula is short. The work around it is not: totals by year from a raw export, a check that the first and last years are complete, the yearly rates beside the CAGR, and a chart of the path. All of it gets rebuilt each time the numbers change.

With Glow Reports, you upload the CSV or Excel export and ask in plain language, such as revenue by year with the year over year change and the CAGR from 2021 to 2025. The AI writes the SQL, builds the charts and drafts the text. The SQL sits under each figure, so you can check which years and rows went into the rate and edit the query if your period differs. Reports export to PDF and stay in the workspace. The free plan gives 300 credits once, and a report costs 100 credits.

Common questions

What is the formula for CAGR in Excel?

, for example . RRI gives the same result: . Format the cell as a percentage.

Why is my CAGR wrong in Excel?

The usual cause is the period count. Five yearly values hold four years of growth, so the formula needs 4. Check also that the first and last years are complete and that the start value is above zero.

Can CAGR be negative?

Yes. When the last value is below the first, the formula returns a negative rate. Revenue from 240,000 down to 120,000 over four years gives minus 15.91% a year.

What is the difference between CAGR and average annual growth?

Average annual growth is the arithmetic mean of the yearly rates and ignores compounding. CAGR is the steady rate that links the first and last values. With volatile years, the average is higher than CAGR.

El Mehdi Benane
Founder, Glow Reports

I am a product engineer and the founder of Glow Reports. I spent more than 6 years building products in tech, data and cybersecurity, for large groups, startups and SMEs. In most organizations I saw data treated as a technical topic, when it drives business decisions. I built the reporting tool I was looking for, so the people who run small and mid-sized organizations can read their own numbers without a data team.

Upload your sales export to Glow Reports and ask for revenue by year, the yearly change and the CAGR, with the SQL behind each figure.

Keep reading