esc
Calculators

Sample size calculator:
for surveys and polls

Choose 90, 95 or 99% confidence and the margin of error you can accept, add the population size if it is small, and see how many completed responses you need.

%
%
Use 50% if you don’t know; it gives the largest, safest sample.
Sample size needed38595% confidence, ±5% margin
z value for the confidence level
1.959964
Sample size for an unlimited population
385
Before rounding up
384.145882
Share of the population
–
  • n₀ = z² × p(1 − p) ÷ e². With a population size N it is reduced to n = n₀ ÷ (1 + (n₀ − 1) ÷ N) and rounded up.
  • This is the number of completed responses. If only some people answer, divide by the response rate you expect.

How to use Sample size calculator

  1. 01Pick the confidence level95% is usual.
  2. 02Set the margin of errorFor example 5%.
  3. 03Add the populationOnly if it is small.
File character arranging marked pages

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.