[ Power Analysis & Sizing ]
Minimum Detectable Effect (MDE) Calculator
Plan your A/B tests with statistical confidence before writing a line of code. Determine the required sample size per variation to detect a desired conversion uplift, or calculate the smallest effect size your current traffic volume can reliably uncover.
Based on standard two-proportion sample size and statistical power methodology (Fleiss / Chow / Rosner formulation), accounting for baseline rates, significance thresholds, statistical power, and traffic allocation splits. For an in-depth mathematical walkthrough and worked calculations, read our guide: How to Calculate Minimum Detectable Effect (MDE) in A/B Testing →
[ Interactive Tool ]
Calculate Sample Size & MDE
Experiment Parameters
Experiment Sizing
31,234
visitors required per variation
- Total Sample Size
- 62,468 visitors
- Expected Conversions
- ~781 per variant
- Estimated Runtime
- Enter weekly traffic
- Relative MDE
- ±10.00%
- Absolute MDE
- ±0.25% pts
- Target Variation CR
- 2.75%
[ Power Methodology ]
How the MDE and Sample Size Calculations Work
Sample size sizing in hypothesis testing requires balancing two types of statistical errors:
- Type I Error (α): Concluding that a variation won when there was no true effect (False Positive). Controlled by the significance level (typically α = 0.05 for 95% confidence).
- Type II Error (β): Failing to detect a real uplift when one actually exists (False Negative). Statistical power equals 1 – β (typically 80% or 90%).
1. Sample Size Formula (Fleiss Two-Proportion Formulation)
For a baseline proportion p1, target proportion p2 = p1(1 + MDErel), absolute difference δ = |p2 – p1|, and allocation ratio r = nB / nA (where r = 1 for equal 50/50 split), the required sample size per variation is:
v_0 = (1 + 1/r) · p_bar · (1 – p_bar)
v_1 = p_1 · (1 – p_1) + (p_2 · (1 – p_2)) / r
n_A = [ z_(α/2) · √(v_0) + z_β · √(v_1) ]² / δ²
where zα/2 is the critical value for two-tailed significance (1.95996 for α = 0.05) and zβ is the critical value for statistical power (0.84162 for 80% power, 1.28155 for 90% power).
2. Inverting for Minimum Detectable Effect
When you have a fixed traffic volume (e.g. 20,000 visitors over a planned 3-week test window), our tool inverts the power equation using iterative root-finding to compute the exact minimum effect δ that your test can detect with 80% or 90% power.
3. Relative MDE vs. Absolute MDE
A baseline conversion rate of 2.0% with a 10% relative MDE corresponds to detecting an uplift from 2.00% to 2.20% (an absolute difference of 0.20 percentage points). This tool clearly presents both metrics so teams avoid miscommunication.
[ Reference Cases ]
Worked Pre-Test Sizing Scenarios
Planning a 5% Uplift on a 5.0% Baseline
| Baseline Conversion Rate (p₁) | 5.00% |
|---|---|
| Target Relative MDE | 5.00% (detecting increase from 5.00% to 5.25%) |
| Significance & Power | 95% Confidence (α = 0.05), 80% Power (1 – β = 0.80) |
| Allocation | 50% Control / 50% Variation (r = 1.0) |
| Required Sample Size | 122,860 visitors per variation (245,720 total) |
| Expected Conversions | ~6,143 per variation |
| Strategic Takeaway | Detecting subtle 5% uplifts requires very high traffic. For lower-traffic sites, aim for bolder interventions with larger expected effect sizes. |
Available Traffic: 10,000 Visitors per Variant
| Baseline Conversion Rate (p₁) | 2.50% |
|---|---|
| Available Visitors | 10,000 per variation |
| Computed Minimum Detectable Effect | ±17.85% relative (±0.45% percentage points) |
| Detectable Variation Target | 2.95% or higher |
| Strategic Takeaway | A test on this page will only detect uplifts larger than ~18%. Minor copy tweaks will likely return inconclusive results. Focus on high-impact value proposition overhauls. |
[ Experiment Design ]
What to Do When Traffic Is Constrained
Test Upstream in the Funnel
If checkout traffic is too low to reach your required sample size within 4 weeks, test higher up on landing pages or category listing pages where traffic volume is 5x–10x higher.
Increase Effect Size (Bolder Changes)
Instead of testing button colors or small microcopy, test radical redesigns, alternative value propositions, or restructured page hierarchy that can generate 20%+ uplifts.
Combine Page Templates
Run global template-level experiments (e.g. across all product pages or blog templates) rather than testing a single individual URL, aggregating traffic across the template.
Do Not Extend Beyond 6–8 Weeks
Running an A/B test for longer than 6 to 8 weeks introduces cookie churn, seasonal distortion, and sample pollution. If a test cannot reach power in 4 to 6 weeks, rethink the scope.
[ Connected Suite ]
Related Experimentation Tools
Seamlessly transition across every stage of your CRO programme.
Significance Calculator
Analyze final experiment data with a pooled z-test to confirm if your uplift is statistically real.
CRO ROI Calculator
Model annual revenue potential based on your target minimum detectable effect.
Tools Hub
Browse our complete collection of experimentation, testing, and CRO tools.
Build an Experimentation Engine That Scales
Stop running inconclusive tests. Variant-Y helps growth teams build rigorous, high-velocity experimentation programmes that drive compound revenue gains.