How long should an A/B test run?
Last updated: 29 November 2026.
An A/B test should run until every version has the number of visitors the test planned for before it started, not for a set number of days or weeks. How long that takes depends on 3 things: how many visitors your page gets, how many of them reach your goal today, and how big a difference you want to find. On a small website the same test can take 2 weeks on one page and more than a year on another.
The short answer
The right length for an A/B test is the time it takes to collect the visitors it needs, worked out before the test starts. A rule such as "run every test for 2 weeks" ignores your traffic. A busy page can reach its answer in a few days, and a quiet page can need months for the same change.
So the question to answer first is "how many visitors does this test need?" When you know that number, divide it by your page's visitors in a month, and you have the length. Pickbook A/B does this for you when you create a test, and the public calculator What can I test with my traffic? does the same for any page.
How long a test takes: examples
This table shows how long a test with 2 versions takes at 3 levels of traffic. The numbers come from the same maths Pickbook A/B uses when you create a test, and the times are rounded up, so they never promise a shorter test than the maths gives.
| Visitors who reach the goal today | Smallest difference to find | Visitors needed in total | At 1,000 visitors a month | At 5,000 visitors a month | At 20,000 visitors a month |
|---|---|---|---|---|---|
| 2 in 100 | Big changes only | about 9,614 | about 10 months | about 2 months | about 3 weeks |
| 2 in 100 | Medium | about 46,534 | more than a year | about 10 months | about 3 months |
| 2 in 100 | Small changes too | about 169,606 | more than a year | more than a year | about 9 months |
| 3 in 100 | Big changes only | about 6,344 | about 7 months | about 6 weeks | about 2 weeks |
| 3 in 100 | Medium | about 30,706 | more than a year | about 7 months | about 7 weeks |
| 3 in 100 | Small changes too | about 111,916 | more than a year | more than a year | about 6 months |
| 5 in 100 | Big changes only | about 3,726 | about 4 months | about 4 weeks | less than 1 week |
| 5 in 100 | Medium | about 18,044 | more than a year | about 4 months | about 4 weeks |
| 5 in 100 | Small changes too | about 65,764 | more than a year | more than a year | about 4 months |
| 10 in 100 | Big changes only | about 1,764 | about 8 weeks | about 2 weeks | less than 1 week |
| 10 in 100 | Medium | about 8,546 | about 9 months | about 8 weeks | about 2 weeks |
| 10 in 100 | Small changes too | about 31,150 | more than a year | about 7 months | about 7 weeks |
| 20 in 100 | Big changes only | about 784 | about 4 weeks | less than 1 week | less than 1 week |
| 20 in 100 | Medium | about 3,798 | about 4 months | about 4 weeks | less than 1 week |
| 20 in 100 | Small changes too | about 13,844 | more than a year | about 3 months | about 3 weeks |
Big changes only looks for a difference of 50% of the goal rate, Medium for 20%, and Small changes too for 10%. A time fits within 60 days if it is about 8 weeks or less, or if it is the one "about 2 months" in the table (2 in 100, Big changes only, at 5,000 visitors a month), which needs about 58 days. Every other time in the table, from about 3 months up, does not fit. Worked out with Pickbook A/B's own sizing code on 29 November 2026, for a test that shows both versions to all visitors of the page.
Read the table from left to right. If 3 in 100 visitors reach your goal and your page gets 5,000 visitors a month, a test of a bold change takes about 6 weeks. The same page needs about 7 months to find a Medium difference, because a smaller difference needs about 5 times as many visitors to tell apart from luck.
A goal that more visitors reach needs fewer visitors. At 20 in 100, such as a goal of clicks on a main button, a bold change on a page with 1,000 visitors a month takes about 4 weeks. At 2 in 100, such as a goal of sales or sign-ups, the same change takes about 10 months.
Each extra version adds to the time. Each version needs its own visitors, and with more than 2 versions the bar for a winner is stricter. For example, at 3 in 100 with a Medium change and 5,000 visitors a month, a test with 3 versions takes about 1 year instead of about 7 months.
Why stopping early gives wrong winners
Stopping a test as soon as one version is ahead makes a lucky result look like a winner. Early numbers change a lot. After a few hundred visitors, one version is often ahead by chance alone, and the lead shrinks or flips as more visitors arrive.
The maths behind a test assumes that you decided its size before it started. Evan Miller explains this in How Not To Run an A/B Test: if you check a test again and again and stop the first time one version looks like a winner, you find far more false winners than the method promises. His advice is to decide how many visitors the test needs in advance and wait until the test is over.
Pickbook A/B follows that advice. You can look at the numbers whenever you like, but the answer stays "Still collecting" until every version has the visitors it needs. Then the answer is taken once and stored, so it does not change if the test keeps running. Read How to tell a real difference from luck for why looking early breaks the result.
Why longer than 60 days is too long
A test that runs for more than about 2 months is hard to keep fair, because pages, prices, and seasons change while it runs. A sale, a new ad campaign, or a holiday can change who visits your page, and the test then measures a mix of things instead of your change.
Pickbook A/B asks whether a test can reach its answer within 60 days at your traffic, before the test starts. If it can't, Pickbook A/B says so and suggests a way to make the test fit. Sixty days is also the longest that your free first test runs. Your first test is free, one per website. See the pricing on Pickbook A/B for the plans after that.
Once a test has run for 7 days, Pickbook A/B adds a rough time left to the answer, such as "roughly 20 more days at the current pace". Before that, it gives the number of visitors still needed, because a few days of traffic is not a reliable pace.
How to shorten a test
You can make a test shorter by changing what you test, not by stopping it early. These are the 4 changes that help most on a small site:
- Test a bold change. A big change is one that a visitor notices within a few seconds, such as a new headline with a different promise, a different offer or price, a much shorter form, or a new page layout. A new button color or a reworded sentence is a small change. A bold change can show a big difference, and a big difference needs far fewer visitors to find.
- Count a goal closer to the change. If you change the headline above a button, count clicks on that button. More visitors reach it, so the test needs fewer of them. It answers a weaker question, because more clicks don't always mean more sign-ups.
- Test your busiest page. Your home page may get several times the traffic of the page you had in mind.
- Test 2 versions. Each extra version needs its own visitors.
When a proven answer still can't finish within 60 days, Pickbook A/B offers a good-bet answer, which needs about a third of the visitors. For example, if 3 in 100 visitors reach the goal and your page gets 6,000 visitors a month, a proven answer for a Medium difference takes about 6 months, and a good-bet answer takes about 8 weeks. A good bet is weaker than proof, so choose it only for a change that is easy to undo. You choose it when you create the test, before any visitor sees it. Read How Pickbook A/B picks a winner for what a good bet means, and A/B testing with low traffic for more ways to fit a test to a small site.
Work out your own test
Enter your page's visitors in a month and its goal rate in What can I test with my traffic?. It shows which change sizes can give a proven answer within 60 days, which can give a good bet, and how long one exact test takes. It uses the same maths as this table and as the form you fill in when you create a test.
If you don't know your goal rate, divide the visitors who reached the goal last month by all visitors to the page. For example, 45 sign-ups from 1,500 visitors is 3 in 100. Your analytics tool may call it the conversion rate.
Questions
Can I stop an A/B test when one version is ahead?
No, you should not stop a test because one version is ahead. Early leads are often luck, and stopping at the first lead finds many more false winners than the test is built for. Wait until every version has the visitors the test planned for.
Is 2 weeks enough for an A/B test?
Two weeks is enough only if your page gets enough visitors in that time. For example, at 20,000 visitors a month, a test of a bold change with a goal that 3 in 100 visitors reach takes about 2 weeks. At 1,000 visitors a month, the same test takes about 7 months.
What if my test would take a year?
A test that would take a year is too long, so change the test before you start it. Test a bolder change, count a goal more visitors reach, test a busier page, or choose a good-bet answer for a change that is easy to undo.
How many visitors do I need for an A/B test?
The number of visitors depends on your goal rate and the size of difference you want to find. If 3 in 100 visitors reach the goal, a test with 2 versions needs about 6,344 visitors in total to find a bold change and about 30,706 to find a Medium one.
Does the test have to run in whole weeks?
Pickbook A/B does not require a test to run in whole weeks. It gives its answer on the day every version has the visitors it needs, whichever day of the week that is.
Sources
- How Not To Run an A/B Test, by Evan Miller, checked on 29 November 2026.