Confidence Interval Calculator

Confidence Interval Calculator – free online tool by Daata Center

A confidence interval gives a range likely to contain the true value for a whole population, based on a sample. For example, “average height 165 cm ± 2 cm with 95% confidence”.

Confidence Interval CalculatorResults update as you type

For a

Confidence level

Working it out…

How to Use this Confidence Interval Calculator – Step-by-Step Guide

  • Step 1: Choose mean or proportion. Proportion is for percentages like poll results.
  • Step 2: Enter sample size and statistics. Mean and SD, or the percentage.
  • Step 3: Pick the confidence level. 95% is standard.
  • Step 4: Read the interval. And the margin of error.

Formulas

  • Mean: x̄ ± z × s ÷ √n
  • Proportion: p ± z × √(p(1 − p) ÷ n)

Uses the normal (z) distribution; for small samples (n < 30) a t-value gives a slightly wider interval.

Worked example

With the values already filled in the calculator above:

  • For a: Mean
  • Sample size: 100
  • Sample mean: 165
  • Standard deviation: 8
  • Confidence level: 95%

The calculator shows 95% confidence interval: 163.432 to 166.568.

It also works out:

  • Margin of error: ± 1.568
  • Standard error: 0.8

Frequently asked questions

What does 95% confidence mean?

If you repeated the survey many times, about 95% of such intervals would contain the true value.