“When you know what you can spend, but aren't sure what you can get.”
Often, you know in advance how much traffic or how many users an A/B test can get. For example, the test may only run for one week, or the audience may be limited. In these cases, the question isn't how large the sample size should be, but what is the smallest effect your test can detect with that sample size and the desired statistical power.
This minimum detectable effect (MDE) calculator answers that question. Choose your KPI, enter the available sample size and your test parameters, and the calculator shows the smallest lift your A/B test is powered to detect, along with the absolute difference.
A yes/no outcome for each user (e.g., converted or not).A numeric value measured for each user (e.g., revenue, session duration).A metric calculated as the ratio of two quantities (e.g., revenue per user, clicks per impression).
When to use it
Use this calculator when your outcome is binary — for example, converted or not, signed up or not, or active on day 7 — and your test's total sample size is already fixed or limited, rather than something you are free to choose.
If you already know the effect you want to detect and need to find the required number of users instead, use the sample size calculator.
The test duration is fixed, for example a one-week campaign or a seasonal promotion.
Traffic is limited, for example on a low-traffic page, a niche segment or a B2B product.
You want to check, before launching, whether an A/B test is worth running or is likely to be underpowered.
You need to set realistic expectations with stakeholders about which effects the test can and cannot detect.
You are deciding whether to increase traffic, extend the test duration or test a bolder change.
Assumptions
The calculation assumes:
Random assignment: observations are independently assigned to the two groups.
Independent observations: each randomized unit contributes one observation, and observations from different units are assumed to be independent.
A sufficiently large sample: the calculation uses a normal approximation to the binomial. For very small expected counts, treat the result as approximate.
How the calculation works
The calculator uses the normal approximation for comparing two proportions. Given the sample size of each group, it finds the smallest increase in conversion rate that the test can detect with the specified power. Because the formula cannot be rearranged to solve for the test conversion rate directly, the calculator solves it numerically.
n₁ and n₂ are already fixed — from the total sample size you entered, split by the allocation ratio. This is the sample-size calculator's own equation, solved for p₂ instead of n₁. Because it cannot be rearranged to isolate p₂, the calculator narrows in on it numerically: it tries values of p₂ until both sides balance.
n₁ and n₂ are the control and test group sizes, calculated from the total sample size you entered.
r = n₂ / n₁ is the allocation ratio.
p₁ is the baseline conversion rate, and p₂ is the detectable conversion rate in the test group (solved for).
z_{1−α/2} and z_{1−α} are the critical values for two-sided and one-sided tests, and z_{1−β} is the critical value for the power.
Pooled proportion
p̄ = p1 + r·p21 + r
The proportion the equation's first term uses, under the null hypothesis that both groups convert at the same rate. At r = 1, p̄ is the simple average of p₁ and p₂; away from it, it is the weighted average shown here.
Lift and absolute difference
Lift = (p2 − p1)p1
Absolute difference = p2 − p1
The two ways the detectable effect is reported: as a proportion of the baseline, and on the conversion rate's own scale, in percentage points.
Interpreting the output
The detectable lift is the smallest relative improvement your A/B test can reliably detect with the available sample size, and the absolute difference shows the same effect in absolute terms (percentage points for conversion rates, or the metric's units for continuous KPIs).
If the true effect is at least as large as the minimum detectable effect, your test has a probability of at least the selected statistical power (for example, 80%) to produce a statistically significant result. Smaller effects can still reach statistical significance, but with a lower probability.
Compare the detectable lift with the effect you realistically expect from the change. If the detectable lift is larger than the expected effect, the test is underpowered and is likely to miss a real improvement. In that case, consider increasing the sample size, running the test longer, or testing a bolder change.
Worked example
Suppose your baseline conversion rate is 10% and your test can reach a total of 7,682 users, split evenly.
Baseline conversion rate
10%
Total sample size
7,682
Significance level (α)
0.05
Power (1 − β)
0.80
Allocation ratio
1 (equal allocation)
With 3,841 users per group, the smallest detectable lift is 20.00% — a conversion rate of 12.00%, an absolute difference of 2.00 percentage points.
If the true effect is at least a 20.00% lift, this sample size gives you an 80% probability of detecting it as statistically significant. A smaller true effect would still be worth having, but this test is not powered to reliably catch it.
When to use it
Use this calculator when your outcome is continuous — for example, revenue per user, session duration, or time on page — and your test's total sample size is already fixed or limited, rather than something you are free to choose.
If you already know the effect you want to detect and need to find the required number of users instead, use the sample size calculator.
The test duration is fixed, for example a one-week campaign or a seasonal promotion.
Traffic is limited, for example on a low-traffic page, a niche segment or a B2B product.
You want to check, before launching, whether an A/B test is worth running or is likely to be underpowered.
You need to set realistic expectations with stakeholders about which effects the test can and cannot detect.
You are deciding whether to increase traffic, extend the test duration or test a bolder change.
Assumptions
The calculation assumes:
Random assignment: observations are independently assigned to the two groups.
Independent observations: each randomized unit contributes one observation, and observations from different units are assumed to be independent.
Approximately normal distribution: the calculation relies on the sampling distribution of the mean being approximately normal, which holds well for reasonably large samples even if the underlying metric is skewed.
Equal variance between groups: this calculator's formula uses the pooled two-sample t-distribution (degrees of freedom = n₁ + n₂ − 2), which assumes both groups share the standard deviation you enter. If the two groups are likely to have materially different spreads, treat the result as approximate.
How the calculation works
The calculator uses the noncentral t-distribution. Given the sample size of each group, it finds the smallest effect for which the power reaches the target value.
Noncentrality parameter (λ)
λ = d√[n1n2(n1 + n2)]
Determines how far the expected effect is from the null hypothesis, based on the effect size and the two sample sizes — which are already fixed here, from the total you entered. A larger λ means the effect is easier to detect, so power increases.
Calculates the probability of detecting an effect in either direction — an increase or a decrease — at the specified significance level. The significance level is split between both tails of the distribution.
One-sided power
power = 1 − Ft(t1−α, df; df, λ)
Calculates the probability of detecting an effect in the specified direction at the given significance level. The full significance level is placed in one tail, so a one-sided test can detect a smaller effect with the same sample size.
Absolute difference and lift
δ = d·σ
Lift = δμ0
d, the standardised effect size, is solved for numerically — the smallest value for which the power above reaches the target — then converted back to your metric's own units.
Fₜ(·; df, λ) is the cumulative distribution function of the noncentral t-distribution.
t_{p, df} is the p-th quantile of the central t-distribution.
df = n₁ + n₂ − 2 is the degrees of freedom.
d = δ / σ is the standardised effect size (Cohen's d), solved for.
δ is the detectable absolute difference in means, σ is the standard deviation, and μ₀ is the baseline mean.
n₁ and n₂ are the control and test group sizes, calculated from the total sample size you entered.
Interpreting the output
The detectable lift is the smallest relative improvement your A/B test can reliably detect with the available sample size, and the absolute difference shows the same effect in absolute terms (percentage points for conversion rates, or the metric's units for continuous KPIs).
If the true effect is at least as large as the minimum detectable effect, your test has a probability of at least the selected statistical power (for example, 80%) to produce a statistically significant result. Smaller effects can still reach statistical significance, but with a lower probability.
Compare the detectable lift with the effect you realistically expect from the change. If the detectable lift is larger than the expected effect, the test is underpowered and is likely to miss a real improvement. In that case, consider increasing the sample size, running the test longer, or testing a bolder change.
Worked example
Suppose your baseline mean is 10, with a standard deviation of 1, and your test can reach a total of 128 users, split evenly.
Baseline mean
10
Standard deviation
1
Total sample size
128
Significance level (α)
0.05
Power (1 − β)
0.80
Allocation ratio
1 (equal allocation)
With 64 users per group, the smallest detectable absolute difference is 0.50 — a 5.00% lift, for an expected test-group mean of 10.50.
If the true effect is at least a 5.00% lift, this sample size gives you an 80% probability of detecting it as statistically significant. A smaller true effect would still be worth having, but this test is not powered to reliably catch it.
When to use it
Use this calculator when your outcome is a ratio metric — a value calculated as one quantity divided by another, measured per randomization unit — for example, revenue per user, clicks per impression, or items purchased per session — and your test's total sample size is already fixed or limited, rather than something you are free to choose.
If you already know the effect you want to detect and need to find the required number of users instead, use the sample size calculator.
The test duration is fixed, for example a one-week campaign or a seasonal promotion.
Traffic is limited, for example on a low-traffic page, a niche segment or a B2B product.
You want to check, before launching, whether an A/B test is worth running or is likely to be underpowered.
You need to set realistic expectations with stakeholders about which effects the test can and cannot detect.
You are deciding whether to increase traffic, extend the test duration or test a bolder change.
Assumptions
The calculation assumes:
Random assignment: observations are independently assigned to the two groups.
Independent observations: each randomization unit contributes its own numerator/denominator pair, and different units are assumed to be independent of each other.
Approximately normal distribution: the calculation relies on the delta-method approximation for the ratio's variance, which is well-behaved for reasonably large samples.
How the calculation works
The calculator uses the same normal approximation as the ratio KPI's sample-size design, based on the baseline ratio and its standard deviation. Because that formula is already a closed-form expression for the sample size, finding the detectable effect is the same equation solved for the effect instead.
Detectable effect
Δ = (z1−α/tails + z1−β)·sd·√[1 + 1/k]√[n1]
n₁ and n₂ are already fixed — from the total sample size you entered, split by the allocation ratio. This is the sample-size calculator's own equation, solved for Δ instead of n₁. sd is the ratio's own delta-method standard deviation, and k = n₂ / n₁ is the allocation ratio.
Lift and expected ratio
Lift = ΔR1
R2 = R1 + Δ
The detectable effect, reported as a proportion of the baseline ratio and as the smallest test-group ratio the design can detect.
Interpreting the output
The detectable lift is the smallest relative improvement your A/B test can reliably detect with the available sample size, and the absolute difference shows the same effect in absolute terms (percentage points for conversion rates, or the metric's units for continuous KPIs).
If the true effect is at least as large as the minimum detectable effect, your test has a probability of at least the selected statistical power (for example, 80%) to produce a statistically significant result. Smaller effects can still reach statistical significance, but with a lower probability.
Compare the detectable lift with the effect you realistically expect from the change. If the detectable lift is larger than the expected effect, the test is underpowered and is likely to miss a real improvement. In that case, consider increasing the sample size, running the test longer, or testing a bolder change.
Worked example
Suppose your baseline revenue-per-session ratio is $25, with a standard deviation of 3, and your test can reach a total of 46 users, split evenly.
Baseline ratio
$25
Standard deviation
3
Total sample size
46
Significance level (α)
0.05
Power (1 − β)
0.80
Allocation ratio
1 (equal allocation)
With 23 users per group, the smallest detectable absolute difference is $2.48 — a 9.91% lift, for an expected test-group ratio of $27.48.
If the true effect is at least a 9.91% lift, this sample size gives you an 80% probability of detecting it as statistically significant. A smaller true effect would still be worth having, but this test is not powered to reliably catch it.
Frequently asked questions
What is a minimum detectable effect?
The smallest true effect a test is powered to catch. Below it, a real effect is more likely than not to produce a result that fails to reach significance — not because nothing happened, but because the sample was too small to tell the difference from noise reliably.
How is this different from the sample size calculator?
Same statistics, opposite direction. The sample size calculator takes the effect you want to detect and tells you how many users you need. This calculator takes the number of users you already have and tells you the smallest effect that sample size can detect. Use whichever one matches which number is fixed for you.
What if the detectable lift is larger than I expect the real effect to be?
The test is underpowered for that effect: it is more likely than not to come back inconclusive even if the change genuinely works. The options are the same three that always apply — extend the test to collect more sample, increase the traffic entering it, or test a larger change that would produce a bigger effect.
Can I use this for a test that is already running?
Yes, to set expectations for how it will land — enter the total sample size you expect by the end of the test, not the count so far. It is not a substitute for checking results early: reading significance before the test reaches its planned sample, and stopping as soon as it looks significant, inflates the false-positive rate regardless of what this calculator says the design can detect.