Evidence, Data and Statistics for Readers
What Error Bars Show: Standard Deviation, Standard Error and Intervals
Tell standard deviation, standard error and confidence interval bars apart, with one worked example and overlap rules.
Key takeaways
- Standard deviation bars describe the spread of individual values and do not shrink just because you collect more data.
- Standard error bars describe the uncertainty of a mean and get shorter as the sample grows.
- A 95% confidence interval for a mean is roughly twice the standard error on each side for large samples, and wider for small ones.
- Whether two bars overlap is only a rough guide to whether two groups differ, and the rule depends on the bar type.
Error bars are the short lines extending above and below a plotted point, and they do not all mean the same thing. Some show how much individual measurements spread out. Others show how precisely an average has been estimated. The same data can produce short bars or long ones depending on which was chosen.
So the first thing to do with any error bar is to find out what it is. The figure caption or the methods section should say. If neither does, you cannot interpret the bar.
One set of data, three bars
Say you measure the length of five seedlings, in centimeters: 8, 9, 10, 11 and 12. The mean is 50 ÷ 5 = 10.
deviations from the mean −2, −1, 0, 1, 2
squared deviations 4, 1, 0, 1, 4 sum = 10
sample variance 10 ÷ (5 − 1) = 2.5
standard deviation (SD) √2.5 ≈ 1.58
standard error (SE) 1.58 ÷ √5 ≈ 0.71
95% interval half-width 2.776 × 0.71 ≈ 1.96 The number 2.776 comes from the t distribution for five measurements (four degrees of freedom). It is larger than the familiar 1.96 because a small sample gives a shaky estimate of the spread.
Hypothetical example: the numbers are made up to show the method, not a quote or an average.
All three bars are centered on 10. Their half-widths differ by a factor of almost three, which is why an unlabeled bar is so uninformative.
Standard deviation: how spread out the values are
The standard deviation is roughly the typical distance of a value from the mean. For data shaped like a bell curve, about 68% of values fall within one standard deviation of the mean and about 95% within two. Skewed data do not follow those percentages.
Use SD bars when the point is variability: how different one seedling is from another. Collecting more seedlings gives a better estimate of the SD, but it does not drive the SD toward zero, because the seedlings really do differ.
Standard error: how well the mean is pinned down
The standard error of the mean estimates how much the sample mean would vary if you repeated the whole study many times. For independent measurements it equals SD ÷ √n, where n is the number of measurements.
Because of the square root, precision improves slowly. To halve the standard error you need about four times as many measurements. With a large enough sample, SE bars become tiny even when individuals vary enormously.
This makes SE bars attractive to authors, since they look neat. A reader who mistakes them for SD bars will think the individuals are far more alike than they are.
Confidence intervals
A 95% confidence interval is built by a method that, over many repeated studies meeting its assumptions, would contain the true mean about 95% of the time. For a mean from roughly normal data:
interval = mean ± t × SE (t ≈ 1.96 for large n; larger for small n) For the seedlings, that gives about 8.0 to 12.0 cm. The interval concerns the average length in the population the seedlings were sampled from. It does not say that 95% of seedlings fall in that range. It also covers only random sampling error. A miscalibrated ruler or an unrepresentative sample would not show up in it.
Other intervals exist, such as intervals for proportions or Bayesian credible intervals, and physics papers often quote one standard uncertainty. Reporting conventions are covered in what measurement uncertainty means.
Watch the bars change as the sample grows
Imagine measuring more and more seedlings from the same tray, and suppose the standard deviation stayed close to 1.58 cm throughout. The other two bars would shrink steadily.
| Seedlings (n) | SD | SE = SD ÷ √n | Approximate 95% half-width |
|---|---|---|---|
| 5 | 1.58 | 0.71 | 1.96 |
| 25 | 1.58 | 0.32 | 0.65 |
| 100 | 1.58 | 0.16 | 0.31 |
The half-widths use t values of about 2.78, 2.06 and 1.98. In real data the estimated SD would also bounce around, especially when n is small.
Two different questions are being answered. "How different are seedlings from one another?" has much the same answer at every sample size. "How well do I know the average?" improves with more data. Decide which question the figure is meant to answer, and then check that the bars match it.
Be wary of the phrase "mean ± 0.71" with no label. It could be an SE here, but another writer might use the same notation for an SD or an interval.
Asymmetric and one-sided bars
Not every bar extends equally up and down. A proportion cannot fall below 0 or rise above 100%, so an interval near either end is usually lopsided. Intervals calculated on a logarithmic scale and converted back are also uneven. This is correct behavior.
A symmetric bar that dips below an impossible value, such as a negative count or a negative mass, signals that the data are skewed or the method is a poor fit. In that case, individual points, a median with quartiles or a transformed scale will usually describe the data better.
Bar charts sometimes show only the upper half of each error bar, with the lower half hidden inside the colored column. That makes overlap much harder to judge. Picture the missing half extending the same distance downward, unless the caption says the bar is asymmetric.
The overlap question
Suppose two independent groups are plotted side by side, with similar sample sizes and spreads. These rough guides apply.
| Bar type | If the bars do not overlap | If the bars overlap |
|---|---|---|
| 95% confidence intervals | A conventional test would find a difference at the 0.05 level | It may or may not; slight overlap is compatible with a clear difference |
| Standard error | Not enough to conclude anything about 0.05 | A conventional test would usually not reach 0.05 |
| Standard deviation | Suggests well-separated individuals; says nothing direct about a test | Says nothing direct about a test |
The reason is that the uncertainty of a difference is not the sum of the two bar lengths. With equal standard errors, the standard error of the difference is √2 ≈ 1.41 times each one. Two SE bars that just touch mean the means differ by 2 SE, only about 1.4 standard errors of the difference, which falls short of the usual threshold.
When a comparison matters, look for a plot or table giving the difference itself with its interval.
Paired data break the rules
If the same people are measured before and after, the two sets of values are linked. Each person's change may be very consistent even though people differ widely from one another. The separate bars for "before" and "after" would overlap heavily while the change was clear.
The right display shows the differences, or lines connecting each person's two values. Overlap rules for independent groups simply do not apply.
What n really counts
Standard error depends on n, so it matters what n is. Ten readings from one mouse are not ten mice. Three wells filled from one tube of cells are not three independent experiments. Counting repeated readings as separate subjects makes bars deceptively short, a problem explained in replicates and repeats.
Averaging repeated readings still helps reduce instrument noise, as in pulling a signal out of static. It just cannot tell you how much different subjects vary.
Other things bars can show
Some lines are not error bars at all. A range bar runs from the smallest to the largest value, and tends to grow as you collect more data. A box plot typically marks the median with a line and the middle half of the data with a box, while its whiskers follow a rule that varies between programs.
Graphs of fitted curves sometimes show a shaded band. A confidence band describes uncertainty about the curve. A prediction band, which is wider, describes where new individual observations may fall.
Common misreadings
Short bars do not mean a result is correct. They can reflect a large sample measured with a consistent bias, such as a scale that always reads two grams heavy. Random scatter shows up in error bars, while a shared offset moves every point together and leaves the bars unchanged.
Long bars do not mean the researchers were careless either. Some quantities vary widely by nature, and SD bars on honest measurements of body mass or river flow will be long.
A checklist before you judge
- What does the bar represent: SD, SE, a confidence interval, a range or something else?
- How many independent subjects or experiments are behind each point?
- Are the groups independent or paired?
- Could the individual points be shown? With small samples, plotting every value is often more honest than a bar chart.
- Is the difference large enough to matter, whatever its statistical status? That is a question of effect size.
If the answers to the first two are missing, hold your conclusion. A careful reading of the figure and its caption usually turns them up, and their absence is itself worth noticing.