Sample Size Calculator
Determine the number of respondents needed for your survey or research project to achieve statistically significant results.
Total size of the group you are studying.
Expected result (use 50% if unknown).
Quick Answer: What is a good sample size?
A "good" sample size depends on your goals, but for most professional surveys, a sample of 400 to 1,000 respondents provides a solid balance between accuracy (3-5% margin of error) and cost-effectiveness. For smaller, internal studies, 100 respondents might suffice if you can accept a 10% margin of error.
Introduction to Sample Size Calculation
In research and statistics, the sample size is the number of individual pieces of data collected in a survey or experiment. Determining the correct sample size is one of the most critical steps in any study because it directly affects the reliability and generalizability of your findings.
If your sample is too small, you might miss important trends or get results that are just "noise." If it's too large, you waste time and resources collecting more data than you actually need for a confident conclusion.
How to Use the Sample Size Calculator
- Select Confidence Level: Choose how sure you want to be that your results are accurate. 95% is the industry standard.
- Enter Margin of Error: Decide how much "wiggle room" you can accept. 5% is common for general surveys.
- Population Size (Optional): If you are surveying a specific group (like employees at one company), enter the total number. For general public surveys, leave this blank.
- Population Proportion: If you expect a specific result (e.g., 70% of people will say 'Yes'), enter it here. If you have no idea, keep it at 50% for the most conservative (largest) sample size.
How the Calculation Works
The calculator uses Cochran's Formula for large populations and applies the Finite Population Correction (FPC) if you provide a specific population size.
Standard Formula (Infinite Population):
n = (Z² * p * (1 - p)) / e²
Where: Z = Z-score from confidence level, p = population proportion, e = margin of error.
Key Factors That Affect Sample Size
- Confidence Level: The higher the confidence (e.g., 99% vs 95%), the larger the sample must be.
- Margin of Error: A tighter margin (e.g., 2% vs 5%) requires significantly more respondents.
- Population Variance: If the group is very diverse, you need a larger sample to capture that variety.
- Population Size: For very small groups (under 5,000), the total population size becomes a major factor in the math.
Assumptions and Limitations
This calculator assumes Simple Random Sampling, meaning every person in the population has an equal chance of being selected. If you are using stratified sampling or cluster sampling, you may need a different statistical approach.
Additionally, the calculator does not account for non-response bias. Even if you calculate a need for 400 people, if only the unhappiest customers respond, your results will still be skewed regardless of the sample size.
Practical Sample Size Examples
| Use Case | Population | Confidence | Sample Size |
|---|---|---|---|
| National Election Poll | Millions | 95% (±3%) | 1,067 |
| Employee Engagement | 500 | 95% (±5%) | 217 |
| Product Testing (Alpha) | Internal | 90% (±10%) | 68 |
Frequently Asked Questions
What is a Z-score?
A Z-score represents how many standard deviations a value is from the mean. In this context, it tells the calculator how much of the "bell curve" needs to be covered to reach your target confidence level (e.g., 1.96 for 95% confidence).
Why is 50% used for the population proportion?
In statistics, a 50% proportion results in the maximum possible variance. By using 50%, you are ensuring your sample size is large enough for any possible outcome, making it the safest "worst-case scenario" estimate.
Does population size matter?
Only for smaller groups. Once a population exceeds roughly 20,000 people, the sample size required for a 5% margin of error stops growing significantly. Whether you're surveying 100,000 or 100,000,000 people, the required sample size stays around 385–400.
Conclusion
Calculating your sample size is an essential prerequisite for any data-driven project. By using this tool, you ensure that your resources are spent efficiently and that your final data has the statistical weight required to drive real business or research decisions.
Disclaimer: This calculator is intended for informational and educational purposes only. Statistical requirements vary by field and methodology. For high-stakes clinical or legal research, please consult with a professional statistician.