Confidence Interval Calculator: Mean, Margin of Error and Bounds
Enter your sample mean, sample size and standard deviation, pick a confidence level and get the interval in one click. Free, no signup.
What Is a Confidence Interval?
A confidence interval is a range that likely contains the true population value, based on your sample. A 95% confidence interval of 70.04 to 73.96 means: if you repeated the study many times, about 95% of such intervals would capture the true mean.
Read moreThe Confidence Interval Formula
The confidence interval formula (or confidence interval equation) for a mean is: x̄ ± z × (s ÷ √n). Here x̄ is the sample mean, z is the critical value for your confidence level, s is the standard deviation and n is the sample size. The part after ± is the margin of error.
How to Calculate a 95% Confidence Interval
Take a sample of 100 with a mean of 72 and a standard deviation of 10. The standard error is 10 ÷ √100 = 1. The margin of error is 1.96 × 1 = 1.96. That is how to calculate a confidence interval at 95%: 70.04 to 73.96.
Z-Scores for 90%, 95% and 99% Confidence
Each confidence level has its own z value. Higher confidence means a bigger z and a wider interval.
| Confidence level | z value |
|---|---|
| 80% | 1.282 |
| 90% | 1.645 |
| 95% | 1.960 |
| 99% | 2.576 |
| 99.9% | 3.291 |
Confidence Interval for a Proportion
For survey results such as “45% said yes”, use p̂ ± z × √(p̂(1 − p̂) ÷ n). With 540 yes answers out of 1,200, p̂ = 0.45 and the 95% interval is about 42.2% to 47.8%. This is also called a binomial confidence interval (Wald method), the method a proportion confidence interval calculator uses.
Faster Than a TI-84
On a TI-84 you press STAT, go to TESTS and choose ZInterval or TInterval, then enter each value. This online confidence interval calculator gives the same result as ZInterval with fewer steps, on any phone or laptop.
How to Find a Confidence Interval
Enter the sample mean
Enter sample size and standard deviation
Pick a confidence level
Click Calculate
Confidence Interval Calculator FAQs
Common questions about confidence intervals.
What does a 95% confidence interval mean?
What is the z value for a 95% confidence interval?
How do I calculate a confidence interval by hand?
Should I use z or t?
Why is my interval so wide?
What is the difference between margin of error and confidence interval?
Can I calculate a confidence interval for a proportion here?
Is this confidence interval calculator free?
Interval done? Check the numbers behind it.
Get your sample mean with the Average Calculator, or work out the odds of an event with the Probability Calculator.
Average CalculatorRaheel Jakhura
CEO / Co-Founder
Our goal is to provide online free tools so you don't have to install any software for basic usages. We are trying to add more tools and make these tools free forever.