Sample Size Calculator

Math

Works out how many people you need to survey for a given confidence level and margin of error.

n₀ = z² × p × (1 - p) ÷ e²
Finite population: n = n₀ ÷ (1 + (n₀ - 1) ÷ N)
Confidencez
90%1.645
95%1.96
99%2.576

95% confidence, 5% margin, unknown proportion (50%): n₀ = 1.96² × 0.25 ÷ 0.0025 ≈ 385. With a population of 2,000, 323 is enough.

If you don't know the proportion, use 50%; it gives the largest sample. Halving the margin of error quadruples the sample.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Math tools