Three graphs of the same data can have three very different error bars. Standard deviation (SD), standard error of the mean (SEM) and the 95% confidence interval (CI) look identical on a graph, but each one answers a different question. This guide explains what each shows, which to use, and what it means when two error bars overlap.
Prefer video? Watch the four-minute version: Error Bars Explained: SD vs SEM vs 95% CI.

SD: how spread out the data are
Say you measure the same thing in ten separate samples. The standard deviation tells you how spread out those ten measurements are around their mean.
- For roughly bell-shaped data, about two thirds of the measurements fall within one SD of the mean.
- Measure more samples and the SD stays about the same, because the spread belongs to what you are measuring, not to how much data you have.
In a spreadsheet: =STDEV.S(B2:K2) (use the sample SD, STDEV.S, not STDEV.P).
SEM: how precisely you know the mean
The standard error of the mean answers a different question: not how scattered the measurements are, but how precisely you know the mean.
SEM = SD ÷ √n, where n is the number of measurements.
| Measurements (n) | SEM |
|---|---|
| 4 | ½ of the SD |
| 25 | ⅕ of the SD |
| 100 | 1/10 of the SD |
So the SEM shrinks as you collect more data, and SEM error bars always look smaller than SD error bars. Smaller is not more honest: it is a different quantity.
In a spreadsheet: =STDEV.S(B2:K2)/SQRT(COUNT(B2:K2))
95% CI: where the true mean probably is
The 95% confidence interval builds on the SEM. If you repeated the experiment many times, about 95% of the intervals worked out this way would contain the true mean.

How wide it is depends on the sample size:
| Measurements (n) | 95% CI reaches about… |
|---|---|
| Large samples | ± 1.96 × SEM (about 2 SEM) |
| 10 | ± 2.26 × SEM |
| 5 | ± 2.78 × SEM (almost 3 SEM) |
| 3 | ± 4.30 × SEM |
The multiplier is the t value for n − 1 degrees of freedom. In a spreadsheet, the half-width is =T.INV.2T(0.05, n-1) * SEM.
Same data, three error bars
Here is the catch: the points and the mean don't change, only the error bars do. A reader cannot tell an SD bar from an SEM or CI bar just by looking. Always say in the caption which error bars you used, and how many measurements are in each group, for example:
Error bars show the mean ± SD (n = 10 per group).
What overlapping error bars mean
If two error bars overlap, is the difference significant? It depends on the type of error bar.

| Error bars | If they overlap | If they don't overlap |
|---|---|---|
| SD | Tells you very little about significance | Also tells you very little |
| SEM | Not significant (p > 0.05) | Still not enough on its own. A gap of about one SEM between the bars is roughly p ≈ 0.05 |
| 95% CI | Can still be significant if they overlap by less than about half of one arm (p < 0.05) | Significant (p < 0.05) |
These are rules of thumb. They assume two separate (independent) groups, of similar size, with about ten or more measurements each. They do not apply to repeated measurements on the same subjects (before and after, for example), where you need a paired test. With very small groups (n = 3) the rules change: SEM bars, for example, need a gap of about two SEM, not one.
The source for these rules is Cumming, Fidler and Vaux, "Error bars in experimental biology", Journal of Cell Biology 177(1), 7–11 (2007), doi:10.1083/jcb.200611141.
Be sure: run the test
Rules of thumb are only a guide, so run a proper test. In PlotBench (free edition):
- Open the example Mean ± SD with data points from the start screen, and paste your raw repeats over its numbers, one column per group.
- In the Chart tab, under Significance, click Add comparison and pick the two groups. PlotBench runs Welch's two-tailed t-test (unequal variances) and draws the bracket and stars on the graph.
- Use the Error bars switch in the same tab to change between SD, SEM and 95% CI in one click. PlotBench works out each one from your raw data.

Which one should you use?
| Error bar | Shows | Use it for |
|---|---|---|
| SD | How much your measurements vary | Lab reports, and showing the spread of your raw data |
| 95% CI | Where the true mean probably is | Comparing means; many journals prefer it |
| SEM | How precisely you know the mean | Only when your field expects it |
Whichever you choose, name it in the caption, with n.
Next steps
- New to error bars in PlotBench? Start with How to add SD error bars to each data point.
- Get PlotBench free from the Microsoft Store.