piko

Sample size calculator

Find the required survey or experiment sample size for a selected confidence level, margin of error, and population size.

Runs on your device. Nothing you add is uploaded.

%
%
Required sample size
385
Infinite / large population
Unadjusted Cochran n₀
385
Z-critical value
1.96
95% two-tailed
Uses Cochran's proportion sample-size formula n₀ = Z² · p(1 − p) / E² with optional finite-population correction n = n₀ / (1 + (n₀ − 1)/N).

How to use Sample size calculator

  1. Choose your target confidence level (90%, 95%, or 99%) and acceptable margin of error.
  2. Keep Expected proportion at 50% for the safest conservative sample size.
  3. Optionally enter a finite population size N to reduce required samples for small groups.

Questions

p(1 − p) reaches its maximum of 0.25 when p = 0.50, ensuring your sample size is sufficient regardless of the true survey outcome.

How this works

Computes Cochran sample sizes with finite-population correction locally.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy

Related tools

More in Calculators