Sample Size Calculator for Surveys and Polls
By FindMySum · Last reviewed
A sample size calculator works out how many people you need to survey, or how many items to test, to estimate a proportion within a chosen margin of error. It answers the planning question before data collection starts: too few responses and the result is too vague to act on, too many and you have spent time and money for precision you did not need.
Worked example
You want a poll result within ±5 percentage points at 95% confidence, and you have no idea of the answer yet, so you use 50% as the expected proportion. The population is large, so the correction is off (population 0).
- Critical value for 95% confidence: z = 1.96.
- Formula: n = z² × p(1 − p) ÷ E² = 1.96² × 0.5 × 0.5 ÷ 0.05².
- That is 3.8416 × 0.25 ÷ 0.0025 = 384.15.
- Round up: you need 385 responses.
Always round up, never to the nearest: 384 responses would leave the margin slightly above ±5%.
Adjusting for a small population
When the population is small, such as the 1,000 members of a club, every response is a larger share of the whole, so fewer are needed. The corrected size is n ÷ (1 + (n − 1) ÷ N) = 384.15 ÷ 1.38315 ≈ 277.7, so 278 responses.
The calculation covers random sampling error only. A sample of 385 drawn from people who chose to answer can still be badly biased. For the margin of error of a survey you already ran, use the z-score calculator in margin-of-error mode, and for an interval around a mean, the confidence interval calculator.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.