Yamane
Yamane's formula is a shortcut that fixes a 95% confidence level and p = 0.5, and it gives 333.
◆ Publishing advisory
Enter your population, margin of error and confidence level, and the page gives you how many people to survey. The working is one click away.
You need to survey at least
385 people
Add more if you expect people not to respond: divide this number by your expected response rate.
n0 = Z² p q / e²
Base sample size: n0 = 1.96² × 0.5 × 0.5 / 0.05² = 384.16 Rounded up: n = 385
Source: Israel (2009); Bartlett et al. (2001)
This is a planning figure, not a verdict. Confirm it with your supervisor or ethics committee.
Yamane, Krejcie and Morgan, averages, comparing two groups, and rules of thumb for regression. Most surveys only need the answer above.
333 participants to analyse
Rounded up instead: 334.
n = N / (1 + N e²)
Base sample size: n = 2,000 / (1 + 2,000 × 0.05²) = 333.33 Rounded to the nearest whole number (as the source does): n = 333
Source: Israel (2009)
This is a planning figure, not a verdict. Confirm it with your supervisor or ethics committee.
Each row was calculated by the same engine as the box above, and the last column shows what the published source prints for it.
| Case | This tool | Published figure |
|---|---|---|
| 95% confidence, margin 0.05, population unknown, p = 0.5 | 385 | 385 (Israel, 2009); 384 (Bartlett et al., 2001, rounded down) |
| 90% confidence, otherwise the same | 271 | worked from the formula, Z = 1.645 |
| 99% confidence, otherwise the same | 664 | worked from the formula, Z = 2.576 |
| Population 2,000, Cochran with the correction (Israel form) | 323 | 323 (Israel, 2009) |
| Population 1,679, Cochran with the correction (Bartlett form) | 313 | 313 (Bartlett et al., 2001) |
| The row above, with a 65% response rate | 482 | 482 (Bartlett et al., 2001) |
| Average of a 7-point scale, s = 1.167, margin 0.21 | 119 | 118 (Bartlett et al., 2001, rounded down) |
| Population 2,000, Yamane | 333 | 333 (Israel, 2009) |
| Population 2,000, Krejcie and Morgan | 322 | 322 (Krejcie and Morgan, 1970, table) |
| Two groups, d = 0.5, alpha 0.05, power 0.80 | 63 per group | 64 per group, 128 in total (Kang, 2021) |
| Method | Result |
|---|---|
| Yamane | 333 |
| Krejcie and Morgan | 322 |
| Cochran with the correction | 323 |
All three use a 95% confidence level and a 5% margin, yet they differ by up to 11 people because each formula simplifies differently and two of them round to the nearest whole number. Pick one, name it in your Methods, and state its assumptions.
◆ Question 1 / 8 · What it is
Direct answer: Your sample size is the number of observations, patients, students, survey respondents; you collect. It matters because statistical power depends on it: an underpowered study can miss a real effect entirely, producing a false negative. Reviewers treat sample-size justification as a marker of a serious, reproducible design, so the calculation belongs in your protocol, not your discussion.

Evidence: Hickey et al. (2018), writing across pages 4 to 9 of the European Journal of Cardio-Thoracic Surgery, describe the sample-size calculation as a core part of trial design and warn that small studies "may possess insufficient power to detect a clinically significant difference, if such a difference exists." Serdar et al. (2021) add that an undersized study risks a Type II error while a needlessly large one wastes resources and raises ethical concerns, both are design failures a reviewer can see.
◆ Question 2 / 8 · Three numbers
Direct answer: An a priori (before-data) calculation needs three inputs, and the software solves for the fourth, the sample size. You choose the alpha level (usually 0.05), the power you want (usually 0.80) and the effect size you expect. Fix any three and the required N follows.
Alpha level
0.05
is usually the alpha level, equivalent to a 5% chance of a false positive
Power
0.80
is usually the power you want, meaning an 80% chance of detecting a true effect
Four linked quantities, three chosen and one solved
Tap a quantity to see what you do with it.
Quantity 1 / 4
Alpha level
You choose the alpha level, usually 0.05, which is a 5% chance of a false positive.
Quantity 2 / 4
Power
You choose the power you want, usually 0.80, which is an 80% chance of detecting a true effect.
Quantity 3 / 4
Effect size
You choose the effect size you expect. It is the hardest input and the one that most changes your N.
Quantity 4 / 4
Sample size
The software solves for the fourth, the sample size. Fix any three and the required N follows.
Evidence: An alpha of 0.05 is equivalent to a 5% chance of a false positive, and a power of 0.80 means an 80% chance of detecting a true effect. Kang (2021) sets out the same four interlinked quantities: "the sample size calculation and power analysis are determined by the following factors: effect size, power (1-β), significance level (α), and type of statistical analysis" (Kang, 2021). Fixing three determines the fourth, with 0.05 and 0.80 as the conventional defaults in health-professions research. Cohen's (1992) "power primer", 5 pages long and running from page 155 to 159 of Psychological Bulletin, is the original source of the widely used 0.80 power convention, framed as accepting a Type II error rate four times the Type I rate.
◆ Question 3 / 8 · Effect size
Direct answer: The effect size is the hardest input and the one that most changes your N, the smaller the effect you want to detect, the more participants you need. Estimate it three ways, in order of preference: from a similar published study, from a small pilot, or, as a last resort, from Cohen's conventional small/medium/large benchmarks.
Cohen's conventional effect-size benchmarks
Tap a test to see its small, medium and large values. Use them only when no better estimate exists.
Two means
Comparison of two means uses Cohen's d, with small 0.20, medium 0.50 and large 0.80.
Correlation
Correlation uses r, with small 0.10, medium 0.30 and large 0.50.
Proportions
A difference in proportions uses h, with small 0.20, medium 0.50 and large 0.80.
ANOVA
ANOVA (group differences) uses f, with small 0.10, medium 0.25 and large 0.40.
Chi-square
Chi-square or association uses w, with small 0.10, medium 0.30 and large 0.50.
Always justify your choice in writing.

Evidence: Serdar et al. (2021) recommend deriving the expected effect from prior literature or a pilot wherever possible, using standardised benchmarks only when no better estimate exists. Cohen (1992) provides the conventional cut-offs that researchers fall back on, summarised below.
Cohen's conventional benchmarks (Cohen, 1992). Use them only when no better estimate exists.
| Test | Effect-size measure | Small | Medium | Large |
|---|---|---|---|---|
| Comparison of two means | Cohen's d | 0.20 | 0.50 | 0.80 |
| Correlation | r | 0.10 | 0.30 | 0.50 |
| Difference in proportions | h | 0.20 | 0.50 | 0.80 |
| ANOVA (group differences) | f | 0.10 | 0.25 | 0.40 |
| Chi-square / association | w | 0.10 | 0.30 | 0.50 |
◆ Question 4 / 8 · Running G*Power
Direct answer: G*Power is free, widely accepted, and handles most common designs. The workflow is: choose the statistical test that matches your analysis, set the test family, enter alpha, power, and effect size, then click Calculate to get the required N. The single most common mistake is selecting a test that does not match the analysis you will actually run.
The G*Power workflow
Tap a step to see what to do.
Step 1 of 4
Choose the test
Choose the statistical test that matches your analysis.
Step 2 of 4
Set the test family
Set the test family.
Step 3 of 4
Enter the inputs
Enter alpha, power, and effect size.
Step 4 of 4
Click Calculate
Click Calculate to get the required N.
Evidence: Kang (2021) and Faul et al. (2007), whose Behavior Research Methods paper on the software ran from page 175 to 191, both stress that the chosen test in G*Power must mirror the planned analysis (t-test, ANOVA, regression, chi-square), because each test has its own power function and effect-size metric. Picking the wrong family silently produces the wrong number.
◆ Question 5 / 8 · Which formula
Direct answer: Use Cochran's formula when you can state your own confidence level and margin of error, because it shows every input. Yamane and Krejcie and Morgan are shortcuts that fix a 95% confidence level and p = 0.5. For a population of 2,000 and a 5% margin, the three give 333, 322 and 323.
Population
2,000
is the population in the worked example, and with a 5% margin the three formulas give 333, 322 and 323
Yamane's formula is a shortcut that fixes a 95% confidence level and p = 0.5, and it gives 333.
The Krejcie and Morgan table prints 322, and tables built on it assume an alpha of .05 and a degree of accuracy of .05, so do not use them when yours differ.
Cochran's formula shows every input because you state your own confidence level and margin of error, and with the correction it gives 323.
Evidence: Israel (2009) calls Yamane's formula a "simplified formula" that assumes a 95% confidence level and p = .5, and he works a population of 2,000 through it to 333. Because both shortcuts fix those settings, they only suit a survey that estimates a proportion at 95% confidence. At the same population, Krejcie and Morgan's table prints 322 and Cochran with the correction gives 323 (Israel, 2009; Krejcie & Morgan, 1970). The Z values behind all three are 1.645, 1.960 and 2.576 for 90%, 95% and 99% confidence (Harris, 2019). Bartlett et al. (2001) warn that tables built on the Krejcie and Morgan formula "assume an alpha of .05 and a degree of accuracy of .05", so do not use them when yours differ.
A note on the name Slovin. Some guides call n = N / (1 + N e²) Slovin's formula. We found no reliable source saying that Slovin's and Yamane's formulas are the same, so treat that name as unverified and use the name your own sources use.
◆ Question 6 / 8 · Dropout
Direct answer: The N from G*Power is the number you need to analyse, not the number to recruit. Inflate it for expected attrition: divide your target by (1 minus the dropout proportion). If you need 100 completers and expect 20% dropout, recruit 100 ÷ 0.80 = 125. Survey studies do the same for the expected non-response rate.
Evidence: Hickey et al. (2018) note that real studies lose participants to withdrawal, loss to follow-up, and missing data, so the recruited sample must exceed the calculated analytic sample. In the example, 100 completers with 20% dropout means recruiting 125, because the loss is counted on the people recruited, not on those who finish. Serdar et al. (2021) similarly advise building an attrition allowance into the recruitment target rather than discovering the shortfall mid-study.
◆ Question 7 / 8 · What to report
Direct answer: Report enough that a reader could reproduce the calculation: the primary outcome and what difference you considered meaningful, the alpha level, the target power, the assumed effect size with its source, the test used, and the final N including the attrition allowance. Reporting these in the Methods is now a baseline expectation, not a bonus.
Evidence: The CONSORT 2010 statement (Schulz et al. 2010) requires randomised trials to report how the sample size was determined. Yet Kang (2021) and Serdar et al. (2021) both cite reviews showing that only about a third of sample-size calculations in high-impact journals are reported in enough detail to reproduce so doing it well is a genuine quality signal.
◆ Question 8 / 8 · A small study
Direct answer: If you cannot reach the ideal N, do not invent a "post-hoc power" figure to defend it, reviewers see through that. Instead, design honestly within your limits: pre-register a feasibility or pilot study, report confidence intervals rather than chasing significance, and state the limitation plainly. A transparent small study is far more publishable than an over-claimed one.
Evidence: Hickey et al. (2018) caution explicitly against post-hoc power calculations, which are circular once the data are in. Cohen (1992) and Serdar et al. (2021) point researchers toward reporting effect sizes with confidence intervals, which remain informative even when a sample is modest, the route many early-career Vietnamese researchers take into conference proceedings and Q2 journals.
Three inputs go in before any software runs: the significance level (alpha, usually 0.05), the statistical power (usually 0.80) and the effect size you expect. Kang (2021) lists the same interlinked quantities, adding the type of statistical analysis, and the unknown that comes out is the sample size. Cohen's (1992) power primer is the origin of the 0.80 power convention.
The convention is 0.80, meaning an 80% chance of detecting a true effect. Some confirmatory or high-stakes studies use 0.90. Higher power requires a larger sample, so it is a trade-off you justify against feasibility.
No. The "30 is enough" rule is a myth, the required number depends entirely on your effect size, power, and test. A small expected effect can need hundreds; there is no universal magic number.
You can compute the analysis either way, but post-hoc power is widely criticised because it is circular. Plan the sample size before data collection; afterwards, report effect sizes and confidence intervals instead.
G*Power is the most widely used free tool and covers t-tests, ANOVA, regression, correlation, and chi-square. Many journals accept it; cite the version you used in your Methods.
No, power analysis applies to quantitative hypothesis testing. Qualitative studies justify their sample by reaching data saturation, which is a different and equally legitimate logic.
Yes. MAAS Publishing Advisory coaches Vietnamese researchers through study design, choosing the test, setting power and effect size, running the calculation, and writing the justification, through a phase-by-phase model. Book a consultation through our contact page.
MAAS Publishing Advisory coaches researchers through study design, including how to justify a sample size. You make the decisions and your adviser reviews your reasoning. This tool gives a planning figure, so confirm it with your supervisor or ethics committee.
Book a Publishing Advisory consultation with MAAS →
This article is part of the MAAS Journal series for Vietnamese international postgraduate students and researchers. MAAS Publishing Advisory is an advisory partner; we coach authors through a phase-by-phase delivery model. We do not write, submit, or guarantee acceptance of work on an author's behalf.
A free 15-minute consultation with a MAAS publishing mentor, to talk through your study design and how to justify your sample size.
Book Free Discovery ▸