Confidence Interval Calculator
Use this free confidence interval calculator to turn a sample mean into a range for the true population mean. Enter the mean, standard deviation, and sample size, then pick 90%, 95%, or 99% confidence.
How it works
A confidence interval estimates where the true population mean lies, based on a sample. The margin of error is ME = z × (standard deviation / square root of sample size), where z depends on the confidence level: 1.645 for 90%, 1.96 for 95%, and 2.576 for 99%. The interval runs from the sample mean minus the margin of error to the sample mean plus it.
For example, a sample mean of 100 with a standard deviation of 15 and a sample size of 25 has a standard error of 15 / 5 = 3. At 95% confidence the margin of error is 1.96 × 3 = 5.88, so the interval is 94.12 to 105.88.
Higher confidence means a wider interval, because a bigger z is needed to be more sure the true mean is inside. Bigger samples narrow the interval, since the margin of error shrinks with the square root of the sample size — quadrupling the sample only halves the margin of error.
Frequently asked questions
How do I calculate a confidence interval?
Enter the sample mean, standard deviation, and sample size, then pick a confidence level. The calculator shows the margin of error and the lower and upper bounds of the interval.
What does a 95% confidence interval mean?
It is a range built from the sample that is expected to contain the true population mean 95% of the time if the sampling were repeated. The calculator shows that range as the lower and upper bounds.
Why does a bigger sample give a narrower interval?
The margin of error shrinks with the square root of the sample size, so more data means a smaller margin of error and a tighter interval around the sample mean.
More Math Calculators
- Scientific Calculator
- Fraction Calculator
- Percentage Calculator
- Random Number Generator
- Triangle Calculator
- Standard Deviation Calculator
- Area Calculator
- Average Calculator
- Binary Calculator
- Circle Calculator
- Common Factor Calculator
- Exponent Calculator
- Factor Calculator
- GCF Calculator
- Half-Life Calculator
- Hex Calculator
- LCM Calculator
- Log Calculator
- Long Division Calculator
- Matrix Calculator
- Mean, Median, Mode & Range Calculator
- Number Sequence Calculator
- P-Value Calculator
- Percent Error Calculator
- Percent Off Calculator
- Permutation & Combination Calculator
- Prime Factorization Calculator
- Probability Calculator
- Pythagorean Theorem Calculator
- Quadratic Formula Calculator
- Ratio Calculator
- Right Triangle Calculator
- Root Calculator
- Rounding Calculator
- Sample Size Calculator
- Scientific Notation Calculator
- Slope Calculator
- Statistics Calculator
- Surface Area Calculator
- Volume Calculator
- Z-Score Calculator
- Big Number Calculator
