Bell Statistics

What is minimum detectable effect (MDE)?

The minimum detectable effect is the smallest difference an experiment is designed to find reliably. It is an input to the sample size calculation, chosen on business grounds, and it fixes what a flat result is entitled to rule out.

Also called
MDE, minimum detectable lift, smallest effect of interest
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

Before you can compute a sample size, you have to answer a question statistics cannot answer for you: how small an improvement would still be worth having? That number is the minimum detectable effect. Set it at a 5% relative lift and the experiment is built to find a 5% lift four times in five; a 2% lift, if one exists, will mostly slip past unnoticed. The MDE is therefore not a prediction of what will happen — it is a statement about the resolution of the instrument you are building.

It should come from value, not from history. The right question is what improvement would justify the cost of designing, building, shipping and maintaining the change, and any lift below that is one you would not act on even if you measured it perfectly. Working the other way round — looking at past experiments and picking a plausible-sounding number — produces tests powered for whatever tends to happen rather than for what you need to know, and it is how teams end up unable to act on their own results.

The square law makes this choice expensive to get wrong in one direction. Because sample size scales with the inverse square of the effect, halving the MDE quadruples the traffic required. So a team that sets a needlessly ambitious MDE of 1% will find that no test is ever feasible, and a team that inflates it to 15% to make the numbers work will run tests that cannot detect anything they would actually ship. The honest version of the second case is to say out loud: this test can only find a 15% lift, and a flat result rules out nothing smaller.

That last sentence is the MDE's most useful function, and it is usually left unwritten. A non-significant result does not mean no effect — it means no effect *of at least the detectable size* was found. Reporting the MDE alongside a null result converts an unhelpful "it did nothing" into a precise "we can rule out anything above 8%", which is a real finding. The confidence interval does this job more directly on the actual data, and the two should be read together.

One nuance that trips people up: the MDE is not a threshold the observed effect must clear. A test designed for a 5% MDE can perfectly well detect a 12% effect — it will do so almost every time — and it can also, with luck, return significance on a 3% one. The MDE describes the effect size at which power equals the level you chose, usually 80%. Above it, power is higher; below it, lower; nothing is impossible on either side.

The formula

The MDE is the sample size formula solved for the effect instead of for n, which is the form to use when the traffic is fixed and the question is what the test can see.

MDE for two proportions
MDE = ( z₁₋α/₂ + z₁₋β ) · √( p₁(1−p₁)/n₁ + p₂(1−p₂)/n₂ )

Absolute, in the units of the rate. Divide by the baseline for the relative version people quote.

MDE for two means
MDE = ( z₁₋α/₂ + z₁₋β ) · √( 2σ²/n )

Falls with the square root of n, so quadrupling the traffic halves the detectable effect — see the A/B test sample size calculator.

Absolute against relative
MDE_relative = MDE_absolute / p_baseline

A 0.16 point MDE on a 3.2% baseline is a 5% relative lift. Reporting one while the reader assumes the other is a routine source of overstatement.

Cost of halving it
n(δ/2) = 4 · n(δ)

The single most important line on this page for anyone planning a roadmap of experiments.

Worked example

A team has 30,000 users per arm available over a two-week window on a metric with a 6.0% baseline. Rather than asking how long a test would take, they ask the more useful question: what is the smallest effect this window can actually detect, at 5% two-sided and 80% power?

Baseline
6.0%
Users per arm
30,000
Significance level
0.05, two-sided
Power
0.80
Absolute MDE
0.54 percentage points
Relative MDE
+9.0%

The window supports a 9% relative MDE. The change under test is expected to move the metric by about 3%, and the team's ship threshold is 4%.

This test should not be run as designed, and the calculation takes five minutes rather than two weeks to establish that. A 9% detectable effect against a 3% expected one means the most likely outcome by far is a flat result that says nothing — the experiment cannot distinguish a change worth shipping from no change at all. Three responses are honest. Extend to eight weeks, which quadruples the sample and brings the MDE to about 4.5%. Apply variance reduction and re-run the calculation. Or reframe the test as a directional read and agree in advance that it cannot decide anything, which is occasionally reasonable and should always be written down. Running it and reporting a null as evidence of no effect is the one option that is not available.

Common misconceptions

The MDE is our best guess at how large the effect will be.
It is the smallest effect worth acting on, which is usually much smaller than what an optimistic team expects and is chosen from business value rather than from prediction. Powering a test for the effect you hope for leaves you unable to detect the smaller-but-still-worthwhile effect that is far more likely to be what you get.
An effect smaller than the MDE cannot be detected.
It can, just less often. The MDE is the effect size at which power equals your chosen level, typically 80%. A smaller effect might reach significance perhaps 30% or 50% of the time, and a larger one nearly always. Nothing about it is a hard cutoff in either direction.
We can lower the MDE to make the test more sensitive.
Lowering it on paper does not change the instrument; it changes the sample size the calculation demands. If the traffic does not follow, the test is now under-powered for its own stated target and will produce nulls that get read as negatives. Either fund the traffic, reduce the variance, or state the larger MDE honestly.

Frequently asked questions

How do I choose the right MDE?
Start from the cost side. Estimate what building, shipping and maintaining the change will cost over a year, work out what lift would repay it, and use that. If the answer is smaller than your traffic can detect, that is genuine information: it means this change cannot be validated by experiment at your scale and the decision has to be made on other grounds. Anchoring on past experiment results instead tends to produce a number that sounds reasonable and answers no question.
My MDE is larger than any effect I expect. What now?
Do not run the test as designed. Extend the window, apply variance reduction, move to a metric with more events, or trigger the analysis at the point of exposure rather than at assignment. If none of those close the gap, the honest options are to make the decision without an experiment or to test a bolder change whose effect is within reach. What you should not do is run it and treat the null as evidence.
How does the MDE relate to the confidence interval?
The MDE is a design-time statement about what the test could see; the interval is a result-time statement about what the data actually support. They answer the same question at different moments, and the interval is the more useful of the two once results exist, because it uses the variance you observed rather than the one you assumed. Reporting both makes a null result interpretable.

Related terms

  • A/B testing

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

  • Effect size

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

  • Sample size

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

  • Statistical power

    The probability your test finds a real effect — and why most tests that report nothing were never able to.

  • 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.

  • 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.