Test
Effect to detect

Statistical power

Power is the probability that a test rejects the null hypothesis when a real effect of the size you specified exists. Its complement, β = 1 − power, is the probability of a Type II error — missing a real effect. The conventional target is a power of 0.8, meaning the study would miss such an effect one time in five.

This page answers the question the other way round from a sample size calculator: you already have a sample size, and it tells you how much power that buys. If the answer is low, the two honest options are to collect more data or to accept that only a larger effect is detectable — not to run the test anyway and read a non-significant result as evidence that there is no effect.

The two tests

Linear regression — the entire model

Powers the F test that asks whether your regression model as a whole explains significantly more than the mean alone — H0: Y = b0. The numerator degrees of freedom are the number of predictors p, the denominator n − p − 1. This powers the model, not any single coefficient: a model can be significant overall while an individual predictor is not.

One-way ANOVA

Powers the F test comparing k group means. The numerator degrees of freedom are k − 1 and the denominator n − k, where n is the total sample across all groups you already have.

Effect sizes, and how they convert

All three scales describe the same thing. f² is what the noncentrality is built from, and R² (or η²) is the proportion of variance the model explains:

FromTo f²To R² / η²
Cohen's ff² = f ²R² = f² / (1 + f²)
R² / η²f² = R² / (1 − R²)—

How to read the two charts

The power analysis chart draws both distributions on one axis. The red region is α, the chance of rejecting a true null; the amber region is β, the chance of missing a real effect; the blue region is the power. The power curve sweeps the sample size, marks the n you entered and the n the target power would need, and can be hovered for the exact figures at any point.

Related calculators