A/B testing
Randomly showing live users either the current version or a new one, and comparing a success measure agreed in advance. Because the split is random, it can show that the change caused the difference.
Also called split testing, online controlled experiments
Example
A news app shows half its readers a 'Read later' button at the top of articles and half at the bottom, and compares how many articles get saved.
When to use it
Use it when you have lots of users and a clear measure, and run it long enough for early reactions to settle. Pair it with usability research: it tells you which version won, not why.
Watch out
Checking results again and again and stopping as soon as they look good makes false 'wins' much more likely.
Types and parts 1 part
The evidence 8 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
In an A/B test (also called a controlled experiment or split test), live users are randomly split between the current version (control) and a new version (treatment). The team compares one main success measure, agreed before the test, and checks with statistics whether the difference is real.
Because people are assigned at random, the only consistent difference between the groups is the change being tested, so an A/B test can show that the change caused the difference. Before-and-after comparisons can't show this as reliably.
Real example: Microsoft Office help pages replaced a simple Yes/No 'Was this helpful?' widget with a 5-star rating; an experiment showed responses fell by about 90%, so the team went back to a simpler Yes/No/I don't know design.
An A/B test tells you which version did better and by how much, but not why. Usability studies can help explain the result.
Early results can mislead: returning users may struggle at first with a changed layout (primacy effect), while others click a new feature out of curiosity (newness or novelty effect). Some tests need to run for several weeks, and looking at new users separately helps.
How many users an A/B test needs depends on how much the measure naturally varies and on the smallest difference worth detecting; halving that smallest difference needs roughly four times as many users. This is why A/B tests suit high-traffic products.
'Peeking' — checking results again and again and stopping as soon as they look significant — makes standard p-values unreliable. With about 10,000 users the false-positive rate can rise around fivefold.
Agreeing the main success measure before the test guards against chance 'wins'; the more comparisons you make, the more false positives you risk, and standard corrections for this lower the test's power.