Tools / Confidence Interval Calculator

Confidence Interval Calculator

Estimate a confidence interval for a survey percentage using the Wilson score method. Better behaved than the simple Wald interval for small samples and extreme rates.

Wilson score interval for a binomial proportion. Enter successes (yes / satisfied / promoters, etc.) and sample size n.

Enter counts to see the result

  1. 1

    Enter sample size and successes

    Successes are the count in the category you care about (for example “yes,” promoters, or satisfied).

  2. 2

    Choose a confidence level

    95% is the common default. 90% is narrower; 99% is wider.

  3. 3

    Read the interval

    You get the observed percentage plus lower and upper bounds from the Wilson score formula.

Why Wilson for survey percentages

Get an interval that stays inside 0–100% and holds up when n is small or the rate is near 0% or 100%.

Wilson over Wald

The textbook p̂ ± z√(p̂(1−p̂)/n) interval can go outside 0–100% and undercover at small n. Wilson fixes both issues for most survey proportions.

Optional population correction

When you sample a large share of a known finite population, the optional N field applies a finite population correction to the half-width.

Browser-only math

No upload, no account. Paste counts from your export and go.

Useful for

Yes/no survey items

Report “42% said yes (95% CI …)” instead of a bare percentage.

CSAT or conversion shares

Treat satisfied (or converted) counts as successes and total responses as n.

Class and research projects

Quick interval checks without opening a stats package.

Related calculators

Frequently asked questions

What confidence interval method does this use?

The Wilson score interval for a binomial proportion (Wilson, 1927). It is widely recommended as a default over the normal approximation (Wald) interval for survey percentages.

Inputs are successes x, sample size n, and a confidence level that sets z (about 1.645 / 1.960 / 2.576 for 90% / 95% / 99%).

What is the Wilson score formula?

With p̂ = x/n and critical value z:

center = (p̂ + z²/(2n)) / (1 + z²/n)

half-width = z × √(p̂(1−p̂)/n + z²/(4n²)) / (1 + z²/n)

Interval = center ± half-width, reported here as percentages.

Why not the simple margin-of-error formula?

Wald intervals center on the raw percentage and assume a large sample. They can produce nonsense bounds below 0% or above 100%, especially near extremes.

Wilson stays inside 0–100% and usually matches the stated confidence level more closely.

What do 90%, 95%, and 99% mean?

They are nominal confidence levels. A 95% interval is constructed so that, under the model assumptions, about 95% of such intervals from repeated samples would cover the true population percentage.

Higher confidence means a wider interval, not a “more accurate” point estimate.

Can I use this for NPS?

NPS is a difference of two percentages, not a single binomial proportion. This tool is for one share (for example % promoters, % yes, or CSAT).

Calculate NPS with the NPS calculator, then use this page for individual category shares if you need intervals.

When should I enter a population size?

When you sampled without replacement from a known finite group (for example 80 of 200 employees) and that sample is a large fraction of the group.

Leave it blank for open web surveys or huge populations where the correction barely matters.

Is this a margin of error calculator?

It reports the interval and an approximate half-width (half the distance between upper and lower bounds). That half-width is the practical “margin” around the Wilson center for communication, with the caveat that Wilson intervals are not perfectly symmetric around p̂.

Are my numbers stored?

No. Everything runs locally in your browser.

How do I gather the sample in the first place?

Use any survey tool, including Formms, then bring the success count and sample size here when you want a Wilson interval on the percentage.

Collecting fresh survey responses? Try Formms for a form with a short link and QR.

Collect the responses on your phone next.

Formms builds the survey from a prompt, then you can paste counts back into these calculators anytime.

Create a free form My forms
Download on iOS
Scan to download iOS app
Download on Android
Scan to download Android app
View a demo form →