The minimum detectable effect (MDE) is the smallest change in a metric, such as conversion rate, that an experiment can detect with a reasonable probability, given a particular sample size, significance level and statistical power. It is set before launching the test and helps estimate how many visitors, and therefore how many days, the experiment will need. A small MDE requires more data; a large one requires less.

How it works

The MDE depends on four variables: the sample size (n), the significance level (α, usually 0.05 in a two-sided test), the power (1 − β, often 0.80) and the variability of the metric. If you fix three of them, the fourth is determined. In practice, teams fix α, the power and the available traffic, and then calculate the smallest difference the experiment will be able to detect.

It is important to distinguish between absolute and relative MDE. Imagine a baseline conversion rate of 4% and an absolute MDE of 0.4 percentage points. The variant would need to reach 4.4% to be detected. In relative terms, that is a 10% improvement over the baseline. Both expressions describe the same requirement, but the relative one is usually more useful when comparing projects with different baselines.

Keep in mind what the MDE actually means. It is not the effect you expect to obtain, but the threshold that marks what the test can see. If the real effect is smaller than the MDE, the experiment will probably be inconclusive. That does not prove that the variant fails; it only shows that the design lacked the sensitivity to detect a change of that size.

Finally, the relationship is inverse and quadratic. Halving the MDE roughly quadruples the sample size needed. This is why pursuing very small improvements on websites with limited traffic is often unfeasible, regardless of how well the test is designed.

Practical example

Imagine an online store with a baseline conversion rate of 4% that wants to test a new purchase button on its product pages. It uses a two-sided α of 0.05 and 80% power. As a rough guide, the sample size per group can be estimated with the rule n ≈ 16 · p · (1 − p) / δ², where p is the baseline rate and δ is the minimum absolute difference. A statistical calculator or experimentation software will give more precise figures.

Suppose the team only wants to detect a relative improvement of 10%, so δ = 0.4 points, or 0.004. Then n ≈ 16 · 0.04 · 0.96 / 0.004² = 0.6144 / 0.000016 = 38,400 visitors per group. If the site receives 4,000 visitors a day split 50/50, that is 2,000 per group daily, so the test would last about 20 days.

Now imagine that, under calendar pressure, the team accepts a relative MDE of 20%, meaning δ = 0.8 points (0.008). Then n ≈ 0.6144 / 0.000064 = 9,600 per group, or about 5 days with the same traffic. The test is faster, but it will only detect large improvements. A real 10% gain would fall below the threshold and could easily go unnoticed.

How to apply it step by step

  1. Define the primary metric and calculate its baseline rate from historical data taken from a stable period, avoiding atypical campaigns or seasonal spikes.
  2. Set the significance level and the power, usually 0.05 and 80%, and record whether the test is two-sided or one-sided.
  3. Ask the business what improvement would justify implementing the variant, and express that figure as both an absolute and a relative MDE.
  4. Calculate the required sample size per group using a reliable calculator or statistical software.
  5. Estimate the duration by dividing the sample by the daily traffic each variant will really receive, and add a margin to cover weekly cycles.
  6. Compare the timeline with the team’s capacity. If it is not feasible, revisit the MDE, prioritise changes with higher expected impact, or bundle related modifications.
  7. Record the MDE, the sample size and the expected duration in the experiment file, and do not change the threshold once the test has started.

Common mistakes

  • Confusing the MDE with the expected effect and treating it as a prediction of the result.
  • Choosing an MDE that is too small without considering traffic, which can stretch a test over several months.
  • Reading a non-significant result as proof that there is no effect, when the test may simply have lacked power.
  • Mixing absolute and relative MDE in team discussions, which creates different expectations about the same experiment.
  • Stopping the test before reaching the calculated sample because an apparently large difference has appeared, which increases false positives.
  • Forgetting that the baseline rate changes over time, which can invalidate the original calculation.

Best practices

  • Set the MDE according to what matters to the business, not according to the result you would like to obtain.
  • Use the same formula or tool across experiments so that projects can be compared fairly.
  • Document the assumptions: baseline rate, α, power, test type and data source.
  • Calculate the achievable MDE before prioritising hypotheses. With limited traffic, reserve tests for changes with potentially high impact.
  • Monitor the real baseline during the test to detect deviations early.
  • If the MDE is unattainable, redesign the study before forcing conclusions from inconclusive data.

Frequently asked questions

Is the MDE the same as uplift?

No. Uplift is the improvement you observe or estimate after the experiment. The MDE is the minimum threshold that the design can detect before it is launched. The observed uplift may end up above or below the MDE, and its interpretation depends on statistical significance and on the confidence interval.

What MDE value should I use?

There is no universal value. It depends on how much a specific improvement is worth to the business and on how much traffic you have. Many teams start by asking which minimum change would justify implementing the variant, and then check whether the resulting timeline is manageable. It is a business decision supported by statistics.

Can I change the MDE during the experiment?

It is not advisable. Changing the threshold after seeing the data introduces bias and can increase false positives. If conditions really change, the right approach is to document it, recalculate and, if necessary, plan a new test with updated assumptions.