A/B testing

How long to run an A/B test on a low-traffic Shopify store, and when to stop

Overview

How long an A/B test should run depends on how many visitors see the page and how small a difference you need to catch. At 5,000 visitors a week and a 2.5% conversion rate, catching a 20% lift takes at least 7 weeks, plus about two for orders to finish counting, and a 10% lift at least six months. A likely loser can be stopped sooner.

Stop — it's losing Demo data
An A/B test in Ordinary comparing product photos with a lifestyle video first. The verdict reads Stop “Lifestyle video first” — it's losing, with under 1% chance it beats control, above each group's visitors, revenue per visitor, conversion rate and orders. Demo data.

A/B testing with low traffic

What your traffic can and can't detect

Start with the smallest lift your traffic can show. The table assumes a 2.5% conversion rate, a 50/50 split, 95% significance and 80% power, for a test you read once at the end, and leaves out the two weeks orders take to count. A 20% lift means conversion going from 2.5% to 3.0%. Revenue per visitor varies more than conversion, so a revenue test usually needs at least as many visitors.

Smallest lift in conversion rate a test can detect, by weekly visitors and test length
Visitors to the page each week Smallest lift in 4 weeks Smallest lift in 8 weeks
2,000 43% 30%
5,000 27% 19%
10,000 19% 13%
25,000 12% 8%

At 5,000 visitors a week, even a 10% lift takes about six months to prove. Two months of testing at that traffic is sized to catch a lift of about 19% or more.

Worked example

How long should an A/B test run on your store?

Five steps give you a test length before you start, so you know what result is realistic.

1. Start from your traffic and conversion rate

Say your product page gets 5,000 visitors a week and 2.5% of them buy.

2. Pick the smallest lift worth acting on

Here, a 20% relative lift: conversion going from 2.5% to 3.0%. Anything smaller wouldn't change what you do.

3. Size the test

Enter 2.5% and 20% in the A/B test sample size calculator. It needs 16,789 visitors per version, 33,578 in total.

4. Turn visitors into weeks

33,578 ÷ 5,000 a week is 6.7 weeks. Round up to 7 so every day of the week is counted the same number of times.

5. Leave time for orders to count

A shopper who sees the test on its last day can still buy days later. In Ordinary an order counts toward a test for 14 days after the shopper first saw it, by default, so the final read comes about two weeks after the last visitors arrive.

Those seven weeks buy a single read at the end, for example in the significance calculator. Checking a fixed test every day and stopping at the first significant reading makes false winners far more common. Ordinary's A/B test significance check stays valid however often you look, and that takes far more visitors than a test read once. So treat these numbers as the least a Ship call needs, not the day it arrives.

On a store with a few thousand visitors a week, plan on the stop call and the leans below, not on a significant winner.

Stop, ship or keep running

When to stop an A/B test

Three rules hold for any test: stop a likely loser, ship only on a significant result, and decide at the length you planned. Ordinary turns them into one plain verdict per test, read on the test's goal and on revenue per visitor.

Stop a likely loser early

Every day a losing A/B test variant stays live, part of your traffic sees the weaker page. Ordinary's Stop — it's losing call comes when a version has little chance of beating your original, without waiting for the loss to be statistically significant, because stopping a loser needs less evidence than shipping a winner. So it can come earlier than a winning call.

When the stop call appears, in the help guide

Ship a winner on a significant result

A Ship call means the difference is statistically significant, however often you looked along the way, and a significant loss reads Keep control. Without either, the verdict is a stop call, a lean, a mixed result or keep running.

Read a lean as a direction, not a result

A Leaning verdict says which version is ahead and how likely it is to be ahead, with the numbers it rests on. It isn't a significant result, and it can change as more visitors arrive. It does give you something to act on instead of waiting months: keep the leader only when the change is cheap to undo, and keep testing when it isn't.

End a test that's still too close

On a low-traffic store, the planned length usually brings a lean or a stop call rather than a Ship call. Keep a test running past it only if you need a significant result. If your planned run is over and the test is still too close to call, your traffic couldn't settle it in the time you gave it. The difference may be smaller than the lift you sized for, or there may be none. End it, keep the version that's simpler to maintain, and use the visitors on a bolder idea.

Overlapping tests and bigger ideas

Get more out of limited traffic

Test bigger changes

The table above is the reason. A new offer, a different hero or a reworked product page has a chance of moving conversion enough to show up. A small tweak, like a button colour, is unlikely to move it that far.

Pick a goal more visitors reach

On most stores, far more shoppers move from a landing page to a product page than buy, and a higher rate needs fewer visitors to measure. For a test read once at the end, a 10% lift on a 40% reach rate needs 2,387 visitors per version, against 64,196 for the same lift on a 2.5% conversion rate. A reach win tells you the page moves people forward, not that they buy more, so Ordinary still reads every test on revenue per visitor and says so when the money points the other way.

Run tests side by side

Overlapping A/B tests on different parts of the store can share the same visitors, unless you put them in an exclusion group, so you don't have to queue ideas. Sharing means one test can change another's result. Each test's overlap card opens with Best so far, naming the leading version of each test where one is clear, and shows each test's result inside the other's groups, so you can decide them together.

More on running several tests at once

Best so farDemo data
The overlap card on an Ordinary A/B test: a gallery test and a free-shipping bar test share every visitor. Best so far names Product photos (original) as Clear and No bar (original) as an Early sign, and the table shades the cell where both originals meet in green. Demo data.

Available on every plan

The verdicts, including the stop call and the leans, are on every plan, including Free. Building more than one test in Ordinary is on the Starter plan and above.

Find out sooner which page is losing.

Connect your Shopify store and run A/B tests scored on your real revenue, with a clear call on when to ship and when to stop.

Connect your store