Confidence Interval Calculator

STATISTICS & PROBABILITY

Find a confidence interval for a mean from the sample mean, standard deviation, and size. Enter the statistics and pick the confidence.

Confidence Interval
—
For the mean.

Usage Tip

A wider interval means more confidence but less precision; a larger sample narrows the interval.

THE MATH
interval = mean ± z × (sd ÷ √n)
z from the confidence level
A confidence interval is a range likely to contain the true population mean.
At 95 percent confidence, 95 percent of such intervals would capture the true mean.
Enter the sample mean, standard deviation, and size.
This uses the normal (z) approximation, best for larger samples.
The margin is z times the standard error.
Practical Notes

A confidence interval gives a range around the sample mean that is likely to contain the true population mean. The width of the interval is the margin of error, and it depends on the standard deviation, the sample size, and the confidence level you choose. A larger sample narrows the interval, while a higher confidence level widens it.

A 95 percent interval does not mean there is a 95 percent chance that the true mean lies in this particular range. It means that if you repeated the sampling many times, about 95 percent of the intervals built this way would contain the true mean. For small samples where the population standard deviation is unknown, an interval based on the t distribution is more appropriate than one based on the normal distribution.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.