- Required sample size
- 385
- Critical z value
- 1.96
How it works

Complementary proportions need equal sample sizes
Expected proportions of 20% and 80% produce the same p(1−p) and therefore the same sample-size estimate when other settings match. The uncertainty depends on the balance between outcomes, not which outcome you call a success.
Do complementary proportions give different uncertainty?
- Probability
- p

| Expected proportion | Calculation | Variance factor |
|---|---|---|
| A 30% | 0.30 × 0.70 | 0.21 |
| B 70% | 0.70 × 0.30 | 0.21 |
Planning precision before collecting data
With 95% confidence, a 50% expected proportion, a 5-percentage-point margin of error, and unlimited population, the normal approximation requires 385 observations after rounding up. Halving the margin to 2.5 percentage points increases the requirement to 1,537, roughly four times as many. The 50% proportion gives the largest p(1−p) when no better estimate is available. This count assumes random independent sampling; it does not correct selection bias or include extra invitations needed for nonresponse.
Set the margin in percentage points and choose a planning proportion
A margin of 5 percentage points around a 40% estimate means approximately 35% to 45%, not a 5% relative change around 40%. Enter 5 in the margin field. Confidence and expected proportion also use their displayed percent units.
When the proportion is unknown, 50% gives the largest p(1 − p) and the largest sample requirement for these inputs. A smaller planning proportion may reduce the count, but it should reflect credible prior information rather than a desire for a smaller sample.
Compare an unlimited population with a finite sampling frame
At 95% confidence, a 5-point margin and a 50% planning proportion, the unlimited-population calculation gives n₀ ≈ 384.146 and rounds up to 385. If the complete eligible population contains 1,000 distinct members and sampling is without replacement, the finite-population correction gives about 277.741 and rounds up to 278.
Enter 0 when using the unlimited-population assumption. A finite population means the full group the estimate describes, not the number invited or the number who already responded. The correction assumes the sample is drawn from that defined population.
| Population input | Approximate unrounded requirement | Required complete observations |
|---|---|---|
| 0: unlimited | 384.146 | 385 |
| 1,000 members | 277.741 | 278 |
Work backward from a completed sample to its margin
Choose Find margin of error to supply the sample size instead. With 400 observations, 95% confidence, an estimated proportion of 50% and unlimited population, the normal approximation gives a margin of approximately 4.8999 percentage points.
The calculation uses z × √[p(1 − p)/n]. For sampling without replacement from a finite population, it also multiplies by √[(N − n)/(N − 1)]. A census eliminates this modeled sampling variance, but not measurement error, coverage problems or missing answers.
Separate required responses from invitations and research design
The required count refers to usable observations. If 385 complete responses are required and the anticipated response rate is 70%, 385 ÷ 0.70 = 550 invitations is a basic planning estimate. The calculator does not add this adjustment, and a larger invitation count does not guarantee that respondents represent nonrespondents.
The normal proportion approximation is least dependable with very small samples or proportions close to 0 or 1. Cluster sampling, survey weights, unequal selection probabilities and correlated responses need design-specific methods. This page estimates precision for a proportion; it does not conduct power analysis for a treatment comparison or calculate a required sample for a mean.
Required sample size: formula and assumptions
n₀ = z²p(1−p)/e²; finite correction n = n₀/[1+(n₀−1)/N].
Round up the required sample size. Random independent sampling is assumed; cluster designs and nonresponse may require larger samples.
Find margin of error: formula and assumptions
Margin=z√[p(1−p)/n], with finite-population correction √[(N−n)/(N−1)].
Assumes a random independent sample and the normal proportion approximation.
Worked example
Using the Required sample size example:
- Confidence level (%)
- 95
- Margin of error (percentage points)
- 5
- Expected proportion (%)
- 50
- Population size (0 = unlimited)
- 0
n₀ = z²p(1−p)/e²; finite correction n = n₀/[1+(n₀−1)/N].
Example result
Required sample size: 385
Critical z value: 1.96
These are illustrative inputs. Change the values to explore a different scenario.
Formula references
- OpenStax: Algebra and Trigonometry (opens in a new tab)
- NIST statistical methods handbook (opens in a new tab)
References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.
Common questions
Why is the required sample size rounded up?
A fraction of a participant cannot be sampled. Rounding up preserves the minimum count required by the stated approximation.
Does the calculation account for nonresponse or clustered sampling?
No. It assumes random independent sampling. Nonresponse and complex survey designs may require a larger planned sample.
Why use 50% when I do not know the expected proportion?
The product p(1 − p) is largest at p = 0.5. Within this approximation, that gives the largest required sample for the selected confidence and margin.
What does a 5-percentage-point margin mean?
An estimate of 40% with a 5-point margin spans 35% to 45%. It is not a relative 5% margin of 38% to 42%.
What should I enter as the population size?
Enter the total number of eligible members in the finite population you want to describe, when the sampling assumptions support the correction. Enter 0 for the unlimited-population approximation.
Can I use this result to plan a randomized experiment?
It is a precision calculation for one population proportion. An experiment usually needs a power analysis with an effect size, significance level, allocation and other design assumptions.
See our methodology and editorial policy.
