How to Add CAGR Line in Excel Graph

Cody Schneider

A simple line chart is a great way to view performance over time, but the ups and downs can sometimes hide the bigger picture. To truly understand your long-term growth trajectory, you can add a Compound Annual Growth Rate (CAGR) line to your Excel graph. This single, smooth line cuts through the monthly or yearly noise to show the steady, average rate of growth your business has achieved.

This article will walk you through exactly how to calculate CAGR in Excel and then visualize it as a clean trendline on your charts. We’ll cover the formulas, the setup, and the final charting steps to give you a clearer view of your business performance.

What is CAGR and Why Should You Care?

Before we jump into Excel, let's quickly clarify what CAGR is. The Compound Annual Growth Rate (CAGR) is the rate of return required for an investment - or a business metric like revenue or user count - to grow from its beginning balance to its ending balance, assuming the profits were reinvested at the end of each year.

In simpler terms, it’s a way to smooth out the volatile peaks and valleys of growth over a period of time to give you a single, average growth rate.

Why is this so useful for reporting? Look at this example:

  • Year 1: $100,000 Revenue (great start!)

  • Year 2: $150,000 Revenue (+50% growth, amazing!)

  • Year 3: $120,000 Revenue (-20% growth, a tough year)

  • Year 4: $180,000 Revenue (+50% growth, a strong comeback!)

Looking at the year-over-year percentages, the story feels chaotic. One year is up, the next is down. It's hard to tell an executive or a client what the "real" growth is. CAGR cuts through that noise. It tells you the single, consistent growth rate you would have needed each year to get from $100,000 to $180,000. This is incredibly powerful for demonstrating long-term trends and setting realistic future goals.

How to Add a CAGR Line to Your Excel Graph: A Step-by-Step Guide

Creating a CAGR line isn't a default chart option in Excel, so we need to do a little bit of prep work. This involves calculating the rate and then creating a "helper" column to plot the line itself. Here's how to do it.

Step 1: Set Up Your Data Table

First, make sure your data is organized cleanly in a table. All you need is two columns: one for the time period (e.g., Year) and one for the value you want to measure (e.g., Revenue, Users, Traffic).

For this example, let's use the following revenue data:

Year

Revenue

2019

$250,000

2020

$275,000

2021

$350,000

2022

$320,000

2023

$410,000

Step 2: Calculate the CAGR

Next, we need to calculate the single CAGR value for this entire period. The mathematical formula for CAGR is:

((Ending Value / Beginning Value) ^ (1 / Number of Periods)) - 1

While you could write this out as a long formula in Excel, there’s a much easier way: the RRI function. This function is purpose-built to calculate the equivalent interest rate for the growth of an investment. In our case, it calculates CAGR perfectly.

The RRI function syntax is:

  • nper: The number of periods. For our 2019-2023 data, that's 4 periods of growth (from year-end 2019 to 2020, 2020 to 2021, and so on). You can calculate this as COUNT(Years)-1.

  • pv: The present or beginning value. In our case, that's the revenue from 2019.

  • fv: The future or ending value. In our case, that's the revenue from 2023.

Find an empty cell on your sheet (e.g., E2) and enter the formula. If your revenue figures are in column B from B2 to B6, the formula would be:

Press Enter. Excel will give you the CAGR. Make sure to format this cell as a percentage to make it readable. For our data, the CAGR is 13.15%.

This means that, on average, our revenue grew by 13.15% every year between 2019 and 2023.

Step 3: Create the CAGR Helper Column

Now for the most important part. To draw a line on the chart, Excel needs a series of data points to plot. We need to create a new column showing what the revenue would have been each year if it had only grown by exactly 13.15%. This will create our perfectly smooth line.

  1. Label a new column in your table "CAGR Trendline".

  2. For the first year (2019), the CAGR trend value is the same as the actual starting revenue. So, in cell C2, simply type =B2.

  3. For the second year (2020), we need to take the previous year's trendline value and grow it by our calculated CAGR. The formula will be: Previous Year's Trendline Value * (1 + CAGR).

So, in cell C3, you will type:

Note the dollar signs around E2 ($E$2). This is called an absolute reference. It's extremely important because it "locks" the formula onto cell E2. When we drag the formula down to the other cells, it will continue to reference our saved CAGR calculation instead of moving down with the formula.

  1. Click on cell C3, grab the small square at the bottom right corner (the fill handle), and drag it down to the last row of your data. The formula will auto-fill for all subsequent years.

Your finished table should now look like this:

Year

Revenue

CAGR Trendline

2019

$250,000

$250,000

2020

$275,000

$282,866

2021

$350,000

$320,131

2022

$320,000

$362,243

2023

$410,000

$410,000

You can see the "CAGR Trendline" values are different from the actual revenue for the middle years, but they start and end at the exact same points. This is exactly what we want.

Step 4: Create the Excel Graph

With our helper column ready, creating the chart is easy.

  1. Select all three columns of your data, including the headers (Year, Revenue, and CAGR Trendline).

  2. Go to the Insert tab on the Excel ribbon.

  3. In the charts section, click Recommended Charts. Excel is pretty smart about this and will often suggest a Combo chart. If not, go to the All Charts tab.

  4. Select Combo from the list.

  5. Set your chart series up as follows:

    • For the Revenue series, choose Clustered Column as the chart type.

    • For the CAGR Trendline series, choose Line as the chart type.

This creates a great visual where the bars show the actual year-to-year performance, and the line cuts through them to show the steady trend. Click OK.

Step 5: Format Your Chart for Clarity

Finally, give your chart a professional touch:

  • Give it a clear title, like "Annual Revenue vs. CAGR Trend (13.15%)". Including the rate in the title provides instant context.

  • Label your y-axis "Revenue" so viewers know what the values represent.

  • Feel free to format the line slightly. You can select it, right-click and choose "Format Data Series," and change its color or make it a dashed line to further distinguish it from the actuals.

  • Adjust the legend as needed, or remove it if the title makes the chart clear enough.

When a Simple Trendline Isn't Enough

It's worth noting that while adding a CAGR line is a powerful technique, it's not the only way to show a trend. Excel’s built-in “Add Trendline” feature (right-click a data series > Add Trendline) offers options like Linear, Logarithmic, and Moving Average lines.

However, these are statistical projections. A linear trendline, for example, might not end at your final data point. The benefit of manually creating a CAGR line, as we just did, is that it’s grounded in your actual start and end performance, making it a very honest and precise representation of your compound growth over that specific period.

Final Thoughts

Figuring out how to add a CAGR line to an Excel graph elevates your reporting from simple data presentation to insightful analysis. By smoothing out volatility with a reliable compound growth rate, you can tell a clearer story about your long-term progress, set better goals, and communicate performance more effectively to your team or stakeholders.

While skills like this are great for custom reporting, we know that the cycle of downloading CSVs, creating helper columns, and manually building charts is often the most time-consuming part of analytics. At Graphed we automate all of it. Instead of building formulas, you can connect your data sources once and ask in plain English: "Show my Shopify revenue as a bar chart from 2019 to 2023 and add a CAGR trendline." We'll instantly generate a live, interactive dashboard that stays up-to-date, saving you hours of manual spreadsheet work and getting you straight to the insights you need.