Confidence Interval Calculator

Build a z-based confidence interval for a mean.

The formula behind it

x̄ ± z·(s/√n)
x̄
sample mean
s/√n
standard error

A confidence interval frames the estimate as a range that would capture the true mean in about z% of repeated samples. Its width balances certainty against precision.

How to use this calculator

  1. 1

    Enter the sample mean, SD and size.

  2. 2

    Choose the confidence level.

  3. 3

    Press Calculate for the full interval and its parts.

Worked examples

A/B test

Mean 42.1, s 6.5, n 100 → 95% CI 40.83 … 43.37 — the process likely improves on 40.

Clinical read

A CI crossing the no-effect line warns that the effect is not established.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...