Confidence interval calculator
Find the range a mean is likely to fall in.
Try it
Inputs
Result
The result appears here as you type.
About Confidence interval calculator
A confidence interval calculator estimates a range that is likely to contain the true value of a population mean. You enter the sample mean, the standard deviation, the sample size and the confidence level, usually 95%, and the calculator returns a lower and upper limit. The interval shows how precise your estimate is: a narrow interval means a more reliable result, and a wide one means more uncertainty.
The result is based on the normal approximation, which works well for reasonably large samples. For very small samples or highly skewed data, a different method may be more appropriate, so treat the interval as a guide rather than a final statement.
How to use Confidence interval calculator
- Enter the sample mean.
- Enter the sample standard deviation.
- Enter the number of observations in the sample.
- Choose the confidence level, such as 90%, 95% or 99%.
- Read the lower and upper limits, and report them with the confidence level.
Building the interval
The interval is the mean plus or minus a margin of error. The margin is the critical value multiplied by the standard error, which is the standard deviation divided by the square root of the sample size. For a 95% level the critical value is about 1.96. A sample mean of 50, standard deviation of 10 and 100 observations gives a standard error of 1, so the interval is roughly 48.04 to 51.96.
Increasing the sample size shrinks the standard error. Quadrupling the sample halves the interval width, which is why large surveys give tighter estimates.
Interpreting the interval
A 95% confidence interval means that if the study were repeated many times, about 95% of such intervals would contain the true mean. It does not mean there is a 95% chance the true value lies in this particular interval, although that is how people often read it.
Report the interval alongside the sample size and the method. A figure without its precision can mislead readers into believing an estimate is more accurate than it is.
Frequently asked questions
Why is 95% the common choice?
It balances precision and certainty and is widely accepted in research. Other levels are used where the stakes are higher or lower.
Does a larger sample always help?
It narrows the interval, but bias in the sample is not reduced by size. A large biased sample still gives a biased estimate.
Is this suitable for proportions?
Proportions use a different formula. This calculator is for a sample mean with a known or estimated standard deviation.
Related tools
Tools that pair well with this one.