← All Calculators

Confidence Interval Calculator — Free Online Calculator

Calculates the confidence interval for a population mean.

What is it?

The confidence interval calculator builds a range that, with a chosen confidence level (90%, 95%, or 99%), is expected to contain the true population mean, based on your sample mean, standard deviation, and sample size.

Formula

CI = x̄ ± z × (σ / √n) • x̄ = sample mean • σ = standard deviation • n = sample size • z = 1.645 (90%), 1.96 (95%), 2.576 (99%)

Example

Mean height 170 cm, σ = 10 cm, n = 100, 95% confidence. Margin of error = 1.96 × 10 / √100 = 1.96 cm. CI = [168.04, 171.96] cm.

Loading calculator…