Find how many responses a survey needs. Free, private, and runs entirely in your browser.
The sample size for a proportion is z² × p × (1 − p) ÷ e². Using 50% for p gives the most cautious (largest) result.
Why use 50%? It maximizes variance, so it is safe when the true proportion is unknown.
Does population size matter? Only for small populations; a finite-population correction lowers n.
For a survey with 95% confidence (z = 1.96), a 5% margin of error and p = 50%, n = 1.96² × 0.5 × 0.5 ÷ 0.05² ≈ 384.2, so you need at least 385 responses. For 99% confidence (z = 2.576) and a 3% margin, you need about 1,844.
Why is 50% used for p? It gives the largest required sample, so it is the safe choice if you do not know the true proportion.
Does population size matter? Only when the sample is a large share of a small population, in which case a correction lowers the required size.
Modern polling grew out of a famous failure and a success. In 1936 the magazine Literary Digest mailed out millions of ballots and predicted that Alf Landon would beat Franklin Roosevelt, while George Gallup, with a much smaller but carefully chosen sample, correctly predicted Roosevelt's win. The episode showed that how a sample is selected matters more than how large it is. The formula used in this calculator, n = z² × p(1 − p) ÷ e², tells you how many responses you need for a given margin of error.
Use this calculator when you plan a survey. At 95% confidence with a margin of error of ±5% and the cautious assumption of p = 50%, you need about 385 responses. Tightening the margin to ±3% raises the requirement to about 1,068. For small populations, a finite population correction reduces the number needed. Remember that a large sample cannot rescue a biased one: make sure people are chosen fairly and respond at similar rates.
What margin of error is typical? Polls often use ±5% or ±3% at 95% confidence. About 385 responses give ±5%, about 1,068 give ±3%, and roughly 9,600 are needed for ±1%.
What if I expect a low response rate? Divide the number of responses you need by the expected response rate. To receive 385 responses at a 20% rate, plan to invite about 1,925 people.