Skip to content

Confidence interval calculator

Enter a sample's mean, standard deviation and size, or a count of successes. Get the confidence interval and its margin of error.

Confidence interval
Interval for
95% CI: 30.02 to 33.98datasciencetrivia.com
Confidence interval by method. Choose one to see its working.

32 ± 1.984 × 10/√100 = 32 ± 1.98

Margin of error ±1.98, with 99 degrees of freedom.

The example

100 deliveries take 32 minutes on average, with a standard deviation of 10. The 95% confidence interval for the mean is 32 ± 1.984 × 10/√100, which runs from 30.02 to 33.98 minutes.

FAQ

How do I calculate a 95% confidence interval?
Take the sample mean plus or minus a critical value times the standard error, s/√n. The critical value is 1.96 for large samples and a little more, from the t distribution, for small ones.
Should I use t or z?
Use t when the standard deviation comes from the sample, which is nearly always. Use z when the population standard deviation is known. Past a few hundred observations the two barely differ.
What does 95% confidence mean?
The method captures the true value in 95% of repeated samples. It is not a 95% chance that this one interval contains it.

Flashcards

More calculators

Created by santiviquez

About · Quizzes · Tools · History of AI · To suggest new questions or report an error send me a dm.