Skip to content
NWS Kit

Confidence Interval Calculator

Confidence interval and margin of error for a sample mean.

95% confidence interval
47.5208 — 52.4792
Margin of error
± 2.4792
Standard error
1.2649
Critical z
1.96
Show the working
  1. 1Standard error = 8 ÷ √40 = 1.2649
  2. 2Critical z for 95% = 1.96
  3. 3Margin = z × SE = 2.4792
Formula
CI = x̄ ± z × (σ ÷ √n)

How it works

The range likely to contain the true population mean, using the normal (z) approximation for the given confidence level.

Example

A mean of 50, SD 8, n = 40 gives a 95% interval of roughly 47.5 to 52.5.

Runs on this deviceSent to a server: 0 bytes

How it works

  1. Type in your numbers.
  2. The answer updates as you type.
  3. Change any figure to compare. Nothing you enter is sent anywhere.

Confidence interval and margin of error for a sample mean. It is one of the Statistics calculators in NWS Kit. There is no sign-up, and the numbers you enter stay on your device.

Questions

Is the Confidence Interval Calculator free to use?

Yes. The Confidence Interval Calculator is completely free, with no account, no sign-up and no usage limits.

Does my data leave my device?

No. The Confidence Interval Calculator runs entirely in your browser. Nothing you type is uploaded, logged or stored on a server.

Can I use the Confidence Interval Calculator on my phone?

Yes. The page works in any modern mobile or desktop browser, and there is nothing to install.

What else is in Statistics?

Mean, deviation, regression, probability and distributions. You can browse the full Statistics category for related calculators.