Standard error vs standard deviation
The standard deviation and the standard error are confused constantly, in student work and in published papers. They answer different questions, and mixing them up can make results look far more (or less) precise than they are.
The difference in one sentence each
- Standard deviation (SD): how spread out the individual values are around the mean.
- Standard error (SE): how much a statistic, usually the mean, would vary if you repeated the study with new samples. It’s the standard deviation of the sampling distribution.
Standard error of the mean
SE = s / √n
For fuel economy in R’s mtcars data: SD = 6.03 mpg, n = 32, so SE = 6.03 / √32 ≈ 1.07 mpg. Individual cars vary by about 6 mpg around the average, but the average itself is pinned down to within about 1 mpg.
How sample size affects each
| Sample size | SD | SE |
|---|---|---|
| Collect more data | Stays about the same (estimated more accurately) | Gets smaller, in proportion to 1/√n |
| Quadruple n | Unchanged | Halves |
A simulation makes this concrete. From a population with SD 10, means of 5 values varied with an SD of 4.46, and means of 30 values with 1.82. Both are close to 10 / √n. Individual variability didn’t change, but the precision of the mean improved.
Where the standard error is used
- Confidence intervals: estimate ± critical value × SE. For mpg, 20.09 ± 2.04 × 1.07 gives a 95% CI of 17.92 to 22.26. See confidence intervals.
- Test statistics: t = difference / SE of the difference. See test statistics.
- Regression output: every coefficient has an SE, giving its t, p and CI.
Every statistic has its own standard error: a difference between means, a proportion, a correlation, a regression slope. The formula changes, but the meaning (precision of the estimate) stays the same.
Which should you report?
- Describing your sample? Use the SD: “Participants were 21.4 years old on average (SD = 3.2).”
- Describing how precise an estimate is? Use a confidence interval, which is easier to interpret than a bare SE: “mean difference = 1.58, 95% CI [0.70, 2.46].”
The error-bar trap
Bar charts with error bars are often unclear about what the bars show. SE bars are much shorter than SD bars, √n times shorter, so a chart with SE bars can make noisy data look tidy, and make overlapping groups look clearly separated. Always state in the caption whether bars show the SD, SE or a 95% CI. A 95% CI is usually the most useful choice for comparisons.
Common mistakes
- Reporting the SE as if it were the SD, which makes the sample look far less variable than it is.
- Thinking a large sample reduces variability. It reduces uncertainty about the mean, not the spread of individuals.
- Judging group differences by overlapping SE bars. Use the confidence interval for the difference instead.
For more on the SD itself, see standard deviation. Our free descriptive statistics calculator reports both.
More in Probability distributions
Try it with the free tools
Run this on your own data
Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.