Mathematics· Exact, step by step
Find how many responses you need for a survey proportion or a mean at a chosen confidence and margin of error.
Formula
Proportion: n₀ = z²·p(1 − p) ÷ E²; mean: n₀ = (z·σ ÷ E)²; finite population: n = n₀ ÷ (1 + (n₀ − 1) ÷ N)
Worked example
95% confidence, ±5% margin, p = 0.5: n₀ = 384.15 → 385 responses; with a population of 2,000 → 323.
Free to use with a link back. Nothing you type is shared.
Preparing citation…
Keep exploring
Build a confidence interval for a mean with the t or z distribution, and see the margin of error.
Open calculatorCalculate the standard error of the mean from a standard deviation and sample size, or from raw data.
Open calculatorRun a one-sample z or t test on a mean from summary statistics, with the test statistic, p-value and decision.
Open calculator