Epidemiology and diagnostic testing
Wilson 95% confidence interval for a proportion
Case calculation
Example case loaded — edit any field to calculate live
Example problem. Five of ten independent observations meet a criterion. Find the two-sided 95% Wilson score interval for the underlying proportion.
Example result
Updates as you typeObserved proportion
50%
How to work it out
- 5 outcomes ÷ 10 independent observations = 0.5. Multiply by 100 to express a percentage.
Lower 95% confidence bound
23.659309%
How to work it out
- The Wilson denominator is 1 + 1.95996398454² / 10 = 1.38414588207. The adjusted center is (0.5 + 1.95996398454² / (2 × 10)) ÷ 1.38414588207 ≈ 0.5.
- Subtract the Wilson half-width of 0.263406909487 from 0.5, then multiply by 100.
Upper 95% confidence bound
76.340691%
How to work it out
- The Wilson half-width is 1.95996398454 × √[0.5 × (1 − 0.5) / 10 + 1.95996398454² / (4 × 10²)] ÷ 1.38414588207 ≈ 0.263406909487.
- Add the half-width of 0.263406909487 to 0.5, then multiply by 100.
Method and reference
Use the two-sided Wilson score interval without continuity correction for independent binomial observations. The interval uses the 97.5th percentile of the standard normal distribution. Survey weights, clustered samples and repeated observations need other methods.
For learning and exam practice only. For real patient care, verify the order, drug reference and facility policy with a qualified clinician.