Meaning and conditions
The uncorrected Wilson score interval applies to x successes from n independent Bernoulli trials sharing probability p. Counts satisfy integer 0≤x≤n with n>0, and z>0 is the normal quantile associated with the nominal level. It is a frequentist approximation, not an exact interval with identical coverage for every p.[1][2]
The binomial distribution models success counts. The normal distribution supplies the selected quantile; proportion sample-size planning asks a separate precision question before data collection.[1][2]
Derivation and relations
Invert the score test over candidate p values instead of centering a plug-in standard error around the observed proportion.[1][2]
- Start with x successes in n independent trials sharing an unknown probability p. The observed estimate is p̂=x/n.
- The score test evaluates variance at the candidate p: (p̂−p)2≤z2p(1−p)/n. A Wald interval instead inserts p̂ into the variance.
- Expand to (n+z2)p2−(2np̂+z2)p+np̂2≤0. The two roots of this quadratic inequality are the Wilson limits.
- Assign the smaller root to L and the larger to U. Report the chosen level, x and n; midpoint c and full width U−L are not p̂ and the half-margin.
See the model
Wilson limits for 20 trials
Free with a Quanta account. Your download stays ready after registration.
Two complete worked examples
Eight successes in twenty trials
- Given
- A fictional independent sample has x=8 successes in n=20 trials; z=1.959963984540054.
- Find
- Calculate the uncorrected 95% Wilson interval and its width.
Calculate the observed proportion and correction factor.
Insert p̂ and n into the midpoint and half-width.
Subtract and add the half-width to the midpoint.
Result: Interval approximately[0.2188,0.6134], full width about 0.3946. The point estimate remains 0.4.
Check: Endpoints lie in[0,1] and are symmetric around c, not p̂. Every number is an original model calculation.
No observed success
- Given
- A second fictional sample has x=0, n=12 and the same 95% z-value.
- Find
- Determine the upper limit without claiming false certainty at zero.
Set p̂=0; the square-root term simplifies to z/(2n).
Calculate the positive upper limit.
Result: The interval ranges from 0 to approximately 0.2425. Zero observed successes do not prove a true probability of 0.
Check: At x=n the reflected case gives U=1 and L=n/(n+z2). The boundary case follows from the same score inequality.
Recall the method later with the formula’s flashcards.
11 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Units, interpretation and limits
x, n and z are dimensionless; limits can be displayed as fractions or percentages.95% uses z≈1.95996, not z=0.95. Full width is U−L. The bounded calculator allows n up to 109 and 0.01≤z≤10, not arbitrary dependent-data analysis.[1][2]
The native graphic uses original model values. Small samples still require a deliberate method choice; Wilson does not repair selection bias, measurement error or clustering.[1][2]
Five exercises with distinct learning goals
Calculate · Foundation
Calculate the Wilson interval for x=5, n=10, z=1.959963984540054.
Show hint
Use p̂=0.5; here the midpoint remains 0.5.
Learning goal: Calculate a Wilson interval
Show solution and calculation
p̂=0.5, c=0.5 and h≈0.263407.
Thus L≈0.236593, U≈0.763407 and U−L≈0.526814.
This is full width, not the distance of one endpoint from the midpoint.
Rearrange · Foundation
With n=40 and p̂=0.3, find x and check that the input is an integer.
Show hint
Rearrange p̂=x/n for x.
Learning goal: Separate proportion and count
Show solution and calculation
x=n·p̂=40·0.3=12.
The input is valid: x is integer and 0≤12≤40.
A percentage without n is insufficient for an interval.
Interpret · Application
Does an observed 95% Wilson interval mean that p lies inside it with 95% probability?
Show hint
Distinguish fixed p from a random interval.
Learning goal: Interpret coverage correctly
Show solution and calculation
In the frequentist model p is fixed.
Before sampling the interval is random, and the procedure targets repeated-sampling coverage.
Once observed, this interval either contains p or does not.
For finite binomial n actual coverage varies with p;95% is the nominal level.
Error analysis · Application
A report sets the standard error to 0 at x=0, n=12 and calls[0,0] certain. Correct it.
Show hint
The score method varies candidate p.
Learning goal: Recognize the Wald boundary error
Show solution and calculation
The Wald recipe collapses at p̂=0.
At 95% Wilson instead gives[0,0.242494] using U=z2/(12+z2).
No observed success does not exclude positive p; the data do not prove impossibility.
Transfer · Challenge
Compare x=50, n=100 with x=200, n=400 at 95%. Why is the second interval narrower?
Show hint
Both p̂ values are 0.5; calculate their half-widths.
Learning goal: Compare sample size and precision
Show solution and calculation
For n=100 the interval is approximately[0.403832,0.596168]; for n=400 it is[0.451235,0.548765].
Full widths are about 0.19234 and 0.09753.
Quadrupling n approximately halves width, but not exactly because the score correction also depends on n.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 9, 2026
- NIST/SEMATECH e-Handbook: 7.2.4.1 Confidence intervals
- OHID Public Health Technical Guidance: Proportions and odds
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with explicit validity conditions, two authored examples, five checked exercises and an original native data graphic.
Cite this reference page
Quanta. Wilson Score Confidence Interval for a Proportion. Updated November 9, 2026. https://quanta-study.de/en/formula-sheet/wilson-konfidenzintervall-anteil
When citing a specific scientific statement, also cite the specialist source linked to that statement.