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:
| A | B | C | |
|---|---|---|---|
| 1 | Year | Revenue | YoY growth |
| 2 | 2021 | $100,000 | — |
| 3 | 2022 | $125,000 | 25.00% |
| 4 | 2023 | $112,500 | -10.00% |
| 5 | 2024 | $135,000 | 20.00% |
| 6 | 2025 | $148,500 | 10.00% |
| 7 | 2026 | $178,200 | 20.00% |
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.
- Click C3 and type
=(B3-B2)/B2, then press Enter. You get 0.25. - 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%.
- 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:
- 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. - F5, the typed formula:
=(F3/F2)^(1/F4)-1. - F6, the RRI function:
=RRI(F4,F2,F3). RRI's syntax isRRI(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. - 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. - Format F5:F7 as Percentage with two decimals.
| E | F | |
|---|---|---|
| 1 | Measure | Result |
| 2 | Start revenue (2021) | $100,000 |
| 3 | End revenue (2026) | $178,200 |
| 4 | Periods (years) = 2026 − 2021 | 5 |
| 5 | CAGR: (End/Start)^(1/Years)−1 | 12.25% |
| 6 | CAGR: RRI function | 12.25% |
| 7 | CAGR: POWER function | 12.25% |
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:
| A | B | C | |
|---|---|---|---|
| 25 | Year | Value | YoY growth |
| 26 | 1 | $100 | — |
| 27 | 2 | $150 | 50.00% |
| 28 | 3 | $75 | -50.00% |
| 29 | Average of YoY | 0.00% | |
| 30 | CAGR (2 periods) | -13.40% |
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")
| A | B | C | |
|---|---|---|---|
| 19 | Year | Revenue | YoY growth |
| 20 | 2024 | $0 | — |
| 21 | 2025 | $8,000 | n/a |
| 22 | 2026 | $12,000 | 50.00% |
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.
- On the Practice sheet, B14:B16 already hold 1, 2 and 3 (years after 2026).
- 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). - Copy C14 down to C16.
| A | B | C | |
|---|---|---|---|
| 13 | Year | Years after 2026 | Projected revenue |
| 14 | 2027 | 1 | $200,027 |
| 15 | 2028 | 2 | $224,528 |
| 16 | 2029 | 3 | $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:
| Year | Actual, then projected | Steady 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 |
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.
- Fill C3:C7 with
=(B3-B2)/B2and format as percentages (25.00%, -10.00%, 20.00%, 10.00%, 20.00%). - Fill F2:F4 with the start, end and number of years (5, not 6).
- Work out CAGR three ways in F5:F7. All three show 12.25%.
- Compare the average in F8 (13.00%) with CAGR, then check F9 and F10 to see the $6,044 overstatement.
- Project 2027 to 2029 in C14:C16.
- 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-A2avoids 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-1raises 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)^ncounts 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.