How many survey responses do you need for your confidence level and margin of error? Or what margin does your sample give? Finite population and response rate.
How many people do you need to survey? It depends on three choices: how sure you want to be (the confidence level), how close to the truth the result must land (the margin of error), and how varied the answers are likely to be. Population size matters far less than most people expect. Asking 385 people gives ±5% at 95% confidence whether the population is a city or a whole country.
This calculator works it out in both directions. Sample size tells you how many responses to collect. Margin of error tells you how precise a survey you already ran is. Both work for a percentage (“what share of customers would recommend us?”) and for an average (“what is the mean delivery time?”).
The page opens on the textbook case: a percentage, 95% confidence, a margin of 5% and an expected proportion of 50%, with no population size.
Fill in Expected response rate and the tool also says how many people to invite. At 90%, ±4% and p = 30%, you need 356 responses, and at a 25% response rate that means 1,424 invitations.
Work out
You are estimating
z = 1.9600 (two-sided)
5 means the true figure is within ±5 percentage points.
Not sure? Keep 50% — it gives the largest, safest sample.
Sample size needed
385
responses for 95% confidence that the result is within ±5% of the true value.
z = 1.9600
n₀ = z² × p(1 − p) ÷ E² = 1.9600² × 0.5 × 0.5 ÷ 0.05² = 384.146
Rounded up to 385 — rounding down would miss the margin.
At 95% confidence, other margins need
±1%
9,604
±2%
2,401
±3%
1,068
±4%
601
±5%
385
±7%
196
±10%
97
Assumes a simple random sample and the normal approximation (Cochran's formula).