Skip to content

Lesson 49 of 92 · Free Excel Course

Excel

CAGR Formula in Excel: Calculate Growth Rate, YoY Growth and Projections

Calculate CAGR in Excel three ways (formula, RRI, POWER), add a YoY growth column, see why average growth overstates, and project forward. Free workbook.

Two numbers tell you a business grew, but not how fast. CAGR (compound annual growth rate) turns "revenue went from $100,000 to $178,200 in five years" into one tidy rate: 12.25% a year. This lesson shows the growth % between two numbers, a year-over-year (YoY) column, CAGR three ways (a typed formula, the RRI function and POWER), why the average of the yearly percentages overstates growth, and how to project the next three years. Every number below comes from the free practice workbook, so you can follow along cell for cell.

The example: six years of revenue

Open the Practice sheet. A small company's revenue for 2021 to 2026 is in A2:B7:

C3=(B3-B2)/B2
ABC
1YearRevenueYoY growth
22021$100,000—
32022$125,00025.00%
42023$112,500-10.00%
52024$135,00020.00%
62025$148,50010.00%
72026$178,20020.00%
Revenue grew in four years and fell in one. Column C is the YoY growth you'll add in the next section.

Growth was bumpy: up 25%, down 10%, then up again. CAGR answers a simpler question: what single yearly rate, applied every year, gets you from $100,000 to $178,200?

Growth % between two numbers and YoY growth

The growth from an old number to a new one is (new − old) ÷ old. That's the same percent-change formula from the percentages lesson.

  1. Click C3 and type =(B3-B2)/B2, then press Enter. You get 0.25.
  2. With C3 selected, click Home > Percent Style (the % button), or press Ctrl+Shift+% on Windows. It shows 25%. Click Increase Decimal twice for 25.00%.
  3. Drag the fill handle (the small square at the bottom-right of C3) down to C7.

The formula uses relative references, so C4 becomes =(B4-B3)/B3 and so on. =B3/B2-1 gives exactly the same answer and is a little shorter. There's no growth figure for 2021 because there's no 2020 to compare with, so leave C2 empty or type a dash.

These steps are the same in Excel for the web; the Percent Style button is on the Home tab in all versions.

CAGR in Excel: three ways that give the same answer

CAGR is: (End ÷ Start) ^ (1 ÷ Years) − 1. "Years" is the number of years of growth, which is the number of values minus one. Six values (2021 to 2026) are five years of growth: 2026 − 2021 = 5.

Fill in the yellow cells in column F:

  1. F2 =B2 (start, $100,000), F3 =B7 (end, $178,200), F4 =A7-A2 (years, 5). Working the years out from the dates means you can't miscount.
  2. F5, the typed formula: =(F3/F2)^(1/F4)-1.
  3. F6, the RRI function: =RRI(F4,F2,F3). RRI's syntax is RRI(nper, pv, fv): number of periods, start value, end value. It works in Microsoft 365, Excel 2016 to 2024, Excel for Mac and Excel for the web.
  4. F7, the POWER function: =POWER(F3/F2,1/F4)-1. POWER(number, power) does exactly what the ^ operator does; some people find it easier to read.
  5. Format F5:F7 as Percentage with two decimals.
F6=RRI(F4,F2,F3)
EF
1MeasureResult
2Start revenue (2021)$100,000
3End revenue (2026)$178,200
4Periods (years) = 2026 − 20215
5CAGR: (End/Start)^(1/Years)−112.25%
6CAGR: RRI function12.25%
7CAGR: POWER function12.25%
All three methods return 12.25%. RRI is the shortest: no brackets to balance and no minus one at the end.

Check it by hand: 178,200 ÷ 100,000 = 1.782. The fifth root of 1.782 is about 1.1225. Take away 1 and you have 0.1225, or 12.25%. And going the other way, $100,000 × 1.1225 five times lands back on $178,200.

Microsoft's own CAGR page points to the XIRR function. That's the tool when money goes in and out on specific dates (an investment with several deposits). For a simple start value and end value, like yearly revenue, the formula, RRI or POWER is all you need. When you compare the CAGR of two businesses or investments, use the same number of years for both.

Monthly or quarterly data? RRI gives the rate per period, so with 24 months of data =RRI(24,B2,B26) is a monthly rate. To turn it into a yearly rate, compound it: =(1+RRI(24,B2,B26))^12-1. For quarters, use the number of quarters and ^4. Don't just multiply the monthly rate by 12; that ignores compounding and understates the yearly figure slightly. If your periods aren't whole years (say 3.5 years), the typed formula still works: put 3.5 in the years cell.

Which one should you report? Use YoY growth to show what happened each year, and CAGR to sum up the whole stretch in one number. A good summary table shows both: the YoY column reveals the dip in 2023 that CAGR smooths away.

Average growth vs CAGR: why the average overstates

It's tempting to just average the YoY column. In F8 type =AVERAGE(C3:C7): you get 13.00%. That's higher than the 12.25% CAGR. Which is right?

Test it. In F9 type =F2*(1+F8)^F4: growing $100,000 at 13% a year for five years gives $184,244. The company actually reached $178,200. The average overstates by $6,044 (F10 =F9-F3). Grow $100,000 at 12.25% for five years instead and you hit $178,200 exactly.

The reason is that a fall hurts more than the same-sized rise helps. The extreme case is in rows 26 to 30 of the practice sheet:

C30=RRI(2,B26,B28)
ABC
25YearValueYoY growth
261$100—
272$15050.00%
283$75-50.00%
29Average of YoY0.00%
30CAGR (2 periods)-13.40%
Up 50%, then down 50%. The average says no change, but you lost a quarter of your money. CAGR tells the truth: −13.40% a year.

A 50% gain on $100 takes you to $150; a 50% loss on $150 takes away $75. The average is 0%, yet $100 became $75. Whenever the yearly rates bounce around, the simple average is higher than CAGR, which is why investment returns and company growth are quoted as CAGR. Average growth isn't useless (it tells you about a typical year), but don't use it to project forward.

When the start is zero or negative

A new product with $0 revenue in 2024 shows #DIV/0! for 2025, because you can't divide by zero. Wrap the YoY formula in IFERROR:

=IFERROR((B21-B20)/B20,"n/a")

C21=IFERROR((B21-B20)/B20,"n/a")
ABC
19YearRevenueYoY growth
202024$0—
212025$8,000n/a
222026$12,00050.00%
Growth from zero has no meaningful percentage, so the formula shows n/a instead of an error. 2025 to 2026 is a normal 50%.

Negative values are trickier. Profit going from −$5,000 to $2,000 gives −140% with the normal formula, which looks like a fall when it's actually an improvement. CAGR with a negative start or end returns #NUM! or a meaningless rate. The honest fix is to skip the percentage: show n/a with =IF(B2<=0,"n/a",B3/B2-1) and report the change in dollars instead.

Project forward with CAGR

To estimate future revenue, grow the last actual value at the CAGR: Start × (1 + CAGR) ^ n, where n is the number of years ahead.

  1. On the Practice sheet, B14:B16 already hold 1, 2 and 3 (years after 2026).
  2. In C14 type =$B$7*(1+$F$5)^B14. The dollar signs lock the 2026 revenue and the CAGR so they don't move when you copy (see absolute references).
  3. Copy C14 down to C16.
C14=$B$7*(1+$F$5)^B14
ABC
13YearYears after 2026Projected revenue
1420271$200,027
1520282$224,528
1620293$252,030
If revenue keeps growing at 12.25% a year, 2029 lands at about $252,030.

This is the same compounding a savings account uses; try different rates and years in the free compound interest calculator. A projection is only as good as the assumption that the past rate continues, so treat it as a "what if", not a forecast.

Chart actual vs projected growth

A line chart shows how the bumpy real revenue compares with the smooth CAGR path:

Revenue: actual and projected vs the 12.25% CAGR path$0$100K$200K$300K202120222023202420252026202720282029Revenue ($)YearActual, then proj…Steady 12.25% a y…
Revenue: actual and projected vs the 12.25% CAGR path
YearActual, then projectedSteady 12.25% a year
2021$100,000$100,000
2022$125,000$112,249
2023$112,500$125,998
2024$135,000$141,431
2025$148,500$158,755
2026$178,200$178,200
2027$200,027$200,027
2028$224,528$224,528
2029$252,030$252,030
The real line zigzags, the CAGR line is smooth, and they meet in 2021 and 2026. From 2027 both follow the projection.

To build it, put the years and values in two columns (actual for 2021 to 2026, the projection for 2027 to 2029), select them and click Insert > Line Chart (the same on Mac and Excel for the web). For the smooth path, add a column with =$B$2*(1+$F$5)^(A2-$A$2) and include it in the chart. The charts lesson covers titles and formatting.

Try it yourself

Download the practice workbook. The Practice sheet has yellow cells for every formula, and the Answers sheet shows the finished version with each formula written out as text.

  1. Fill C3:C7 with =(B3-B2)/B2 and format as percentages (25.00%, -10.00%, 20.00%, 10.00%, 20.00%).
  2. Fill F2:F4 with the start, end and number of years (5, not 6).
  3. Work out CAGR three ways in F5:F7. All three show 12.25%.
  4. Compare the average in F8 (13.00%) with CAGR, then check F9 and F10 to see the $6,044 overstatement.
  5. Project 2027 to 2029 in C14:C16.
  6. Fix the zero-start product with IFERROR in C21:C22, and fill the up-50%/down-50% example in C27:C30.

Common mistakes

  • Counting values instead of years. Six years of data is five periods. Using 6 gives 10.11% instead of 12.25%. =A7-A2 avoids the miscount.
  • Forgetting the minus 1. =(B7/B2)^(1/5) returns 1.1225, which shows as 112.25% when formatted.
  • Missing brackets around 1/Years. =(B7/B2)^1/5-1 raises to the power 1, then divides by 5. You must write ^(1/5).
  • Averaging the YoY column and calling it CAGR. The average is higher whenever growth isn't steady.
  • Using a zero or negative start. You get #DIV/0! or #NUM!. Use IFERROR or report the change in dollars.
  • Projecting from the first year. =$B$2*(1+CAGR)^n counts n from 2021. Project from the last actual year, B7.
  • Leaving out the dollar signs in the projection, so the CAGR reference slides down when you copy.

What's next

You can now turn any start and end value into a growth rate, spot when an average is flattering the numbers, and project forward. The previous lesson, heat maps and data bars, shows how to color a growth table so the big years stand out. Next, random numbers in Excel covers RAND, RANDBETWEEN and picking a random winner. Or go back to the full Excel course.

Frequently asked questions

What is the CAGR formula in Excel?

Excel has no function called CAGR, so you type it yourself: =(End/Start)^(1/Years)-1. With the start value in B2, the end value in B7 and 5 years between them, that's =(B7/B2)^(1/5)-1. You can also use =RRI(5,B2,B7), which gives the same answer. Format the cell as a percentage.

How many periods do I use for CAGR?

The number of years of growth, which is one less than the number of values. Revenue for 2021, 2022, 2023, 2024, 2025 and 2026 is six values but only five years of growth (2026 − 2021 = 5). Using 6 is the most common CAGR mistake: in our example it gives 10.11% instead of the correct 12.25%.

How do I calculate year-over-year (YoY) growth in Excel?

Subtract last year from this year and divide by last year: =(B3-B2)/B2, then format as a percentage and copy the formula down. =B3/B2-1 gives the same result. If last year could be zero or blank, wrap it as =IFERROR((B3-B2)/B2,"n/a") so you see n/a instead of #DIV/0!. See the percentages lesson for more percent-change formulas.

What's the difference between CAGR and average annual growth?

Average growth is the plain average of the yearly percentages. CAGR is the single steady rate that takes the start value to the end value with compounding. When growth goes up and down, the average is always too high: up 50% then down 50% averages 0%, yet $100 ends as $75, a CAGR of −13.40%. Use CAGR to describe growth over several years.

Can I calculate CAGR with a negative or zero starting value?

No. With a zero start the typed formula returns #DIV/0! (RRI returns #NUM!), and with a negative start or end you get #NUM! or a number that means nothing. CAGR only works when both values are positive. For a business that went from a loss to a profit, report the change in dollars instead, or start the period at the first positive year.

What does the RRI function do?

RRI returns the equal rate per period that grows a present value into a future value. The syntax is =RRI(nper, pv, fv). For yearly data it is exactly CAGR: =RRI(5,100000,178200) returns 12.25%. Unlike most finance functions, you don't need a minus sign on either value.