Survey Sample Size Calculator
Calculate how many responses your survey needs.
Result
How it is calculated
The tool first computes the sample size for a very large population, then shrinks it if you give a population size: n₀ = z² × p × (1 − p) ÷ e² and n = n₀ ÷ (1 + (n₀ − 1) ÷ N). Here e is the margin of error as a fraction (5 % = 0.05), p the expected proportion as a fraction (50 % = 0.5), and N the population. The z value is 1.645 for 90 %, 1.96 for 95 % and 2.576 for 99 % confidence; any other level falls back to 1.96. A proportion that is empty or outside 0–100 is replaced by 50 %, the most cautious choice. Results are always rounded up to a whole person. Leave the population at 0 for a very large or unknown group. A margin of zero or 100 % or more gives no result.
Worked example
You want a 5 % margin of error at 95 % confidence, expect a 50 % split, and the population is 2,000 people. Large-population size: 1.96² × 0.5 × 0.5 ÷ 0.05² = 384.16, rounded up to 385. Correction for N = 2,000: 384.16 ÷ (1 + 383.16 ÷ 2,000) = 384.16 ÷ 1.19158 = 322.4, rounded up to 323. So you need 323 completed responses rather than 385, because the group is small enough for the correction to matter.
Common mistakes
- Reading the margin of error as a percentage of the sample rather than percentage points around the result. A 5 % margin on a 50 % result means roughly 45 % to 55 %.
- Counting invitations instead of completed responses. The figure is the number of usable answers you need, so if only 20 % reply, you must contact about five times as many people.
- Entering a made-up expected proportion. If you do not know it, keep 50 %, which gives the largest and safest size. Choosing 10 % with no basis can understate what you need.
- Typing a population that is only a rough guess when it is actually very large. Above a few tens of thousands the correction barely changes anything, so 0 and a large number give almost the same answer.
- Expecting a different confidence level from a box that offers only 90, 95 and 99 %. Another value is treated as 95 %.
About this calculator
Determining how many responses a survey needs relies on a formula built from four inputs: your desired margin of error (how much the sample result might differ from the true population value), your confidence level (typically 95%, which sets the z-score used in the calculation — 1.96 for 95% confidence), the population size (with a finite population correction applied when the sample is a non-negligible fraction of the population), and the expected proportion p. The core formula, n = (z² × p × (1−p)) / e², uses p = 0.5 by default because that assumption produces the most conservative — largest — required sample size when the true proportion is unknown.
This is standard methodology taught in every introductory statistics and market research course, and it's used directly by pollsters designing election surveys, UX researchers deciding how many users need to test a feature for statistically meaningful results, and market researchers sizing customer satisfaction surveys so the results can be trusted within a stated margin of error rather than being a coin flip on the actual population sentiment.
This calculator takes your target margin of error, confidence level, population size and expected proportion p and returns the exact number of responses your survey needs to hit that precision, using the same Cochran-style formula researchers rely on.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)