All guides

Confidence Intervals Explained: Honest Ranges for Estimates

From a point to a range

A sample gives one number, but reporting it alone pretends to a precision nobody has. A confidence interval adds the honest part: a range of values that plausibly contain the true figure, built as the estimate plus or minus a margin of error. The margin combines three ingredients: how spread out the data is, how big the sample is, and how confident you insist on being. Double the sample and the margin shrinks, but only by the square root law, so halving the margin costs four times the data. That trade is the economics of all survey work. A confidence interval also quietly encodes the sample size: a narrow interval at the same confidence level means somebody paid for a lot of data, and a wide one confesses how little was measured.

What 95 percent actually means

Here is the careful statement: if the same sampling method were repeated many times, about 95 percent of the intervals it produces would contain the true value. The 95 percent describes the method's long-run reliability, not a probability about this one interval, which either contains the truth or does not. The common misreading, that there is a 95 percent chance the truth lies inside this particular range, is so widespread that even textbooks sigh about it, though in practice the two readings often lead to similar decisions. What matters practically is the width: a 95 percent interval from 48 to 52 percent tells a far sharper story than one from 35 to 65. When an interval for a difference includes zero, the data cannot rule out no difference at all, which is the interval's way of delivering a verdict.

Building one, and the z or t choice

For a mean, the interval is the sample mean plus or minus a critical value times the standard error, which is the standard deviation divided by the square root of n. The critical value is 1.96 for 95 percent confidence when the sample is large or the population spread is known, the famous z value. For small samples using the sample's own standard deviation, the t value is a little larger, widening the interval to pay for the extra uncertainty, which is exactly the honesty the method promises. Raise the confidence to 99 percent and the critical value grows to about 2.58, buying sureness with width. There is no free confidence: every extra point of certainty is paid for in a wider, less informative range, and choosing the level is choosing that trade.

Try it with your own numbers

The free calculators that go with this guide:

Build a confidence interval