Meaning and conditions
The calculator assumes independent binary observations, interior planning proportion 0<p*<1 and absolute half-margin 0<d<1. It fixes z0.975≈1.95996 for 95% normal level, without finite-population correction, cluster or attrition modeling. It does not exactly plan an arbitrary interval procedure.[1][2]
The binomial distribution describes the future success count. A Wilson confidence interval estimates a proportion after observation; the normal distribution supplies the quantile used for this preliminary approximate planning.[1][2]
Derivation and relations
Solve the planned normal half-margin for required sample count and name all assumptions held fixed in doing so.[1][2]
- Define an independent binary sample and desired absolute margin half-width d. Choose a plausible planning proportion p* before observing the future sample.
- The normal approximation to the proportion’s standard error is√[p*(1−p*)/n]. Multiply by the z quantile corresponding to the confidence level.
- Set the planned half-margin equal to d and solve n0=z2p*(1−p*)/d2. If the proportion is unknown, p*=0.5 maximizes the variance term.
- Round n0 upward to the required integer observation count. Separately check normal approximation, sampling design and additional recruitment assumptions; a nominal plan is not an exact binomial guarantee.
See the model
Maximum planning variance occurs at 0.5
Free with a Quanta account. Your download stays ready after registration.
Two complete worked examples
Unknown proportion and five percentage points
- Given
- Fictional planning at nominal 95% level, p*=0.5 and absolute half-margin d=0.05.
- Find
- Determine the unrounded planning value and required integer count.
The corresponding z quantile is approximately 1.959963984540054.
Insert the maximum variance term 0.25.
Always round upward.
Result: 385 analyzable independent observations under this 95% normal approximation.
Check: ±5 percentage points is the half-margin, so the nominal full band is about 10 percentage points wide. This is not an already computed exact Wilson interval.
A justified planning value and tighter margin
- Given
- A different fictional plan: p*=0.2, d=0.03, again at 95% normal level.
- Find
- Combine prior planning knowledge with tighter absolute precision.
Calculate p*(1−p*)=0.16.
Round upward to an integer count.
Result: 683 analyzable observations under the stated approximation. A tighter half-margin can require more observations despite smaller variance.
Check: p*=0.8 would give the same variance term 0.16. An unsuitable planning value can change realized precision relative to the plan.
Recall the method later with the formula’s flashcards.
10 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
p*, d and z are dimensionless, and n is an integer observation count. Entering 5% means 0.05 rather than 5. The fixed 95% approximation uses a normal quantile, not the value 0.95 as a multiplier.[1][2]
The native graphic displays original planning values. A small nominal count near a boundary does not justify ignoring adequate expected events or an appropriate interval procedure.[1][2]
Five exercises with distinct learning goals
Calculate · Foundation
Plan at 95% with p*=0.5 and d=0.1. How many analyzable observations are required?
Show hint
n0≈3.8414588207·0.25/0.01.
Learning goal: Round a 95% planning result upward
Show solution and calculation
n0≈96.036471, so n=97.
Half-margin d=0.1 means 10 percentage points.
Rounding down to 96 would fall below the stated approximate requirement.
Rearrange · Application
With n=400, p*=0.5 and 95% normal level, what planned absolute half-margin results?
Show hint
Use d=z√[p*(1−p*)/n].
Learning goal: Find half-margin from a fixed sample size
Show solution and calculation
d=1.95996398454√(0.25/400)≈0.0489991.
This is about 4.90 percentage points and approximately 9.80 percentage points of full nominal width.
Interpret · Application
At p*=0.2, what does planned half-margin d=0.03 mean? Is it 3% relative error?
Show hint
Compare 0.03 with the starting value 0.2.
Learning goal: Separate absolute and relative precision
Show solution and calculation
d=0.03 means±3 percentage points on the proportion scale.
Relative to 0.2, it is 0.03/0.2=15% relative half-margin, not 3%.
Here the requirement refers to a nominal normal approximation, not a guaranteed bound for a particular result.
Error analysis · Application
A planning value n0=384.145882 is rounded to 384. Why is the required count 385?
Show hint
Seek the smallest integer not below n0.
Learning goal: Avoid ordinary nearest-integer rounding
Show solution and calculation
The requirement is n≥n0.384 is below it, so n=⌈n0⌉=385.
Ordinary rounding would narrowly miss the modeled precision requirement.
Additional recruitment assumptions come only after this upward rounding.
Transfer · Challenge
You need 385 analyzable responses. Assuming 80% analyzability, how many people should be approached at minimum?
Show hint
Divide by 0.8 and round upward again.
Learning goal: Distinguish analyzability from required sample size
Show solution and calculation
⌈385/0.8⌉=⌈481.25⌉=482.
This is an additional simplified recruitment assumption; systematic nonresponse is not automatically unbiased afterward.
Core planning counts analyzable independent observations, not merely invitations sent.
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: 3.3.3.3 Selecting Sample Sizes
- STAT301 at Purdue: Inference for a Single Proportion, section 15.7
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. Sample Size for Estimating a Proportion. Updated November 9, 2026. https://quanta-study.de/en/formula-sheet/stichprobenumfang-anteil
When citing a specific scientific statement, also cite the specialist source linked to that statement.