Sample Size Calculator

Survey sample size for a margin of error, or the reverse

Work out how many survey responses you need for a confidence level and margin of error - with a finite population correction - or the margin of error for a given sample.
Share
Try an example:
%
%
%
Your result will appear here as you type.

About Sample Size Calculator

Formula

n₀ = z²p(1 − p) ÷ e²; n = n₀ ÷ (1 + (n₀ − 1) ÷ N)

Worked examples

95% confidence, ±5%

1.96² × 0.25 ÷ 0.0025 = 384.1, so 385 responses - whatever the size of a large population.

How it works

  1. n = z² × p(1 − p) ÷ e².
  2. For small populations, the finite population correction reduces it.

What you need

  • Confidence level and margin of error.

Tips

  • Use 50% if you have no idea of the answer - it gives the safest size.
  • Aim for more invitations than responses - not everyone replies.

Limitations

  • Assumes a simple random sample.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere.

Definitions

Margin of error
How far the survey result may be from the true value.

Frequently asked questions

Why do national polls survey only about 1,000 people?+

Because the margin of error depends on the sample size, not the population - 1,000 gives about ±3% at 95% confidence.

Was this calculator helpful?