Free beta: everything in Vinny for 14 days, no card, sign up by December 15. Join the beta

A/B testing guides · 5 minute read

How long should an A/B test run?

How to work out how long an A/B test needs from your traffic, conversion rate and the improvement you want to detect, and why a week is the minimum.

A test needs enough visitors in each version to tell a real difference from noise, and enough calendar time to cover the ups and downs of a normal week. Whichever takes longer decides when you can stop.

The three numbers that decide it

  • Your current conversion rate: lower rates need more visitors.
  • The smallest improvement you care about detecting: halving it roughly quadruples the visitors needed.
  • Your visitors a day to the tested page, and how many versions share them.

A worked example

A page converts 3% of visitors and you hope a new headline lifts that by 20% (to 3.6%). At the usual 95% confidence and 80% power, each version needs around 14,000 visitors. With two versions and 2,000 visitors a day, that's about 14 days. Hoping for a 10% lift instead would need around four times as many visitors: about two months.

The free calculator on this site does this sum for your numbers.

Why at least a week

People behave differently on Mondays and Saturdays, at the start and end of the month, and when your newsletter goes out. A test that runs Tuesday to Thursday can crown a version that only wins midweek. Run whole weeks: 7 days at least, 14 if you can. Agility won't call a winner before 7 days for this reason.

When to stop

  • You planned a run time and reached it, and the result is clear: stop and act.
  • You reached the run time and there's no clear winner: stop. The change made little difference.
  • It's been far longer than planned and still nothing: the effect is too small to matter at your traffic. Test something bolder.
  • Don't stop just because one version jumped ahead early.

Not enough traffic?

Test bigger changes, test pages higher up the funnel where more people arrive, use fewer versions, or measure an earlier goal (clicks on the button rather than completed purchases). A two-version test of a bold change beats a five-version test of small tweaks.

Get Vinny updates

Release notes, new features and the occasional tip, about once a month. Unsubscribe any time.