Find out how many visitors your A/B test needs, and how long it will take, before you launch it.
Per variant
—
Total visitors
—
Test duration
—
How to use it
- Baseline conversion rate: the current rate of the metric you want to move, for example 3% of visitors who start checkout.
- Minimum detectable effect: the smallest relative improvement worth detecting. 10% means a change from 3.0% to 3.3%. Smaller effects need far more traffic.
- Significance and power: 95% significance and 80% power are the common defaults. Higher values protect you from wrong conclusions but need more visitors.
- Visitors per day: the traffic that will actually enter the test, across all variants.
How the numbers are calculated
The calculator uses the standard formula for a two-sided test comparing two proportions (normal approximation). With more than two variants, the significance level is divided across the comparisons with control (a Bonferroni correction), which is conservative but keeps your false-positive rate under control. The duration is rounded up, and we recommend running whole weeks so weekday and weekend behaviour are both included.
What if the test would take too long?
- Test a bigger change. Bold changes produce larger effects, which need fewer visitors to detect.
- Move the metric up the funnel. “Added to cart” happens more often than “purchased”, so it reaches significance sooner (check it still predicts revenue).
- Use fewer variants. Every extra variant splits your traffic further.
- Do research instead. With very low traffic, user interviews and session recordings will teach you more per week than an underpowered test.
Choosing a testing tool? See our comparison of A/B testing tools.