Margin of Error Calculator
Margin of error for a survey or poll result.
How many responses a survey needs to be worth reporting.
Use 50 if you do not know: it gives the largest, safest sample.
Optional. Reduces the sample needed for a small population.
The number to invite is the sample divided by this.
| Margin of error | Responses needed | With your population |
|---|
Sample Size Calculator answers the question that should come before a survey is sent: how many responses are needed for the result to be worth reporting? It inverts the margin of error formula, so you choose the precision you want and it returns the sample that delivers it.
The arithmetic is unforgiving because the margin falls with the square root of the sample. A five per cent margin needs about 385 responses; three per cent needs 1,068; one per cent needs over 9,600. Each step in precision costs several times the previous one, which is why almost every published survey settles around a thousand.
The population correction and the response rate are where theory meets practice. For a small population -- a company, a school, a membership -- the required sample drops substantially, because sampling a large share of a small group is more informative. And since not everyone replies, the invitation list has to be the sample divided by the expected response rate, which is the number you actually need to send.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
Looking for something this does not cover? FreeToolsZone.org is more free browser-based tools, organised by job, and it is worth a look if sample size calculator is only part of what you are working on.
The sample size calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Fifty per cent if you do not know, because it requires the largest sample and therefore cannot leave you short. If you expect a lopsided result, using it reduces the sample needed.
Because you are sampling a larger share of it. Surveying 300 of 1,000 members tells you far more than 300 of ten million.
Yes, or the margin of error means nothing. A self-selected sample of any size can be badly biased, and no sample-size calculation fixes that.
If the sample size calculator is not quite what you need, these other free tools solve closely related problems, and there are 13 more in statistics calculators.
Margin of error for a survey or poll result.
Confidence intervals for a mean or a proportion.
Conversion rate with uplift and revenue impact.
Z-score with percentile and tail probabilities.
Three calculators: percent of a number, what percent one number is, and change.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.