How Many Participants? A Sample Size Calculator for UX Research
A sample size calculator for UX teams: copy-paste spreadsheet formulas and tables for surveys, usability tests, card sorts, interviews and design comparisons.

A sample size calculator for UX teams: copy-paste spreadsheet formulas and tables for surveys, usability tests, card sorts, interviews and design comparisons.

A sample size calculator turns four inputs (confidence level, margin of error, expected proportion and population size) into the number of people you need. For UX work, the answer also depends on the method: Nielsen Norman Group recommends 5 users for a qualitative usability test, but 40 participants for most quantitative studies.
Online calculators answer one question, usually the survey one. This guide maps each UX research method to the right rule and gives spreadsheet formulas that turn Excel or Google Sheets into your own calculator. Worked numbers let you check any tool you use.
You'll leave with a defensible number for your next usability test, card sort, interview round, survey or design comparison.
A sample size calculator solves a formula for n, the number of participants or responses a study needs to meet a precision target. The classic survey version comes from the margin of error for a proportion. Penn State's STAT 500 gives it as n = z² × p(1 − p) / E².
In that formula, z is the critical value for your confidence level, p is your best guess at the proportion, and E is the margin of error.
When you have no good guess for p, use 0.5. Penn State calls this the conservative method, because p(1 − p) is largest at one half, so the sample is never too small for the margin you chose.
Power calculators solve a different question: how many people you need to detect a difference between two groups. They add a significance level, a power target and the smallest difference worth finding.
Input | What it means | Common UX default |
|---|---|---|
Confidence level | How often the method's interval contains the true value | 95%, or 90% for lower-stakes work |
Margin of error | Half the width of the interval | 5% for surveys, 15% to 20% for usability metrics |
Expected proportion | Your guess at the result | 0.5 when unknown |
Population size | How many people you could sample from | Leave blank for large audiences |
Power | Chance of detecting a real difference | 80% |
Minimum detectable difference | Smallest change worth acting on | Set by the decision, such as 10 points of task success |
Too few participants and your numbers are noise; too many and you spend recruiting budget you could use on another round. NN/g's Raluca Budiu and Kate Moran put it plainly: test with too few and results may not be statistically reliable, test with too many and "you're essentially throwing your money away."
Teams also over-recruit for qualitative tests. At an NN/g UX Conference, Jakob Nielsen surveyed 217 participants and found their companies used an average of 11 test participants per round, more than twice his recommendation.
Every UX study falls into one of three jobs, and each job has its own math. Decide which job you're doing before you open any calculator.
Formative usability testing and most interviews look for issues and themes. NN/g's Raluca Budiu compares it to a pothole: if one person falls in, you know you need to fix it. You count discoveries, not percentages, and the formula is problem discovery, 1 − (1 − p)ⁿ.
Benchmarks, surveys and success-rate studies estimate a value for the whole population, such as 72% task success. Here the margin of error drives the sample, and the formula is the one Penn State gives above.
When you ask whether design B beats design A, you need power. The sample depends on how big a difference you want to detect, and it grows fast as that difference shrinks.
Method | Rule of thumb | Source |
|---|---|---|
Qualitative usability test | 5 users per round; 3 to 4 per distinct user group | |
Card sorting | 15 users per user group | |
In-depth interviews | Saturation in 9 to 17 interviews | |
Focus groups | Saturation in 4 to 8 groups | |
Eyetracking heatmaps | 39 users | |
Quantitative usability benchmark | 40 users (binary metric, 95%, 15% margin) | |
Survey of a large population | 385 responses (95%, 5% margin) | Formula below |
Comparing two designs | Depends on the difference; often 100+ per group | Formula below |
The 5-user rule comes from a model by Jakob Nielsen and Tom Landauer. Nielsen's article gives the number of problems found with n users as N(1 − (1 − L)ⁿ), where N is the total number of problems and L is the share one user reveals. Across the projects they studied, L averaged 31%.
Plug in five users and you get 1 − 0.69⁵, or about 84%, which Nielsen reports as 85%. He also says you need at least 15 users to find all the problems, then argues you should spend those 15 on three rounds of five, fixing problems between rounds.
NN/g lists three assumptions: you are looking for problems, any problem one person hits is worth fixing, and the chance of hitting a problem is 31%. When one doesn't hold for your study, five users may not be enough.
The 31% is an average. A problem that only 10% of users hit is harder to catch, and MeasuringU's Jeff Sauro shows that a 90% chance of seeing such a problem at least once takes 22 users.
Faulkner tested the averages directly. In a 2003 study, 60 users were tested and random sets of five were drawn from the pool. Some sets of five found 99% of the problems; others found only 55%.
With 10 users, the worst set still found 80%. With 20 users, the worst set found 95%. Five is a good average and a risky guarantee.
The formula holds for users who behave alike. Nielsen says that when user groups differ, you can usually test 3 to 4 per group because experiences overlap. A site for novice, intermediate and experienced investors might test 3 of each, 9 in total.
The numbers below come from the formula 1 − (1 − p)ⁿ, the same one MeasuringU uses for its discovery table. Each cell is the chance of seeing a problem at least once.
Users (n) | Problem hits 5% of users | 10% | 31% (Nielsen's average) | 50% |
|---|---|---|---|---|
3 | 14% | 27% | 67% | 88% |
5 | 23% | 41% | 84% | 97% |
8 | 34% | 57% | 95% | 100% |
10 | 40% | 65% | 98% | 100% |
15 | 54% | 79% | 100% | 100% |
20 | 64% | 88% | 100% | 100% |
Read it backwards when you plan. If rare problems matter (a checkout bug that hits 5% of users), five participants give you a 23% chance of seeing it.
Card sorting and interviews generate structure or themes instead of evaluating a finished design, and the evidence for both points above five.
Nielsen analyzed data from Tullis and Wood, who ran a card sort with 168 users and then simulated smaller studies. Results from 5 users correlated only 0.75 with the full set; 15 users reached 0.90, 30 reached 0.95, and 60 reached 0.98.
Nielsen recommends 15 per user group and calls 60 wasteful. Tullis and Wood recommended 20 to 30.
Saturation is the point where new interviews stop producing new codes. Greg Guest, Arwen Bunce and Laura Johnson coded 60 in-depth interviews and found saturation within the first twelve, with the basic elements of metathemes present as early as six.
A later systematic review by Hennink and Kaiser pooled empirical tests. Most datasets saturated between 9 and 17 interviews, with a mean of 12 to 13, and focus group studies in 4 to 8 groups.
The authors note these results apply to relatively homogeneous populations and narrow objectives. For planning detail, see our guide to user interviews and focus groups.
Quantitative studies estimate a number for the whole population, so the margin of error sets the sample.
At 95% confidence, z is 1.96. With p = 0.5 and a 5% margin of error, n = 1.96² × 0.25 / 0.05² = 384.2, which rounds up to 385.
For a small population, apply the finite population correction. Penn State's STAT 506 formula rearranges to n = m / (1 + (m − 1) / N), where m is the large-population answer and N is the population. A population of 2,000 at a 4% margin and 95% confidence needs 601 without the correction and 463 with it.
We calculated these with the two formulas above, rounding up at each step.
Population | 10% margin | 5% margin | 3% margin |
|---|---|---|---|
200 | 66 | 132 | 169 |
500 | 82 | 218 | 341 |
1,000 | 89 | 279 | 517 |
5,000 | 96 | 358 | 881 |
50,000 | 97 | 383 | 1,046 |
Unlimited | 97 | 385 | 1,068 |
Population matters little once it passes a few thousand. Nielsen makes the same point: "The variance in statistical sampling is determined by the sample size, not the size of the full population from which the sample was drawn."
Dropping to 90% confidence cuts the 5% figure to 271 for a large population; raising it to 99% lifts it to 664.
Task success in a benchmark is a proportion too, but UX teams accept wider intervals than pollsters. NN/g's 40 comes from a specific calculation: a population over 500, a binary metric such as success rate, a 15% margin of error and 95% confidence give 39, rounded up to 40.
Confidence | Margin of error | Binary metric (success) | Continuous metric (time, rating) |
|---|---|---|---|
95% | 15% | 39 | 47 |
95% | 20% | 21 | 26 |
90% | 15% | 28 | 33 |
90% | 20% | 15 | 19 |

All figures are NN/g's. The continuous column assumes a standard deviation of 52% of the mean, which Nielsen measured for website and intranet usability data, and expresses the margin as a percentage of the mean. NN/g advises against margins bigger than 20%, and recommends sizing on the binary metric when a study collects several, because that usually gives good margins for the others.
Our survey formula gives 43 at 95% and 15%, slightly above NN/g's 39, which comes from the calculation NN/g links on MeasuringU. Either number is a reasonable target, and NN/g itself rounds up so a removed participant or two does not sink the study.
Earlier NN/g advice said 20. In 2006, Nielsen showed that with 10 users the 90% margin of error on a usability metric such as task time was ±27% of the mean. With 19 users (20 minus one expected outlier) it was ±19%.
NN/g's 2021 summary says the firm has recommended different numbers over the years and traces the 30-user guideline to accepting more risk.
To show that design B's success rate beats design A's, size the study on the difference. Penn State's STAT 509 formula for two proportions with equal groups is n per group = 2(z₁₋α/₂ + z₁₋β)² × p̄(1 − p̄) / (p₁ − p₂)². Here p̄ is the average of the two rates.
Its worked example compares 25% with 50% success at a two-sided 0.05 level and 90% power: 79 per group, 158 in total.
We calculated these with the STAT 509 formula.
Design A rate | Design B rate | Participants per group | Total |
|---|---|---|---|
70% | 85% | 122 | 244 |
70% | 80% | 295 | 590 |
50% | 60% | 389 | 778 |
10% | 12% | 3,843 | 7,686 |
Halving the detectable difference roughly quadruples the sample, because the difference is squared in the denominator. A two-point lift on a 10% rate needs thousands of people per group. Read our explainer on statistical significance before you call a winner.
For t-tests, chi-square tests and other designs, G*Power from Heinrich Heine University Düsseldorf computes power analyses for Windows and macOS and is free for everyone, including commercial users.

You can skip the web form. Excel and Google Sheets both include NORM.S.INV, which returns the inverse of the standard normal distribution and gives you z for any confidence level. Google lists the same NORM.S.INV function for Sheets.
Put confidence (0.95) in B1, margin of error (0.05) in B2, expected proportion (0.5) in B3 and population (5000) in B4. Then:
B5: =ROUNDUP(NORM.S.INV(1-(1-B1)/2)^2*B3*(1-B3)/B2^2, 0)
B6: =ROUNDUP(B5/(1+(B5-1)/B4), 0)B5 returns 385, the large-population size. B6 returns 358, the size after the finite population correction, which matches the table above.
Put the share of users who hit the problem (0.10) in B1 and the chance you want of seeing it at least once (0.90) in B2:
B3: =ROUNDUP(LN(1-B2)/LN(1-B1), 0)B3 returns 22, the same answer Sauro derives for a problem that affects 10% of users.
Put design A's rate (0.70) in B1, design B's rate (0.85) in B2, alpha (0.05) in B3 and power (0.80) in B4:
B5: =ROUNDUP(2*(NORM.S.INV(1-B3/2)+NORM.S.INV(B4))^2*((B1+B2)/2)*(1-(B1+B2)/2)/(B1-B2)^2, 0)B5 returns 122 participants per group. Change B2 to 0.80 and it returns 295.
A qualitative test finds problems; it does not estimate how common they are. On r/UXResearch, practitioners in a 2023 thread warn that "50% of participants in a 6 participant study" can be misremembered as 50% of users. As u/Indigo_Pixel put it: "With evaluative, the severity of an issue a participant encounters holds more weight than the number of people who encountered it."
Plugging 95% and 5% into a survey calculator and recruiting 385 people for a moderated test burns the budget for no gain. Formative tests need discovery math; save margin-of-error math for benchmarks and surveys.
Nielsen's case for five users is iterative: three rounds of five with fixes in between beat one study of 15. One round of 15 documents problems; three rounds fix them and test the fixes.
Five users drawn from three different audiences is under two per group. Recruit 3 to 4 per group, or test one group per round.
A 32 of 50 versus 28 of 50 preference split looks like a result. By the STAT 509 formula, 50 per group at 80% power can only reliably detect a gap of about 27 points near a 60% rate. The table above shows that 10 points near 50% needs 389 per group.

Affinity mapping for UX teams: how to run the session, write cluster labels that state insights, size the board, and where AI clustering goes wrong.

Net Promoter Score is the 0-10 recommend metric. See the official formula, why there is no universal good score, and what UX teams should use with it in 2027.

Survey screening questions that find the right participants: examples by criterion, length data from 42,756 screeners, and how to catch fakers and LLMs.