Free calculator · No signup

Survey Sample Size Calculator

Enter the size of the group you want to learn about, how sure you want to be and how much error you can accept. See how many completed responses you need and how many people to invite.

Your survey

How many people are in the group you want to learn about. Leave empty if it is very large or unknown.

people

How sure you want to be. 95% is the usual choice.

How far off the true figure you can accept, in percentage points. 5 is common.

%

Your best guess at the share who will give the answer you care about. Keep 50 if you do not know: it gives the safest, largest sample.

%

Of the people you invite, the share you expect to finish the survey.

%

Your sample size

Completed responses you need

323

With 323 completed responses from a random sample of your 2,000 people, your result should be within 5 points of the true figure, 95 times out of 100.

Sample for a very large population
385
People to invite
1,615
Z-score used
1.96

How to use the sample size calculator

  1. Population size: the number of people in the group you want to describe, such as every dentist in your city or every customer on your email list. Leave it empty if the group is very large or you do not know its size.
  2. Confidence level: how sure you want to be that the true figure sits inside your margin of error. 95% is the usual choice. Pick 90% for a quick check and 99% when a wrong answer would be costly.
  3. Margin of error: how many percentage points your result may be off. With a 5% margin, a survey result of 40% means the true figure is probably between 35% and 45%.
  4. Expected result: your best guess at the share of people who will give the answer you care about. Keep 50% if you have no idea. It produces the largest sample, so it is the safe choice.
  5. Expected response rate: of the people you invite, the share you expect to finish the survey. The calculator uses it to tell you how many people to invite.

The result updates as you type. The headline is the number of completed responses you need. Below it you see the sample for a very large population, the number of people to invite and the z-score used.

The sample size formula

Formula

Step 1 (large population): n0 = z x z x p x (1 - p) / (e x e). Step 2 (known population of size N): n = n0 / (1 + (n0 - 1) / N). Round the result up. People to invite = n / response rate, rounded up.

Here z is the z-score for your confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%), p is the expected result as a decimal and e is the margin of error as a decimal. Step 1 is known as Cochran's formula. Step 2 is the finite population correction, which lowers the sample when your group is small. If you leave population size empty, the calculator stops after step 1.

A worked example

Say you plan to open a co-working space and there are 2,000 freelancers in your town. You want to know what share would pay for a desk. You choose 95% confidence and a 5% margin of error, keep the expected result at 50%, and expect 20% of the people you invite to answer.

StepCalculationResult
Large population sample1.96 x 1.96 x 0.5 x 0.5 / (0.05 x 0.05)384.16, rounded up to 385
Adjust for 2,000 people384.16 / (1 + 383.16 / 2,000)322.4, rounded up to 323
People to invite323 / 0.201,615

You need 323 completed responses, which means inviting 1,615 of the 2,000 freelancers. That is most of the town. If you accept a 10% margin of error instead, you need 92 responses and 460 invitations, which is far easier to reach.

How population and margin of error change the answer

Both tables use 95% confidence and an expected result of 50%. The first shows that population size stops mattering once the group is large.

PopulationResponses needed at a 5% margin
10080
500218
1,000278
10,000370
100,000383
Very large or unknown385

The second shows the cost of precision for a very large population. Each time you tighten the margin, the sample grows much faster than the margin shrinks.

Margin of errorResponses needed
10%97
5%385
3%1,068
2%2,401
1%9,604

How to use the result when you are testing a business idea

  • Decide what the number is for. A survey is good for counting: what share of people have a problem, how often, what they pay today. It feeds your market research and your market size estimate in the TAM SAM SOM calculator.
  • Talk to people first. A survey can only measure answers you already thought to ask about. Run a handful of customer interviews to learn the right questions, then use a survey to see how common each answer is. Interviews do not need a statistical sample. See how to validate a startup idea for the order to do things in.
  • Pick a margin that matches the decision. If the choice is the same whether 30% or 40% of people have the problem, a 10% margin is enough and costs a quarter of the responses.
  • Sample the right people. Responses must come from your target group, your ideal customer profile, and not from friends or whoever follows you online.
  • Do not treat stated interest as sales. People who say they would buy often do not. Treat survey answers about future purchases as a ceiling, and check them with a real offer such as a pre-order page.

A survey is one input, not the whole test. In Fonda, the Validate phase covers Market, Key risks and Interviews, and you talk to real customers before you get a Verdict of go, refine or pivot. It is free to start.

What the calculator leaves out

  • How you pick people. The formula assumes a simple random sample, where everyone in the group has the same chance of being asked. A link posted in one online community is not random, and the margin of error does not apply to it.
  • Who chooses not to answer. If the people who reply differ from those who ignore you, the result is skewed however large the sample. A higher response rate reduces this risk.
  • Subgroups. The sample covers one overall figure. If you want to compare groups, such as renters and owners, each group needs its own sample of the full size.
  • Question type. The formula is for yes or no style questions reported as a percentage. Averages, such as mean monthly spend, use a different formula that needs an estimate of how spread out the answers are.
  • Question quality. Leading or unclear questions produce wrong answers at any sample size.

Frequently asked questions

What is a good sample size for a survey?

It depends on how precise you need to be. For a large population at 95% confidence, about 100 responses gives a margin of error near 10%, 385 gives 5% and about 1,070 gives 3%. Choose the smallest sample whose margin still lets you make your decision.

Why does a huge population need the same sample as a medium one?

Because precision comes from the number of people you ask, not from the share of the population they represent. Once the population is many times larger than the sample, adding more people to it barely moves the result: going from 100,000 people to an unlimited number adds only 2 responses at a 5% margin.

Why should I use 50% if I do not know the expected result?

The term p x (1 - p) in the formula is at its largest when p is 50%, so 50% gives the biggest sample. Any other true value would have needed fewer responses, which means you are covered whatever the result turns out to be.

What if I cannot get that many responses?

Report the result with the wider margin of error that your real sample supports, and say so. You can also widen the margin on purpose, drop to 90% confidence, or narrow the population to a group you can reach more completely. For very early idea testing, a small number of in-depth interviews often teaches you more than an underpowered survey.

What is the difference between confidence level and margin of error?

Margin of error is how wide the range around your result is. Confidence level is how often that range would contain the true figure if you repeated the survey many times. A result of 40% with a 5% margin at 95% confidence means that 95 out of 100 such surveys would land within 5 points of the truth.

Related tools and guides

Add this calculator to your website

Free to use on any site. Paste this code where you want the calculator to appear, and keep the credit link.

<iframe src="https://fonda.co/embed/survey-sample-size-calculator" title="Survey Sample Size Calculator" width="100%" height="720" style="border:0;max-width:960px" loading="lazy"></iframe>
<p style="font-size:13px"><a href="https://fonda.co/tools/survey-sample-size-calculator">Survey Sample Size Calculator</a> by Fonda</p>