Before you send a single survey question, know exactly how many responses you need. This sample size calculator works for proportions (yes/no answers) and for means (averages), applies the finite population correction for small groups, and shows the trade-off between accuracy and effort.
Every survey or experiment draws a small group from a larger population and generalizes from it. Ask too few people and your estimate wobbles: one unusual respondent can swing the result by several percentage points. Ask more than you need and you spend money, time and goodwill on precision you will never use. The sample size calculator sits in the middle: given how confident you want to be and how close to the truth you need to land, it returns the smallest sample that delivers both.
The three dials interact in a way worth internalizing early. Doubling your precision (halving the margin of error) roughly quadruples the required sample, because sample size grows with the square of the inverse error. Raising the confidence level from 95% to 99% multiplies the need by about 1.7. And a small finite population actually reduces the requirement, sometimes dramatically, which is the surprise most first-time researchers miss.
For a yes/no question, the estimate from a random sample of size n has a standard error of √(p(1 - p) ÷ n). Setting the allowed error equal to the margin of error e and solving for n gives Cochran's formula:
n = z2 · p(1 - p) ÷ e2
z critical value for the confidence level · p expected proportion as a decimal · e margin of error as a decimal
The worked example behind the default settings: at 95% confidence (z = 1.96), a 5% margin and the conservative p = 0.5, the formula gives 1.9602 × 0.25 ÷ 0.052 = 384.15, and since you cannot survey 0.15 of a person, the answer is 385 people.
For a measured average, the same argument with the population standard deviation σ gives:
n = (z · σ ÷ e)2
σ population standard deviation · e margin of error in the same units as the measurement
With z = 1.96, σ = 15 and a margin of 3 units: (1.96 × 15 ÷ 3)2 = 96.04, so plan for 97 observations. Notice how directly the precision price shows up here: wanting a margin of 1.5 instead of 3 would square the requirement to about 385.
The formulas above assume the population is large enough that removing one member barely changes the next draw. When your population is genuinely small, sampling without replacement makes consecutive draws depend on each other, and the requirement shrinks. The correction divides the unadjusted size by:
n′ = n ÷ (1 + (n - 1) ÷ N)
N population size · the result is still rounded up
The effect is real but bounded. Surveying a company of 1,000 people at 95% confidence and a 5% margin needs 384.15 ÷ (1 + 383.15 ÷ 1,000) = 277.7, or 278 people, not 385. For N = 500 in the mean example, 96.04 ÷ (1 + 95.04 ÷ 500) = 80.7, so 81 observations suffice. Notice that even an unknown population of any size never needs more than 385 for these settings: the requirement plateaus, it does not grow without bound.
The proportion formula with p = 50% produces a short list of numbers that covers almost every planning conversation. At 95% confidence:
Changing the confidence level moves the same 5% target to 271 responses at 90% confidence and 664 at 99%. Notice the pattern in the margins: each halving quadruples the sample, because the formula divides by the square of the margin. That single fact explains most of the sticker shock in survey budgeting.
The formulas on this page answer "how many people must I survey for a reliable percentage?". Qualitative research asks a different question, so it plays by different rules:
If your study needs both flavors, plan the quantitative sample with the calculator and the qualitative round with saturation, then report the two separately.
The most famous lesson in sampling happened in 1936. The Literary Digest magazine mailed ballots to about 10 million Americans and received 2.4 million back, still the largest poll ever run, and confidently predicted Alf Landon would beat Franklin Roosevelt. George Gallup, using a carefully constructed sample of around 50,000, predicted Roosevelt's landslide correctly, because the Digest's huge sample was drawn from automobile registrations and telephone books, which largely skipped the poorer voters of the Depression era.
The lesson is the "random matters more than big" bullet above. Modern national polls land near 1,000 to 1,500 respondents, close to the 1,068 that a 3% margin demands at p = 50%, and they track the whole country within a few points. The mathematics on this page is the direct descendant of that correction, and the 1936 fiasco is why every poll you read now prints a margin of error beside its headline.
It depends on just three choices you make: the confidence level, the margin of error you can tolerate, and your best guess at the answer. For a typical opinion survey at 95% confidence and a 5% margin, about 385 completed responses are needed no matter whether the population is a thousand people or a hundred million, which is why national polls use samples in the low hundreds.
Because p times (1 - p), the term that drives the sample size, reaches its maximum of 0.25 exactly at 50%. Assuming 50% therefore produces the largest possible requirement for any true proportion, so your survey will be adequate no matter what the real answer turns out to be. Using a smaller assumed proportion without evidence risks a sample that is too small if the truth is closer to an even split.
Match it to the decision. Five percent suits exploratory research and opinion polling; three percent fits studies that will steer budget or policy; one percent is reserved for high-stakes measurement, because the cost grows with the square: tightening 5% to 2.5% quadruples the sample. Remember the margin describes how far your estimate may sit from the truth, not the chance of being wrong.
No, and this is the most common misconception. Once the population is large relative to the sample, the requirement plateaus: 385 people suffice at 95% confidence and a 5% margin whether the population is ten thousand or ten million. Small populations do earn a discount through the finite population correction, but the curve flattens quickly rather than climbing.
Do not abandon the study; reprice the precision. Read the trade-off curve on the results panel to find what your achievable sample buys you, and report that wider margin of error alongside your findings. You can also lower the confidence level to 90%, or narrow the study to a subgroup where the population correction helps. An honest 200-person study with a stated 7% margin beats an unqualified 200-person study presented as precise.
The margin of error is how wide the net is; the confidence level is how often the net catches the truth. "52% plus or minus 3 points at 95% confidence" means the procedure, repeated across many surveys, would produce an interval containing the true value 95% of the time. Narrow the net (smaller margin) or catch more often (higher confidence) and either choice demands a bigger sample.
Run a small pilot of 20 to 30 observations and use its standard deviation, or estimate it by dividing the plausible range (highest minus lowest value you would expect) by 4. If even that is impossible, the proportion mode is a reasonable fallback: a 50/50 split produces the same conservative sample size the mean mode would need if the standard deviation were half the margin.
Always up. The formula produces the exact minimum, so 384.15 means 384 responses fall just short of your promised precision. This calculator rounds up for you, and the guide examples use the same convention.
Not proportionally. Precision improves with the square root of the sample, so quadrupling from 385 to 1,540 responses only halves the margin of error from 5% to 2.5%. Beyond the point your decision needs, extra responses buy very little. And no sample size fixes a biased selection method: a badly drawn sample of 10,000 can be further from the truth than a random one of 400.
The formula is per question, not per questionnaire, so the count stays the same for one headline question no matter how long the form is. What does change the requirement is analysis: if you plan to report answers separately for subgroups, or to run many comparisons, plan the sample for the smallest subgroup you will quote and the most important question you will test, because those are the estimates that will be thinnest.
When the population is small enough that the finite population correction brings the requirement close to its size: surveying all 60 employees of a company is a census and costs less than arguing about sampling error. Two cautions apply even then. Nonresponse can still turn a census into an unintended sample, and if you plan to repeat the survey over time, a full census leaves no one to compare against.
No. Every calculation runs in your browser. Nothing is stored or transmitted.