Sample Size Calculator
How many responses do you need? Pick a proportion (surveys, polls) or a mean, set the confidence level and margin of error.
Sample size needed385
z*1.96
Before rounding384.1459
Step by step
- z* for 95% confidence = 1.96
- n₀ = z*² · p(1 − p) ÷ E² = 1.96² × 0.5 × 0.5 ÷ 0.05² = 384.1459
- Round up: 385
Formulas
Proportion: n = z*² · p(1 − p) ÷ E²
Mean: n = (z* · σ ÷ E)²
Finite population: n ÷ (1 + (n − 1) ÷ N)
Mean: n = (z* · σ ÷ E)²
Finite population: n ÷ (1 + (n − 1) ÷ N)
With 95% confidence, ±5% and p = 50%: n = 1.96² × 0.25 ÷ 0.05² ≈ 384.15 → 385 responses.
Choosing the inputs
- Expected proportion: use 50% if you have no idea — it gives the largest, safest sample.
- Margin of error: halving it needs four times the sample.
- Population size: only matters when the sample would be a sizable share of it (e.g. a survey of 2,000 employees).
The result is the number of completed responses; divide by your expected response rate to plan invitations. Once you have data, build the confidence interval.
Frequently asked questions
What sample size do I need for 95% confidence and 5% margin of error?
385 for a large population (p = 50%).
Why use 50% for the proportion?
p(1 − p) is largest at 0.5, so it guarantees the margin of error whatever the true proportion is.
Does population size matter?
Only for small populations; above about 100,000 the required sample barely changes.
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.