Free tools › Confidence interval calculator
Confidence interval calculator
For a mean, a proportion, or a standard deviation, with the critical value and the working shown.
Formulas
Read more: Confidence intervals worked example · p-value explained · t table · chi-square table
FAQ
What does a 95% confidence interval mean?
If you repeated the sampling many times and built an interval each time, about 95% of those intervals would contain the true value. It does not mean there is a 95% chance the true value is in this particular interval; the true value is fixed, and the interval either contains it or not.
t or z for a mean?
Use t when you estimate σ from the sample, which is almost always. Use z only when σ is known from long history. For large samples the two give nearly the same interval.
Wald or Wilson for a proportion?
The Wald interval p̂ ± z√(p̂(1 − p̂)/n) is the textbook formula, but it is unreliable when np or n(1 − p) is under about 5 and can run below 0. The Wilson interval behaves well for small samples and proportions near 0 or 1, and is the better choice in practice.
Why is the interval for σ not symmetric?
The chi-square distribution is skewed, so the interval for the variance, and for σ, is longer on the high side. That is also why you need two different chi-square values.
How do I make the interval narrower?
Increase the sample size (the width shrinks with √n), or accept a lower confidence level. Reducing process variation also narrows it.
This shows up on the exams as a calculation question. Practice it with new numbers every time, and every wrong answer explained.
Free CQE quiz (5 questions)
Free Green Belt diagnostic (20 questions)
Free Black Belt diagnostic (25 questions)
Related free tools
t-test calculator · Sample size calculator · t-distribution table · Chi-square table · All tools
Link to this calculator
Using it in a training deck, an SOP or a forum answer? Copy this link. It stays free.
Try 5 free practice questions with an explanation for every wrong answer.
Take the free CQE quiz