Bell Statistics

What is statistical power?

Statistical power is the probability that a test detects an effect of a given size, when an effect of that size is really there. A test with 80% power will miss a real effect one time in five. Power is decided before the experiment runs, not after.

Notation
1 − β
Also called
power, sensitivity, power of a test
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

An experiment can fail in two directions. It can announce an effect that is not there, and it can miss one that is. The significance level controls the first — set it to 0.05 and you accept a 5% chance of a false alarm. Power controls the second. At 80% power, an effect of the size you designed for will be detected four times out of five and missed the fifth. That missed fifth is a type II error, and unlike a false positive it produces no evidence of itself: the test simply comes back flat and everyone concludes the idea did not work.

Power is not a property of a test in the abstract. It is always power *to detect a specific effect size*, and quoting it without one is meaningless. The same experiment might have 95% power to detect a 10% lift, 45% to detect a 3% lift, and essentially none to detect a 0.5% lift. So the design question is never "is this test powered?" but "what is the smallest change worth shipping, and can this test see it?" That smallest change is the minimum detectable effect, and choosing it is a business decision that gets outsourced to statistics far more often than it should be.

Four things move power, and only one of them is usually treated as adjustable. Sample size raises it, but with square-root returns: halving the detectable effect costs four times the users. A larger true effect is easier to find, which is why big wins surface quickly and marginal ones need patience. A looser significance level raises power by lowering the bar, trading one error rate for the other. And lower variance in the outcome raises it for free — which is the entire appeal of CUPED, of trimming outliers, and of choosing a less volatile metric, all of which buy sensitivity without buying traffic.

The consequence people underestimate is what low power does to the results that *do* clear significance. In an underpowered test, the only effects large enough to cross the line are the ones noise happened to inflate — so the winners you see are systematically overstated, sometimes by a factor of two or more. This is the winner's curse, and it is the mechanism behind the familiar complaint that A/B test lifts never materialise in the P&L. We take that apart in why the uplift in A/B tests often differs from real-world results.

One rule follows from all of this: compute power before the experiment, never after it. Post-hoc power calculated from the observed effect is a deterministic function of the p-value and adds no information at all — a non-significant result mechanically yields low power, so it can never explain anything. If the test has already run and come back flat, the useful object is the confidence interval, which says directly which effect sizes remain plausible.

The formula

Power is one minus the type II error rate. For a two-sided test of two proportions or two means it has a closed form built from the standard normal quantiles, which is what every sample-size calculator inverts.

Definition
power = 1 − β = P( reject H₀ | H₁ true )

β is the type II error rate. The 80% convention comes from Cohen, who reasoned that a false negative is about four times less costly than a false positive — a trade worth checking against your own situation rather than inheriting.

Power of a two-sided test
power = Φ( |δ|/SE − z₁₋α/₂ )

Φ is the standard normal CDF, δ the true effect and SE its standard error. Everything that raises power raises the term inside Φ: bigger effect, smaller SE, looser α.

Sample size per arm, two proportions
n = ( z₁₋α/₂ + z₁₋β )² · ( p₁(1−p₁) + p₂(1−p₂) ) / (p₁ − p₂)²

The squared effect in the denominator is the square-root law in disguise: detecting half the effect costs four times the sample. Computed for you by the A/B test sample size calculator.

The usual quantiles
z₁₋α/₂ = 1.960 at α = 0.05; z₁₋β = 0.842 at 80%, 1.282 at 90%

Moving from 80% to 90% power multiplies the required sample by about 1.34 — the cheapest reliability upgrade available on most tests.

Worked example

Your checkout converts at 4.0%. Product will not ship anything below a 5% relative lift, so the effect to detect is 4.0% against 4.2%. You have 60,000 sessions per arm available in a two-week window and want to know whether that is enough, at the conventional 5% two-sided level.

Baseline rate
4.0%
Minimum detectable effect
+5% relative (4.0% → 4.2%)
Significance level (α)
0.05, two-sided
Sessions available per arm
60,000
Sample size needed for 80% power
≈ 176,000 per arm

With 60,000 sessions per arm the test has about 38% power to detect a 5% relative lift. Reaching 80% would take roughly 176,000 per arm — about six weeks rather than two.

This test is far more likely to miss a genuine 5% lift than to find it. Running it anyway is worse than not running it, because a flat result will be read as "the idea did not work" and the idea will be dropped. Three options are honest and one is not. Run for six weeks. Reduce variance — [CUPED](/glossary/cuped) on a pre-period conversion covariate typically cuts the required sample by 20-40% here. Or accept a larger minimum detectable effect and say out loud that the test can only find a lift of 8% or more. The dishonest option is to run the two weeks, get p = 0.31, and report that the change had no effect.

Common misconceptions

The test came back non-significant, so the change does not work.
Only if the test had the power to detect a change worth having. A flat result from a 38%-powered test is close to uninformative — it is the outcome you would expect most of the time even if the effect were exactly the size you were hoping for. Check the confidence interval: if it still contains effects you would have shipped, the experiment has not answered the question.
We can calculate the power of the test we just ran from its result.
Observed or post-hoc power is a one-to-one function of the p-value and contains no additional information. A non-significant result always yields low observed power, so it can never be evidence that low power explains the null. The only power calculation that means anything is the one done before the data existed, against an effect size chosen on business grounds.
80% power is the standard, so 80% is the right choice.
It is a convention, and Cohen offered it as one. It says a false negative is worth about a quarter of a false positive, which is defensible for an exploratory test and indefensible for a decision you will not revisit for two years. When the cost of missing a real effect is high — a pricing change, a migration, anything hard to re-test — 90% or 95% is the more sensible target, and it costs 34% or 66% more sample respectively.

Frequently asked questions

How much power should I design for?
80% is the default and is reasonable for routine, repeatable tests where missing an effect just means you will find it next quarter. Raise it when re-running is expensive or impossible: 90% costs about 34% more sample than 80%, and 95% about 66% more, which is usually cheaper than the cost of abandoning a good idea on a false negative. Lower than 80% is rarely defensible, because below about 50% power the test is more likely to miss a real effect than to find it.
How can I increase power without more traffic?
Reduce variance rather than raise sample size. Variance reduction techniques such as CUPED use pre-experiment data to strip out predictable variation and commonly cut the required sample by 20-50% on metrics with a strong pre-period correlate. Choosing a less volatile primary metric helps for the same reason, as does trimming or winsorising extreme values on revenue-style outcomes. Triggering the analysis on users who actually reached the changed surface is often the biggest single win, since diluting the sample with users who never saw the change dilutes the effect.
Does testing several metrics affect power?
Yes, and in the direction people do not expect. Correcting for multiple comparisons lowers the significance threshold for each individual test, and a stricter threshold means lower power at the same sample size. Testing five metrics with a Bonferroni correction takes each one to a 1% level, which costs roughly 40% more sample to hold power constant. This is one of the strongest practical arguments for nominating a single primary metric in advance.
Is power calculated differently for equivalence tests?
The idea is the same but the target changes. In an ordinary test you power against the smallest effect worth detecting; in an equivalence or non-inferiority test you power against the equivalence margin — the largest difference you are willing to call irrelevant. These tests generally need more sample than their conventional counterparts because proving two things are close is a stronger claim than failing to prove they differ.

Related terms

  • A/B testing

    A randomised experiment on live traffic — and randomisation is the only part that makes it causal.

  • Confidence interval

    The range your data can actually support, and why it answers the business question a p-value cannot.

  • CUPED

    Use pre-period data to strip out noise — the same test, 20-50% less traffic, no change to the estimate.

  • Effect size

    How big the difference is — the number a p-value throws away and a business case runs on.

  • Minimum detectable effect

    The smallest lift you designed to catch — a business decision that gets outsourced to statistics.

  • Sample size

    Four inputs, one number, fixed before the test runs — and the square law that makes small effects expensive.

  • Significance level

    The false-positive rate you agree to in advance — a budget, and one most teams overspend.

  • Type II error

    The false negative — invisible by nature, which is why nobody counts how many good ideas it kills.

Calculate it

  • A/B test sample size

    Size a two-proportion experiment before you launch, then read the lift and its interval once it lands.

  • Two-sample t-test

    Compare the average of two independent groups — plan the sample size, then test the result.

  • One-way ANOVA

    Three or more independent groups on one continuous outcome — size it, then run the F test.

  • Non-inferiority: two proportions

    Show a rate has not dropped by more than you can afford — margin, direction, sample size and confidence bound.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.