Understanding a confidence interval
A single average rarely tells the whole story. Measure the average delivery time of 100 orders and get 50 minutes, and the natural question is not whether 50 is exact — it almost certainly is not — but how far the true average for all orders might sit from it. A confidence interval answers that question with a range: with a standard deviation of 10 minutes and 100 orders, the 95% interval runs from 48.04 to 51.96 minutes.
Formula and method
ME = z × SE
Lower bound = mean − ME Upper bound = mean + ME
Standard error of the mean: s — the sample standard deviation. n — the sample size. SE — the standard error, which measures how much sample means would vary from one sample to another. Margin of error: z — the critical z value you enter. ME — the distance from the sample mean to each end of the interval. Confidence interval: The interval is symmetric around the sample mean: the same margin of error is added above and subtracted below. This calculator uses the normal approximation, which treats the sampling distribution of the mean as approximately normal. That is a reasonable approximation when the sample is large enough or the underlying values are roughly normally distributed, and it is the reason the method needs a z value rather than a t value. The z value itself is not calculated here — you enter it, so the confidence level is whatever the z value you choose corresponds to. The common choices are 1.645 for 90%, 1.96 for 95% and 2.58 for 99%, but any value can be entered.
Worked example
Example 1 — Mean 50, standard deviation 10, sample size 100, z 1.96 (the live-page example) A sample of 100 values has a mean of 50 and a standard deviation of 10, and the critical z value entered is 1.96. Standard error: 10 ÷ √100 = 10 ÷ 10 = 1 Margin of error: 1.96 × 1 = 1.96 Lower bound: 50 − 1.96 = 48.04 Upper bound: 50 + 1.96 = 51.96 The interval is 48.04 to 51.96, a total width of 3.92.