Sample Size Calculator
Calculate the sample size you need for a survey or study from confidence level, margin of error and population size, or find the margin of error for a given sample
How far the result may be from the true value, e.g. ±5%.
Use 50% if unsure — it gives the largest, safest sample.
From a pilot study or earlier research, in the same units as the margin.
Leave blank for a very large or unknown population.
Shows how many people to invite to get enough responses.
Critical value
Assumes a simple random sample and the normal approximation: n₀ = z² × p(1 − p) ÷ e² for proportions and n₀ = (z × σ ÷ E)² for means, with the finite population correction n = n₀ ÷ (1 + (n₀ − 1) ÷ N) when a population size is given. Results are rounded up. Cluster or stratified designs need a design-effect adjustment.