Calculator Need
Categories

Math Calculators

Confidence Interval Calculator

Confidence interval from a sample mean, standard deviation, sample size and confidence level. Free, instant, no sign-up.

CI = x̄ ± z × (s ÷ √n). z is 1.645 for 90%, 1.96 for 95% and 2.576 for 99%. A 95% interval means about 95 of 100 such intervals would contain the true mean.

How to use the confidence interval calculator

  1. Enter the sample mean, standard deviation and sample size n.
  2. Choose the confidence level from the dropdown.
  3. Press “Calculate Interval” to see the interval and margin of error.

Confidence interval calculation example

A sample of 100 people has a mean of 50 and a standard deviation of 10. The standard error is 10 ÷ √100 = 1, so the 95% interval is 50 ± 1.96 × 1 = 48.04 to 51.96.

Tips for using the confidence interval calculator

  • To halve the margin of error you need four times the sample size.
  • For small samples (under about 30) a t-value is more accurate than z; it gives a slightly wider interval.
  • The interval covers sampling error only, not bias from a poorly chosen sample.

Confidence interval calculator: common questions

What does a 95% confidence interval mean?
If the sampling were repeated many times, about 95% of the intervals built this way would contain the true population mean.
Why does a larger sample narrow the interval?
The margin of error divides by the square root of n, so quadrupling the sample halves the margin.
Is my data stored?
No. The calculation runs in your browser.
What is the margin of error?
Half the width of the interval — here ±1.96. Polls often report it as "±3 percentage points".