Math Tools
Confidence Interval Calculator
Calculate the confidence interval for a sample mean using the normal approximation. See the range where the true population mean likely falls.
Confidence Interval (95%)
95.8422 to 104.1578
Math Tools
Calculate the confidence interval for a sample mean using the normal approximation. See the range where the true population mean likely falls.
Confidence Interval (95%)
95.8422 to 104.1578
A confidence interval is a range of values around a sample mean that is likely to contain the true population mean with a specified level of confidence. For example, a 95% confidence interval means you can be 95% confident that the true mean lies within the calculated range. It's a fundamental tool in statistics for expressing uncertainty in estimates.
The calculator uses the formula: Confidence Interval = Sample Mean ± (Z-Score × Standard Error). The standard error is the sample standard deviation divided by the square root of the sample size. The Z-score changes based on your chosen confidence level (90%→1.645, 95%→1.96, 99%→2.576). The result is a lower and upper bound around your sample mean.
CI = Mean ± (Z × SD / √n)CI is the confidence interval. Mean is your sample mean. Z is the critical value for your confidence level. SD is sample standard deviation. n is sample size. This formula assumes a normal distribution and is appropriate for large samples (typically n ≥ 30).
| Input | Result | Notes |
|---|---|---|
| Mean 100, SD 15, n=50, 95% confidence | 95.84 to 104.16 | You can be 95% confident the true population mean is between 95.84 and 104.16. Margin of error is ±4.16. |
| Mean 72.5, SD 8.2, n=100, 90% confidence | 70.55 to 74.45 | 90% CI for test scores: margin of error ±1.95. Wider confidence increases margin. |
| Mean 250, SD 45, n=64, 99% confidence | 233.53 to 266.47 | 99% CI requires a larger margin (±16.47) than 95% to achieve higher confidence. |
It means that if you repeated your sampling many times and calculated a CI each time, about 95% of those intervals would contain the true population mean. It does not mean 95% of the data falls in the range.
A higher confidence level (e.g., 99% vs. 95%) requires a larger Z-score multiplier, which increases the margin of error. You trade width for certainty.
For small samples, the t-distribution is more appropriate than the normal distribution (Z-test). Your true margin of error will be slightly larger than this calculator shows.
The method assumes normality. For large samples (n ≥ 30), the Central Limit Theorem makes the distribution of the sample mean approximately normal, so this works well. For smaller, skewed samples, use caution.
Standard deviation measures spread in your data. Standard error measures the spread of the sample mean across repeated samples. SE = SD / √n. As n increases, SE decreases.
The margin of error (±value) is half the width of the interval. CI = Mean ± Margin of Error. A smaller margin means a more precise estimate.