How to use it
- 1Choose the confidence level, usually 95%.
- 2Enter the margin of error you can accept, for example 5%.
- 3Enter the expected proportion, or 50% if unsure.
- 4Optionally enter the population size to apply the finite population correction, then read the required sample size.
Sample size formula
For a proportion, the required sample size is n₀ = z² · p(1 − p) / e², where z is the critical value for the confidence level, p the expected proportion and e the margin of error. With 95% confidence, a 5% margin and p = 50%, n₀ ≈ 384.1, so 385 responses are needed.
For a finite population of size N, the finite population correction gives n = n₀ / (1 + (n₀ − 1) / N). The result is rounded up. Use this correction for a simple random sample drawn without replacement from a known population.
Planning assumptions
This method plans a sample size for a proportion using a normal approximation. The margin is expressed in percentage points and the confidence level is the nominal coverage. Without the finite population correction, assume independently drawn observations or a negligible sampling fraction. The approximation is less reliable when the expected counts np or n(1 − p) are small.
The formula estimates the number of usable responses. Nonresponse, selection bias and complex designs such as cluster sampling can change the actual precision and representativeness.
Frequently asked questions
Why use 50% as the proportion?
p(1 − p) is largest at 50%, so it gives the most conservative sample size when you do not know the true proportion.
When should I enter the population size?
When your sample is a noticeable share of a known population, such as surveying the employees of one company. For large populations it barely changes the result.
Does this account for non-responses?
No. Divide the result by your expected response rate to know how many people to contact.