← All measures
A/B test duration
Marketing · Days an A/B test must run to reach its sample size, from daily traffic and the share of it sent into the test.
Days = Sample per variant × VariantsDaily visitors × Share in test
Result
Turn on JavaScript to calculate.
How it works
Multiply the sample each variant needs by the number of variants, then divide by the visitors who enter the test each day: daily visitors times the share of traffic you send into it. Get the sample per variant from a sample size calculation first. Many teams also run whole weeks so weekday and weekend visitors are both counted.
Results are estimates for learning and planning. Check anything you rely on with a qualified professional.
