Confidence Interval Calculator
Calculate confidence intervals for means and proportions. Find the range of values likely to contain the true population parameter at 90%, 95%, or 99% confidence level.
Formula & Reference
| Variable | Symbol | Formula | Units |
|---|---|---|---|
| Confidence Interval Calculator | — | CI = x̄ ± z* × (s/√n) | same as data units |
Step-by-Step Examples
Sample of 100 adults: mean = 175 cm, s = 12 cm. Construct 95% CI.
- SE = 12/sqrt(100) = 1.2 cm
- MOE = 1.96 × 1.2 = 2.352 cm
- 95% CI: 175 ± 2.352 = (172.6, 177.4)
- We're 95% confident true mean height is 172.6-177.4 cm
Poll of 1000 voters: 52% favor candidate A. Find 95% CI for proportion.
- p = 0.52, SE = sqrt(0.52×0.48/1000) = 0.0158
- MOE = 1.96 × 0.0158 = 0.031
- 95% CI: 52% ± 3.1% = (48.9%, 55.1%)
- Includes 50%: cannot conclude A will win
Same data: mean=175, s=12, n=100. Now 99% CI.
- z* = 2.576 for 99%
- MOE = 2.576 × 1.2 = 3.091
- 99% CI: (171.9, 178.1) cm
- Wider interval = more confidence, less precision
Real-World Applications
Common Mistakes to Avoid
A 95% CI does NOT mean 95% probability that the true parameter is inside this specific interval. Once calculated, the interval either contains the true value or it doesn't.
A wider CI reflects more uncertainty (smaller n or larger variability). It's honest. Artificially narrow CIs from biased samples are worse than wide CIs from honest samples.
For n < 30, use t* (from t-distribution with n-1 df) instead of z*. Using z underestimates the CI width and overstates precision.
Frequently Asked Questions
Related Math Calculators
Formula Explorer connections
Interpretation: This formula summarizes data, models uncertainty or supports inference about a population or random process. Assumption: The sampling design and distribution assumptions must match the data. Independence, sample size, outliers and measurement quality can materially affect interpretation.