Determine Sample Size Calculator
Use this calculator to estimate how many responses you need for a survey that measures a proportion (for example, percent of customers who prefer a product).
How to determine sample size correctly
Determining the right sample size is one of the most important decisions in survey design and research planning. If your sample is too small, your estimate will be noisy and unreliable. If your sample is too large, you may waste time and money collecting more data than necessary. This sample size calculator helps you choose a practical number based on your desired statistical precision.
What this calculator is for
This tool is designed for proportion-based studies, such as:
- Customer satisfaction surveys
- Election polling and opinion research
- Market research preference questions
- Program evaluation where outcomes are yes/no
It calculates the minimum sample size needed to estimate a proportion at a chosen confidence level and margin of error.
Formula used by the calculator
1) Base sample size (large population)
Where:
- Z = z-score for the confidence level (e.g., 1.96 for 95%)
- p = expected proportion (as a decimal)
- e = margin of error (as a decimal)
2) Finite population correction (optional)
Use this when the total population size N is known and not very large.
3) Design effect adjustment
If your sampling method is more complex than simple random sampling (for example, cluster sampling), design effect can account for extra variability.
How to choose each input
Confidence level
95% is the most common standard. Use 99% if decisions are high-stakes and you need stronger certainty, but expect a larger required sample.
Margin of error
Smaller margin of error means tighter estimates and larger sample sizes. Typical values:
- ±5% for quick general surveys
- ±3% for stronger precision
- ±2% for highly precise studies
Estimated proportion
If you do not know the likely proportion, use 50%. This is conservative and produces the largest required sample size. If you have pilot data (for example 20% positive responses), use that value to get a more tailored estimate.
Population size
If your target population is huge (or unknown), you can leave this blank. If your total population is modest (e.g., 2,000 members), entering it can reduce the required sample.
Example
Suppose you want to survey employees and estimate the percentage who support a new policy.
- Confidence level: 95%
- Margin of error: 5%
- Estimated proportion: 50% (unknown, so conservative)
- Population size: 5,000
The calculator will return the minimum completed responses needed. If your expected response rate is 40%, it will also show how many invitations you should send.
Common mistakes when calculating sample size
- Using too small a sample because of time pressure
- Ignoring response rate and ending up with too few completed surveys
- Forgetting population correction for smaller populations
- Using non-random sampling but assuming random-sample precision
Frequently asked questions
What if I do not know the expected proportion?
Use 50%. This gives a safe upper-bound sample size.
Does a larger population always require a much larger sample?
Not usually. Sample size is driven more by margin of error and confidence level than by population size, once the population is reasonably large.
Can I use this for means instead of proportions?
This specific calculator is for proportions. Sample size for means uses a different formula based on standard deviation.
Final takeaway
A solid sample size plan makes your research more credible, more efficient, and easier to defend. Use this calculator before launching any survey, and always adjust upward for expected non-response. A little planning up front can save major effort later.