Free Statistics Calculator

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.

90%, 95%, 99% and more Margin of error Lower and upper bounds Z-scores built in Sample values Reset 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 more

The 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

1

Enter the sample mean

Type the average of your sample (x).
2

Enter sample size and standard deviation

Add how many observations you have (n) and the standard deviation (s).
3

Pick a confidence level

Choose from 70% to 99.9%. 95% is the most common choice.
4

Click Calculate

See the margin of error and the lower and upper bounds. Click Sample to try example values.

Confidence Interval Calculator FAQs

Common questions about confidence intervals.

What does a 95% confidence interval mean?

It means the method captures the true value 95% of the time across repeated samples. It does not mean there is a 95% chance the true value is in this one interval.

What is the z value for a 95% confidence interval?

1.96. For 90% it is 1.645, and for 99% it is 2.576.

How do I calculate a confidence interval by hand?

Divide the standard deviation by the square root of n, multiply by z, then add and subtract that from the mean.

Should I use z or t?

Use z when you know the population standard deviation or have a large sample (about 30 or more). For small samples with an unknown standard deviation, a t-interval is more accurate and slightly wider. This calculator uses z values.

Why is my interval so wide?

Wide intervals come from small samples, high variation or a high confidence level. Quadrupling the sample size halves the margin of error.

What is the difference between margin of error and confidence interval?

The margin of error is the ± amount. The confidence interval is the full range: mean minus margin to mean plus margin.

Can I calculate a confidence interval for a proportion here?

Yes, with the proportion formula above. Enter p̂ as a percentage for the mean (45) and √(p̂(1 − p̂)) × 100 for the standard deviation (49.75). With n = 1,200 at 95%, the tool gives 42.19 to 47.81.

Is this confidence interval calculator free?

Yes. No signup, no software and no limits.

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 Calculator

Raheel 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.

cookies image
We care about your data and would love to use cookies to improve your experience.