Confidence Interval Calculator - Mean and Proportion
Confidence Interval Calculator
Use when the standard deviation was calculated from the sample. This is the usual case.
Use only when the population standard deviation is known.
Use for yes/no data, such as 56 successes out of 100.
Step-by-step solution
Understanding confidence intervals
A sample gives an estimate, not the exact truth. A confidence interval shows the range of values that fit your data at a chosen level.
How to use it
- 1 Choose a mean or a proportion.
- 2 Enter the summary of your sample and the confidence level.
- 3 Read the interval; the steps show the standard error and the critical value.
Formula
t or z?
When the standard deviation comes from the sample itself, the t distribution adds the extra uncertainty. With 25 values the 95% critical value is 2.064 instead of 1.960. The difference fades as the sample grows.
Why Wilson for proportions?
The simple Wald formula fails with small samples or proportions near 0% and 100%; it can even give negative limits. The Wilson interval stays between 0% and 100% and keeps closer to the stated confidence. It is not symmetric around the observed proportion.
What the level does not mean
A 95% interval does not say the true value has a 95% chance of being in this particular interval. It says the method captures the true value in about 95% of repeated samples.
Related calculators: Sample Size · Z-Score · Standard Deviation