Free Online Tools

Statistics calculators

Sample Size Calculator

Required sample size from confidence level, margin of error and expected proportion, with finite-population correction. Free, instant, no sign-up.

n = z² × p(1−p) ÷ E². p = 0.5 gives the largest (safest) sample size. With a known population N, the finite-population correction n′ = n ÷ (1 + (n−1)÷N) is applied.

How to use

  1. Choose the confidence level and enter the margin of error in percent.
  2. Enter the expected proportion p, or leave 0.5 for the safest size.
  3. Press “Calculate Sample Size” to see how many responses you need.

Frequently asked questions

Why is p = 0.5 the safest choice?
p(1 − p) is largest at 0.5, so it gives the biggest sample size — enough whatever the true proportion turns out to be.
What does the margin of error mean?
How far the survey result may be from the true value: ±5% means a 40% result could reflect a true value from 35% to 45%.
Is my data stored?
No. The calculation runs in your browser.