How long should an A/B test run?

Short answer

Until every version has enough visitors and one is clearly ahead, not until a date. In the starter that means at least 100 visitors per variant and a 95% chance that one is best. Before you start, the estimate tells you how many visitors and days your page needs, based on its own conversion rate.

· FounderPublished · 1 min read

The honest answer is "until the numbers settle", and the starter turns that into rules you can see.

The rule the starter uses

A winner is suggested when both of these are true:

CheckThreshold
Visitors in every variant taking traffic100 or more
One variant's chance to be best95% or more

The chance to be best comes from 20,000 simulated draws over each variant's results, so it moves smoothly as visitors arrive instead of flipping between "significant" and "not".

Estimate before you start

On the New experiment page, the starter estimates how many visitors the test needs and how many days that takes. It starts from the page's conversion rate for your goal over the last 28 days, so the estimate fits your traffic rather than a textbook example. If it says 90 days, test a bigger change: small tweaks need far more visitors to detect.

Don't stop the moment it looks good

Early results swing. A variant that leads after a day often doesn't after a week. Let the test reach the rule above, and prefer whole weeks, so weekday and weekend visitors are both in the sample.

When nothing wins

If a test runs 28 days without a suggested winner, the experiments dashboard flags it as No clear winner. That's the signal to stop: the difference is too small to matter at your traffic. Keep the original, and spend the traffic on a bolder idea.

Filed underExperiments

Sam Rivera

Founder

Sam builds and runs the product, and answers the questions customers ask before they buy. Ten years of shipping subscription software, most of it the unglamorous parts: billing, sign-in and the pages that sell.

More from Sam