Sample Size Calculator
Enter your population size, confidence level, and margin of error to instantly calculate the minimum sample size needed for a statistically valid survey.
For a large population at 95% confidence and a ±5% margin of error, you need 385 completed responses.
Use the Sample Size Calculator
Study Parameters
Total number of people in the group you are studying. Use 1,000,000 if unknown or very large.
How certain you need to be that your results reflect the true population value.
Acceptable range of error. Smaller values require larger samples.
Expected share answering "yes". Use 50% for the most conservative (largest) sample.
Required Sample Size
responses needed
Quick Presets
Quick answer
For a large population at 95% confidence and a ±5% margin of error, you need 385 completed responses. Smaller populations need fewer once the finite population correction is applied, and a tighter margin needs far more: ±3% takes 1,066.
Examples
| Population | 95%, ±5% | 95%, ±3% |
|---|---|---|
| 500 | 218 | 341 |
| 1,000 | 278 | 517 |
| 5,000 | 357 | 880 |
| 10,000 | 370 | 965 |
| 1,000,000 | 385 | 1,066 |
Enter your population and margin.
Summary
This sample size calculator uses the standard statistical formula to determine how many responses you need to achieve a given margin of error and confidence level. It accounts for finite population correction when your population is known and small relative to the sample. Results are rounded up to the nearest whole number so your study always meets the stated precision.
How it works
- Enter your total population size (or leave at 1,000,000 for large or unknown populations).
- Select a confidence level — 95% is the most common choice for surveys.
- Set your desired margin of error (e.g., ±5% means results are accurate within 5 percentage points).
- Optionally adjust the expected response proportion (default 50% gives the most conservative, largest sample).
- The calculator applies the standard formula and finite population correction, then rounds up to give the minimum required sample size.
Use cases
- Plan the number of survey responses needed before launching a customer satisfaction study.
- Determine how many product testers are required for statistically meaningful A/B test results.
- Size a market research project to justify a budget request.
- Validate that an existing dataset is large enough to draw reliable conclusions.
- Academic researchers planning experiments requiring a specific confidence level.
- Political polling — estimate how many voters to interview for a ±3% margin of error.
- Quality control teams calculating inspection sample sizes from production batches.
- Healthcare studies sizing patient cohorts for clinical significance.