Power Analysis Calculator

Calculate the required sample size or statistical power for your study based on effect size, significance level, and desired power.

REQUIRED SAMPLE SIZE (PER GROUP)
--
Effect Size (d)
--
Alpha (α)
--
Power (1-β)
--
Total Sample (both groups)
--

What Is Power Analysis?

Statistical power analysis is the process of determining the sample size needed for a study to reliably detect an effect of a given size. Power (1 - β) is the probability that a test will correctly reject the null hypothesis when the alternative hypothesis is true. A study with inadequate power may fail to detect a real effect, wasting resources and potentially leading to incorrect conclusions.

Power analysis should ideally be performed during the study planning phase (a priori) to ensure adequate sample sizes. The four key components are: effect size, significance level (α), power (1 - β), and sample size. Given any three, the fourth can be calculated.

Sample Size Formula

For a two-sample t-test (two-tailed):

n = ((zα/2 + zβ) / d)2

Where zα/2 is the critical z-value for the significance level, zβ is the z-value corresponding to the desired power, and d is Cohen's effect size.

Cohen's d Effect Size Guidelines

Effect SizeCohen's dTypical n (per group, power=0.80)
Small0.2393
Medium0.564
Large0.826
Very Large1.212

Frequently Asked Questions

What power level should I use?

The standard convention is 0.80 (80%), meaning there is an 80% chance of detecting a true effect. For critical studies (e.g., clinical trials), 0.90 or even 0.95 may be appropriate. Higher power requires larger sample sizes but reduces the risk of Type II errors.

What if I don't know the effect size?

You can estimate effect size from pilot studies, prior research, or use Cohen's conventions (small=0.2, medium=0.5, large=0.8). If no prior information exists, a medium effect size (0.5) is a reasonable starting point. Conducting a sensitivity analysis across a range of effect sizes is also recommended.