Skip to content
Confidence
  • Documentation
  • Blog
  • Bootcamp
  • Status
  • Confidence Bootcamp
    • My learning
    • Intro to experimentation
      • Introduction
      • Lesson 1: Why you should experiment
      • Lesson 2: Experiment hypothesis
      • Lesson 3: Success and guardrail metrics
      • Lesson 4: Success metrics
      • Lesson 5: Set up your experiment
      • Lesson 6: Calculation frequency
      • Lesson 7: Target audience
      • Lesson 8: Sample size
      • Lesson 9: Quality assurance
      • Lesson 10: Run your experiment
      • Lesson 11: Evaluate your experiment and make a decision
      • Lesson 12: A/B tests and rollouts
      • Course wrap up
    • Intro to metrics
      • Introduction
      • Lesson 1: What is a metric?
      • Lesson 2: Metric roles
      • Lesson 3: Time considerations
      • Lesson 4: Capturing behavior
      • Lesson 5: Strategic metrics
      • Lesson 6: Interpretability
      • Lesson 7: Feasibility and sensitivity
      • Lesson 8: Variance reduction and metric selection
      • Lesson 9: Select metrics
      • Lesson 10: Segment-level analysis
      • Course wrap up
    • Scientific product development
      • Introduction
      • Lesson 1: Why you should experiment
      • Lesson 2: The scientific method
      • Lesson 3: Randomized controlled trials
      • Lesson 4: Experiment hypothesis
      • Lesson 5: Case study
        • Case study
        • Answers to case study
      • Lesson 6: Why do we need statistics?
      • Lesson 7: Success metrics
      • Lesson 8: Detectable effects and sample size
      • Lesson 9: Make a decision
      • Course wrap up
    • A primer on hypothesis testing
      • Introduction
      • Lesson 1: Introduction to hypothesis testing
      • Lesson 2: True vs estimated effects
      • Lesson 3: Sampling distribution of the difference-in-means estimator
      • Lesson 4: Z-tests and how to reject the null hypothesis
      • Lesson 5: False postive rate and alpha
      • Lesson 6: True positive rate, MDE, and power
      • Course wrap up
    • Intro to Feature Flags
      • Introduction
      • Lesson 1: What is a feature flag?
      • Lesson 2: Lifecycle of a feature flag
      • Lesson 3: Clients
      • Lesson 4: Evaluation context and targeting
    • Sample size calculation - I
      • Introduction
      • Lesson 1: What is the required sample size?
      • Lesson 2: Alpha and power
      • Lesson 3: Baseline mean and variance
      • Lesson 4: Sample size playground - I
    • Sample size calculation - II
      • Introduction
      • Lesson 1: Multi-metric decision making
      • Lesson 2: Number of success metrics
      • Lesson 3: Number of guardrail metrics
      • Lesson 4: Number of comparisons
      • Lesson 5: Sample size playground - II
    • Sample size calculation - III
      • Introduction
      • Lesson 1: Binary metrics
      • Lesson 2: Treatment group proportions
      • Lesson 3: Variance reduction
      • Lesson 4: Sequential testing and sample size
      • Lesson 5: Sample size playground - III
    • Advance your experimentation
      • Introduction
      • Lesson 1: Guardrail metrics with non-inferiority margins
      • Lesson 2: Choose evaluation frequency
      • Lesson 3: Metrics' roles in experiments
      • Lesson 4: Cumulative holdback evaluations
    • Experimentation culture
      • Introduction
      • Lesson 1: Onboarding into experimentation
      • Lesson 2: Empowering experimentation champions
      • Lesson 3: Sustaining the experimentation culture
    • Videos

Lesson 8: Set the sensitivity of the experiment with the minimum detectable effect (MDE)

Summary

In this lesson, you learn about the minimum detectable effect (MDE) and how you use it to set the sensitivity of an experiment.

The Minimum Detectable Effect (MDE):

  • Decides how small effects in your metrics you can detect.
  • The smaller MDE you choose, the larger the sample size you need for your experiment.

After deciding which metric to use to measure success, you need to define what effect size you want the experiment to be able to detect. This effect size is called the "minimum detectable effect" (MDE), or "minimum relevant effect". Use the MDE to set up the experiment so that it has enough sensitivity to detect meaningful effects.

Picking the MDE is a trade-off between:

  • the smallest effect relevant for the business
  • the smallest effect that's practically measurable with the sample size you can reach in your experiment

As an experimenter, you can use your domain expertise and discuss with stakeholders to decide what is the smallest effect that you would consider meaningful. In the next step, you calculate what sample size you need to be able to reliably measure this effect. If the sample size required to measure the chosen MDE is unrealistically large, then you need to adjust the MDE upwards.

One way to understand the minimum detectable effect (MDE) of an experiment is to imagine your experiment as a microscope.

Illustration: MDE as the resolution of a microscope

Microscope image

Imagine looking at tissue-sample under a microscope. The more you zoom in, the more details you can see. Changes to the sample that would be hard or impossible to see at one level of magnification become clear at a higher level of magnification. The minimum detectable effect (MDE) in an experiment is like the resolution of a microscope. It is the smallest change that you want to be able to see. If you want to be able to see smaller changes, you need a higher resolution. In experiments, you can increase the 'resolution' or sensitivity by increasing the sample size. The larger the sample, the smaller changes you can detect. Just like you cannot zoom in on a microscope indefinitely, you cannot detect arbitrarily small changes with an experiment, because you don't have an infinite number of users.

Learn about the Minimum Detectable Effect (MDE) and how to set it in your experiment in 3 minutes and 43 seconds.

Reader exercise

What is the purpose of the minimum detectable effect (MDE) in an experiment?

Was this page helpful?

PreviousLesson 7: Success metrics
NextLesson 9: Make a decision

© Copyright 2026. All rights reserved.

Follow us on TwitterFollow us on GitHub

On this page

  1. Illustration: MDE as the resolution of a microscope