Confidence Interval (Mean)
Range likely to contain the population mean.
Formula
Variables
Example
95% CI uses z=1.96
How it works
This formula gives a confidence interval for a population mean by taking the sample mean as the center and adding/subtracting a margin of error. The margin of error comes from the standard error, \(\sigma/\sqrt{n}\), which shrinks as the sample size grows because larger samples usually give a more precise estimate of the true mean. The z-value scales that uncertainty to match the chosen confidence level, so a higher confidence level produces a wider interval.
When to use it
Use this when you want to estimate a population mean and the population standard deviation \(\sigma\) is known, or when a large-sample normal approximation is justified. Common examples include manufacturing quality control, standardized test analysis, and scientific measurements where repeated samples are used to estimate an average.
Worked example, step by step
Suppose a factory measures the fill volume of 64 bottles and finds a sample mean of 502 mL, with known population standard deviation \u03c3 = 24 mL. Use a 90% confidence level, so z = 1.645. Compute the standard error: \u03c3/\u221an = 24/\u221a64 = 24/8 = 3. Compute the margin of error: z(\u03c3/\u221an) = 1.645 \u00d7 3 = 4.935. Build the interval: 502 \u00b1 4.935. Lower bound: 502 - 4.935 = 497.065. Upper bound: 502 + 4.935 = 506.935. Final answer: the 90% confidence interval is (497.1, 506.9) mL.
Common mistakes to avoid
- Using the sample standard deviation s in this formula when the problem specifically requires known \u03c3
- Forgetting to divide by \u221an, which makes the interval far too wide
- Interpreting the interval as the probability that the fixed population mean lies inside it, rather than as a method that captures the mean in repeated sampling
Did You Know?
A 95% confidence interval does not mean 95% probability the mean is inside — a subtlety that trips up even scientists.
Share this formula
More in Statistics & Probability
View allArithmetic Mean
BasicThe average of a data set.
Median
BasicThe middle value separating the higher and lower halves.
Variance
IntermediateAverage squared deviation from the mean.
Standard Deviation
IntermediateSquare root of the variance; typical spread.
Z-Score
IntermediateNumber of standard deviations a value is from the mean.
Bayes' Theorem
IntermediateUpdates a probability given new evidence.