“Run it for two weeks” is the most common answer to how long an A/B test should last, and it is right only by accident. The length of a test is not a calendar decision. It follows from three things you can know before the test starts: how many visitors you get, how often they convert, and how small a difference you need to be able to see.
Work those out first and the test has a length. Skip it and the test usually ends when someone gets impatient, which is the moment it is most likely to mislead.
Length comes from the sample size, not the calendar
A test needs enough visitors in each version for a real difference to stand out from chance. Two identical pages will never convert at exactly the same rate over a week, because visitors arrive at random. The smaller the difference you want to detect, the more visitors it takes before a real difference can be told apart from that noise.
So the order of work is:
- Decide the smallest improvement that would be worth acting on.
- Work out how many visitors each version needs to detect it.
- Divide by your daily traffic to get the days, then round up to whole weeks.
Working out the sample size
The usual standard is 95% confidence, meaning a 5% chance of declaring a winner when there is no real difference, and 80% power, meaning an 80% chance of detecting a real difference of the size you chose. With a page converting at 4%, the visitors each version needs are:
| Lift you want to detect | B’s conversion rate | Visitors per version |
|---|---|---|
| 10% | 4.4% | about 39,500 |
| 20% | 4.8% | about 10,300 |
| 25% | 5.0% | about 6,700 |
| 50% | 6.0% | about 1,900 |
Halving the lift you want to detect roughly quadruples the visitors needed. That is the whole reason small sites cannot test small changes: a 10% improvement on a 4% page needs nearly 80,000 visitors in total before it can be told apart from luck. At a 2% baseline the numbers roughly double again; detecting a 20% lift there takes about 21,000 visitors per version.
The A/B test sample size calculator works this out before a test starts, from your conversion rate, the smallest lift worth detecting and your daily traffic, and turns it into days. Once a test is running, the A/B test calculator reports, alongside its significance result, how many visitors per version a test would need to detect the difference you observed.
Turning visitors into days
A page with 1,000 visitors a day, split evenly, gives each version 500 a day. To detect a 25% lift from 4% (about 6,700 per version), the test needs 14 days: exactly two weeks. To detect a 20% lift it needs about 21 days, three weeks. To detect 10% it needs about 79 days, nearly three months, and at that point the honest answer is usually to test something bolder.
Round up to whole weeks even when the arithmetic gives a shorter run. Visitors on a Monday morning and a Saturday night behave differently, and a test that ends mid-week weights some days more than others.
Why full weeks, and sometimes longer
Two further things stretch a test.
- Conversion delay. If people often convert days after their first visit, a test cut short misses conversions that belong to it. For campaign experiments in Google Ads, Google recommends running at least four to six weeks, longer when there is a long conversion delay, and allowing one to two conversion cycles for results to settle.
- Learning periods. When a test changes something an automated bidding strategy reacts to, Google notes that each arm has to finish its learning phase, typically seven to fourteen days, before its results mean much.
A landing page test with fast conversions and steady traffic can run on the arithmetic above. A bidding experiment in an ad account needs the longer horizon.
Why you should not stop at the first significant result
The 95% confidence level holds when you look at the result once, at the planned end. Looking every day and stopping the first time the result crosses the line breaks it. Each look is another chance for random variation to cross the threshold, and over a few weeks of daily checks the chance of a false winner rises far above 5%.
There are statistical methods built for checking as you go, but they set stricter thresholds to pay for the extra looks. The simple, reliable rule is the one in the opening section: decide the sample size first, and read the result when it is reached.
When a test will never finish
If the sample size works out at months, there are three honest options.
- Test a bigger change. A new offer, a different page structure or a different headline promise can produce lifts large enough to detect with the traffic you have.
- Test higher up the funnel. More visitors click a button than complete a purchase, so a test on clicks reaches its sample size sooner. Check later that the extra clicks became sales.
- Do not test. Make the change that sound practice supports, watch the numbers, and keep the testing budget for decisions where it can give an answer.
Setting up the split correctly
A test can be the right length and still wrong if the two groups differ for reasons other than the change.
- Assign at random. Visitors should be split by chance, not by day, device or source.
- Run both versions at the same time. Version A last month and version B this month is a comparison of two months.
- Check the split. If you asked for 50/50 and the counts come back at 5,400 against 4,600 on 10,000 visitors, something is sending visitors to one side, and the result cannot be trusted until it is fixed.
- Keep everything else still. A price change, a new campaign or a site outage during the test affects both versions, but not always equally.
Testing inside a Google Ads account
Google Ads has its own experiments, which split a campaign’s traffic between the original and a changed version. The rules there follow from how the account works. Google notes that the traffic split cannot be changed once the experiment is set up, so a different split means a new experiment. Larger campaigns reach significance sooner, and smaller ones need the longer horizon described above. A good use is a change too risky to make outright, such as a new bid strategy or a large restructure, where an experiment limits the damage if it goes wrong.
What to test first
With limited traffic, the order of tests matters as much as their length. Start with the changes most likely to produce a large difference, because those are the only ones a small site can detect.
- The offer. Price, guarantee, what is included, how fast it is delivered.
- The promise in the headline, and whether it matches what the searcher asked for.
- The form or checkout, where every extra step loses a share of the people who reach it.
- The page structure, such as one long page against a short one with the form at the top.
Smaller changes, such as wording, images and button styles, come later, on pages with enough traffic to detect the small differences they make.
What a finished test does not prove
A significant result says the difference was unlikely to be chance during the test. It does not say the difference will last. A new design can win on novelty and fade, a test run in a sale week can favor the version built for bargain hunters, and the people who arrive next season may behave differently. Keep the losing version where you can restore it, and watch the winning one for a few weeks after the switch.
Reading the result when it ends
At the end, the questions are: is the difference significant at the level you set, how large is it likely to be, and is it large enough to act on. A result can be significant and still too small to matter, or not significant with a range that leaves a useful improvement possible. The range for the difference answers more than the yes-or-no. For the rate of a single version, the conversion rate calculator shows what each version’s rate means in conversions; for what to test in the first place, start with how to improve conversion rate.
Testing ad copy inside a live account has its own rules: change one thing at a time, keep the budget and targeting equal between the versions, and leave the test alone until it is finished. For tests that run outside an ad account, such as two versions of an email or a social post, tag each version’s link with its own utm_content value using the UTM builder, so the visits and conversions arrive in Analytics already separated.
Sources, read November 13, 2026:
- Google Ads Help, Experiments FAQs: run experiments for at least 4 to 6 weeks, longer with a long conversion delay, allow 1 to 2 conversion cycles, and let each arm finish learning (typically 7 to 14 days).