Confidence Interval Calculator

Confidence interval for a mean from the sample mean, standard deviation and size.

Confidence level
  • 90%
  • 95%
  • 99%
95% confidence interval
48.432 - 51.568
50 ± 1.568
Z critical value
1.96
Standard error
0.8

How it works

x̄ ± z × σ / √n, where z is 1.645, 1.96 or 2.576 for 90%, 95% or 99% confidence.

Worked example

Using these inputs: sample mean 50, standard deviation 8, sample size (n) 100 and confidence level 95%.

The result is 95% confidence interval: 48.432 - 51.568.

  • 50 ± 1.568
  • Z critical value: 1.96
  • Standard error: 0.8

Formula reviewed November 2026 · How we build calculators

Frequently asked questions

What does a 95% confidence interval mean?

If you repeated the sampling many times, about 95% of the intervals built this way would contain the true value.

How do I make a confidence interval narrower?

Increase the sample size or accept a lower confidence level.

When should I use a t-distribution instead of z?

When the sample is small (under about 30) and the population standard deviation is unknown. The t interval is slightly wider.

Esc