Confidence Interval Calculator
Select an interval type, enter your summary statistics, choose a confidence level, and get the confidence interval with margin of error, critical values, and a number line visualization. All calculations run in your browser.
Reference Guide
What is a Confidence Interval
A confidence interval gives a range of plausible values for a population parameter (like a mean or proportion) based on sample data. Instead of a single point estimate, it communicates the uncertainty in the estimate.
Higher confidence levels produce wider intervals. To narrow the interval without lowering confidence, increase the sample size.
Z-Interval vs T-Interval
The t-interval is always wider than the z-interval for the same data because the t-distribution has heavier tails. As increases, the t-distribution approaches the standard normal and the two intervals converge.
Confidence Intervals for Proportions
When estimating a population proportion (like the fraction of voters who support a candidate), use the Wald interval formula.
The sample proportion is computed as the number of successes divided by the sample size.
Margin of Error and Sample Size
The margin of error is the distance from the point estimate to either endpoint of the confidence interval.
Larger samples mean smaller margins of error. Doubling the precision (halving the margin of error) requires four times the sample size.