Confidence Interval Calculator
Calculate a two-sided confidence interval for a sample mean or proportion. Compare 90%, 95% and 99% intervals using Student t or Wilson score limits.
- Choose the quantity
- Enter sample information
- Read the limits
Calculate interval
- Choose the quantity
- Example
- Mean wait time
Choose the quantity
Select a mean for measured values or a proportion for binary outcomes.
- Enter sample information
- Example
- 16 observations, SD 8
Enter sample information
Use the sample standard deviation for a mean. For a proportion, enter the success count.
- Read the limits
- Example
- 95% confidence
Read the limits
The two endpoints use the same units as the estimate. Proportion bounds appear as percentages.
Estimate a mean wait
The standard error is 8 divided by the square root of 16, or 2. The t critical value uses 15 degrees of freedom, so the interval extends a little more than four units either side.
- Mean 50, SD 8, n = 16
- 45.7371 to 54.2629
Report zero observed successes
Seeing no successes in ten trials does not establish a zero population proportion. The Wilson calculation retains a positive upper bound and a zero lower bound.
Use Descriptive Statistics Calculator to summarize raw values. NIST explains confidence limits for the mean.
- 0 out of 10
- Upper limit about 27.75%
Interpret the interval in the units you measured
Sampling assumptions
Use independent observations from an appropriate sample. A small-sample t interval is sensitive to strong skew and outliers. Clustered or weighted data require methods that use the sampling design.
Interpreting confidence
The level describes long-run coverage of the interval procedure under its assumptions. It does not measure the share of individual observations inside these limits.
| Input | Result |
|---|---|
| Mean 50, SD 8, n = 16 | 45.7371 to 54.2629 |
| 0 out of 10 | Upper limit about 27.75% |
Where does the calculation run?
Your browser processes the input in this tab. Save the result before closing the page. Privacy policy.
- Choose the quantity
- Enter sample information
- Read the limits
Confidence Interval Calculator questions
Should I enter standard deviation or standard error?
Enter the sample standard deviation. The calculator divides by the square root of the sample size.
Why are proportion bounds asymmetric?
Wilson intervals adjust the center and width, especially for small samples or observed proportions near zero or one.
Can I compare two groups here?
This page estimates one mean or one proportion. A difference between groups needs a separate interval calculation.