How the Minimum Detectable Effect, Statistical Power, and Alpha Determine the Required Sample Size for an A/B Test
The required sample size for an A/B test is a rigid mathematical output dictated by three interlocking constraints. Adjusting the Minimum Detectable Effect, statistical power, or alpha forces a direct trade-off with the amount of traffic needed to reach a valid conclusion.
By Logan Price
- High-Certainty Advocates
- Prioritize strict alpha and high power to prevent costly false positives and false negatives.
- High-Velocity Advocates
- Favor larger MDEs to minimize sample size requirements and accelerate testing cycles.
- High-Sensitivity Advocates
- Argue for low MDEs to capture compounding marginal gains in mature products.
Perspectives this story doesn't cover
- Bayesian Statisticians
- Product Managers
Product managers and marketers frequently claim that running an A/B test simply requires waiting until a dashboard shows a statistically significant result, treating sample size as a flexible afterthought. However, the mathematical reality of experimental design contradicts this approach. The required sample size is a rigid mathematical output determined before the test even begins, dictated by three interlocking constraints: the Minimum Detectable Effect (MDE), statistical power, and the significance level (alpha).
If an experimenter launches a test without fixing these three dials in advance, they risk running an underpowered test that produces false negatives or illusory winners that vanish upon full deployment. As Wikipedia's statistical documentation notes, power is a function of the specific test used, the sample size, and the effect size [5].[5]
The first and most sensitive dial is the Minimum Detectable Effect. MDE represents the smallest true effect size that a study can detect with a specified probability given the available sample size [1]. It acts as a business decision translated into mathematics: what is the smallest conversion rate change that would justify the engineering cost of implementing the winning variant?[1]
Many teams overestimate the effect size they expect to see, which is a primary cause of underpowered tests. Because MDE scales with the inverse square root of the sample size, the penalty for seeking smaller effects is severe [1]. According to MetricGate's testing documentation, halving the MDE requires four times the sample size [1].[1]
The second dial is statistical power, which acts as the experiment's defense against false negatives, or Type II errors. Power is the probability of finding a difference between the performance of the control and variant, assuming a true difference actually exists [3].[3]
The second dial is statistical power, which acts as the experiment's defense against false negatives, or Type II errors.
SplitMetrics notes in its 2023 testing manual that a power level of 0.80 is considered standard best practice across the industry [3]. This means there is an 80% chance of the test identifying a significant difference if one exists, leaving a 20% risk that a genuine improvement will go undetected.[3]
Some data science teams push for 90% power when missing a true effect would be financially costly, though this requires a substantially larger sample size [4]. The choice between 80% and 90% power directly impacts the duration of the experiment and the traffic allocation required.[4]
The third dial is the significance level, commonly known as alpha, which controls the false positive rate, or Type I errors. Alpha is the statistical evidence required before declaring a result significant, typically set at 5% [2]. This means the experimenter accepts a 5% risk of detecting an effect that is entirely due to random variance.[2]
Tightening alpha from 5% to 1% reduces false positives but simultaneously reduces statistical power unless the experimenter compensates by adding significantly more data [4]. These three dials—MDE, power, and alpha—form a four-way mathematical constraint with sample size; fixing any three automatically determines the fourth [1].[1][4]
MetricGate provides a concrete 2026 example of this constraint in action: "Suppose your baseline conversion rate is 5%, you have 10,000 users per arm, alpha = 0.05, power = 0.80. Using the normal approximation for proportions, the MDE is about 0.6 percentage points" [1].[1]
In that scenario, the test can reliably detect a shift from 5.0% to 5.6%. If the smallest improvement that would justify launching the new feature is 0.3 percentage points, the experiment as designed simply cannot detect it [1]. The math forbids it, regardless of how long the dashboard runs.[1]
To resolve this mathematical gridlock, teams must either collect more users, run the test longer, switch to a more sensitive target metric, or reduce variance through advanced statistical techniques like CUPED [1]. Sample size remains the unavoidable toll paid to navigate the trade-offs between the risk of missing a winner and the operational cost of waiting for data.[1]
Viewpoints in depth
The High-Sensitivity Strategy (Low MDE)
Prioritizing the detection of minor improvements at the cost of massive sample sizes.
**For:** Captures subtle, compounding gains (e.g., a 1% relative lift) that are crucial for mature products with high baseline traffic. **Against:** Halving the MDE quadruples the required sample size, making tests prohibitively slow for most teams. **Evidence:** A test seeking a 0.3 percentage point absolute lift on a 5% baseline requires vastly more traffic than one seeking a 0.6 point lift. **Fits well when:** The product has millions of daily active users and small relative gains translate to massive revenue. **Does not fit when:** The startup is early-stage and needs rapid directional feedback over precise measurement.
The High-Certainty Strategy (High Power & Low Alpha)
Minimizing both false positives and false negatives by tightening statistical thresholds.
**For:** Protects the user experience from false positives (Type I errors) by lowering alpha to 1%, and prevents missed opportunities (Type II errors) by raising power to 90%. **Against:** Both adjustments demand significantly more data, delaying time-to-insight. **Evidence:** While 80% power and 5% alpha are standard, high-stakes changes like pricing model overhauls justify the data penalty of stricter thresholds. **Fits well when:** The cost of implementing a false winner is catastrophic, or the change is difficult to reverse. **Does not fit when:** The team is testing low-risk UI tweaks where speed to market outweighs the risk of a false positive.
The High-Velocity Strategy (High MDE & Standard Power)
Accepting a larger Minimum Detectable Effect to reach statistical significance quickly.
**For:** Allows teams to iterate rapidly, testing bold redesigns rather than minor button color changes. **Against:** The test will be blind to moderate improvements, routinely failing to reach significance for real effects below the MDE threshold. **Evidence:** By setting a higher MDE, the required sample size drops exponentially, allowing a test to conclude in days rather than weeks. **Fits well when:** The team is testing major feature additions or redesigns where only large behavioral shifts matter. **Does not fit when:** The product is highly optimized and large behavioral shifts are mathematically unlikely.
Sources
[1]MetricGateHigh-Sensitivity AdvocatesMinimum Detectable Effect Explained
Read on MetricGate →
[2]StatsigHigh-Certainty AdvocatesUnderstanding statistical power in A/B testing
Read on Statsig →
[3]SplitMetricsHigh-Velocity AdvocatesCalculating Sample Size for A/B Testing: Formulas, Examples & Errors
Read on SplitMetrics →
[4]DRIPHigh-Certainty AdvocatesStatistical Power in A/B Testing: Why 80% Isn't Always Enough
Read on DRIP →
[5]WikipediaHigh-Velocity AdvocatesStatistical power
Read on Wikipedia →
[6]Factlen Editorial TeamSynthesis by Factlen editorial team
Read on Factlen Editorial Team →
Comments
More in Data & Analysis
See all →Imbalanced Data
Evidence Pack: The Accuracy and Trade-Offs of SMOTE Versus Class Weights in Imbalanced Data
6 sources
Ensemble Methods
Evidence Pack: How Bagging Reduces Variance While Boosting Reduces Bias in Ensemble Models
7 sources
Causal Inference
Evidence Pack: The Accuracy and Limits of Propensity Score Matching in Observational Research
6 sources
Search Traffic
Publishers Forecast 43% Drop in Google Search Traffic Over Three Years Due to AI Overviews
8 sources
Every angle. Every day.
Get Data & Analysis stories with full source coverage and perspective breakdowns delivered to your inbox.




