Sample Size Calculator
Find how many people you need to survey to reach a chosen margin of error at a given confidence level.
How it works
Cochran's formula gives the sample size for a very large population. For a finite population, the result is adjusted downward with the finite population correction.
n = n0 ÷ (1 + (n0 − 1) ÷ N)
z = z-score for the confidence level, p = expected proportion, e = margin of error, N = population size
Worked example
Using the default values: Confidence level = 95%; Margin of error (%) = 5; Expected proportion (%) = 50; Population size (leave empty for very large) = .
The calculator returns: Sample size needed: 385; z-score: 1.96; Sample size for a very large population: 385.
Limits and assumptions
- Assumes a simple random sample. Clustering, non-response and weighting need larger samples.
- Use p = 50% if you do not know the proportion; this gives the largest, safest sample.
- The result is the number of completed responses, so plan for people who will not respond.
Frequently asked questions about the Sample Size Calculator
Why 50% as the default proportion?
It maximises p(1-p), so it gives the largest required sample. It is the safe choice when you have no estimate.
Does the population size matter?
Only when the population is small. For populations above about 100,000 the required sample hardly changes.
What confidence level should I choose?
95% is the most common choice. 99% needs a larger sample; 90% needs a smaller one.