Confidence Interval Calculator

Z-based confidence interval for a sample mean, with common confidence levels.

Calculator Numbers & Math Updated Apr 20, 2026
How to Use
  1. Enter sample mean, standard deviation, and sample size.
  2. Choose confidence level — z*-value is applied automatically.
Input
Interval

Formula

CI for mean
x̄ ± z* · (s / √n)
Margin of error
ME = z* · (s / √n)
When to use t
use t-distribution when n < 30 and σ unknown

Last updated: