Confidence Interval Calculator
Find the confidence interval for a mean from the sample mean, standard deviation and size, using the t distribution for any confidence level.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
CI = mean plus or minus t x s / sqrt(n), with n - 1 degrees of freedom
Frequently asked questions
What does a 95 percent interval mean?
If you repeated the study many times, about 95 percent of such intervals would contain the true mean.
When is the t value used?
When the population standard deviation is unknown, which is nearly always. It approaches the z value as n grows.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Z-Score Calculator
Find how many standard deviations a value is from the mean, its percentile, and the probability of a result above or below it.
Sample Size Calculator
Find how many people or measurements you need to estimate a proportion or a mean to a chosen margin of error and confidence level.
T-Test Calculator
Compare two groups of numbers with Welch's t-test, or compare one group with a known value, and get the t value, degrees of freedom and p-value.