Formula
n₀ = z²·p(1-p)/e² ; n = n₀ / (1 + (n₀-1)/N)
Worked example
With these values
- Population size
- 10,000
- Confidence level
- 95
- Margin of error (%)
- 5
The calculator gives
- Sample size
- 370
These values are only an illustration. Replace them with yours in the form above.
How "Sample size" changes with "Population size"
| Population size | Sample size |
|---|---|
| 5,000 | 357 |
| 8,000 | 367 |
| 10,000 | 370 |
| 12,000 | 373 |
| 15,000 | 375 |
All other values stay as in the example.
How to use this calculator
Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.
Read the guide
Questions
How is the result calculated?
The calculator applies this rule: n₀ = z²·p(1-p)/e² ; n = n₀ / (1 + (n₀-1)/N)
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.