Omid Golchin · Decision tools

A/B Test Decision Tool

Enter your results. Get a decision you can defend, with the checks experienced analysts run first.

It answers: whether to ship the new version, keep testing or stop, from the visitors and conversions of an A/B test; and, before a test, how long it needs to run.

  1. Pick the situation closest to yours in "Start from a common situation", or keep the clear win already filled in.
  2. Type your own counts in the strip: visitors and conversions for A and B, and the smallest lift worth acting on. Say how many times you looked at the results. Planning a test instead? Open Plan a test.
  3. Read the decision beside the chart and the checks under it. Before you rely on it, check when to use this tool, and when not.

Enter the counts for A and B in the strip below, say what lift matters to you, and read the decision beside the chart. Also here: Plan a test works out how long to run one · Fill from my notes reads a pasted report for you · Copy link saves your numbers in the address · the sections at the bottom show both statistical reads and every formula.

Your test one row per version

VersionVisitorsConversions
A · the original
B · the new version

Visitors: people who saw each version during the test — count each person once. Conversions: how many of them did what you measure — bought, signed up, clicked.

The smallest improvement that would change what you do; only the four counts above are required, everything here can stay as it is. This one number also sets what counts as "no meaningful difference" and how much expected loss is tolerable, so choose it before you look at the result.
Count every look, including this one. Each extra look raises the chance of a false win, so the tool corrects for it.
Checks that the test covered whole weeks, since weekdays and weekends differ.
%
The split you set up: 50 for a 50/50 test. Used to catch a broken split.
$
What one extra conversion is worth to you. Adds the money at stake to the verdict; leave empty to skip.
Paste a dashboard export or a Slack thread; an AI model fills the form, the tool does the math.

How big is the difference?

Where each version's true rate plausibly lies

Verdict

…

…

Decision settings for experienced users; the defaults are standard and safe to leave
%
How sure you want to be before shipping. 95% is a common bar; raise it when a wrong ship is costly.
%
As a share of the smallest lift worth acting on. 10% means "if I am wrong, I lose very little".
%
The false-win rate you accept for the classic test. 5% is standard; lower is stricter.
Both reads in full classic test, Bayesian read

Classic read

Bayesian read

How the verdict is decided rules, formulas, sources

Ship the leading version only when all four hold: the traffic split matches the plan; the chance it is better clears your bar; the expected loss if it is not better is small next to the smallest lift worth acting on; and the classic evidence agrees (p below the significance level, using the always-valid p-value if you checked more than once). Requiring both reads to agree keeps the verdict from resting on one method's blind spot.

Stop: no meaningful difference when the 90% interval for the difference sits inside ± the smallest lift worth acting on. This is an equivalence test (two one-sided tests; Schuirmann 1987): absence of a difference is shown, not assumed.

Keep testing otherwise, with the visitors still needed to detect your smallest worthwhile lift at 80% power.

Traffic split check (sample ratio mismatch): a chi-square test of the visitor counts against your planned split; flagged at p < 0.001 (Kohavi, Tang & Xu, Trustworthy Online Controlled Experiments, 2020, ch. 21).

Always-valid p-value: the mixture sequential probability ratio test (Johari, Koomen, Pekelis & Walsh, "Always valid inference", Operations Research, 2022), with the mixing scale set to your smallest worthwhile lift. It stays valid however often you look. In this repository's simulation (5,000 tests where A and B are identical, checked up to 40 times) it raised a false alarm in 1.8% of tests; a plain p-value did so in 29% of the same tests.

always-valid p = min(1, 1/Λ), Λ = √(V/(V+τ²)) · exp( τ²·d² / (2V(V+τ²)) ) d = rate_B − rate_A, V = its variance, τ = smallest lift worth acting on (points)

Bayesian read: Beta-binomial posteriors for each rate (Gelman et al., Bayesian Data Analysis, 3rd ed.); expected loss is the average conversion rate you give up if you pick the version that is in fact worse.

Want the experiments behind this tool (what peeking does to classic and Bayesian rules, the Cookie Cats test read both ways, whether language models read A/B results correctly)? See Research notes.

Glossary every term the "?" buttons explain, gathered in one place
When to use it, and when not assumptions, limits, alternatives

Use it to decide a finished or running A/B test on a yes-or-no outcome per visitor (signed up, bought, clicked, came back), to catch the common ways a test goes wrong (a broken split, peeking, too little data), or to size a test before it starts.

It assumes the following. Each line says what happens to the answer when your case breaks the assumption.

AssumptionIf yours differs
The outcome is yes or no for each visitor: converted or not.Revenue per visitor, order value or time on site are averages with long tails. Use a t-test or a bootstrap on the per-visitor values instead.
Visitors are assigned at random, and the unit you count is the unit you assigned.If you assign users but count page views or sessions, the counts are not independent and the intervals come out too narrow. Count users, or use the delta method for ratio metrics.
Each visitor sees one version, and one visitor's version does not affect another's.In marketplaces, social products or shared pricing, groups interfere. Those need cluster or switchback designs.
Behaviour is stable over the test, apart from weekday patterns.A new design often gets a novelty bump or a learning dip. Run whole weeks, and look at whether the lift fades over time before you trust it.
You report every look at the results.If you peeked more often than you enter, the evidence is weaker than the tool shows.
Two versions in Analyze.For three or more versions, compare each with A and use the planner's correction for several versions, or a multi-arm method.

Do not use it to choose the winner of a test that is allocating traffic adaptively (a bandit), for metrics that are not yes-or-no, or as a substitute for checking that the tracking itself is right.

Where this tool comes from the problem and data it was built on, and how it was generalised

The tool comes out of a set of experiments kept in this repository (results/summary.md):

  • Peeking breaks both kinds of rule. In 5,000 simulated tests with identical versions, checked up to 40 times, a plain p-value declared a false winner in 29.1% and a Bayesian expected-loss rule in 85.0%. So the tool asks how many times you looked, uses an always-valid p-value when you looked more than once, and ships only when the Bayesian and classic reads agree.
  • A real test, read both ways. In Cookie Cats, a public mobile-game test, moving the first gate from level 30 to 40 lowered 7-day retention by 0.82 points; both reads agree. It is one of the situations.
  • Adaptive allocation (Thompson sampling) earned more conversions during a simulated test but reached a confident, correct read less often (52.5% against 65.2%). The tool reads fixed-split tests only.

How it was generalised. The experiments fixed their rates, sample sizes and number of looks. The tool takes your counts, looks, test length and the smallest lift worth acting on, and adds the checks that catch broken tests: the traffic split, too few conversions, part weeks and "no meaningful difference". The experiments also checked whether language models can read an A/B result; that part did not become part of the tool, and its AI fill only reads your notes into the form.