Experimentation

A/B Test Sample Size, MDE & Duration Calculator

Set the smallest improvement worth acting on, then calculate how many visitors and calendar days your test needs.

Fixed-horizon Z-tests assume independent observations and a decision rule set in advance. Repeated peeking or stopping when p crosses a cutoff needs a sequential design or an appropriate adjustment.

See the equations

Inputs

Change the inputs to recalculate the experiment.

%
%

Readout

Local calculation

Sample per arm
8,568
Total eligible visitors
17,136
Runtime
12 days

Runtime assumes equal allocation and a steady flow of eligible visitors across all arms.

Sample size by detectable effect

Sample size sensitivityEstimated visitors per arm fall as the minimum detectable effect rises. The dot marks the entered effect.Relative MDE017.92K35.84K7.5%13.12%18.75%24.37%30%
Every point uses the same traffic, power and comparison settings. The marked point is your chosen MDE.

All results

Runtime in weeks
1.71 weeks
Variant conversion at MDE
9.2%
MDE in percentage points
1.2 pp
MDE relative to baseline
15%
Alpha per comparison
5%
Variant vs Control comparisons
1

MDE sensitivity

Relative MDEPer armTotalDays
7.5%33,18766,37445
11.25%14,99229,98420
15%8,56817,13612
22.5%3,9287,8566
30%2,2764,5524

Frequently asked questions

What is the difference between a relative MDE and percentage points?

Starting at 10%, a 20% relative improvement raises the target rate to 12%. The same change is 2 percentage points.

Which comparisons does the Bonferroni option cover?

It divides the family alpha by the number of treatment arms. Each comparison is one treatment against the shared Control. All-pairs analysis would have a different comparison count.

How does the sample size calculator convert visitors to days?

It divides the rounded total sample by eligible traffic across all arms and rounds up to a whole day. Treat weekly demand swings, downtime and reporting lag as scheduling inputs.