To add error bars in Excel, click your chart, click the Chart Elements button (the plus sign beside it) and tick Error Bars. Click the arrow next to it to choose Standard Error, Percentage, Standard Deviation or More Options. For your own values, choose More Options > Custom > Specify Value.
| Error bar type | What it shows | Default |
|---|---|---|
| Standard Error | The standard error of all values in the series | Calculated by Excel |
| Percentage | A percentage of each point's value | 5% |
| Standard Deviation | A multiple of the series' standard deviation | 1 |
| Fixed value | The same amount on every point | You set it |
| Custom | Your own value for each point, from cells | You set it |
How do I add error bars in Excel?
Error bars work on 2-D column, bar, line, area, scatter and bubble charts. They are not available on pie charts or 3-D charts.
- Click anywhere in the chart.
- Click the Chart Elements button (+) at the top right of the chart.
- Tick Error Bars. Excel adds standard error bars to every series.
- Click the arrow next to Error Bars and pick another type, or More Options to open the Format Error Bars pane.
You can also go to Chart Design > Add Chart Element > Error Bars. If your chart has several series, Excel asks which one to add them to when you choose More Options. Microsoft's guide to adding, changing or removing error bars lists the supported chart types. New to charts? Our Excel tutorial for beginners covers inserting one.
How do I change the error bar settings?
Double-click any error bar, or choose More Options, to open the Format Error Bars pane. Its Error Bar Options control everything:

- Direction: Both, Minus or Plus. Plus-only bars are common on column charts.
- End Style: Cap adds a short crossbar; No Cap shows a plain line.
- Error Amount: Fixed value, Percentage, Standard deviation(s), Standard error or Custom.
To change colour or thickness, open the Fill & Line section (the paint-pot icon) in the same pane. On scatter and bubble charts, Excel adds both vertical and horizontal bars; pick the one you want to edit from the Error Bar Options drop-down at the top of the pane, or click it on the chart and press Delete to remove it.
How do I add standard error bars in Excel?
For a quick view, tick Error Bars and choose Standard Error. But for most real data you should calculate the standard error yourself and add it as a custom value, for a reason explained below.

Say you measured five samples per group and summarised them like this:
| Row | A (Group) | B (Mean) | C (SD) | D (n) | E (SE) |
|---|---|---|---|---|---|
| 2 | Control | 12.4 | 1.8 | 5 | 0.80 |
| 3 | Dose 1 | 15.1 | 2.2 | 5 | 0.98 |
| 4 | Dose 2 | 18.7 | 2.5 | 5 | 1.12 |
In E2, enter this and fill down to E4:
=C2/SQRT(D2)
If you have the raw readings instead, for example in G2:K2, calculate the values directly:
=AVERAGE(G2:K2)
=STDEV.S(G2:K2)
=STDEV.S(G2:K2)/SQRT(COUNT(G2:K2))
Use STDEV.S when your readings are a sample, which is almost always the case in experiments and surveys. STDEV.P is only for data that covers the whole population.
Chart the means in B2:B4 as a column chart, then add the SE values from E2:E4 as custom error bars using the steps in the next section.
What we commonly see: every bar on the chart has an identical error bar, even though the groups clearly vary differently. That happens because the built-in Standard Error and Standard Deviation options calculate one figure from all the plotted values in the series, not from each group's own readings. For per-group error bars, always use Custom.
How do I add custom error bars in Excel?
Use Custom > Specify Value and point Excel at a range with one value per data point.

- Click the chart, then Chart Elements (+) > Error Bars > More Options. Choose the series if asked.
- In the Format Error Bars pane, under Error Amount, select Custom and click Specify Value.
- In the Custom Error Bars dialog, click in Positive Error Value, delete what is there, and select E2:E4.
- Click in Negative Error Value, delete what is there, and select E2:E4 again.
- Click OK. Each column now has its own error bar.
The Positive and Negative boxes can hold different ranges, which is useful for asymmetric confidence intervals. To show only the upper bar, set Direction to Plus, or enter ={0} in the Negative Error Value box.
Advanced nuance: the custom ranges must contain the same number of values as the series has points, in the same order. If the series has four points and you select three cells, Excel applies values in a way that may not match your groups. Keep the error values in a column right beside the means and sort them together. If you point the boxes at cells in a different workbook, you create an external link; our guide to breaking links in Excel explains how to find and remove those later.
How do I add individual error bars to one point?
Excel applies error bars to a whole series, but custom values let you control each point. To show a bar on only one point, enter 0 for every other point in the custom range. For example, if E2:E4 contains 0, 0.98 and 0, only Dose 1 shows an error bar.
To change error bars individually later, edit the numbers in the cells. The chart updates immediately, because the custom error bars stay linked to the range. This is also the answer to "how do I change error bars individually in Excel": change the source values, not the bars.
If you need different styling (colour or cap) on one point's bar, put that point in its own series. Error bar formatting applies to all bars in a series.
How do I remove error bars?
Click the chart, open Chart Elements (+) and untick Error Bars. To remove only one series' bars, click those bars on the chart and press Delete. Right after adding them, Ctrl+Z also removes them. More quick keys are in our Excel keyboard shortcuts guide.
Do error bars work the same on Mac and older versions?
Error bars, the Format Error Bars pane and custom values work the same way in Excel 2016, 2019, 2021, 2024 and Microsoft 365 on Windows. On a Mac, add them from Chart Design > Add Chart Element > Error Bars; the format options match Windows. STDEV.S, used above, is available in every current version. If you need a desktop version for analysis work, our Office versions comparison and the Office 2024 collection are good places to start.
Frequently asked questions
Why are my error bars all the same length?
You used the built-in Standard Error, Standard Deviation or Fixed value option. These apply a single figure across the whole series. To show different lengths, calculate the error value for each point in cells, then choose Custom > Specify Value and select those cells for both the positive and negative boxes.
Should I use standard deviation or standard error bars?
Standard deviation shows how spread out the individual readings are. Standard error shows how precisely you have estimated the mean, and it shrinks as the sample grows. Use SD to describe variability and SE (or a confidence interval) to compare means. Always state in the chart caption which one you used.
Why is the Error Bars option missing?
The chart type does not support them. Pie, doughnut, 3-D, treemap, sunburst and some other newer chart types have no error bars. Change the chart to a 2-D column, bar, line, area, scatter or bubble chart with Chart Design > Change Chart Type, and the option appears in Chart Elements.
Can I add horizontal error bars in Excel?
Yes, on scatter and bubble charts, which show both vertical and horizontal error bars. On a bar chart the bars are horizontal anyway, because the values run along the horizontal axis. Column and line charts support vertical error bars only. Select the horizontal bars from the Error Bar Options drop-down to format them.
How do I show a 95% confidence interval as error bars?
Calculate the margin of error for each group in cells, for example with CONFIDENCE.T: =CONFIDENCE.T(0.05, C2, D2), where C2 is the standard deviation and D2 the sample size. Then add custom error bars and select those cells for both the positive and negative values.
Related guides
- Excel tutorial for beginners
- How to break links in Excel
- Excel keyboard shortcuts you will actually use
- Office 2016, 2019, 2021 and 2024 compared
Links in this guide
| Link | Type | Why it helps |
|---|---|---|
| Microsoft Support: Add, change, or remove error bars in a chart | External | Official steps and supported chart types |
| Microsoft Support: STDEV.S function | External | Sample standard deviation for error values |
| Microsoft Support: CONFIDENCE.T function | External | Margin of error for confidence interval bars |
| Excel tutorial for beginners | Internal | Creating a chart before adding error bars |
| How to break links in Excel | Internal | Removing links created by custom error ranges |
| Excel keyboard shortcuts | Internal | Faster chart editing |
| Office versions compared | Internal | Choosing a desktop Excel version |
| Office 2024 licence keys | Internal | Current perpetual Office editions |
