This calculator finds a confidence interval for a binomial proportion using the Wilson score method, a more accurate approach than the simple textbook formula, especially for small samples and proportions near zero or one. When you observe a number of successes out of a number of trials, the proportion you measure is only an estimate of the true underlying rate, and a confidence interval expresses the uncertainty. The familiar Wald interval, the proportion plus or minus a margin, is simple but performs poorly when the sample is small or the proportion is extreme, sometimes even producing bounds below zero or above one. The Wilson score interval fixes these problems: it stays within the valid zero-to-one range, has better coverage, and is the method statisticians recommend for proportions. This calculator computes it. You enter the number of successes, the number of trials, and the confidence level, and it returns the Wilson confidence interval, the observed proportion, and the lower and upper bounds. The results update as you type. Use it to report a proportion with honest uncertainty, for A/B testing and conversion rates, for survey results, or for quality and reliability data. The Wilson interval centres not on the raw proportion but on a slightly adjusted value, and its width accounts for both the sampling variability and the sample size in a way that behaves well at the extremes. Because of this it is particularly valuable when you have few trials or a proportion close to a boundary, exactly the situations where the simpler interval misleads. A wider confidence level, such as 99 percent, gives a wider interval. This complements the Wald-style interval some tools provide: where the Wald interval is a quick approximation, the Wilson score interval is the more trustworthy choice, and it is what you should prefer when accuracy matters.
Wilson score interval: stays within 0-100% and is accurate for small samples and extreme proportions, unlike the simple Wald interval. Choose the confidence level.
The Wilson score interval centres on the observed proportion adjusted by a term involving the z-value and sample size, and its half-width combines the sampling variability with that same adjustment. Dividing through by one plus z squared over the sample size keeps the interval within the valid zero-to-one range and gives good coverage even for small samples.
For 8 successes in 20 trials, the proportion is 0.40. At 95 percent confidence, the Wilson method centres slightly above 0.40 and produces an interval of about 21.9 percent to 61.3 percent, narrower and better behaved than the simple Wald interval, and guaranteed to stay within zero and one hundred percent.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-06-07 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.