Confidence Interval
GeneralConfidence Interval Estimate
A range of values, calculated from sample data, that is likely to contain the true population parameter at a stated confidence level such as 90%, 95%, or 99%.
Definition
A confidence interval is a range of values, calculated from sample data, that is likely to contain the true population parameter — such as a mean or proportion — at a stated confidence level like 90%, 95%, or 99%. Instead of reporting a single point estimate (for example, "52% of voters support the measure"), a confidence interval communicates the uncertainty inherent in sampling by reporting a range (for example, "49% to 55%, with 95% confidence").
Confidence intervals are central to survey research, clinical trials, quality control, and A/B testing, wherever a sample is used to estimate something about a larger population. The width of the interval depends on the variability in the data, the sample size, and the chosen confidence level, and it is calculated using the Confidence Interval Calculator.
Confidence intervals and hypothesis testing are two sides of the same coin: a confidence interval that excludes a hypothesized value (like zero difference between two groups) corresponds to a statistically significant result at the complementary p-value threshold.
Formula
Confidence Interval = Point Estimate ± Margin of Error
For a sample mean, this expands to:
CI = x̄ ± z × (σ ÷ √n)
Where x̄ is the sample mean, z is the z-score for the chosen confidence level (1.96 for 95%), σ is the standard deviation, and n is the sample size.
Worked Example
A researcher samples 100 students and finds a mean test score of 78, with a standard deviation of 10. For a 95% confidence interval:
Margin of Error = 1.96 × (10 ÷ √100) = 1.96 × 1.0 = 1.96
Confidence Interval = 78 ± 1.96 = 76.04 to 79.96
The researcher can state with 95% confidence that the true mean score of the full student population falls between 76.04 and 79.96.
Key Things to Know
- Wider is not better: a very wide confidence interval signals high uncertainty (often from a small sample), while a narrow interval signals a more precise estimate.
- The confidence level is not a probability about the specific interval: it describes the long-run reliability of the method used to construct intervals, not a single interval's chance of being correct.
- Larger samples produce tighter intervals: use the Sample Size Calculator to plan how many respondents are needed to hit a target margin of error.
- Related to Margin of Error: the confidence interval is simply the point estimate plus and minus the margin of error.
- Depends on Standard Deviation: more variable underlying data widens the interval for any given sample size and confidence level.
Related Calculators
Related Terms
Frequently Asked Questions