How to Tell if Your A/B Test Actually Won
When I ran customer acquisition for a B2B software startup, A/B testing was how I spent most of my week. Ad headlines against ad headlines, keyword sets against keyword sets, one targeting setup against another. Over time those tests cut our paid search cost per click by more than 90%.
But the most useful thing those tests taught me was how easy it is to fool yourself. Early on, I’d look at a dashboard, see version B ahead by a healthy margin after two days, and want to call it. Sometimes the “winner” held. Often, a week later, the gap had shrunk to nothing or flipped the other way.
Running the test is the easy bit. Most mistakes happen when deciding whether the gap is real or would vanish with the next thousand visitors, so this is how I read a result now.
What a significance test answers
Every A/B test result mixes two things: the real difference between your versions, if there is one, and random noise. Even two identical pages would almost never convert at exactly the same rate, because different people happen to land in each group.
A significance test asks one question: if there were no real difference, how often would a gap this big show up by chance? That probability is the p-value. If it’s small, luck is an unlikely explanation and you can treat the difference as real.
By convention, “small” means below 0.05, which is the same as 95% confidence. A p-value of 0.02 means a gap this large would appear by luck only about 2% of the time if the versions were identical. A p-value of 0.30 means it would appear 30% of the time, which proves nothing at all.
A worked example
Say each version of a sign-up page gets 5,000 visitors. Version A gets 500 sign-ups (10%) and version B gets 570 (11.4%). Put those numbers into my free A/B test calculator and you get:
- Relative lift: +14%
- p-value: about 0.023
- 95% confidence interval for the difference: roughly +0.2 to +2.6 percentage points
B is significantly better at 95% confidence. But look at that interval. The true improvement could be as small as 0.2 points or as large as 2.6. “B won” is true. “B is 14% better” is a guess with a very wide margin.
Read the confidence interval too
The yes-or-no verdict throws away most of the useful information. The confidence interval tells you three things at once:
- Direction. If the whole interval sits above zero, B is better. If it straddles zero, you can’t tell yet.
- Size. A narrow interval from +1.8 to +2.2 points is a precise finding. A wide one from +0.1 to +4.0 means you need more data before you bank on a number.
- Practical value. If even the optimistic end of the interval is too small to matter, the test is effectively a tie, whatever the p-value says.
When I report a test to a manager or a client, I give the interval. “B improves sign-ups by somewhere between 0.2 and 2.6 points” is honest. “B improves sign-ups by 14%” sets up a disappointing conversation next quarter.
Decide the sample size before you start
Stopping early is the most common way A/B tests mislead, and it’s the mistake I made in my first months of testing. If you check results every day and stop the first time p dips below 0.05, your real chance of crowning a false winner can be several times higher than 5%. Results swing wildly in the first days of a test, and if you look often enough, one of those swings will cross the line.
The fix is to decide in advance how many visitors you need, then wait. You need three inputs:
- Your current conversion rate (for example, 10%).
- The smallest improvement worth detecting (for example, a 20% relative lift: 10% to 12%).
- Confidence and power. 95% and 80% are the standard choices.
For those numbers, the sample size section of the calculator says you need about 3,841 visitors per version. With 1,000 visitors a day split between two versions, that’s about eight days. Smaller improvements need dramatically more traffic: halving the lift you want to detect roughly quadruples the sample you need. That’s why small sites should test bold changes, not button colours.
Statistical significance isn’t the same as business significance
With enough traffic, almost any difference becomes “significant”. A 0.05-point lift on a page with a million visitors a month will pass the test easily. Whether it’s worth the design time, the engineering work and the extra complexity is a business question, not a statistical one.
Before every test, I write down the smallest result that would change what we do. If the test can’t detect that size with the traffic we have, I either test something bolder or skip it.
Why your testing tool may show a different number
Not every tool uses the same maths. Classic calculators, including mine, use a two-proportion z-test and report a p-value. Many marketing platforms instead report a “probability to be best” or “chance to win” from a Bayesian model, and some declare a winner at 90% rather than 95%. Neither approach is wrong, but the numbers aren’t interchangeable. A 92% chance to win is not the same claim as a p-value of 0.08. Know which one your tool reports, and keep the same standard across tests.
Five mistakes that make tests lie
1. Peeking and stopping
Pick the sample size, run the test to it, then decide. If you must monitor for something broken, look at whether the page works, not at which version is winning.
2. Running less than a full week
People behave differently on Monday morning and Saturday night. A test that runs Tuesday to Thursday only measures weekday visitors. Run at least one full week, ideally two, even if you hit your sample size sooner.
3. Testing many variants and crowning the best
Compare ten headlines and one will look like a winner by luck alone. With many variants, use 99% confidence, or retest the winner against the original before rolling it out.
4. Changing the test mid-flight
Editing a variant, shifting the traffic split or adding a new audience halfway through mixes two experiments into one result. If something has to change, restart the count.
5. Counting the wrong thing
The z-test assumes each visitor is counted once. If you count page views or sessions, one enthusiastic visitor who reloads ten times can tilt a whole group.
What if the test isn’t significant?
A non-significant result doesn’t mean the versions are the same. It means you don’t have enough evidence to tell them apart. Look at the interval again:
- If it’s wide (say −1.5 to +3.0 points), you need more traffic. Keep going to your planned sample size, or accept that this page doesn’t get enough visitors to detect small changes.
- If it’s narrow and centred on zero (say −0.3 to +0.4), the versions really do perform about the same. Pick whichever is simpler and move on to a bolder idea.
That second case is still useful. Some of the tests I learned most from “lost”: they told us to stop polishing something that didn’t matter and spend the time elsewhere.
My checklist
- Write down what you’re testing and what metric counts as a win.
- Decide the smallest lift that would change your decision.
- Calculate the sample size before launch.
- Run for at least one full week and until you reach the sample size.
- Check the p-value and the confidence interval.
- Ask whether the likely improvement is big enough to matter.
- Log every result, including the losers. Next quarter you’ll be glad you did.
Questions people ask
What confidence level should I use?
95% is the convention and a sensible default. Use 90% for low-risk changes you can easily reverse, and 99% when a wrong call is expensive or you’re comparing many variants.
How long should an A/B test run?
Until it reaches the sample size you calculated, and for at least one full week. Two weeks is safer if your traffic varies a lot by day.
Can I use this for email subject lines?
Yes. Treat recipients as visitors and opens or clicks as conversions, as long as each person only receives one version.
The A/B test calculator handles both steps, planning the sample size and reading the result. If you’re optimising a whole funnel rather than one page, the funnel conversion calculator shows which stage is worth testing first.
Reply by Instagram DM, email or LinkedIn.