How many answers does your survey need?
Choose the margin of error and the confidence you want, and the size of the group you survey if it is small. You get the answers you need or, the other way round, the margin of error that the answers you have give.
5 means a result of 40% stands for anything from 35% to 45%.
Completed answers to the question you care about.
95% is the usual choice: in 95 surveys out of 100, the true value is inside the margin.
Optional. Everyone you could survey, such as your 2,000 customers. Leave it empty for a large or unknown group.
Optional. The answer you expect, if you know it. Empty means 50%, which asks for the most answers and is the safe choice.
What it works out
- Answers needed. The standard formula for estimating a percentage, from W. G. Cochran, Sampling Techniques (3rd edition, Wiley, 1977, chapter 4): n₀ = z² × p × (1 − p) ÷ e², where e is the margin of error, p the share you expect and z comes from the confidence level.
- Small groups. When you survey a group of known size N, the finite population correction from the same chapter lowers the answers needed: n = n₀ ÷ (1 + (n₀ − 1) ÷ N). The answer is rounded up to a whole person.
- Margin of error. The same formula turned round: e = z × √(p × (1 − p) ÷ n), times √((N − n) ÷ (N − 1)) when you give the population size.
- The z value. From the normal distribution, with the same functions the A/B test sample size calculator uses: 1.645 at 90%, 1.960 at 95% and 2.576 at 99%.
What it does not do
It counts answers, not invitations. If one person in five replies, you need to ask five times as many people.
The margin of error covers chance only. It assumes the people who answer are a random sample of the group. A survey that only your keenest customers answer can be far off with any number of answers.
It is for one percentage at a time, such as the share who would buy again. Comparing two groups, or the average of a rating scale, needs other sums. Everything runs in your browser and nothing you type is sent anywhere.
Questions
Why do I see 385 everywhere?
A margin of ±5% at 95% confidence, with an expected share of 50%, gives 384.1, rounded up to 385. It holds for a large population.
Does a bigger population need many more answers?
Hardly. Past a few tens of thousands people, the population size barely changes the answer. The correction matters when the group is small, such as 300 members of an association.
What confidence should I choose?
95% is the usual choice. 99% needs about 1.7 times as many answers for the same margin, and 90% about 0.7 times as many.
Can I use it for an NPS survey?
Only as a rough guide. An NPS is the difference of two percentages, so its margin is usually wider. Check the margin of your score in the NPS calculator.