Research planning

Sample Size Calculator

Pick the research method and the confidence you need. Returns a recommended sample size based on the published research literature — Nielsen for usability testing, Sauro for benchmarking, standard proportion maths for surveys, MDE formulas for A/B tests.

Recommended sample size
–
per group

Nielsen (2000) found 5 users surface roughly 85% of major usability issues; 8 surface 95%. Diminishing returns beyond 8.

Picking the right sample size

There is no universal "right" sample size for UX research. The right size depends on your method, the kind of claim you want to make, and how costly it would be to be wrong. The literature offers established starting points this calculator surfaces.

Qualitative usability testing: Nielsen's 1993 and 2000 papers showed 5 participants surface roughly 85% of issues when each user has a 31% chance of hitting any given problem. Because the calculator rounds up to reach the target, it returns 6 for 85% and 9 for 95% at that rate. Returns diminish quickly after that.

Benchmark studies: SUS or quant usability metrics require larger samples to detect small differences. For a ±5-point margin on SUS (SD = 21) at 95% confidence, n ≈ 68.

Surveys: Standard proportion maths. For ±5% margin at 95% confidence on an infinite population, the formula gives 384.16, which the calculator rounds up to 385.

A/B testing: Required sample scales with baseline rate and MDE. At a 5% baseline and 80% power, the calculator needs 31,199 per group to detect a 10% relative lift, 8,149 for a 20% lift, and about 3 million for a 1% lift.

Related: UX method finder, SUS calculator, interview sampling guidance, A/B testing explained.

How to use the calculator

  1. Choose the method by the claim you want to make. Finding problems is usability testing. Estimating an average score, such as SUS or task time, is a benchmark. Estimating a percentage ("how many customers would…") is a survey. Proving one version beats another is an A/B test.
  2. Change only the inputs you have evidence for. The defaults are the conventional starting points. If a pilot or an earlier round gives you a better figure, such as the standard deviation of your own SUS scores, use that instead.
  3. Treat the number as completed sessions or responses. Recruit extra to cover no-shows and unusable sessions, and write down the rate you actually lose so the next plan can use it.
  4. Copy the inputs into your plan next to the number. "6 participants (85% target, 31% per-user rate)" can be checked; "6 participants" on its own cannot.

Worked example: one service, four questions

A team running an online council tax account has four separate questions. Each needs a different method, so each gets a different sample size. These are the numbers the calculator returns for the inputs shown:

QuestionMode and inputsResult
Where do people get stuck setting up a Direct Debit?Usability; 85% discovery target; 31% per-user rate6 participants
What SUS score does the account area get today?Benchmark; ±7 points; 90% confidence; SD 2125 participants
What share of the 1,200 business accounts want paperless bills?Survey; ±5%; 95% confidence; 50%; population 1,200292 responses
Does a shorter form lift sign-ups from a 5% baseline by 10%?A/B; 5% baseline; 10% relative lift; 80% power31,199 per group

The first three are affordable. The fourth needs 62,398 visitors reaching the form across both versions. If the form gets a few thousand visits a month, the honest conclusion is that an A/B test cannot answer this question in a useful time. Test a bolder change (a 20% lift needs 8,149 per group) or answer it with the usability study instead.

Practical guidance

FAQs

Why does the calculator say 6 users when people often quote 5?

It uses the same formula behind the "five users" advice, 1 − (1 − p)n, and rounds up to reach the target. With a 31% per-user rate, five users reach about 84.4%, just short of 85%, so the calculator returns 6. Six users reach about 89.2%.

Should I leave the survey proportion at 50%?

Leave it at 50% when you have no idea what the answer will be, because it gives the largest and safest sample. If an earlier survey suggests the answer is nearer 20%, entering 20 lowers the requirement from 385 to 246 responses at ±5% and 95% confidence.

Is the A/B figure the total or per version?

Per version. A standard two-version test needs double the figure in total, and every visitor counted must actually reach the page being tested, not just the website.

Can the benchmark mode be used for things other than SUS?

Yes, for any average you can estimate the spread of. For task time, run a short pilot, work out the standard deviation of the times in seconds, and enter it with a margin in seconds instead of SUS points.