Statistics

Confidence Interval Calculator

Calculate confidence intervals for a population mean

Last updated: How we build & verify
95% Confidence Interval
—
Margin of Error
—
Z-Value Used
1.96

Z-interval: x̄ ± z·σ/√n. It assumes σ is known or the sample is reasonably large (n ≥ 30). For a small sample with an estimated standard deviation, a t-interval is wider and more accurate.

How it works

Produces a range that would contain the true population parameter in a stated share of repeated samples, typically 95%. It replaces a single point estimate with an honest statement of how much sampling noise surrounds it.

Formula
CI = x̄ ± z × (s / √n)
Variables
  • x̄sample mean
  • ssample standard deviation
  • nsample size
  • zcritical value: 1.645 for 90%, 1.96 for 95%, 2.576 for 99%
Worked example
Inputs: Sample mean 68.5, standard deviation 12.4, n = 100, 95% confidence
  1. Standard error: 12.4 / √100 = 1.24
  2. Margin of error: 1.96 × 1.24 = 2.43
  3. Interval: 68.5 ± 2.43
Result: 95% CI = (66.07, 70.93)
Notes
  • The confidence applies to the procedure, not to one interval. Saying there is a 95% probability the true mean lies inside this specific range is the standard misreading.
  • Width shrinks with the square root of n, so halving the interval takes four times the sample.
  • Use the t-distribution when n is under about 30 or the population standard deviation is unknown. For n = 10, the 95% multiplier is 2.262 rather than 1.96.
  • Two overlapping confidence intervals do not prove the difference is insignificant. Test the difference directly rather than eyeballing the overlap.

Most Searched Today

Frequently Asked Questions

Confidence Interval runs right in the browser tab you already have open. No install, no account, no cost.

Confidence Interval follows the standard method used in textbooks and technical references for this calculation, and we show the formula or approach on the page itself so you can check the working rather than trust a black box. Found an edge case that breaks it? Use the feedback button in the bottom-right corner.

Confidence Interval Calculator | ExaCalc