A reviewer asks how you chose your sample size. The draft answers in one sentence: the authors used the Yamane formula with a 5% margin of error. Survey and questionnaire papers in medical journals often contain some version of that sentence, and for a small descriptive survey it can be enough. Sometimes it is not, and the difference usually comes down to assumptions that the author never read.
This guide explains where the formula comes from, what each term means, how it compares with Cochran's formula, and when a power analysis is the better route. If you searched for the Yamane formula for sample size, you probably need a number today. You also need to defend that number in a methods section, so both parts matter.
The Yamane Formula in One Line
Taro Yamane was a statistician whose introductory textbook, Statistics: An Introductory Analysis, was widely used from the 1960s onward. In it he gave a simple way to estimate the number of respondents needed from a finite population. The formula is:
The equation
n = N / (1 + N e²)
Here n is the sample size, N is the size of the population you are sampling from, and e is the margin of error written as a decimal. A margin of error of 5% gives e = 0.05, so e² = 0.0025.
The formula has a useful property. The denominator grows with N, so the required sample rises with the population but flattens out. Doubling a small population roughly doubles the sample, while doubling a large one adds only a few respondents. That behavior matches intuition about sampling, which is why the formula has stayed in use for so long despite being a shortcut.
One caution before you copy the equation into a spreadsheet. The formula is a closed-form shortcut for estimating a single proportion or mean from a simple random sample. It does not know anything about your outcome, your design, or the comparison you intend to make. Keep that in mind throughout the rest of this post.
A Worked Example with Real Numbers
Suppose a hospital has 1,000 eligible clinicians and you want a survey with a 5% margin of error. Using e = 0.05, e² is 0.0025, so the denominator is 1 + (1,000 × 0.0025) = 3.5. The sample is 1,000 divided by 3.5, which is 285.7. Round up to 286.
The same calculation with a larger population shows how slowly the number grows. A population of 10,000 gives 10,000 divided by 26, or 384.6, which rounds to 385. A population of 200 gives 200 divided by 1.5, or 133.3, which rounds to 134. Moving from 1,000 to 10,000 eligible people adds only 99 respondents to the required sample, even though the population has grown tenfold.
Yamane results at a 5% margin of error
- 1.Population of 200: sample of 134.
- 2.Population of 1,000: sample of 286.
- 3.Population of 10,000: sample of 385.
- 4.Very large population: the sample approaches 400, which is 1 divided by 0.0025.
That last line is the one that surprises people. For a very large population, the Yamane formula converges to 1 divided by e². At a 5% margin of error, the ceiling is 400. Keep this number in mind, because it explains the difference from the more familiar calculation that most statisticians use.
What the Formula Assumes Without Saying So
Yamane's formula is a finite-population version of a standard calculation for estimating a proportion. That standard calculation has three inputs: a confidence level, a margin of error, and an assumed proportion. The Yamane version quietly fixes two of them. It implicitly assumes a confidence level of roughly 95% and a proportion of 0.5, which is the value that produces the widest possible variability.
Those two choices are not arbitrary. Setting the proportion to 0.5 gives the most conservative sample, since no other true proportion needs more respondents for the same margin. The problem is that the formula never shows the reader these assumptions, so a methods section that cites only the equation leaves the confidence level unstated. Reviewers who check the arithmetic often ask which confidence level was used, and the author who did not know the answer is left guessing.
Finally, the formula assumes simple random sampling from a list you can trust. If your sampling frame includes people who have left the hospital, or if you are recruiting volunteers through a professional society newsletter, the population N is not the number you think it is. A wrong N produces a wrong answer regardless of how carefully you apply the equation.
Cochran's Formula and the Finite Population Correction
William Cochran's textbook Sampling Techniques gives the calculation most survey statisticians reach for first. For an infinite population, the sample size is n0 = Z² × p × q / e², where Z is the z-score for the chosen confidence level, p is the expected proportion, and q is 1 minus p. At 95% confidence, Z is 1.96. With p = 0.5 and e = 0.05, n0 is 384.16, which rounds up to 385.
When the population is finite, Cochran adds a correction: n = n0 divided by (1 + (n0 − 1) / N). For 1,000 clinicians, that gives 384.16 divided by 1.38316, or about 277.7, which rounds to 278. Compare that with the Yamane figure of 286 for the same population. Cochran is the smaller number here because its assumed variability term is slightly smaller, and the gap is modest at this size.
The two methods diverge most visibly at the top of the range. For a very large population, Yamane approaches 400 while Cochran approaches 385. That is a difference of about 4%, which rarely matters for a descriptive survey, but it is a difference a reviewer can spot if you write the Yamane formula and then report a sample from a different calculation. Choose one method, state it, and use it consistently with the confidence level you name.
If you can state the confidence level, the expected proportion, and the margin of error, Cochran's version is the more transparent choice. Editors in clinical fields are more likely to recognize it, and it lets you change p when you have a pilot estimate. The free sample size calculator on this site shows the formula behind each result, which makes it easier to paste the working into a response to reviewers.
When the Yamane Formula Is Reasonable
The Yamane formula is a sensible choice in a particular kind of study. You are surveying a defined, finite population, such as the nursing staff of one ward or the members of a single department. Your main outcome is a proportion or an average, not a comparison between groups. You want a quick, transparent number for a feasibility survey, a quality improvement project, or a student dissertation, and you do not need a fully optimized design.
Under those conditions, the formula is perfectly defensible, provided you report the inputs. Write down N, state e, and say that the calculation assumes a confidence level of about 95% and maximum variability. Education and social research have long used the Krejcie and Morgan table, published in 1970 in Educational and Psychological Measurement, for the same purpose, and the two approaches give similar answers for populations of a few hundred to a few thousand. If a reviewer prefers that tradition, the Krejcie and Morgan table is a reasonable substitute for a survey of a known population.
A note on surveys with an unknown population
If you are sampling from a population whose size you cannot count, such as all patients who have ever attended a clinic in a region, the finite population correction has no meaningful N to use. In that case, Cochran's infinite-population formula, without the correction, is the honest starting point.
When a Power Analysis Is the Right Tool
Yamane and Cochran answer a precision question: how many people do I need to estimate this proportion within a given margin? Clinical trials and most comparative studies ask a different question. They need to know whether the study can detect a difference of a specified size between groups. That is a power question, and neither formula addresses it.
Consider a parallel two-group trial comparing a continuous outcome, with a standardized effect size of 0.5, a two-sided significance level of 0.05, and 80% power. A standard two-sample t-test calculation gives about 64 participants per group. A precision-based formula would give a number that has nothing to do with the effect you hope to detect, and a reviewer evaluating the trial will expect the power calculation, not a margin-of-error argument. The same logic applies to a logistic regression or a survival analysis, where the relevant inputs are event rates, hazard ratios and follow-up time.
Reporting guidelines reflect this distinction. CONSORT asks trial authors to state how the sample size was determined (item 7a in the 2010 statement, with later updates keeping the same intent). STROBE asks observational authors to explain how the study size was arrived at. In both cases the reviewer wants the assumptions behind a number that is specific to the study design, not a general-purpose shortcut. Free tools such as G*Power or the sample size calculator on this site can run the power calculation, but the author still has to supply the effect size and justify it from prior work or a minimum clinically important difference.
Common Mistakes Reviewers Notice
The first mistake is using the wrong N. Authors often plug in the number of employees listed in a human resources file, when the eligible population is the subset who meet the inclusion criteria and are reachable. Write the eligible population into the methods, and explain how you counted it. If the number is uncertain, say so and show how sensitive the answer is.
The second mistake is forgetting non-response. The sample size from a formula is the number of completed responses you need, not the number of invitations to send. If you expect 70% of invitees to respond, divide the completed-response target by 0.7. For the 286 completed responses from the hospital example, that means inviting 409 clinicians, since 286 divided by 0.7 is about 408.6. Many papers report a response rate that is well below the planned figure without explaining the gap, and reviewers often connect the two.
The third mistake is treating a formula result as a guarantee. A margin of error of 5% describes sampling variability for the proportion you estimated. It says nothing about measurement error, selection bias or recall problems. A short paragraph acknowledging those limitations does more for credibility than a longer calculation.
How to Write a Sample Size Justification
A good justification is short, specific and reproducible. It names the formula, lists every input, gives the result, and explains any adjustment. It does not apologize for the method or pad the paragraph with generic statements about statistical rigor. The template below works for a Yamane-based survey, and the same structure can be adapted to Cochran or a power calculation by swapping the formula and inputs.
Template: finite population survey
The sample size was calculated with the Yamane formula, n = N / (1 + N e²), for a finite population of 1,000 eligible clinicians and a margin of error of 5%, which corresponds to approximately 95% confidence. Allowing for an expected response rate of 70%, 409 invitations were sent to achieve 286 completed responses.
For a comparative study, the equivalent paragraph names the test, the significance level, the power, the minimum clinically important difference, the assumed standard deviation or event rate, and the software used. Whatever form the paragraph takes, put the sample size justification in the methods section, not in the cover letter, so that readers of the published article can see the reasoning.
Further Reading
Writing the Methods Section of Your Medical Manuscript
What journals now expect in a methods section, from registration to statistical reporting.
STROBE Reporting for Observational Studies
Which STROBE items cover study size and how to report them.
CONSORT 2025 Clinical Trial Reporting
The trial reporting checklist and what it asks you to state about sample size.
Fixed vs Random Effects Meta-Analysis
How to choose and report the model behind a pooled estimate.
The Practical Implication
Use the Yamane formula when your study is a descriptive survey of a known finite population and your question is about a proportion or mean. Use it with its assumptions written down, and expect a reviewer to ask about the confidence level. Switch to Cochran's formula if you want a transparent variant with an adjustable proportion. Switch to a power analysis as soon as your study compares groups or tests an effect, because a precision formula cannot tell you whether the trial will be able to see the difference you care about. Whichever you choose, write the inputs in the manuscript, because the number alone is what reviewers will question.
Written by Dr. Meng Zhao
Physician-Scientist · Founder, LabCat AI
MD · Former Neurosurgeon · Medical AI Researcher
Dr. Meng Zhao is a former neurosurgeon turned medical-AI researcher. After years in the operating room, he moved into applied AI for clinical workflows and now leads LabCat AI, a medical-AI company working on decision support and research tooling for clinicians. He built Journal Metrics as a free resource for researchers who need reliable journal metrics without paid database subscriptions.
New on PubMed
What's new in your field?
Type a topic to see the newest PubMed papers from the past week and the big picture of what they found, summarized by Claude on the Pro plan. Get a free weekly email to keep up.
See a demo:GLP-1CRISPRLong COVID
Related Articles
IEEE Research Paper Format: Template, Sections and Reference Style Explained
How IEEE research paper format works for medical and clinical authors: choosing the right IEEE paper template, the section order, numbered IEEE reference style, and the ethics, data and AI statements IEEE journals expect.
10 min readWriting GuideWhat Is a DOI in a Research Paper? How to Find, Check and Cite One
What a DOI is in a research paper, who issues it, how to find the DOI of a published article, how to check that it resolves to the right work, and how to write it in Vancouver and AMA reference lists.
11 min readWriting GuideHeterogeneity in Meta-Analysis: How to Interpret and Report I², Q and Tau²
How to interpret and report heterogeneity in a meta-analysis: what I², Cochran's Q and tau² each measure, why none of them tells you how different the studies really are, and why a prediction interval belongs in your results.
12 min read