Statistical Power and Sample Size

Statistics
Introduced by
Jacob Cohen
Year
1988
Type
Concept
Family
study-design

What does it do?

Statistical power is the probability of detecting a true effect if it exists (1 − β).

Power analysis determines the sample size needed to detect a hypothesized effect size at a specified Type I error rate (α) and Type II error rate (β). Jacob Cohen's book Statistical Power Analysis for the Behavioral Sciences, cited here in its 1988 second edition, set out the framework that is now standard in research design. The conventional benchmark is 80% power (β = 0.20), with 90% power used for critical studies.

The intuition behind the method

Imagine a medication that truly reduces symptom severity by 10 points (the numbers here are illustrative). If only 10 participants are recruited, the study may return p > 0.05 and conclude that the medication does not work. That conclusion would be a Type II error (a false negative). With 200 participants, the same 10-point effect may well reach statistical significance. Statistical power is the probability of detecting a true effect of a given size. With 80% power, a study has an 80% chance of detecting the effect and a 20% chance of missing it. Low power, such as 40%, means a study is likely to miss small-to-medium real effects. Power increases with sample size and with effect size. Calculating power a priori, before data collection, is an essential step in responsible research design.

History

Jacob Cohen's book Statistical Power Analysis for the Behavioral Sciences, cited here in its 1988 second edition, is the standard reference for the power framework. It sets out 80% power (β = 0.20) as the usual planning benchmark. Low power has been a recurring concern in empirical research, and Button et al. (2013) argued that small sample sizes undermine the reliability of neuroscience findings. The G*Power program (Faul et al., 2007) provides a flexible power analysis tool for the social, behavioral, and biomedical sciences.

When to use it

Conduct a power analysis before collecting data, once the design and test are known well enough to specify an effect size. Funders and clinical trial protocols often ask for one. For small pilot studies, a formal power target is often not the aim, since these studies estimate feasibility and variability rather than confirm effects. Do not rely on post-hoc power after a non-significant result to explain the outcome, because it adds little beyond the p-value already obtained. If a study is underpowered, say so and treat its non-significant findings as inconclusive rather than as evidence of no effect.

Limitations and considerations

  • The required n depends directly on the assumed effect size, which is often poorly known for new questions; the result is only as reliable as that assumption.
  • If the true effect is smaller than assumed, the study is underpowered even when the calculation was performed correctly.
  • The closed-form expression applies to simple designs such as the two-sample comparison; multilevel, multivariate, and mixed models generally need simulation or specialist software.
  • The calculation assumes that the test's distributional assumptions hold and that there is no missing data or confounding; violations reduce actual power relative to the planned figure.
  • Power addresses only one source of error. It does not guarantee correct conclusions when measurement quality or design validity is weak.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Shows before data collection whether the planned sample can detect the effect size the researchers consider meaningful, so an underpowered design can be changed in time.
  • Makes the assumed effect size and error rates explicit, so readers can judge whether a non-significant result was informative.
  • Gives a documented basis for resource decisions, since the required sample size can be weighed against recruitment cost and time.
  • Provides a pre-specified target, which limits analytic flexibility after results are seen.
  • Because the required n depends directly on the assumed effect size, repeating the calculation across a range of plausible effects shows how sensitive the planned sample size is to that assumption.

Applications

  • Clinical trials: planning Phase II/III studies with sample sizes chosen for a stated power level (often 90% in confirmatory settings) to detect a clinically meaningful treatment effect.
  • Psychological experiments: sizing studies to detect medium effects (Cohen's d ≈ 0.5), a common planning value in behavioral research.
  • Epidemiological cohort studies: calculating the sample needed to detect a specified association at chosen error rates.
  • Neuroscience studies with small samples: justifying sample sizes in costly designs where low power is a known concern (Button et al., 2013).
  • Educational randomized controlled trials: setting the number of schools or classrooms from an effect size assumed on the basis of prior studies.
  • Survey research: determining the sample size needed to estimate proportions within a stated margin of error, which applies the same logic of planning precision in advance.

How it works

How it works

1

Before collecting data, specify: (1) Your significance level α, usually 0.05, which is the common convention. State whether the test is one-tailed or two-tailed separately, because this choice changes the required sample size. (2) Your desired power (1 − β), typically 0.80 (80%), meaning you accept a 20% probability of missing a true effect; some high-stakes research uses 90% power. (3) The minimum meaningful effect size you want to detect, based on clinical, practical, or theoretical considerations rather than on observed data. (4) The statistical test you will use (t-test, ANOVA, correlation, etc.) and the design (between-subjects, within-subjects, etc.).

Formula
\text{Specify four parameters: } \alpha \text{ (typically 0.05)}, \beta \text{ (typically 0.20; power}=1-\beta=0.80\text{)}, \text{ expected effect size, and design type}
2

Use power analysis software (for example G*Power, online calculators, or packages in R or Python) or a hand calculation. For a two-sample t-test with equal group sizes, the closed-form expression is n = 2(z_α + z_β)²σ² / (μ₁ − μ₂)². This n is the number of participants per group, not the total; for equal allocation the total sample size is 2n. Here z_α and z_β are standard normal critical values for the chosen error rates. For a two-tailed test, the α critical value is taken at α/2 in each tail; this is the convention under which the worked example below is obtained. σ² is the pooled variance, and μ₁ − μ₂ is the expected difference. This expression is an approximation; exact calculations based on the t distribution, which software performs, can give somewhat different values for small samples. Worked example from the page: detecting Cohen's d = 0.5 (a medium effect) with α = 0.05, power = 0.80 and a two-tailed t-test requires about 64 participants per group (128 in total). This assumes σ = 1, so that μ₁ − μ₂ = d = 0.5. Correlation designs use a different expression based on the expected correlation, and ANOVA and mixed models usually require their own formulas or simulation, so software is the practical route for these.

Formula
n = \frac{2(z_\alpha + z_\beta)^2 \sigma^2}{(\mu_1 - \mu_2)^2} \quad \text{(example: two-sample t-test; formulas vary by design)}
3

The calculated sample size is the minimum needed to reach the specified power under the assumed effect size. Plan to recruit more than this to allow for attrition and missing data. If fewer participants are available, power falls and the true effect is less likely to be detected. A sample much larger than required raises power above the target, which is unnecessary unless precise estimation is the aim. Report the analysis in the methods section, including the assumed effect size and how it was justified (prior literature, pilot data, or a minimal clinically important difference).

Formula
\text{Required sample size } n \text{ is the minimum number of participants needed to detect the specified effect with the chosen power}

Common pitfalls

  • Computing post-hoc power after a non-significant result and presenting it as an explanation. Because it is a function of the observed p-value, it adds little beyond that result.
  • Basing the planned effect size on preliminary or pilot estimates. Effects that reached significance in small studies tend to be overestimated, so confirmatory studies planned on them are often underpowered.
  • Confusing power (the probability of detecting an effect that exists, 1 − β) with the Type I error rate α (the probability of a false positive). They are different quantities, controlled by different choices.
  • Specifying optimistic effect sizes to keep the required sample small, or inflated ones that make it impractically large. Either way the calculation rests on an assumption that must be justified.
  • Treating a non-significant result from an underpowered study as evidence of no effect.

Frequently asked questions

What is the standard statistical power level?

80% power (β = 0.20) is conventional, balancing the wish to detect true effects against practical constraints. It means accepting a 20% risk of a Type II error (false negative). For critical applications, such as regulatory decisions about treatments, 90% power is often used. Pilot studies are generally used to estimate feasibility and variability, so a formal power target is often not the aim. If a lower target is chosen for any study, justify it. Always justify your choice.

How do I choose the expected effect size for power analysis?

Use (1) pilot data or prior literature on similar interventions; (2) a minimal clinically important difference (MCID) where one exists, meaning the smallest effect that is practically relevant; or (3) Cohen's benchmarks (d = 0.2, 0.5, 0.8) as a last resort. Estimates from small earlier studies that reached significance are often overestimated, so treat them cautiously. When uncertain, a medium effect (d = 0.5) is a common planning value, but check how the sample size changes across a range of plausible effects.

Can I conduct a study with 60% power if resources are limited?

Yes, if the choice is justified and stated in advance. Acknowledge the limitation. Low power increases the risk of Type II errors, and effects that do reach significance in underpowered studies tend to be overestimated. If you proceed, (a) pre-register the study, (b) report the power level, and (c) interpret non-significant results carefully: failing to find an effect is not proof that none exists. Replication can help build credibility.

Is post-hoc power analysis useful?

Generally not. Post-hoc power, calculated from the observed data, carries the same information as the p-value and is often misleading when used to explain a non-significant result. A non-significant result alongside low post-hoc power says only that the study was underpowered for the effect observed. Plan power a priori. If a study turns out to be underpowered, report this honestly and discuss the limitation.

How does sample size affect effect size estimates?

In underpowered studies, only effects large enough to reach statistical significance tend to be reported, so the published estimates are inflated. This selection is one reason meta-analyses often find smaller average effects than early small studies. Larger samples and higher power give more precise and less biased effect size estimates.

Related methods

Sources

  1. Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum Associates.

    ISBN: 0-8058-0283-5
  2. 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.

    Open DOI reference
  3. Button, K. S., Ioannidis, J. P. A., Mokrysz, C., Nosek, B. A., Flint, J., Robinson, E. S. J., & Munafò, M. R. (2013). Power failure: why small sample size undermines the reliability of neuroscience. Nature Reviews Neuroscience, 14(5), 365–376.

    Open DOI reference