Reading and choosing error bars: tell SD, SE, and confidence intervals apart
An error bar adds a range around a point or line to show data spread or uncertainty in an estimate, but it has no single fixed meaning. Standard deviation (SD), standard error (SE), and a confidence interval (CI) answer different questions. First decide whether readers need to see variation among observations, precision of an estimated mean, or an interval produced by a particular method. Then label that meaning and the sample size.
Reading and choosing error bars: tell SD, SE, and confidence intervals apart
An error bar adds a range around a point or line to show data spread or uncertainty in an estimate, but it has no single fixed meaning. Standard deviation (SD), standard error (SE), and a confidence interval (CI) answer different questions. First decide whether readers need to see variation among observations, precision of an estimated mean, or an interval produced by a particular method. Then label that meaning and the sample size.
What are the endpoints of an error bar?
The center mark may be a point estimate such as a mean, proportion, or regression coefficient. An error bar shows the distance from that center to lower and upper bounds. Its length alone does not tell you that “error is small” or “the group difference is certain.” The same shape can represent SD, SE, a CI, a minimum-to-maximum range, a percentile interval, or a user-defined amount. Without a caption stating which one it is, readers cannot reproduce its meaning. Cumming, Fidler, and Vaux on error bars
How do SD, SE, and confidence intervals differ?
| Display | Question it answers | How to read it | What happens as sample size grows |
|---|---|---|---|
| Standard deviation (SD) | How spread out are the observations around their mean? | Summarizes variation in the sample data. | It does not automatically get narrower: it describes spread, not the precision of the mean. |
| Standard error of the mean (SE) | How much might the sample mean vary across repeated samples? | For independent observations, it is commonly estimated as sample SD divided by the square root of n. | With other conditions similar, more observations make the mean estimate more precise and SE smaller. |
| Confidence interval (CI) for a mean | What range of population means is compatible with the data and the interval method? | Interpret the point estimate, confidence level, and calculation method together. | It often narrows with larger samples or less variation, but its width depends on the model and method. |
SD is appropriate when the goal is to describe how individual observations vary. SE instead describes sampling variability in an estimate such as a mean. A small SE bar does not mean individual observations are similar. SE can shrink as sample size grows even while population variability stays much the same. Calling both SD and SE simply “error” hides this difference. Statistical literature also notes that they are not interchangeable and should be selected for the purpose of the figure. Discussion of choosing SD or SE
A confidence interval is calculated around an estimate. A 95% CI is designed so that, when the same sampling and interval procedure is repeated many times under its assumptions, about 95% of the resulting intervals contain the true mean in the long run. It does not mean there is a 95% probability that the true mean is inside one particular interval after it has been calculated. A common interval for a mean is sample mean plus or minus a t critical value times SE; for a small sample, the t critical value may differ from 1.96. NIST definition and interpretation of a confidence interval for a mean
Error bars do not have to be symmetric. For proportions, strongly skewed data, or bounded quantities, uncertainty may differ above and below the estimate. If you use asymmetric limits or a bootstrap- or model-based interval, state the method and what each endpoint means.
Separate the quantities with a worked example
Suppose, hypothetically, that a sample has mean 50, sample SD 10, and 25 independent observations. These numbers are illustrative, not measured results.
An SD bar extends 10 units from the mean of 50 in each direction, showing 40–60. It summarizes spread among the sample observations.
The standard error is 10 divided by the square root of 25, or 2. An SE bar would show 48–52. This is sampling variability of the mean estimate, not the range containing most observations.
For a two-sided 95% t interval with 24 degrees of freedom, use a critical value of about 2.064: 50 plus or minus 2.064 times 2, or about 45.9–54.1. Interpret this only under the assumptions of independence and the chosen method for a mean interval.
The diagram below is a synthetic schematic showing how the lengths differ on the same center and horizontal scale. From left to right it shows SD, SE, and a 95% CI. It is not a measurement from a study or a product interface.
Synthetic schematic: even with the same mean, SD for sample spread, SE of the mean, and a confidence interval for the mean have different widths. The relative widths follow the hypothetical example above.
Do not infer group differences from overlap alone
Overlapping error bars do not mean that two groups are the same. Non-overlapping bars do not prove a significant difference for every design and sample. Visual overlap rules depend on the bar type, sample size, independence, and estimation method. If the same people, devices, or experimental units are measured repeatedly, the measurements are related. In that case, calculate uncertainty for the paired difference rather than relying on the separate group CIs. Cumming et al. on comparisons and repeated measures
If a difference is central to the decision, calculate the difference directly and report its confidence interval or a statistical model suited to the design. State whether n counts independent units or repeated measurements. For example, measuring the same specimen in multiple photographs does not create multiple independent samples; counting it that way can make intervals unjustifiably narrow.
Check what a charting tool actually calculates
Microsoft Support says Excel charts offer standard error, percentage, standard deviation, and custom error amounts. Custom settings can specify positive and negative errors separately; scatter charts can have horizontal and vertical bars. Availability varies by chart type and Excel version. This list describes Excel features, not a statistical rule for choosing a bar. A percentage option does not automatically create a confidence interval, so verify that the value matches the intended calculation. Microsoft Support: Add, change, or remove error bars in an Excel chart
Review the choice and label before publishing
Define the center. Decide whether the point is a mean, median, proportion, or prediction.
Choose the question the bar answers. Use SD or another distribution summary for spread; consider SE or a CI for precision of an estimated mean. If the target is a future individual outcome, use a prediction interval and distinguish it from a CI for the mean.
Check the sample and method. Define the independent unit behind n. Choose an interval method that fits small samples, skewed data, repeated measures, or proportions.
Choose the visual form. With a small sample, showing individual points may help readers see the distribution. If asymmetry matters, do not hide it with symmetric bars; consider raw observations or asymmetric intervals.
Put the needed details in the caption. For example: “Points are means; bars are 95% t confidence intervals with 24 degrees of freedom; n=25 independent observations.”
Verify the interpretation. Confirm endpoints use the data units and axis correctly, and do not extend an impossible value below zero for a quantity that cannot be negative. If you claim a group difference, inspect uncertainty in the difference rather than bar overlap.
Keep the label and calculation procedure with the chart so another person can reproduce it. Do not write only “error bars” when the quantity is unknown, and do not make a visual range that is not statistical look like a confidence interval.
Sources
[Cumming, Fidler, and Vaux: Error bars in experimental biology](https://pmc.ncbi.nlm.nih.gov/articles/PMC2064100/)
[Zhang et al.: A note on error bars — discussion of SD and SE](https://pmc.ncbi.nlm.nih.gov/articles/PMC8130585/)
[NIST: Confidence limits for the mean](https://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm)
[Microsoft Support: Add, change, or remove error bars in a chart](https://support.microsoft.com/en-gb/office/add-change-or-remove-error-bars-in-a-chart)