Skip to content
K Knidox Search…
Statistics · Estimation

Standard Error

Standard error of a mean or a proportion, with the margin of error and interval it produces.

Statistic
Use the population σ instead if you genuinely know it.
Only used to centre the confidence interval.
Confidence level
Standard error of the mean
2.5

From s = 15 and n = 36 · the spread of individual values is 15, 6× larger

Margin of error at 95%
± 5.0753
critical value 2.03 (t, df = 35)
95% confidence interval
94.9247 to 105.0753
What a bigger sample would buy

The standard error shrinks with √n, so halving it takes four times the data. Quadrupling this sample to 144 would bring it to 1.25; to halve it again you would need 576.

The standard error measures how much a sample statistic would bounce around if you repeated the study. For a mean it is s ÷ √n: a sample of 36 with a standard deviation of 15 gives SE = 2.5, and a 95% confidence interval of roughly ±5 around the sample mean.

The spread of a statistic, not of the data

This is the distinction that causes most of the confusion. The standard deviation describes how widely individual observations scatter — how different one person is from another. The standard error describes how widely the sample mean would scatter if you drew the sample again and again. It is always smaller, because averaging cancels out some of the noise.

In the example, individual values spread by 15 but the mean of 36 of them spreads by only 2.5 — six times tighter. That factor is √36, and it is the whole mechanism: each observation contributes its own random error, and those errors partly cancel rather than accumulating.

Diminishing returns from more data

Because the divisor is √n rather than n, precision improves slowly. Halving the standard error takes four times the sample; halving it again takes sixteen times the original. This is why survey sample sizes cluster around a thousand or so — going further costs a great deal and buys very little. It is also why a study reporting a suspiciously tight interval from a small sample deserves a second look.

SEmean = s ÷ √n · SEproportion = √(p̂(1 − p̂) ÷ n)

s the sample standard deviation, p̂ the sample proportion, n the sample size

  1. 1
    Take the sample standard deviation. Here s = 15, describing how much individual values differ from one another.
  2. 2
    Take the square root of the sample size. √36 = 6.
  3. 3
    Divide. 15 ÷ 6 = 2.5, the standard error of the mean.
  4. 4
    Pick a critical value for the confidence level. For a mean estimated from a sample, use t with n − 1 degrees of freedom: t(95%, df = 35) = 2.0301.
  5. 5
    Multiply to get the margin of error. 2.0301 × 2.5 = 5.08, so a sample mean of 100 gives a 95% interval of 94.92 to 105.08.

How the standard error shrinks with sample size

With a standard deviation of 15 throughout. Each halving of the error costs four times the data.

Sample size n√nStandard error
935.00
3662.50
100101.50
144121.25
400200.75
900300.50

Where it turns up

Almost everywhere in inferential statistics, because it is the denominator of nearly every test statistic. A t-statistic is (estimate − hypothesised value) ÷ standard error; a confidence interval is estimate ± critical value × standard error. Recognising that shape means one idea covers means, proportions, differences and regression coefficients alike — only the formula for the standard error itself changes.

Two cautions. Error bars on a chart may show standard deviation, standard error or a confidence interval, and these are very different sizes — a caption that does not say which is not interpretable. And the formulas here assume independent observations from a random sample; clustered or repeated-measures data have correlated errors that do not cancel in the same way, so a naive standard error computed on them is too small.

What is the difference between standard deviation and standard error?
Standard deviation describes how much individual observations vary. Standard error describes how much a statistic — usually the mean — would vary across repeated samples. The standard error is smaller, by a factor of √n.
Why divide by the square root of n?
Because independent errors partly cancel when averaged rather than accumulating. The variance of a mean is σ² ÷ n, and taking the square root to get back to the original units leaves σ ÷ √n.
How much data do I need to halve the standard error?
Four times as much. The √n divisor means precision improves slowly — halving the error again from there would need sixteen times the original sample.
Should I use z or t for the confidence interval?
Use t when the standard deviation is estimated from the sample, which is the usual case for a mean, with n − 1 degrees of freedom. A proportion conventionally uses z, since its standard error is computed from the proportion itself.
How is the standard error related to the margin of error?
The margin of error is the standard error multiplied by a critical value for the chosen confidence level. At 95% that multiplier is close to 2, so the margin is roughly twice the standard error.
What does a standard error of zero mean?
That every observation in the sample is identical, so the sample standard deviation is zero. It reflects no variation in the data rather than perfect precision about the population.
Do error bars always show the standard error?
No, and that is the problem. They may show standard deviation, standard error or a confidence interval, which differ substantially in size. A figure whose caption does not state which cannot be read properly.