Skip to content

← Blog

◆ Publishing advisory

How do you do a sample size calculation for a research study?

+8 questions+4 figures, 3 of them interactive+Linked to the Scopus publishing guide+12 min read

Author: MAAS Research Methods Publishing Desk
Last updated: 2026-10-09
Category: research-methods

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.

How many people do you need to survey?

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.

How this was calculated

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.

Other methods

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.

Formula

n = N / (1 + N e²)

Working

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

Read before you use this number

  • Yamane's formula assumes a 95% confidence level and p = 0.5. The confidence and p boxes are ignored for this method.
  • Yamane (1967) is cited through Israel (2009); we did not open the original.
  • Israel's (2009) worked example prints 333 for this formula, but his own Table 2 rounds the same formula up in several rows. The raw value is 333.33, so this tool shows both: 333 rounded to the nearest whole number and 334 rounded up.

Source: Israel (2009)

This is a planning figure, not a verdict. Confirm it with your supervisor or ethics committee.

What this tool assumes

  • Cochran results are rounded up. Krejcie and Morgan is rounded to the nearest whole number, as its table prints it. For Yamane, Israel's worked example prints 333 but his own Table 2 rounds the same formula up in several rows, so the tool shows both the nearest and the rounded-up figure.
  • Z values are 1.645 (90%), 1.960 (95%) and 2.576 (99%) (Harris, 2019, Table 9.3). Some tables print 2.575 or 2.58, which can move an answer by 1.
  • Yamane and Krejcie and Morgan fix a 95% confidence level and p = 0.5, and Krejcie and Morgan also fix a 0.05 margin of error.
  • A population of 120 or fewer needs a t value in place of Z (Bartlett et al., 2001). This tool does not make that adjustment.
  • Power results use the normal approximation. The exact t-test answer is about 1 higher per group.
  • Rules of thumb are labelled as such. They are not formulas.

Worked examples

Each row was calculated by the same engine as the box above, and the last column shows what the published source prints for it.

CaseThis toolPublished figure
95% confidence, margin 0.05, population unknown, p = 0.5385385 (Israel, 2009); 384 (Bartlett et al., 2001, rounded down)
90% confidence, otherwise the same271worked from the formula, Z = 1.645
99% confidence, otherwise the same664worked from the formula, Z = 2.576
Population 2,000, Cochran with the correction (Israel form)323323 (Israel, 2009)
Population 1,679, Cochran with the correction (Bartlett form)313313 (Bartlett et al., 2001)
The row above, with a 65% response rate482482 (Bartlett et al., 2001)
Average of a 7-point scale, s = 1.167, margin 0.21119118 (Bartlett et al., 2001, rounded down)
Population 2,000, Yamane333333 (Israel, 2009)
Population 2,000, Krejcie and Morgan322322 (Krejcie and Morgan, 1970, table)
Two groups, d = 0.5, alpha 0.05, power 0.8063 per group64 per group, 128 in total (Kang, 2021)

Why do three methods give three answers at a population of 2,000?

MethodResult
Yamane333
Krejcie and Morgan322
Cochran with the correction323

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.


Question1

◆ Question 1 / 8 · What it is

What is a sample size and why does it decide whether you get published?

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.

◆ Part of the Scopus publishing guideSee how a publishing advisory engagement runsFive phases from kick-off to peer review.

A student working through calculations at a desk
A student working through calculations at a desk (illustrative image)

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.


Question2

◆ Question 2 / 8 · Three numbers

What three numbers do you need before you can calculate a sample size?

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.

As described in this post, drawing on Kang (2021).

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.


Question3

◆ Question 3 / 8 · Effect size

How do you choose an effect size when you have no pilot data?

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.

The table in this post, drawing on Cohen (1992).

Always justify your choice in writing.

Table of Cohen's conventional small, medium, and large effect-size benchmarks across five statistical tests, comparison of means, correlation, proportions, ANOVA, and chi-square.
Estimate from a published study or pilot first; fall back to these only as a last resort.

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

Question4

◆ Question 4 / 8 · Running G*Power

How do you actually run the calculation in 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.

Start: match the testEnd: read the N

Step 1 of 4

Choose the test

Choose the statistical test that matches your analysis.

As described in this post, drawing on Kang (2021) and Faul et al. (2007).

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.


Question5

◆ Question 5 / 8 · Which formula

Cochran, Yamane or Krejcie and Morgan: which sample size formula should you use?

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

Formula 01

Yamane

Yamane's formula is a shortcut that fixes a 95% confidence level and p = 0.5, and it gives 333.

Formula 02

Krejcie and Morgan

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.

Formula 03

Cochran

Cochran's formula shows every input because you state your own confidence level and margin of error, and with the correction it gives 323.

As described in this post, drawing on Israel (2009), Krejcie and Morgan (1970) and Bartlett et al. (2001).

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.


Question6

◆ Question 6 / 8 · Dropout

How do you adjust the number for dropout and non-response?

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.


Question7

◆ Question 7 / 8 · What to report

What does a journal expect you to report about your sample size?

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.


Question8

◆ Question 8 / 8 · A small study

What if your study is small, or you already collected the data?

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.


Frequently asked questions

What do I need to know before a sample size calculation?

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.

What power should I aim for?

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.

Is 30 participants always enough?

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.

Can I calculate sample size after collecting my data?

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.

What free software can I use?

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.

Does qualitative research need a sample-size calculation?

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.

Can MAAS help me justify my sample size?

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.


Ready to design a study a reviewer will trust?

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 →



References

  • Bartlett, J. E., II, Kotrlik, J. W., & Higgins, C. C. (2001). Organizational research: Determining appropriate sample size in survey research. Information Technology, Learning, and Performance Journal, 19(1), 43–50. https://www.opalco.com/wp-content/uploads/2014/10/Reading-Sample-Size1.pdf
  • Cohen, J. (1992). A power primer. Psychological Bulletin, 112(1), 155–159. https://doi.org/10.1037/0033-2909.112.1.155
  • Faul, F., Erdfelder, E., Lang, A.-G., & Buchner, A. (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods, 39(2), 175–191. https://doi.org/10.3758/BF03193146
  • Harris, G. L. (2019). Selected laboratory and measurement practices and procedures to support basic mass calibrations (2019 ed.; NISTIR 6969). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.IR.6969-2019
  • Hickey, G. L., Grant, S. W., Dunning, J., & Siepe, M. (2018). Statistical primer: Sample size and power calculations: Why, when and how? European Journal of Cardio-Thoracic Surgery, 54(1), 4–9. https://doi.org/10.1093/ejcts/ezy169
  • Israel, G. D. (2009). Determining sample size (PEOD-6). University of Florida, IFAS Extension. https://ask.ifas.ufl.edu/publication/PD006
  • Kang, H. (2021). Sample size determination and power analysis using the G*Power software. Journal of Educational Evaluation for Health Professions, 18, 17. https://doi.org/10.3352/jeehp.2021.18.17
  • Krejcie, R. V., & Morgan, D. W. (1970). Determining sample size for research activities. Educational and Psychological Measurement, 30(3), 607–610.
  • Schulz, K. F., Altman, D. G., & Moher, D. (2010). CONSORT 2010 statement: Updated guidelines for reporting parallel group randomised trials. BMJ, 340, c332. https://doi.org/10.1136/bmj.c332
  • Serdar, C. C., Cihan, M., Yücel, D., & Serdar, M. A. (2021). Sample size, power and effect size revisited: Simplified and practical approaches in pre-clinical, clinical and laboratory studies. Biochemia Medica, 31(1), Article 010502. https://doi.org/10.11613/BM.2021.010502

Tools & resources


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 ▸
Share this articleFacebookLinkedInZaloEmail
On This Page