analytics
How Long Should an A/B Test Run?
Two identical popups can still post different daily numbers by pure chance. Here's the statistics behind how long a test really needs to run, with charts.
Two identical popups can still get different results from day to day. That means a test that shows one version ahead after a few days does not necessarily mean that version is better. The bigger the real difference between two versions, the less traffic you need to spot it. The smaller the difference, the longer you need to run the test before you can trust the result.
Two identical popups can still look different
Imagine you split your traffic in half and show both groups the exact same popup: same offer, same discount, same design, everything. Since the popups are identical, you'd expect them to get the same results every day.
That's not what happens.
One group might have a slightly higher accept rate on Monday, while the other is ahead on Tuesday. One might get more orders on Wednesday, only for the difference to disappear a few days later. Nothing about the popup changed. The difference came from the shoppers who happened to visit each version that day.
Illustrative example: both groups have the same true conversion rate. The daily differences are normal variation, not a real difference between the popups.
This is simply how randomness works. Even if two groups are genuinely identical, their results will rarely be exactly the same. In a simulation like this one, a visible gap between two identical groups appears on a given day roughly three times out of ten. So a gap on day one, day three, or even day five does not tell you much by itself.
A small difference is harder to spot than a big one
A simple coin-flip example makes this easier to understand.
Imagine a coin that lands heads 80% of the time. Flip it ten times and you'll probably notice that something is different. You might get seven, eight, or nine heads, and the bias is fairly easy to see.
Now imagine a coin that lands heads 51% of the time. That's only slightly different from a fair coin. Flip it ten times and you could easily get three heads, eight heads, or anything in between. You'd need to flip it many more times before you could reliably tell that the coin is actually biased.
A/B tests work the same way. If one popup really performs much better than the other, the difference can become clear fairly quickly. But if the real improvement is only a few percentage points, it can easily get hidden by normal day-to-day variation. You need many more shoppers before the difference becomes clear.
Illustrative example. A large difference is easier to detect with fewer observations. A small difference needs much more data.
That's why our A/B test duration calculator uses your store's own traffic and conversion rate to estimate how long a test may need.
More traffic makes smaller differences easier to see
Every A/B test starts with a lot of uncertainty. When only a small number of shoppers have seen each version, almost any difference could simply be random.
As more shoppers enter the test, those random ups and downs matter less. The results become more stable, and smaller differences become easier to detect.
Illustrative example. Early in a test, only large differences are easy to distinguish from random variation. As more traffic comes in, smaller differences become easier to detect.
This is why test duration isn't really about picking a fixed number of days and waiting for the countdown to finish. It's about getting enough traffic to answer the question you're asking.
A big improvement may become clear quickly. A small improvement may take much longer. And if your store doesn't get much traffic, detecting a small improvement can take months.
If your store gets around 33 carts a day, for example, detecting a real 10% relative change can take roughly 13 months. That's why we wrote about why most Shopify A/B tests never finish: the problem isn't always the test itself. Sometimes the store simply doesn't have enough traffic to get a reliable answer in a useful timeframe.
What if the test never shows a clear winner?
That's still useful information.
If you keep sending traffic to both versions and the difference stays small, it may mean the two versions perform about the same. In that case, there may not be a meaningful reason to choose one based on conversion performance alone.
You can then look at other factors. Maybe one version is cheaper to run, easier to maintain, or gives shoppers a smaller discount. You don't need to force a winner just because you started an A/B test.
The important thing is not to mistake an early difference for a real one. A version that is ahead on day three can fall behind later as more shoppers enter the test.
How long should you actually run the test?
Before starting an A/B test, decide what size of improvement would actually matter to your business. Then use your traffic and conversion rate to estimate how much data you need to detect that improvement.
If the estimate says the test needs 13 months and you were planning to run it for three weeks, that's important to know before you start.
You also want to cover a normal business cycle. For a short test, we recommend running for at least two full weeks so both weekday and weekend behavior are included. A longer test may be necessary if your store doesn't get enough traffic to detect the improvement you're looking for.
You don't have to wait the entire estimated period if a large difference becomes clear earlier. The estimated duration is based on the smallest improvement you want the test to reliably detect. A much larger improvement can become clear sooner.
The three numbers to look at
Once your test has collected enough data, don't rely on a single metric. We look at three numbers, in this order, because they answer different questions.
1. Accept rate
Accept rate tells you how many shoppers who see the popup accept the offer. It is the earliest signal because almost everyone who sees the popup can contribute to this metric, so it builds data quickly.
2. Prevention rate
Prevention rate tells you how many popup views eventually result in an order. This is the metric we use to decide which version performs better because accepting an offer isn't the same as actually buying.
3. Net revenue per intervention
A version can have a higher prevention rate simply because it gives shoppers a bigger discount. That doesn't necessarily mean it creates more value for the store.
Net revenue per intervention helps answer that question by looking at the revenue generated relative to the discounts given. We don't use it to choose a winner on its own because order values can vary significantly between shoppers, which means it needs much more data before the result becomes reliable.
In simple terms: accept rate tells you whether a test is worth watching, prevention rate tells you which version performed better, and net revenue per intervention tells you whether that improvement was actually valuable.
Start your test with realistic expectations
A/B testing doesn't need to be complicated. Choose one thing to change, split your traffic between the two versions, and give the test enough time and traffic to answer the question you're asking.
The main thing to remember is that an early gap doesn't automatically mean you have a winner. A test that looks inconclusive after a few days may simply need more traffic, while a test that never shows a meaningful difference may be telling you that the two versions are not meaningfully different.
Before you start, check how much traffic your store gets and how large an improvement you're actually trying to detect. Knowing that timeline upfront is much better than spending three weeks watching a test that was never going to have enough data to give you a reliable answer.
Related reading
- How to A/B Test Your Shopify Cart Abandonment Popups
- Cart Abandonment Metrics Explained: What Every Number Means