Study Parameters
Total number of people in the target population
How confident you want to be in the results
Acceptable error in results (typical: 3-5%)
Expected share of respondents giving a particular answer (use 50% if unknown - most conservative)
Formula
Infinite Population:
n = (Z² × p × (1-p)) / e²
Finite Population:
n = n₀ / (1 + (n₀ - 1) / N)
Where: Z = Z-score, p = proportion, e = margin of error, N = population
Required Sample Size
Minimum Sample Size
370
people to survey
Share of Population to Survey
3.7%
Of the total population
Z-Score
1.96
For 95% confidence level
💡 Tips
- • Larger samples = more accurate results
- • Higher confidence = larger sample needed
- • Smaller margin of error = larger sample
- • 50% distribution gives maximum sample size
- • Consider response rate when planning
Sample Size by Confidence Level
| Confidence Level | Z-Score | Sample Size |
|---|---|---|
| 90% | 1.645 | 264 |
| 95%(Selected) | 1.96 | 370 |
| 99% | 2.576 | 623 |
Market Research
95% confidence, 5% margin
Standard for business surveys
Political Polling
95% confidence, 3% margin
Higher accuracy for elections
Medical Studies
99% confidence, 1-2% margin
Maximum precision required
Overview
This sample size calculator tells you the minimum number of completed responses a survey or study needs so that its results fall within a chosen margin of error at a chosen confidence level. It is meant for market researchers, students planning a thesis survey, HR teams running engagement polls, and anyone who wants to know "how many people do I need to ask?" before collecting data.
It uses Cochran's formula for estimating a proportion, n₀ = Z² × p(1 − p) ÷ e², where 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 response distribution and e is the margin of error. It then applies the finite population correction, n = n₀ ÷ [1 + (n₀ − 1) ÷ N], and rounds up to the next whole person. A comparison chart and table show the sample needed at all three confidence levels.
The result is the number of responses you need, not the number of invitations. If you expect only some people to reply, divide by your expected response rate. The formula also assumes a random sample; a large but biased sample does not fix bias.
How to Use
- Enter the Population Size — the total number of people your results should describe (default 10,000).
- Choose a Confidence Level of 90%, 95% or 99% from the drop-down; 95% is the most common choice.
- Enter the Margin of Error (%) you can accept, typically 3% to 5%.
- Enter the Response Distribution (%). Leave it at 50% if you do not know what to expect, because that gives the largest, safest sample.
- Click Calculate to see the Minimum Sample Size, the share of the population to survey and the z-score, plus the comparison chart and table. Click Clear All to reset.
Frequently Asked Questions
How many people do I need to survey for a 95% confidence level and 5% margin of error?
For a very large population, about 385. The base calculation is 1.96² × 0.5 × 0.5 ÷ 0.05² ≈ 384.16, rounded up. Smaller populations need fewer: with the default population of 10,000, the finite population correction brings it down to 370 responses, or 3.7% of the population. At 90% confidence the same settings need 264, and at 99% confidence 623.
Why use 50% for the response distribution?
The term p(1 − p) in the formula is largest when p is 0.5, so 50% gives the most conservative — largest — sample size. If you have good evidence from earlier research that, say, about 20% of people will answer "yes," using 20% lowers the requirement: for a population of 10,000 at 95% confidence and a 5% margin, the sample falls from 370 to 240.
How does population size affect sample size?
Much less than most people expect. Once a population is large, the required sample barely changes: at 95% confidence and a 5% margin, a population of 10,000 needs 370 responses and a population of 100 million needs 385. The correction matters most for small groups — a population of 500 needs 218, which is a large share of everyone.
How does the margin of error change the sample size?
Sample size grows with the inverse square of the margin of error, so halving the margin roughly quadruples the sample. Moving from a 5% to a 3% margin at 95% confidence raises the requirement for a large population from 385 to 1,068. That is why national polls that report a ±3% margin typically survey around a thousand people.
What is the difference between confidence level and margin of error?
The margin of error is how far the true population value might be from your sample result — for example, 52% ± 5%. The confidence level is how often that range would contain the true value if you repeated the survey many times. A 95% confidence level means that, in the long run, about 95 of every 100 such intervals capture the true value.
Does this calculator account for non-response?
No — it gives the number of completed responses you need. To find how many people to invite, divide by the response rate you expect. If you need 370 responses and expect 20% of invitees to reply, invite at least 370 ÷ 0.20 = 1,850 people. Keep in mind that people who choose not to respond may differ from those who do.