Sample size
Estimate a proportion survey sample size from confidence z-score, proportion and margin.
Estimate a confidence interval for a binomial success proportion using the Wilson score method, including samples with zero or all successes.
Estimate a confidence interval for a binomial success proportion using the Wilson score method, including samples with zero or all successes.
Success count: 50; Trial count: 100; Z critical value: 1.96.
Lower bound: 40.38 %; Upper bound: 59.62 %; Observed proportion: 50 %.
Estimate a confidence interval for a binomial success proportion using the Wilson score method, including samples with zero or all successes. Wilson score interval for independent binomial trials. Z = 1.96 is approximately a two-sided 95% interval; the observed count must be an integer.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Estimate a confidence interval for a binomial success proportion using the Wilson score method, including samples with zero or all successes.
p = k/n; c = (p + z²/(2n))/(1 + z²/n); h = z√(p(1 − p)/n + z²/(4n²))/(1 + z²/n); [c − h, c + h] × 100%
| Input | What to enter |
|---|---|
| Success count | Enter a number of at least 0 and no more than 1000000000. |
| Trial count | Enter a number of at least 1 and no more than 1000000000. |
| Z critical value | Enter a number of at least 1e-12 and no more than 10. |
Estimate a confidence interval for a binomial success proportion using the Wilson score method, including samples with zero or all successes. Wilson score interval for independent binomial trials. Z = 1.96 is approximately a two-sided 95% interval; the observed count must be an integer.
p = k/n; c = (p + z²/(2n))/(1 + z²/n); h = z√(p(1 − p)/n + z²/(4n²))/(1 + z²/n); [c − h, c + h] × 100%