Confidence Interval Calculator

Free Confidence Interval Calculator

Our free confidence interval calculator helps students, researchers and data analysts estimate a confidence interval for a population mean.

Enter your sample mean, standard deviation and sample size, then choose a 90%, 95% or 99% confidence level.

How to Calculate a Confidence Interval

A confidence interval for a mean is calculated using:

Confidence interval = Sample mean ± Margin of error

The margin of error depends on the critical value, standard deviation and sample size.

Choose the Z method when the population standard deviation is known, or the T method when it is estimated from a sample.

Example

Suppose a sample of 100 observations has a mean of 50 and a known population standard deviation of 10.

At a 95% confidence level:

  • Standard error = 10 ÷ √100 = 1
  • Margin of error ≈ 1.96
  • Confidence interval ≈ 48.04 to 51.96

Confidence Interval Calculator

Two-sided confidence interval for a population mean. Choose a z-interval for known population standard deviation, or a t-interval for an estimated sample standard deviation.

Assumes independent observations and a suitable sampling distribution. The t calculation uses a numerical approximation.

Frequently Asked Questions

What is a 95% confidence interval?

It is an interval produced by a method that, under its assumptions, captures the true population parameter in 95% of repeated samples.

What happens when sample size increases?

With other factors unchanged, a larger sample generally produces a narrower confidence interval.

Does this calculator support t-distribution intervals?

Yes. The T option uses an approximate t critical value for a confidence interval around a mean.