Power Analysis Calculator

Estimate the sample size needed to detect an effect at your chosen significance level and statistical power.

A priori power analysis
Two-sided normal approximation for a standardized mean effect.

About power analysis

Power analysis connects four quantities that shape a statistical study: effect size, significance level, statistical power, and sample size. This calculator performs an a priori analysis, meaning that it estimates the minimum number of independent observations before data collection begins. The effect size is entered as Cohen's d, a standardized difference measured in standard deviation units. A value around 0.2 is often described as small, 0.5 as medium, and 0.8 as large, but a meaningful value should come from subject knowledge, prior evidence, or the smallest effect worth detecting. The significance level, commonly called alpha, controls the tolerated probability of a false positive when the null hypothesis is true. A conventional value is 0.05. Statistical power is the probability of detecting the specified effect when that effect really exists. Researchers commonly plan for 0.80 or 0.90 power. Raising power, lowering alpha, or targeting a smaller effect all increase the required sample size because the study must distinguish a weaker signal under stricter evidence requirements. The calculation uses a two-sided normal approximation. It adds the standard-normal critical value for half of alpha to the critical value for desired power, divides that sum by the standardized effect, squares the result, and rounds upward. This model is useful for early planning of a one-sample standardized mean test and as a transparent approximation for related designs. A two-independent-group study generally needs the displayed amount in each group multiplied according to its allocation and variance assumptions, so consult a design-specific method before final recruitment. The result should be treated as a statistical minimum rather than a complete recruitment target. Increase it for expected dropout, missing records, clustering, repeated measurements, unequal group allocation, multiple primary outcomes, or uncertain effect estimates. Power calculations cannot correct biased sampling, poor measurement, or an inappropriate analysis model. Document every assumption in a protocol and consider sensitivity calculations with several plausible effect sizes so stakeholders can see how uncertainty changes the practical sample requirement.

Power analysis examples

InputsSample sizeInterpretation
d = 0.50, alpha = 0.05, power = 0.8032Conventional medium effect and 80% power.
d = 0.80, alpha = 0.05, power = 0.9017A larger effect requires fewer observations.
d = 0.30, alpha = 0.05, power = 0.8088A smaller target effect requires more observations.

How to calculate statistical power requirements

  1. Choose a defensible standardized effect size from prior research or a meaningful threshold.
  2. Enter the significance level that your hypothesis test will use.
  3. Set the desired probability of detecting the target effect.
  4. Calculate and round recruitment upward after allowing for attrition or design effects.

Power analysis FAQ

What does 80% statistical power mean?

It means the planned test has an 80% chance of rejecting the null hypothesis when the specified effect truly exists. It does not mean that a significant result has an 80% chance of being true.

Why does a smaller effect need a larger sample?

Small effects are harder to distinguish from random sampling variation. More observations reduce standard error and make the weaker signal easier to detect.

Should I always use alpha 0.05?

No, alpha should reflect the consequences of a false positive and the study plan. More stringent levels reduce false positives but require a larger sample for the same power.

Is the displayed sample size per group?

This approximation describes independent observations for a standardized one-sample effect. For two groups, paired data, clusters, or regression, use a design-specific conversion or power model.

How should attrition be included?

Divide the statistical minimum by one minus the expected dropout proportion. For example, 20% expected attrition requires dividing by 0.80 and rounding upward.