Sample Size Calculator

How many participants do you actually need? Four calculators covering surveys, group comparisons, proportions, and correlations.

Runs entirely in your browserFree · no signup

What are you planning?

95% is standard.

How precise the estimate needs to be. ±5% is typical.

Use 50% if you don't know — it needs the largest sample, so it's the safe assumption.

Total people you're generalizing to. Leave blank if it's very large or unknown.

Your sample size

Responses needed
385

completed, usable responses

Before population correction
385

no population size given

Invitations to send (at 30% response)
1,284

adjust for your expected response rate

This is completed responses, not invitations

Survey response rates are commonly 10-40%. To end up with 385 usable responses you need to invite substantially more people — and partial responses that skip your key variables don't count.

How sensitive is this to your assumptions?

Sample size is driven by inputs you're estimating. This shows how much the answer moves when those estimates change.

Margin of error90% confidence95% confidence99% confidence
±10%6897166
±7%139196339
±5%271385664
±3%7521,0681,844
±2%1,6912,4014,147
±1%6,7649,60416,588

Copy for your methods section

Report the inputs, not just the number — a sample size without its assumptions can't be evaluated.

Sample size justification
Survey sample size

Required sample: 385 completed responses
Confidence level: 95%
Margin of error: ±5%
Assumed response distribution: 50% / 50%
Population size: not specified (treated as very large)

Pick the calculation that matches your design

“How many participants do I need?” has four common answers depending on what you are actually going to test:

  • Survey. You want to estimate a percentage in a population — how many students use the library, what proportion support a policy. Driven by margin of error and confidence level.
  • Two groups. You want to compare means between conditions or groups — a t-test. Driven by the effect size you expect and the power you want.
  • Two proportions. Same as above but the outcome is a yes/no rate — pass rates, conversion, incidence.
  • Correlation. You want to detect an association between two continuous variables.

Why margin of error matters more than population size

The most common misconception in survey sampling is that you need a fixed percentage of the population — 10%, say. You don’t. The precision of an estimate depends on the absolute number of responses.

At 95% confidence with a ±5% margin, you need 385 responses. That is true for a population of 20,000 and for a population of 200 million. The finite population correction only starts to reduce the requirement when your population is small relative to the sample: for a population of 1,000, the requirement drops to 278; for 200, it drops to 132. Enter your population size to see the effect.

Halving your margin of error, by contrast, roughly quadruples the sample you need. Going from ±5% to ±2.5% takes you from 385 to 1,537. That trade-off is usually the real constraint on a student project, which is why the sensitivity table is there.

The honest way to justify a sample size

Examiners are not looking for a big number; they are looking for a reasoned one. A defensible justification states four things: the effect size you expected and where it came from, your alpha, your target power, and the resulting n. The copy-ready block at the bottom of the calculator gives you all four.

Two failure modes to avoid. First, reverse-engineering: picking the effect size that produces the sample you can recruit. Second, silence: reporting a sample size with no justification at all, which invites the question of whether your study could have detected anything.

If you genuinely cannot recruit the required number — a common, legitimate situation for a masters project — say so explicitly, report the effect size your achieved sample could detect, and frame your findings accordingly. That is a limitation, and stating it plainly is far stronger than hoping nobody checks.

Frequently asked questions

How many participants do I need for my dissertation?
There is no universal number — it depends on what you're testing. For a survey estimating a percentage, 385 responses gives you ±5% at 95% confidence regardless of how large the population is. For comparing two groups on a medium effect (d = 0.5) at 80% power, you need about 64 per group. For detecting a medium correlation (r = 0.3), about 84 participants. Use the matching tab rather than borrowing a number from another study design.
Why is the answer 385 for almost every survey?
Because above roughly 20,000 people, population size stops mattering. The margin of error depends on the absolute number of responses, not the fraction of the population you sampled. This surprises people, but it's why a national poll of 1,000 works: 385 responses gives ±5% whether your population is 50,000 or 50 million. Enter a population size below about 10,000 and you'll see the correction start to bite.
What effect size should I assume?
Ideally one taken from prior studies on the same variables — that's the defensible choice, and you should cite it. Failing that, use Cohen's conventions (0.2 small, 0.5 medium, 0.8 large) and say which you assumed. Do not pick the effect size that gives you a sample you can afford; that inverts the logic and produces a study that can only detect implausibly large effects.
What is statistical power and why 80%?
Power is the probability of detecting a real effect if one exists. At 80% power you'd miss a genuine effect one time in five. It's the long-standing convention rather than a principled threshold — 90% is increasingly expected, especially where replication matters. Below 80% you're running a study likely to be inconclusive whatever the truth is.
Do I need to adjust for expected dropout?
Yes, and the calculator does not do it for you. The output is the number you need with complete, usable data. Add your expected attrition, exclusions, and failed attention checks on top — recruiting 10-20% above the figure is common practice for lab studies, and considerably more for longitudinal designs.
Is this the same as what G*Power gives?
For the survey, proportion, and correlation calculations, yes — they use the same standard formulas. For the two-group means calculation, the figures match G*Power to within a participant or two; the small difference is because this tool approximates the noncentral t distribution rather than computing it exactly. That precision is irrelevant for planning, but if a reviewer requires an exact G*Power printout, use G*Power.
Should I calculate power after collecting data?
Not as a post-hoc justification of a null result — observed power computed from your own effect size is a well-known statistical fallacy and reviewers will flag it. Power analysis belongs before data collection. Afterwards, report confidence intervals: they tell readers what effect sizes your data can and cannot rule out, which is the honest version of the same question.

Related free tools

Need the whole analysis, not just this step?

Analytika picks the right test for your data, checks the assumptions, and writes up the results in APA format. Upload a dataset and ask a question in plain English.

Try it free