Confidence Interval Calculator Mean, z/t
Real-time CI for a population mean using z (when σ known) or t (when σ unknown & using sample s).
📊 Sample mean (x̄)
?
Enter the observed average of your sample.
🔧 Dispersion type
?
This matches common practice: z with known σ; t with sample s.
📐 Standard deviation (σ or s)
?
Non-negative.
👥 Sample size (n)
?
Integer ≥ 1.
🎯 Confidence level (%)
?
Two-sided; between 50 and 99.999.
⚡ Presets
?
Optional helper; you can still type a custom % above.
Results
Standard error (SE = σ/√n or s/√n)
—
Critical value (z* or t*)
—
Margin of error (ME = critical × SE)
—
Lower bound
—
Upper bound
—
Show step-by-step derivation
References & Notes
- Confidence interval formulas for a mean with known population σ (z) and unknown σ using sample s (t) are standard results in intro statistics texts.
-
Critical values:
- z*: two-tailed quantile of N(0,1) at CL/2 in each tail.
- t*: two-tailed quantile of tdf=n−1 at CL/2 in each tail.
This tool computes a two-sided confidence interval for the population mean.