Calcverse

Math

Confidence Interval Calculator

Compute a confidence interval for a sample mean using the z-distribution.

Inputs

Confidence Interval Calculator

Result

95% CI

[94.6323, 105.3677]

Margin of error
5.3677
Standard error
2.738613
z-value
1.96

How it's calculated

CI = x̄ ± z·(s/√n).

x̄ = 100, s = 15, n = 30, 95% → 100 ± 1.96·(15/√30) ≈ 100 ± 5.37.

Common questions

Should I use z or t?

For large samples (n ≥ 30) or known population σ, z is standard. Small samples with unknown σ should use a t-interval.

What does 95% confidence mean?

If we repeated the sampling many times, ~95% of computed intervals would contain the true mean.

Related calculators