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, , 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 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
Use a 90% confidence level, so z = 1.645.
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 allWilson Score Interval
AdvancedA confidence interval for a binomial proportion, obtained by inverting a score test. Assumes independent Bernoulli observations with a common success probability and n > 0; this is the version without continuity correction.
Arithmetic 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.