Skip to content · 跳到主要内容

Sample Size Calculator

Estimate the survey sample needed for a proportion and margin of error

Required sample size
--
--
Unlimited population estimate
--
Finite population correction

Sample Size Calculator

Estimate the minimum number of survey responses needed to estimate a population proportion. The finite population correction is applied when a positive population size is supplied.

n₀ = Z²p(1 − p) ÷ e²
n = n₀ ÷ (1 + (n₀ − 1) ÷ N)
required sample = round up(n)

Frequently Asked Questions

Why is 50% the default proportion?

When the true proportion is unknown, 50% produces the largest variance and therefore a conservative sample size.

What does a population size of zero mean?

It treats the population as unlimited and skips the finite population correction.

What margin of error should I choose?

Five percentage points is the common default for surveys. A three-point margin needs roughly three times the sample, and a one-point margin roughly a hundred times.

How does the confidence level change the sample size?

A 99% interval uses a larger Z value than 95%, so the required sample grows by roughly 70%.

Does this work for small populations?

Yes. Enter the population size and the finite population correction reduces the requirement noticeably once the sample becomes a meaningful share of the total.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision