🔭 Sample Size Calculator
Determine the required sample size for surveys and research studies. Choose between unknown and known population size with confidence level and margin of error controls.
Use 0.5 if unknown (most conservative)
Effect of Sample Size on Margin of Error
| Sample Size | Margin of Error | vs Required |
|---|
Sample Size Formulas
How to Choose the Right Sample Size
-
1Set Margin of ErrorSmaller margins (e.g. ±3%) require larger samples. For most surveys, ±5% is a practical balance.
-
2Choose Confidence Level95% is the industry standard. 99% gives more certainty but demands a larger sample.
-
3Estimate Population ProportionIf unknown, use p=0.5. This maximises the required sample and ensures you won't undersample.
-
4Apply Finite CorrectionIf your population is small and known, use the finite correction formula to reduce the required sample size.
Worked Example
A researcher wants a 95% CI, ±5% margin, and estimates p=0.5.
Frequently Asked Questions
Sample size is the number of individuals or observations selected from a population for a study. A larger sample produces more reliable and precise results, but at greater cost and time.
The margin of error quantifies the uncertainty in survey results. A ±5% margin at 95% confidence means the true population value is within 5 percentage points of your sample result 95% of the time.
Higher confidence levels require larger samples. Increasing from 95% to 99% confidence increases the required sample by roughly 75% while keeping margin of error constant.
p is the estimated fraction of the population with a specific characteristic. Using p=0.5 maximises the required sample and is the safe default when you have no prior data.
Related Calculators
Confidence Interval Calculator
Calculate confidence intervals for means and proportions.
Z-score Calculator
Calculate z-score (standard score) and find corresponding probabilities.
Probability Calculator
Calculate basic probability, combined events, and conditional probability.