sodcalculator

10 Tech How-To

Add Error Bars in Excel: Step-by-Step Guide

Guide 10-37658 · Updated · Step by step

To add error bars in Microsoft Excel, first select your chart, then click the Chart Elements button (the plus sign) and check the Error Bars box. This instantly adds default error bars (standard error) to your data series, which you can then customize to show standard deviation, a fixed value, or a custom range.

Why Error Bars Matter

Error bars are visual indicators on charts that show the uncertainty or variability of data points. They help viewers understand how precise each measurement is, whether you’re presenting scientific data, business metrics, or experimental results. Without them, a chart can imply false certainty, especially when comparing means or trends.

Excel offers several types of error bars: standard error (default), standard deviation, percentage, fixed value, and custom. Each serves a different purpose, so choosing the right one is crucial for accurate data representation.

How to Add Error Bars in Excel (Step-by-Step)

  1. Create your chart – Select your data and insert a chart (e.g., column, line, or scatter).
  2. Select the chart – Click on the chart to activate the Chart Tools on the ribbon.
  3. Open Chart Elements – Click the plus sign (+) at the top-right corner of the chart.
  4. Check Error Bars – Tick the “Error Bars” box. Default error bars (standard error) appear for all data series.
  5. Customize – Click the arrow next to “Error Bars” to choose more options, or right-click the error bars and select “Format Error Bars” for full control.

If you have multiple series, you may need to add error bars to each one individually by selecting the specific series first.

Choosing the Right Error Bar Type

Excel gives you five main error bar types. Here’s when to use each:

  • Standard Error (SE) – This is the default. It shows the standard error of the mean, which reflects how much the sample mean might differ from the true population mean. Use it when you want to show sampling variability.
  • Standard Deviation (SD) – This displays the spread of individual data points around the mean. Use it when you want to show the variability of your data, not just the precision of the mean.
  • Percentage – Adds error bars that are a fixed percentage of each data point’s value. Useful when errors scale with magnitude.
  • Fixed Value – Sets a constant error amount for all points. Good for known measurement error.
  • Custom – Lets you specify different error amounts for each data point, either from a worksheet range or by entering values. This is the most flexible option.

Customizing Error Bars (Direction, Amount, and Style)

To customize error bars, right-click on them and select “Format Error Bars”. In the pane, you can:

  • Set direction (both, minus, or plus) – For example, if values can’t go below zero, choose “Plus”.
  • Set end style (cap or no cap).
  • Choose the error amount (fixed, percentage, standard deviation, standard error, or custom).
  • Adjust line color, width, and transparency.

For custom error bars, you’ll need to provide a worksheet range that contains the error values (positive and/or negative). Excel will use these numbers as the magnitude of the error for each point.

Common Problems and How to Fix Them

Error bars not showing for all series? You may have added them to only one series. Select the specific series in the chart, then add error bars again.

Can’t find the Error Bars option? Make sure you’re using a chart type that supports error bars (most 2D charts do, but not pie charts or 3D charts). If you’re using a scatter chart, the option is still there.

Error bars are too large or too small? Check your data – if you’re using standard deviation, it’s the sample standard deviation (STDEV.S) by default. If you want population standard deviation, you’ll need to compute it manually and use custom error bars.

Error bars all look the same length? If you’re using a fixed value or percentage, that’s expected. For varying lengths, use standard deviation or custom.

Error Bars vs. Confidence Intervals

Many people confuse error bars with confidence intervals. Error bars in Excel do not directly show confidence intervals – they show standard error or standard deviation. To display a 95% confidence interval, you’ll need to calculate the margin of error (typically 1.96 * standard error) and use that as a custom error amount. This is a common mistake in scientific reporting, so always clarify which measure your error bars represent.

Frequently Asked Questions

How do I add error bars to only one data series?

Click directly on the data series you want to modify (the bars or points), then add error bars via the Chart Elements button or the Format Error Bars pane. This applies them only to that series.

Can I use different error values for each point?

Yes, use the “Custom” error amount option. In the Format Error Bars pane, choose “Specify Value” and enter a range of cells containing the error values for each point (positive and/or negative).

Why are my error bars not showing the standard deviation I calculated?

Excel’s standard deviation error bar uses the sample standard deviation (STDEV.S). If you calculated population standard deviation (STDEV.P), the values will differ. Use custom error bars with your own calculation to match.

Can I add error bars to a line chart?

Yes, error bars work on line charts, scatter charts, and bar/column charts. The process is the same – just select the chart and add error bars.

How do I remove error bars?

Select the error bars and press Delete, or uncheck the “Error Bars” box in the Chart Elements menu.

Final Tips for Accurate Error Bars

Always double-check that your error bar type matches the message you want to convey. If you’re presenting to a non-technical audience, explain what the error bars represent in a footnote or caption. And remember, error bars are only meaningful if your data is properly collected and your sample size is adequate – they don’t fix flawed data.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →