Enter your sample mean, standard deviation, and sample size to find the confidence interval for your data.
Confidence Interval Calculator
LiveThe formula
A sample mean of 75, standard deviation of 10, sample size of 50, at 95% confidence: margin of error ≈ 2.77, giving a confidence interval of 72.23 to 77.77.
Step-by-step guide
- Enter your sample mean and standard deviation.
- Enter your sample size.
- Choose a confidence level - 95% is the most commonly used default.
- Read the confidence interval - the range likely to contain the true population mean.
What "95% confidence" actually means
A 95% confidence interval doesn't mean there's a 95% chance the true population mean falls within this specific interval - the true mean either is or isn't in there, with no probability about it once the data is collected. What it actually means: if you repeated this same sampling process many times and built a new interval each time, about 95% of those intervals would contain the true population mean. It's a statement about the reliability of the method, not a probability about this one specific result.
Common mistakes
Frequently asked questions
Why does a higher confidence level give a wider interval?
Being more confident that an interval captures the true value requires casting a wider net - a 99% confidence interval is necessarily wider than a 90% one for the same data, trading precision for greater certainty.
Why does a larger sample size narrow the interval?
A larger sample gives a more precise estimate of the true population mean, which shrinks the standard error (since it's divided by the square root of sample size) and therefore narrows the resulting confidence interval.
What if my sample size is small?
For samples under about 30, a t-distribution (which has slightly wider critical values than the z-distribution used here) gives a more accurate confidence interval, accounting for the extra uncertainty in a smaller dataset.
Related calculators
See the full list of Math calculators, or try: