100% Free No Sign-Up Unlimited Use No Limits Secure & Private
PDF Tools Calculators Categories Guides Contact No Sign-Up Needed to Use This Site
Required Sample Size
--
Enter parameters to calculate
Z Critical Value
--
Margin of Error
--
Confidence Level
--
Finite Pop Correction
--
ConfidenceMOE 1%MOE 3%MOE 5%MOE 10%
90%6,76575227168
95%9,6041,06738496
99%16,5901,843664166

Work out the minimum number of survey respondents or experiment subjects needed to estimate a proportion or mean within a chosen margin of error and confidence level.

How It Works

How Sample Size Calculator Works

For estimating a proportion, the formula is n = z² × p̂(1−p̂) / E², where z is the critical value matching your chosen confidence level, p̂ is your expected proportion (0.5 is the most conservative choice when the true proportion is unknown, since it maximizes the p̂(1−p̂) term), and E is your desired margin of error expressed as a decimal.

If you supply a finite population size, a finite population correction shrinks the required sample: n_adjusted = n×N / (n+N−1) — reflecting that surveying a small, fixed population needs proportionally fewer respondents than an infinite or very large one to achieve the same precision.

For estimating a mean instead of a proportion, the formula switches to n = (z×σ/E)², based on a known (or estimated) population standard deviation σ — appropriate for continuous variables like height, income, or test scores rather than a simple yes/no split.

Worked Example

See It In Action

Targeting a 95% confidence level (z=1.96) with a 5% margin of error and the conservative p̂=0.5 assumption: n = 1.96² × 0.5 × 0.5 / 0.05² = 3.8416 × 0.25 / 0.0025 = 385 respondents (rounded up) — the same widely cited figure used for many national opinion polls.
Real-World Use Cases

Who Uses Sample Size Calculator and Why

  • Determining the minimum number of survey respondents needed to estimate a proportion within a target margin of error.
  • Planning how many subjects a research study needs to estimate a continuous mean, like average spending or test score.
  • Adjusting a required sample size downward for a small, known population using the finite population correction.
  • Comparing how tightening the margin of error changes the required number of respondents before finalizing a survey budget.
Common Mistakes

Mistakes to Avoid

  • Not using the conservative p̂=0.5 assumption when the true proportion is genuinely unknown — this is the value that maximizes the required sample size and is the safe default absent better information.
  • Entering the margin of error as a whole percentage number (like 5) instead of its decimal form (0.05) as the formula requires.
  • Using the Proportion formula for a continuous outcome (like average income) when the Mean mode, which needs a standard deviation instead of a proportion, is the correct one.
Pro Tips

Tips for Best Results

  • Because margin of error is squared in the denominator, cutting it in half roughly quadruples the required sample size — budget for this before committing to a tight margin.
  • Apply the finite population correction whenever your population size is small relative to the calculated sample size — a common rule of thumb is under about 20 times larger.
Troubleshooting

Fixing Common Problems

The required sample size seems unreasonably large. — Check your margin of error — a tighter margin dramatically increases the required sample size since E is squared in the formula's denominator. Also confirm whether p̂=0.5 (the conservative default) is really appropriate for your survey.

Glossary

Terms Explained

Margin of error: The desired precision of the estimate, expressed as a decimal (E) — a smaller value demands a larger sample size.

Finite population correction: An adjustment (n_adjusted = n×N / (n+N−1)) that reduces the required sample size when surveying a small, known total population rather than an effectively infinite one.

FAQ

Frequently Asked Questions

Why does assuming p̂=0.5 give the largest required sample size?
The term p̂(1−p̂) in the formula is at its mathematical maximum when p̂=0.5 (0.25), so using that value gives the most conservative — i.e., largest — sample size estimate, which is safe to use whenever you don't already have a good guess for the true proportion.
What is the finite population correction, and when should I use it?
It reduces the required sample size when you're surveying from a small, known total population rather than treating the population as effectively infinite — apply it whenever your population size is small relative to the calculated sample size (a common rule of thumb is under about 20 times larger).
How does margin of error affect the required sample size?
Because margin of error (E) is squared in the denominator, cutting it in half roughly quadruples the required sample size — tighter precision gets expensive fast in terms of how many respondents you need.
What's the difference between the Proportion and Mean modes?
Proportion mode is for yes/no or categorical outcomes (like "percent who prefer X"), while Mean mode is for continuous numeric outcomes (like average spending), and requires knowing or estimating the population's standard deviation instead of an expected proportion.