Sample Size Calculator
Calculate the sample size needed for your survey or study
Confidence level
Required Sample Size
385
respondents needed
What Is Sample Size?
Sample size is the number of observations or respondents you need to collect to make statistically valid inferences about a larger population. Too few and your results are unreliable; too many and you waste resources. The right sample size balances precision, confidence, and cost.
The Sample Size Formula
For estimating a proportion (e.g., a survey asking yes/no questions), the formula is:
n = z² Ć p(1 ā p) / e²
Where:
- z = z-score for your confidence level (1.96 for 95%)
- p = estimated proportion (use 0.5 if unknown ā most conservative)
- e = desired margin of error as a decimal (0.05 for 5%)
For a 95% confidence level and 5% margin of error: n = 1.96² à 0.5 à 0.5 / 0.05² = 3.8416 à 0.25 / 0.0025 = 384 respondents.
Finite Population Correction
The formula above assumes an infinite population. For smaller populations (N), apply the finite population correction:
n_adjusted = n / (1 + (n ā 1) / N)
Example: you need 384 respondents for infinite population, but your total population is only 500. The adjusted sample size is 384 / (1 + 383 / 500) = 384 / 1.766 ā 217 ā nearly half as many.
Interpreting Z-Scores by Confidence Level
- 80% confidence ā z = 1.282
- 90% confidence ā z = 1.645
- 95% confidence ā z = 1.960 (most common)
- 99% confidence ā z = 2.576
- 99.9% confidence ā z = 3.291
The higher the confidence level, the larger the z-score, and the larger the required sample size. Moving from 95% to 99% confidence increases the required sample by roughly 75%.
Practical Guidance for Common Research Types
- Consumer surveys: 95% confidence, 5% margin of error ā ~384 respondents (infinite population)
- Academic studies: 95% confidence, 3% margin of error ā ~1,067 respondents
- Employee surveys (company of 200): 95% confidence, 5% margin of error, N=200 ā ~132 respondents
- A/B tests: Use a power analysis calculator instead ā those use a different framework based on effect size and statistical power.