Sample Size Calculator
Sample size needed
385
±5 % at 95 % confidence
Without population correction
385
infinite population
z-score
1.96
Share of population
—
enter a population size
n₀ = z² × p(1 − p) ÷ e². Using p = 50 % gives the largest, safest sample; if you know the proportion is near 10 % or 90 % the sample can be much smaller.
Sample size at 95 % confidence (p = 50 %)
| Margin of error | Large population | Population 100,000 | Population 10,000 |
|---|---|---|---|
| ±1 % | 9,604 | 8,763 | 4,899 |
| ±2 % | 2,401 | 2,345 | 1,936 |
| ±3 % | 1,068 | 1,056 | 965 |
| ±5 % | 385 | 383 | 370 |
| ±10 % | 97 | 96 | 96 |
Halving the margin of error quadruples the sample. At 99 % confidence multiply by about 1.73; at 90 % by 0.70.
The formula
n₀ = z² × p × (1 − p) ÷ e²
n = n₀ ÷ (1 + (n₀ − 1) ÷ N) (finite population correction)
margin of error = z × √(p(1 − p) ÷ n)
Example: 95 % confidence (z = 1.96), ±5 % margin, p = 0.5: n₀ = 1.96² × 0.25 ÷ 0.05² = 384.16 → 385 responses. For a customer base of 1,000: 384.16 ÷ (1 + 383.16 ÷ 1000) = 277.0 → 278. A finished survey of 400 responses has a margin of ±1.96 × √(0.25 ÷ 400) = ±4.9 %.
Related: percentage calculator, percent change calculator and the probability calculator.
Frequently asked questions
Related tools
More in Math & Statistics · All calculators