Speedometer Graph in Excel: How to Create a Gauge Chart
In this article
A speedometer graph, technically known as a gauge chart, is used to visualize a single value (like a KPI or a percentage) against a predefined goal or range. Because Excel does not have a native "Gauge" chart type, you achieve this by combining a Doughnut chart for the background scale and a Pie chart for the needle. This creates a professional dashboard element that allows stakeholders to see instantly if a metric is in the red, yellow, or green zone.
What You'll Need
- Microsoft Excel (Desktop version recommended for full formatting control).
- A single data value you wish to track (e.g., current sales, project completion percentage, or temperature).
- A defined scale (e.g., 0 to 100) and the thresholds for your color zones (e.g., 0-50 Red, 50-80 Yellow, 80-100 Green).
Step-by-Step
Phase 1: Setting Up the Gauge Scale Data
The background of the speedometer is a semi-circle. To create this using a doughnut chart, you must create a data table that represents the colored segments and a "hidden" bottom half to keep the chart a semi-circle.
- Create a small table for your Scale. In one column, list your zone values. For example: Low (25), Medium (25), High (25), and Bottom (50).
- Ensure the total of these values equals 100 (or 200 if you are using percentages). The "Bottom" value must be exactly equal to the sum of the other three segments combined. This ensures that the bottom half of the doughnut is exactly 50% of the total, which we will later hide to create the semi-circle effect.
- Highlight this data, go to the Insert tab, select the Pie or Doughnut chart icon, and choose Doughnut.
Phase 2: Formatting the Gauge Background
Now you have a full circle. You need to rotate it and hide the bottom half.
- Right-click any slice of the doughnut and select Format Data Series.
- In the Series Options pane, find Angle of first slice. Change this to 270 degrees. This rotates the chart so the "Bottom" segment is exactly at the bottom.
- Click specifically on the bottom slice (the one representing 50%) to select only that piece.
- Go to the Fill bucket in the format pane and select No fill. Then, select No line under the Border options. The bottom half of your chart is now invisible, leaving a semi-circle.
- Select the other three slices individually and change their colors to represent your zones: Red for Low, Yellow for Medium, and Green for High.
Phase 3: Setting Up the Needle Data
The needle is a very thin pie slice that points to the current value. This requires a separate data table with three specific values: the Value, the Needle Width, and the Remainder.
- Create a new table for the Needle. In cell A1, enter your Current Value (e.g., 75).
- In cell A2, enter the Needle Width. A value of 1 or 2 usually works best for a sharp point.
- In cell A3, enter the Remainder formula:
=200 - (A1 + A2). Note: We use 200 because the gauge scale is a semi-circle (100 units) but the pie chart treats the whole circle as the total. - Highlight the Value, Needle Width, and Remainder. Go to Insert > Pie Chart > Pie.
Phase 4: Merging the Needle and the Gauge
You now have two separate charts. You must combine them into one visualization.
- Right-click the Pie chart (the needle) and select Change Series Chart Type.
- In the dialog box, go to the Combo section. Set the Gauge Scale series as a Doughnut and the Needle series as a Pie.
- Crucially, check the Secondary Axis box for the Pie (Needle) series. This allows both charts to overlap on the same coordinate system.
- Right-click the Needle pie slice and select Format Data Series. Change the Angle of first slice to 270 degrees, matching the doughnut.
- Now, format the needle slices: Select the large "Remainder" slice and the "Value" slice and set them to No fill and No line.
- Select the tiny "Needle Width" slice and fill it with a solid black or dark grey color. You now have a thin needle pointing to your value.
Phase 5: Final Polishing
- Remove the chart title, legend, and any axis labels to keep the look clean.
- Add a text box in the center of the gauge and link it to the cell containing your Current Value. To do this, select the text box, click into the Formula Bar, type
=, and then click the cell with your value. Press Enter. - Adjust the doughnut hole size in the Format Data Series pane to make the gauge thicker or thinner.
Common Mistakes
- Incorrect Angle: Forgetting to set both the doughnut and the pie to 270 degrees. If they differ, the needle will not align with the colored zones.
- Math Errors in Remainder: Using 100 instead of 200 for the needle remainder. Since the gauge is a semi-circle, the needle's total circle must be double the scale to align correctly.
- Overlapping Series: Failing to move the needle to the Secondary Axis. If both are on the Primary Axis, Excel will try to put them side-by-side rather than on top of each other.
- Static Values: Hard-coding the needle value instead of linking it to a cell. This means the gauge won't move when your data updates.
Tips
- Dynamic Colors: Use conditional formatting in your data table to change the target value, and consider using a few different gauge templates for different KPIs to avoid visual monotony.
- Adding Labels: Manually add text boxes at the start (0%), middle (50%), and end (100%) of the arc to give the viewer a clear sense of scale.
- Grouping: Once finished, select the chart and the central text box, right-click, and select Group. This allows you to move the entire speedometer as a single object.
- Thickness Control: A "Doughnut Hole Size" of 60% to 75% usually looks most professional for executive dashboards.
Troubleshooting
If the needle is not pointing to the correct value, first check your Remainder formula. It must be 200 - (Value + Width). If the needle is too thick, reduce the Needle Width value to 0.5 or 1. If the needle is disappearing, ensure you haven't accidentally set the Needle Width slice to "No Fill" instead of the Remainder slice.
If the colors of the gauge are not appearing in the right order, check the order of your Scale table. Excel plots the slices in the order they appear in the spreadsheet. If your "Low" zone is at the bottom of the list, it will appear last in the rotation.
If the chart looks distorted when you resize it, avoid dragging the corners of the chart area too aggressively. Instead, resize the inner plot area first, then the outer container.
Frequently Asked Questions
Can I make a speedometer with more than three colors?
Yes. Simply add more rows to your Scale table. Just ensure that the sum of all your colored segments still equals the value of your "Bottom" segment (the hidden half).
Does this work in Excel for Web?
While you can view these charts in Excel for Web, the advanced formatting (like rotating slices and setting secondary axes) is much more reliable and easier to perform in the Excel Desktop application.
How do I make the needle move automatically?
Link the "Current Value" cell in your Needle table to a formula (like =SUM() or =AVERAGE()) that pulls from your raw data. The needle will update in real-time as the data changes.
Why is my needle pointing to the bottom of the chart?
This usually happens if the Angle of first slice for the Pie chart is set to 0 or 90 instead of 270. Double-check the Format Data Series settings for the needle.
Can I add a center axis or a pin to the needle?
Yes, you can insert a small circle shape from the Insert > Shapes menu and place it exactly over the center point of the gauge to simulate a physical pin.