Sample Size Calculator
How many survey responses you need for a given margin of error.
Runs in your browser — nothing is uploaded—
Details
How to use Sample Size Calculator
- Enter your values — the unit for each field is shown next to it.
- The result updates instantly as you type.
- Copy the results, or change inputs to compare scenarios.
Formula & assumptions
n₀ = z²·p(1 − p) / e²
n = n₀ / (1 + (n₀ − 1)/N)
Example: 95% confidence, ±5% margin → 385 responses for a large population.