A/B tests explained
An A/B test shows two versions to similar groups and compares one number. Learn the control, the meaning of significance, how to size a test and how to report the result.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: Two kinds of tea. At a party you give half the guests tea with sugar and half tea without. Then you ask which group liked it more. If you only have four guests, one cheerful guest can swing the answer, so chance can fool you.
Daily List, the to-do list app, wants to know if a green "Share" button gets more clicks than the blue one. Sam, the , does not guess. Sam sets up an , which assigns users to two versions at random and compares a planned outcome while checking relevant guardrails.
Half the new users see the blue button. The other half see the green one. Sam counts how many people in each group share a list.
The blue button is the control, the current version used as a baseline. The green button is the new version. The control is what the new version must beat.
At the end the green group shares a little more. Is that real, or just luck? asks how rare a gap this big, or bigger, would be if nothing had changed. The calculation assumes no real difference and a suitable statistical model. It does not give the chance that works. It answers the question with a number instead of a guess.
The tea picture is simple. With only a few guests, chance can mislead, and the same is true with a few users.
PLAIN WORDS · 2 in this section
- guardrails
- A guardrail is a measure that must not get worse.
- mislead
- give someone a wrong idea
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB The picture helps a team remember that a fair test needs two similar groups, one change and a number chosen before the result.
- Ask the question
- Pick the number
- Split by chance
- Wait
- Read the gap
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| Guests split into two groups | Users split by chance into two groups |
| Tea without sugar | The control, the current version |
| Tea with sugar | The new version |
| Asking which group liked it more | Comparing one chosen number |
| Too few guests to trust | A test too small to show a real gap |
WHERE THIS PICTURE STOPS
- Tea is simple. Software changes can affect users in ways nobody expects.
- A tea party has a few guests. A test may need thousands of users.
- Guests tell you what they liked. A test measures what users actually do.
HOOK
Same guests, one change, one number.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Before trusting a test, ask: planned groups, planned measure, valid data, useful effect?
| In the trick | What it stands for |
|---|---|
| Planned groups | check assignment against the planned ratio |
| Planned measure | name the primary metric before the test |
| Valid data | check lost records and assumptions |
| Useful effect | weigh effect size, uncertainty and safety checks |
This is an editorial reminder, not a statistical test or a rule that a small p-value makes a change worth shipping.
TELL A FRIEND
An randomly assigns variants and compares planned outcomes against a control, the comparison condition. A p-value describes compatibility with a stated model; it is not the probability that luck caused the gap.
OFTEN MIXED UP WITH MVP and experiments. That topic shows how to design a small experiment to test an idea. This one shows the fairest way to compare two versions once you have a number to watch.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
American Statistical Association (ASA) statement: principles for statistical significance and p-values ↗ — American Statistical Association · American Statistical Association,7March2016 official3-page announcement, allsixprinciples read. It summarizes ASAstatement rather than claim to read every discussionpaper: model compatibility, nottruth/chancecauseprobability; thresholdaloneinsufficient; effectsize/context/transparency. Existingcorrectp≈.08 illustration preserved pending targetedcalculation.
Relevant public sections reviewed 6 November 2026 for V11 BA agile/product. See applicability for exact version, scope and access limitations.
- Market practice
Microsoft ExP — Diagnosing Sample Ratio Mismatch in A/B Testing ↗ — Microsoft Research · Microsoft Experimentation Platform original article opened; diagnosticsection, conclusion and references read,2019KDDresearch cited. Plannedratio/sample statisticalcheck, assignment/execution/logging/filterrootcauses; not unequalcountalone. Microsoftlocal musttestpolicy notuniversallegalmandate. No automaticrulealltests50:50/exactly1week/fixedsamplesequentialexception.
Relevant public sections reviewed 6 November 2026 for V11 BA agile/product. See applicability for exact version, scope and access limitations.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, its people, numbers and scenarios are invented educational examples. Local methods, counts, thresholds and templates are not universal obligations. Source versions and access limits are stated in the accompanying citations.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.