ab testingcart optimisationguides

How to Read A/B Test Results Before You Call a Winner

To read A/B test results properly, check four things in order: that traffic was split the way you set it, that the test reached the sample size you planned, which variant earns more revenue per visitor, and how wide the uncertainty around that difference is. Only then look at the supporting metrics, such as cart-to-purchase rate and upsell attach rate, to understand why. Most bad test decisions come from skipping the first two steps and jumping straight to “variant B is up 11%”.

This guide walks through each check with a worked example from a cart test, explains what to do when the answer is “not enough signal yet”, and shows how to turn a result into the next test.

How to read A/B test results: why it is harder than it looks

Setting up a test takes minutes. Reading it well takes discipline, because the numbers are always moving and one variant is almost always ahead at any given moment.

Evan Miller’s classic article How Not To Run an A/B Test shows how much damage early peeking does: “Repeated significance testing always increases the rate of false positives.” In his example, if you peek at an experiment ten times, “what you think is 1% significance is actually just 5% significance.” Every extra look is another chance to catch a random lead and call it a win.

It also helps to expect fewer winners than you hope for. CXL’s guide to inconclusive A/B test results cites estimates that 50% to 80% of test results are inconclusive, and that about 1 in 7 tests wins. If most of your tests end without a clear winner, that is normal, not a sign that testing does not work for your store.

Step 1: check the traffic split before anything else

A sample ratio mismatch (SRM) happens when the share of visitors each variant received is meaningfully different from the split you set. Microsoft’s experimentation team, in Diagnosing Sample Ratio Mismatch in A/B Testing, reports that about 6% of its A/B tests had an SRM, and its advice is blunt: “Don’t trust the results of A/B tests with an SRM until you diagnose the root cause.”

Microsoft uses a chi-square test with a strict threshold of p < 0.0005. You can run the same check with a free calculator such as Lukas Vermeer’s SRM checker. Two examples with a 50/50 target:

Visitors in A Visitors in B Chi-square p value Verdict
14,200 14,050 0.80 0.37 Fine, normal variation
10,000 9,400 18.56 0.00002 SRM, do not read the results

In a cart test, an SRM usually means something other than randomness decided who saw what: an audience condition catching more visitors than intended, a campaign assigned to only one variant, or a split changed partway through. Zupli’s Insights tab shows the target and actual share for each variant and the gap between them, so this check takes seconds.

Step 2: confirm the test ran long enough

Before you look at which variant is ahead, check two things you should have decided at the start.

  • Sample size. Miller’s rule of thumb is n = 16 × p(1 - p) / δ² visitors per variant, where p is your baseline conversion rate and δ the smallest absolute change you care about. At a 3% purchase rate, detecting a move to 3.3% (a 10% relative lift) needs about 51,700 visitors per variant.
  • Whole weeks. Intelligems’ guide on when to end an A/B test recommends about two weeks so the test covers weekday and weekend cycles and different types of buyers.

If you have not reached either, the honest reading is “too early”. Our guide on how to A/B test your Shopify cart has a full table of sample sizes for different lifts.

Step 3: judge the winner on revenue per visitor

Revenue per visitor (RPV) is total revenue divided by visitors assigned to the variant. It combines how many people bought with how much they spent, which is exactly what most cart changes trade off. A free gift can lower average order value while lifting conversion; a higher free shipping goal can do the opposite. RPV shows the net.

Here is an illustrative cart test, not data from any store. Variant A is the current cart. Variant B adds a free gift at a spend threshold.

Metric Variant A Variant B
Visitors assigned 14,200 14,050
Purchases 426 450
Purchase rate 3.00% 3.20%
Average order value $62.00 $64.50
Revenue $26,412 $29,025
Revenue per visitor $1.86 $2.07

On the surface, B is ahead on everything and RPV is up about 11%. This is where most people stop and roll out B. Do not stop yet.

Test it, don’t guess. Zupli runs cart variants with their own design, upsells and timers, and reports revenue per visitor for each. See how Zupli A/B testing works

Step 4: read the uncertainty, not just the lift

Every result is an estimate. The question is how wide the range of plausible true effects is.

For the purchase rate in the example above, the 95% confidence interval for the difference (B minus A) runs from about -0.20 to +0.61 percentage points, and the p value is about 0.33. In plain words: the data has not ruled out that B is slightly worse, and it is consistent with B being a good deal better. With about 14,000 visitors per variant against the roughly 51,700 needed for a 10% lift, the test is underpowered, so a wide interval is exactly what you should expect.

Three rules for reading intervals:

  1. Look at the interval for the difference, not two separate intervals. CXL’s guide to confidence intervals warns that comparing whether each variant’s own interval overlaps the other’s is the wrong test; the interval for the difference is what matters.
  2. Ask whether you can live with the worst case. Intelligems frames it simply: “Am I okay with the worst case?” If the low end of the interval is a loss you could not absorb, keep testing.
  3. Match the bar to the decision. Intelligems suggests that a reversible change can be acted on with less certainty (around 80% chance to win) than an irreversible one (closer to 95%). Switching a cart offer is reversible; a price change you announce publicly is less so.

Step 5: use supporting metrics to explain the result

Once you know which variant wins (or that neither does), use the rest of the funnel to understand why. Zupli’s Insights report these for each variant:

  • Funnel: assigned, carts, checkouts and purchases, with cart-to-purchase rate.
  • Upsell attach rate: the share of carts that added a recommended product. If you tested two upsell sets, this is your main diagnostic.
  • Order value: average value at first add to cart against average value at checkout started. A bigger gap means the cart is doing more work to raise order value.
  • By channel: the first-touch source of each visit, from UTM tags, click IDs or the referrer.

The channel view is where many tests become interesting. If B wins only for paid social visitors, that is a finding about an audience. Rather than rolling B out to everyone, you could target it, since Zupli variants can be assigned by market, country, language, device OS or logged-in status.

Be careful, though. Splitting results by channel or device after the fact creates many small comparisons, and some will look significant by chance. Treat a segment win as a hypothesis for the next test, not a conclusion.

What to do when the result is unclear

Zupli’s recommendation will say “not enough signal yet” when that is the honest answer. Here is how to act on it:

Situation What it means What to do
Planned sample not reached Too early to tell Keep the test running, change nothing
Planned sample reached, interval still spans zero The change probably does not matter much Keep the simpler or cheaper option and test something bolder
Interval excludes zero, worst case acceptable A real winner Roll it out, note the result, plan the follow-up
One segment wins, overall flat A possible audience effect Run a new test targeted at that segment
SRM detected The data is unreliable Find the cause, fix it, restart the test

CXL quotes Kyle Rush’s rule for ties: “Generally speaking I stick with the control if my results are inconclusive.” That is a sensible default for cart offers, because the control is the setup you already understand. The exception is when the new variant is cheaper to run, such as a free shipping goal that replaces a costly gift, in which case a tie is a win.

The biggest lesson from inconclusive tests is usually about the size of the change. Two shades of button rarely move revenue per visitor enough to measure. A free gift against an order discount, or a free shipping goal at two clearly different amounts, often does. Our guides on the free shipping threshold and tiered rewards on Shopify give you candidate changes big enough to test.

FAQ

How do I know if my A/B test result is significant?

Check that the test reached its planned sample size, then look at the confidence interval for the difference between variants. If the interval does not include zero and the p value is below the threshold you set in advance (often 0.05), the result is statistically significant. Significance alone does not tell you the effect is large enough to matter, so look at the size of the lift too.

What is a sample ratio mismatch in A/B testing?

It is when the share of visitors each variant received differs meaningfully from the split you configured, such as 51.5% and 48.5% on a large test set to 50/50. It usually signals a setup problem, and Microsoft’s experimentation team advises not trusting the results until the cause is found.

Should I use conversion rate or revenue per visitor to pick a winner?

For cart tests, use revenue per visitor, because it combines conversion and order value. Use conversion rate, cart-to-purchase rate and upsell attach rate to explain why the winner won.

What should I do with an inconclusive A/B test?

If the test reached its planned sample size and the interval still spans zero, the change probably does not matter much. Keep the simpler or cheaper option, record what you learned and test a bigger change next.

Can I stop an A/B test early if one variant is clearly winning?

It is risky. Checking results repeatedly and stopping at the first good-looking moment inflates false positives. Decide the sample size and duration in advance, cover at least one or two full weeks, and stop only when you get there.

Next step

Open your current or most recent test and run the five checks in order: split, duration, revenue per visitor, interval, then supporting metrics. If you are not testing your cart yet, A/B testing comes with every paid Zupli plan; compare Zupli’s plans and start with a free trial.

All articles