Confidence Interval Calculator

Calculate 90%, 95% and 99% confidence intervals from a sample mean, standard deviation and sample size.

95% confidence interval

48.0400 – 51.9600

we are 95% confident the true mean lies in this range

Margin of error

± 1.9600

Standard error

1.0000

Z-score used

1.96

Calculator Tools

About the Confidence Interval Calculator

This calculator finds the confidence interval for a sample mean. Enter the mean, standard deviation and sample size, then choose a 90%, 95% or 99% level. You get the lower and upper limits, the margin of error, the standard error and the z-score used.

A confidence interval shows the range in which the true value is likely to sit. For example, a survey might find an average of 50 with a 95% interval of 48 to 52. It is more honest than reporting one number, as it makes the uncertainty visible.

The tool uses z-scores (1.645, 1.96 and 2.576), which work best with larger samples, usually 30 or more. With small samples, a t-distribution gives a wider, more cautious interval. It also assumes a random sample, as a biased survey stays biased however precise the maths is.

How to use this tool

  1. 1Enter the sample mean.
  2. 2Enter the standard deviation and sample size.
  3. 3Choose the confidence level.
  4. 4Read the interval and the margin of error.

Best-practice tips

  • A larger sample gives a narrower, more precise interval.
  • Use 95% unless you have a reason to choose another level.
  • For samples under 30, use a method based on the t-distribution.

Answers

Confidence Interval Calculator FAQs

If you repeated the sampling many times, about 95% of the intervals calculated would contain the true mean.

Related tools

Continue with these related calculator tools.