Confidence Interval (Proportion or Mean)

Wald z-interval for a sample proportion or a sample mean.

Run the calculator

Example

You enter

You get

Details, formula, and sources

Flags small-n cases where Wilson / Clopper-Pearson or a t-interval is more appropriate.

Proportion: phat +/- z * sqrt(phat*(1-phat)/n). Mean: xbar +/- z * (sd / sqrt(n)). z critical values (two-tailed) from the standard normal: 80% = 1.2816, 90% = 1.6449, 95% = 1.9600, 98% = 2.3263, 99% = 2.5758.

Standard inferential statistics. Wald CI per Wald, Abraham, 'Tests of statistical hypotheses concerning several parameters when the number of observations is large,' Trans. Amer. Math. Soc. 54 (1943).

Universal reference; covered in any introductory statistics textbook (Moore, McCabe; Devore; OpenIntro Statistics).

Estimate only. Readability formulas and similar metrics are derived from a representative population and have known edge-case noise. The classroom teacher governs final text selection, grade placement, and assessment decisions.

Field names used by the API: mode, n, proportion, confidence_pct, z_critical, standard_error, margin_of_error, lower_bound, upper_bound

Related tools