Bell Statistics

What is an A/B/n test?

An A/B/n test compares a control against several variants at once, each a complete alternative rather than a combination of settings. Every extra arm splits the traffic further and adds a comparison, so both precision and the error rate degrade with n.

Also called
ABn test, multi-arm test, three-arm test, multi-variant experiment
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

An A/B/n test is an A/B test with more variants: one control and several complete alternatives, each of which could ship on its own. Three headline treatments, four pricing layouts, five onboarding flows. It differs from a multivariate test, where the arms are combinations of independent settings and the point is to learn how those settings interact — here each arm is simply a different candidate.

The appeal is obvious: rather than sequentially testing four ideas over four months, test them together in one. The cost is that each additional arm charges twice. Traffic is divided further, so with five arms each holds a fifth of the users and every comparison is less precise than the same test with two. And each comparison is another opportunity for a false positive — four variants against one control is four tests, and at the 5% level that is roughly an 18.5% chance of at least one spurious winner when none of them does anything.

The correction to use depends on the question, and the default choice is usually wrong. If the question is "does any challenger beat control" — which it almost always is in product work — then the comparisons are challenger-against-baseline, and Dunnett's correction is designed for exactly that. It is meaningfully more powerful than Bonferroni, because it accounts for the fact that all comparisons share the same control arm and are therefore correlated. Tukey's is for when every pair matters, which is rarer than it is applied.

The traffic arithmetic is worth doing before committing. Five arms rather than two means each arm holds 20% rather than 50% of traffic, and the correction raises the bar each comparison must clear. Together those typically mean an A/B/n with four challengers needs somewhere between two and three times the total traffic of a simple A/B test to detect the same effect. That is often still better than four sequential tests, which take four times as long and cannot compare the variants against each other at all.

The practical failure to avoid is treating the winner's measured effect as unbiased. Selecting the best of five arms and reporting its estimate overstates it, because part of what made it the best was luck — the winner's curse. The measured lift of the winning arm is an optimistic estimate of what shipping it will deliver, and the more arms you ran, the more optimistic it is.

The formula

Two costs, both arithmetic. The traffic split is straightforward; the multiplicity correction is where the choice of method matters.

Chance of a false winner
1 − ( 1 − α )^k, k comparisons

Four challengers at 5% gives 18.5%. Six gives 26.5%. The reason a correction is not optional.

Traffic per arm
n_arm = N / ( k + 1 )

Five arms means each holds a fifth. Precision in every comparison falls accordingly.

Dunnett's correction
compare each challenger to control at an adjusted critical value

Accounts for the shared control arm, so it is more powerful than Bonferroni for this design — see the ANOVA calculator.

Winner's curse
E[ observed effect | selected as best ] > true effect

The winning arm's measured lift is biased upward, and more so the more arms were run.

Worked example

A team has four candidate onboarding flows plus the current one. They can run a five-arm test on 300,000 users, or four sequential A/B tests of 150,000 each. Baseline activation is 22%, and they want to detect a 5% relative improvement.

Five-arm test, per arm
60,000 users
Detectable effect per arm, uncorrected
4.2% relative
With Dunnett's correction (4 comparisons)
5.1% relative
With Bonferroni instead
5.4% relative
Sequential A/B, per arm
75,000 users, 3.8% detectable
Time to complete
3 weeks vs 12 weeks

The five-arm test detects a 5.1% effect in three weeks. Four sequential tests detect 3.8% and take three months.

The trade is time against sensitivity and it usually favours the multi-arm design. Twelve weeks of sequential testing buys a slightly finer detection threshold and costs a quarter, during which the market and the product both move, so the four tests are not even measuring quite the same thing. The Dunnett-versus-Bonferroni row is worth noticing: the same design and the same data, and choosing the correction designed for challenger-versus-control comparisons rather than the generic one recovers about 0.3 percentage points of sensitivity for free. The caution is on the other side of the result. If flow C wins at +6.1%, that figure is an overestimate — it was selected from four for being the largest, and some of its margin is luck. Plan on shipping something closer to the lower end of its confidence interval, or re-measure it against control alone before forecasting from it.

Common misconceptions

Testing four variants at once is four times as efficient as testing them sequentially.
It is faster in wall-clock terms and less efficient per user, since traffic splits across arms and the multiplicity correction raises the bar. The typical requirement is two to three times the total traffic of a simple A/B test. The real gain is time and direct comparability between the variants, not sample efficiency.
The variant with the highest measured lift is the best one by that amount.
Its measured lift is biased upward, because being selected as the maximum of several noisy estimates means part of the margin was luck. The more arms, the larger the bias. Expect the shipped effect to land below the winner's point estimate, and treat the lower end of its interval as the planning number.
Bonferroni is the standard correction, so use it for multi-arm tests.
It is the most conservative and it ignores the structure of this design. When every comparison shares one control arm, the comparisons are correlated, and Dunnett's correction exploits that to give more power at the same error rate. Bonferroni is a safe default in general and leaves real sensitivity on the table here.

Frequently asked questions

How many variants can I reasonably test at once?
Usually three or four challengers against control, and the limit is traffic rather than principle. Each arm shrinks the others and the correction raises every bar, so beyond about five arms the detectable effect grows faster than the time saved is worth. If you have eight candidates, screening them cheaply first — on a fast proxy or a smaller qualitative study — is better than splitting traffic eight ways.
Which multiple comparisons correction should I use?
Dunnett's, when the question is whether any challenger beats control, because it accounts for all comparisons sharing one control arm and is more powerful than the alternatives for that structure. Tukey's if you genuinely need every pairwise comparison, which is less common than it is applied. Bonferroni works and is the most conservative, so it costs sensitivity you did not need to give up.
How is an A/B/n test different from a multivariate test?
In an A/B/n test each arm is a complete alternative and the goal is picking one. In a multivariate test the arms are combinations of independent factors — headline A or B crossed with image X or Y — and the goal includes learning how those factors interact. Multivariate needs substantially more traffic because interaction effects are estimated as differences of differences.

Related terms

  • A/A test

    Testing nothing against nothing to check the instrument — and it should be significant about five per cent of the time.

  • Feature flag

    The switch experiments run on — and the reason a flag that changes mid-test quietly invalidates the result.

  • Multivariate test

    Every combination, so interactions are visible — at roughly four times the traffic per effect you want to see.

  • Switchback test

    Randomise the clock instead of the users — the answer when everyone shares one supply pool.

Calculate it

  • One-way ANOVA

    Three or more independent groups on one continuous outcome — size it, then run the F test.

  • A/B test sample size

    Size a two-proportion experiment before you launch, then read the lift and its interval once it lands.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.