Formula Wilson: (p + z^2/2n +/- z sqrt(p(1 - p)/n + z^2/4n^2)) / (1 + z^2/n). Clopper-Pearson: beta-distribution quantiles.
Assumptions Independent observations with a common probability. Limitations Wilson is approximate but accurate. Exact is conservative. Neither accounts for clustering. References Wilson EB. Probable inference, the law of succession, and statistical inference. J Am Stat Assoc. 1927;22:209-212. Clopper CJ, Pearson ES. The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika. 1934;26:404-413. Altman DG, Machin D, Bryant TN, Gardner MJ. Statistics with Confidence. 2nd ed. Bristol: BMJ Books; 2000. Runs in your browser with fixed formulas. No AI, no AI credits, and your inputs are not sent anywhere. This is a planning aid and not a substitute for review by a qualified statistician.