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.
Inputs
Change the inputs to recalculate the experiment.
Readout
- 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
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 MDE | Per arm | Total | Days |
|---|---|---|---|
| 7.5% | 33,187 | 66,374 | 45 |
| 11.25% | 14,992 | 29,984 | 20 |
| 15% | 8,568 | 17,136 | 12 |
| 22.5% | 3,928 | 7,856 | 6 |
| 30% | 2,276 | 4,552 | 4 |
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.