Calculator · Research, Knowledge, Thinking & Analytics, Natural Sciences, Mathematics & Scientific Literacy, Society & Social Sciences, Public Health, Nutrition, Wellbeing & Healthcare Management

Survey Sample Size Calculator

Calculates the sample needed for a chosen confidence level and margin of error with Cochran's formula and the finite population correction, plus the invitations needed for the expected response rate.

Inputs

Keep 50% if unknown.

The calculation runs only in your browser; your figures are not sent to our servers or stored.

The page shows the result for the example values; turn on JavaScript to calculate with your own figures.

Result

Required sample (completed responses)
278
People to invite
278
Sample before the finite population correction (n₀)
384.16
z value
1.96

The result updates with every change.

The result is a standard formula; interpreting it and deciding on it need professional judgment in your context.

How the tool works: formula and worked example

A field researcher or a marketing lead planning a survey asks the same thing: how many people need to answer before I can trust the result? A small sample produces percentages that jump around too much to act on, while an oversized one burns time and budget for very little extra precision. Sample size is not a rule of thumb; it follows from the precision you need, the confidence you want and the size of the population.

The calculator uses Cochran's formula from Sampling Techniques (1977), the same approach the NIST/SEMATECH e-Handbook gives for estimating proportions. It first computes the sample for an unlimited population: z squared times p × (1 − p), divided by the margin of error squared. When the population size is known, it applies the finite population correction, dividing that first figure by 1 + (first figure − 1) ÷ N. Finally it divides by the expected response rate to give the number of invitations. The z values are 1.6449 for 90%, 1.96 for 95% and 2.5758 for 99% confidence.

With the defaults (95% confidence, ±5% margin, 50% expected proportion, a population of 1,000 and a 100% response rate) the uncorrected figure is 384.16. After the correction you need 278 completed responses, and with full response that is also 278 invitations. If you expected only 40% to reply, invitations would rise to 695 while the required responses stayed at 278.

The key figure is completed, usable responses, not the number of people who opened the link. If you plan to report subgroups such as regions or age bands separately, each subgroup needs its own sample at the precision you want.

Common mistakes are picking an expected proportion far from 50% without evidence, which shrinks the sample and removes the safety margin, entering the wrong population size, and forgetting non-response. Above all, the formula assumes random sampling. A convenience or self-selected sample stays biased however large it gets. Clinical studies and complex designs need a qualified statistician.

Standard and formula

Cochran (1977): n₀ = z² × p(1 − p) ÷ e², then the finite population correction n = n₀ ÷ (1 + (n₀ − 1) ÷ N). p = 50% gives the largest, most conservative sample.

Sources

How to use it

  1. Choose the confidence level (95% is common).
  2. Set the margin of error you accept and the population size if known.
  3. Enter the expected response rate to see how many invitations to send.

Frequently asked questions

What sample size do I need for a population of 1,000?

At 95% confidence, a ±5% margin and a 50% expected proportion you need 278 completed responses. Tightening the margin to ±3% raises that substantially, so try the values in the calculator.

Why is 384 such a common sample size?

It is Cochran's result for 95% confidence, a ±5% margin and a 50% proportion in a very large population; the exact value is 384.16. It falls when the population is small and known.

Why use 50% as the expected proportion?

Because p × (1 − p) peaks at 50%, giving the largest and safest sample. Use another value only when a previous study gives you a reliable estimate.

Does a large sample make up for non-random sampling?

No. The formula measures random error only. A biased sample, such as volunteers recruited on social media, stays biased however large it is, and the calculated margin does not strictly apply.

How many survey invitations should I send?

Divide the required sample by the expected response rate. Needing 278 responses at a 40% response rate means about 695 invitations, which the calculator works out for you.

Domains

Careers this tool serves

Programs that build this skill

Related tools

All tools · Professional encyclopedia