Skip to main content

Notice Send us your feedback to help us improve this service.

Sample Size Calculator

Determine how many people you need to survey for significant results.

What this calculator does

This tool tells you how many completed responses you need for a survey to give a reliable result. Enter how many people are in the group you want to learn about, how confident you want to be, and how much error you can accept. It suits school councils, clubs, small businesses and student research projects.

How we work it out

We use a standard formula for estimating a percentage, such as the share of people who answer yes. Your confidence level sets a z-value: 1.645 for 90%, 1.96 for 95% and 2.576 for 99%. We square it, multiply by 0.25, and divide by the square of your margin of error, written as a decimal (5% is 0.05).

The 0.25 comes from assuming a 50/50 split in answers. That is the case that needs the most people, so the result is on the safe side. Last, we adjust for the size of your population, which lowers the number for small groups, and round up to a whole person.

What the result means

The required sample is the number of answers you need back. With that many, and a 95% confidence level, your result should land within your margin of error of the true value 19 times out of 20. Say 40% of your sample supports an idea and your margin is 5%. The true share in the whole group is then likely between 35% and 45%.

The margin applies to results for the whole group. Results for a smaller group inside your survey, such as only parents of Grade 1 students, rest on fewer answers and have a wider margin.

What changes the number most

The margin of error matters most. Halving the margin roughly quadruples the sample for a large population, because the margin is squared in the formula. Raising confidence from 95% to 99% also adds a lot of people.

Population size matters less than most people expect. For small groups it lowers the number a lot. Once the population reaches the tens of thousands, the required sample hardly changes. Try 50,000 and then 5,000,000 in the calculator to see this for yourself.

Getting the answers you need

  • Plan for people who do not reply. Invite more people than your target. A low response rate can do more harm than a small sample, because the people who answer may differ from those who do not.
  • Choose people at random from the whole group. A big sample of only your friends, or only people who see one poster, can still be badly biased. The margin of error only holds for a random sample.
  • Keep questions clear and neutral. The margin of error covers only the luck of who was picked. It does not cover confusing or leading questions.

If you want the chance of a single draw instead, such as one name picked from a list, the probability calculator is the right tool.

What this does not include

  • Assumes a simple random sample drawn from the whole population
  • Sized for estimating a percentage using a 50/50 split. It does not size studies that compare groups or estimate averages
  • People who do not reply. The result is completed responses, not invitations
  • Bias in who you ask, or in how questions are worded
  • Only three confidence levels are offered: 90%, 95% and 99%

Common questions

Why do national polls not need millions of people?

Once a population is large, its size barely changes the answer. At the same confidence and margin, a big city and the whole country need almost the same sample. Try both in the calculator. What matters far more is who you ask and whether they reply. A small random sample beats a huge one that only reaches one kind of person.

What margin of error should I choose?

A 5% margin is a reasonable starting point for a club, school or workplace survey. If the decision is close or costly, try 3% and see how many more answers you would need. Smaller margins need many more people, because the margin is squared in the formula.

What does 19 times out of 20 mean?

It is another way to say 95% confidence. If you ran the same survey many times with new random samples, about 19 of every 20 results would land within the margin of error of the true value. The other 1 in 20 would miss by more, just by chance in who was picked.

What population size should I enter?

Enter the number of people in the group you want to describe, not the number you can reach. For a school, that might be every family enrolled. If the group is very large and you only know its size roughly, a round estimate is fine, because the answer hardly changes for big populations.

What if my group is very small?

For a group of a few dozen people, the calculator may tell you to survey almost all of them. In that case, ask everyone. Asking the whole group removes the luck of the draw entirely, although you still need people to reply and to understand your questions.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.