Confidence Interval Calculator

Calculate the confidence interval for a population mean given a sample mean, standard deviation, and sample size.

The average value from your sample.

The standard deviation of your sample.

The number of observations in your sample.

The probability that the interval contains the true population mean.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

What Is a Confidence Interval?

A confidence interval is a range of values that is likely to contain the true population parameter. A 95% confidence interval means that if you repeated the sampling process many times, about 95% of the intervals would contain the true population mean. It quantifies the uncertainty in your estimate.

How Confidence Intervals Are Calculated

The formula is: CI = x̄ ± z × (σ / √n), where x̄ is the sample mean, z is the z-score for the chosen confidence level, σ is the standard deviation, and n is the sample size. The margin of error is z × (σ / √n). Larger samples and lower confidence levels produce narrower intervals.

Choosing a Confidence Level

Common confidence levels are 90%, 95%, and 99%. A 95% level is the most widely used in research. Higher confidence levels give wider intervals (more certainty but less precision). The choice depends on the consequences of being wrong and the cost of wider intervals.

Common Misconceptions

A 95% confidence interval does NOT mean there is a 95% probability the true mean is in the interval. The true mean is either in the interval or it is not. The 95% refers to the long-run frequency of intervals that capture the true mean across repeated sampling.

Frequently Asked Questions