How to use Sample size calculator
- 01Pick the confidence level95% is usual.
- 02Set the margin of errorFor example 5%.
- 03Add the populationOnly if it is small.

Responses needed for a reliable result.
For a proportion the needed sample is n₀ = z² × p(1 − p) ÷ e², where z comes from the confidence level, p is the share you expect and e is the margin of error. When you give a population size N, the finite population correction shrinks it to n₀ ÷ (1 + (n₀ − 1) ÷ N). The other mode turns a sample size you already have into its margin of error.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Why is 385 the answer so often?
At 95% confidence (z = 1.96), a ±5% margin and p = 50%: 1.96² × 0.25 ÷ 0.05² = 384.1, rounded up to 385. For a population of 1,000 it drops to 278.
What proportion should I enter?
If you have a result from an earlier survey, use it. If not, keep 50%: p(1 − p) is largest there, so the sample is big enough whatever the true answer turns out to be.
Does a bigger population need a much bigger sample?
No. Beyond about 20,000 people the population size hardly matters, which is why national polls use around 1,000 respondents.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.