Required survey n for any confidence level and margin of error.
🎯 p = 50% is the safe default — it maximizes p(1−p), so the sample covers any outcome. The finite-population correction n = n₀/(1 + n₀/N) only matters below roughly N = 20,000; halving the margin quadruples the sample, which is why ±1% polls need ~9,600 respondents.
The Sample Size Calculator is based on the following formula:
n₀ = z² · p(1−p) / e² Finite population: n = n₀ / (1 + n₀/N)
Variables: n₀ = Sample size for an infinite population z = Critical value (1.645 / 1.96 / 2.576) p = Expected proportion (0.5 is the conservative default) e = Margin of error as a decimal (0.05 for ±5%) N = Population size (optional) n = Corrected required sample size
Cochran's formula: the required sample scales with the square of z and p(1−p) and inversely with the square of the margin — halving the margin quadruples n. The finite-population correction only matters below roughly N = 20,000.
Worked example: Step 1: 95% confidence (z = 1.96), ±5% margin (e = 0.05), p = 0.5. Step 2: n₀ = 1.96² × 0.5 × 0.5 / 0.05² = 0.9604 / 0.0025 = 384.16 → 385 (rounded up). Step 3: with N = 100,000, n = 384.16 / (1 + 384.16/100000) = 384.16 / 1.0038416 = 382.69 → 383. Result: 385 respondents for a large population, 383 after the correction — exactly the tool's output.
At 95% confidence, ±5% margin, and p = 50%, the formula n = z²p(1−p)/e² gives 3.8416 × 0.25 / 0.0025 = 384.16, rounded up to 385. That single number powers most consumer and academic surveys, because p = 50% is the worst case: any other proportion needs a smaller sample for the same precision.
Sample size scales with 1/e². Going from ±5% to ±2.5% quadruples the requirement from 385 to 1,537; ±1% needs 9,604. Before promising a client a ±1% read on a rare behavior, multiply the budget accordingly — the curve in the calculator makes the cliff visible.
The 385 figure assumes an effectively infinite population. The finite-population correction n = n₀/(1 + n₀/N) only starts to matter below roughly 20,000 people: at N = 100,000 you save just 2 interviews, but surveying a 500-person company needs only 218 of them. Ignore the correction for national samples; never ignore it for a school, a plant, or a team.
Always round the computed n up — 384.16 respondents do not exist. Then inflate for reality: a 20% non-response rate means inviting 481 people to land 385 completed responses. Online panels, screen-outs and duplicated submissions all eat into the nominal number, and the margin of error only applies to the completes.
More tools you might find useful
Convert numbers to scientific, E-, and engineering notation.
Two points in — slope, intercept, angle and y = mx + b out.
Find sphere volume and surface area from radius.
Calculate standard deviation, variance, and mean.