Fundamentals·Glossary term

A/B/n Testing

A/B/n Testing A/B testing Reference guide

A/B/n Testing is a concept used in experimentation fundamentals.

Quick definition: A/B/n testing is a randomized experiment with one control and multiple treatment variants. An A/B/C test has one control and two alternatives; an A/B/C/D test has one control and three alternatives. The method is useful for comparing distinct concepts simultaneously, but every added arm increases traffic requirements, analysis complexity, and the risk of false discoveries.

What is A/B/n testing?

A/B/n testing is the natural extension of a two-arm A/B test. Users are randomly assigned to a control, usually A, or one of several treatment variants, such as B, C, and D. All arms run concurrently and are evaluated against a predefined outcome.

The “n” means the number of versions is open-ended; it does not specifically mean a third version. A/B/C and A/B/C/D are both A/B/n tests. Optimizely, Harness, GrowthBook, and experimentation practitioners describe the core design in the same way: multiple discrete versions, random allocation, and comparison against a common control [1] [2] [3].

Example: four checkout concepts

An ecommerce team has four credible checkout directions:

ArmExperienceQuestion
ACurrent checkoutWhat is the baseline?
BShortened checkoutDoes fewer fields reduce friction?
CSingle-page checkoutDoes visible progress improve completion?
DExpress-payment-first layoutDoes earlier payment choice increase purchase rate?

Running these arms simultaneously keeps them under the same calendar conditions, campaign mix, and market environment. It can be more informative than running three sequential tests months apart. However, the team must decide the primary comparison before launch: is each variant compared with A, or are all variants compared with each other?

How traffic allocation works

With equal allocation, traffic is divided among all arms:

A/B → 50% A · 50% B
A/B/C → 33.3% per arm
A/B/C/D → 25% per arm
A/B/C/D/E → 20% per arm

Equal allocation is the straightforward default because it gives each arm comparable data and is generally efficient for pairwise comparisons. Optimizely describes random and even allocation as the standard A/B/n setup [1]. Unequal allocation can be justified by risk, but it reduces data in smaller arms and should be included in the design and power calculation.

Practical rule: do not add an extra variant because implementation is easy. Add it only when it represents a distinct decision or hypothesis and the expected learning is worth the additional traffic and analysis cost.

Why sample size grows

Every arm needs enough observations to estimate its performance. If a two-arm test needs 25,000 users per arm, a four-arm test needs roughly 100,000 users before accounting for multiple-comparison adjustments. Treat “sample size per variant” as a per-arm requirement, not as the total sample size [4].

There are two separate costs:

  1. Traffic dilution: each additional variant receives a smaller share of visitors.
  2. Multiplicity: more comparisons increase the chance that at least one result looks significant by chance.

For three arms where B and C are each compared with A, there are two planned treatment-vs-control comparisons. If all three pairs are considered, there are three pairwise comparisons. For four arms, all pairwise comparisons produce six comparisons.

Number of all pairwise comparisons = k × (k − 1) / 2
where k = number of arms

Multiple comparisons and false positives

A 5% threshold applies to one comparison under its stated assumptions. It does not automatically preserve a 5% experiment-wise error rate when several variants or metrics are tested. As the number of comparisons grows, the probability of at least one false positive grows too. Statsig explains why looking across multiple KPIs or segments creates this problem [5].

ApproachHow it worksUse when
BonferroniSet adjusted alpha to α / number of planned comparisons.You want a simple, conservative family-wise error control.
Holm–BonferroniStep-down correction that is usually less conservative than basic Bonferroni.You need family-wise control with better power.
FDR controlControls the expected proportion of false discoveries among findings.The test is exploratory and many findings are being screened.
Planned contrastsSpecify a small number of business-relevant comparisons before launch.You do not need every arm-to-arm comparison.

Do not simply select the highest observed conversion rate and call it the winner. With several arms, one will usually rank first even when none has a real advantage. A “winner” should beat the prespecified comparator with an adjusted analysis, an economically meaningful effect, acceptable uncertainty, and no guardrail damage.

When A/B/n testing is a good choice

  • You have several genuinely different concepts to compare.
  • All concepts address the same decision and share a primary metric.
  • You have enough exposed traffic for every arm.
  • Testing concurrently avoids calendar or campaign confounding from sequential runs.
  • The cost of a longer, more complex test is justified by the value of choosing among alternatives.
  • You want exploration before narrowing to a focused follow-up A/B test.

When not to use it

  • Traffic cannot support the required sample within a reasonable period.
  • Variants are only tiny cosmetic differences with little plausible effect.
  • You are trying to estimate interactions between separate elements; use a multivariate design instead.
  • The arms represent unrelated hypotheses that need different metrics or audiences.
  • The decision is high-risk and exposing users equally to every alternative is unacceptable.
  • You intend to keep adding arms or changing allocation after seeing results.

A/B/n testing vs. multivariate testing

CharacteristicA/B/n testingMultivariate testing
What is tested?Several complete, selected experiencesCombinations of levels across multiple factors
ExampleThree complete landing-page conceptsTwo headlines × two images × two CTAs
Primary learningWhich discrete concept performs best?Which factors and interactions matter?
Traffic burdenGrows with the number of armsCan grow combinatorially with combinations

In an A/B/n test, the variant is treated as a complete package. If B changes a headline and image, the test estimates that combined experience. It cannot tell you whether the headline or image caused the result independently. Harness makes the same distinction: multivariate testing can enumerate combinations, while A/B/n uses selected alternatives [2].

How to analyze an A/B/n test

  1. Verify assignment counts and the planned allocation.
  2. Check exposure, identity persistence, event logging, and denominator consistency.
  3. Confirm the prespecified primary comparison set.
  4. Apply the planned multiplicity correction.
  5. Report every arm’s sample, conversions, rate, absolute effect, relative effect, and interval.
  6. Inspect guardrails and important predeclared segments.
  7. Classify each treatment as a win, loss, or inconclusive against the relevant comparator.
  8. Use the result to select a follow-up, not to justify post-hoc storytelling.

Common mistakes

  1. Naive sample planning: using a two-arm calculator for a four-arm test.
  2. Ignoring multiplicity: applying p < 0.05 to every comparison without adjustment.
  3. Cherry-picking: reporting only the top arm and hiding the rest.
  4. Testing too many variants: diluting traffic until every estimate is noisy.
  5. Changing allocation mid-test: making the assignment mechanism difficult to interpret.
  6. Calling the best observed arm a winner: ranking is not evidence of a meaningful advantage.
  7. Confusing A/B/n with MVT: treating complete variants as if their elements were independently estimated.
  8. Peeking: repeatedly stopping when any arm crosses an unadjusted threshold.

A/B/n launch checklist

  • Every arm represents a deliberate, distinct concept.
  • Control and treatment definitions are frozen before launch.
  • Primary metric and planned comparisons are documented.
  • Sample size is calculated per arm and adjusted for multiplicity.
  • Traffic allocation is explicit and technically validated.
  • Assignment is random and persistent.
  • Exposure and event logging are symmetric.
  • SRM and data-quality checks are available.
  • Stopping rules and correction method are documented.
  • Winner criteria include practical impact and guardrails.
  • Follow-up experiments are planned for learning, not just shipping.

FAQ

What does the “n” mean in A/B/n?

It means the test can contain multiple versions. A/B/C and A/B/C/D are examples; “n” is not specifically the number three.

Is A/B/n better than running sequential A/B tests?

Not always. It can save calendar time and hold conditions constant, but it requires more traffic and more careful analysis. Use it when the alternatives are genuinely worth comparing concurrently.

How many variants should I test?

As many as your decision requires and your traffic can support. Fewer, more distinct arms are usually more useful than many minor alternatives.

Should all variants receive equal traffic?

Equal allocation is the simple default. Risk-based allocation may be appropriate, but it changes power and should be planned before launch.

Is A/B/n testing the same as a multi-armed bandit?

No. A standard A/B/n test generally keeps allocation fixed for estimation. A bandit dynamically shifts traffic toward apparently stronger arms to optimize reward while learning. The methods answer different operational questions.

Summary

A/B/n testing is powerful when you have several meaningful alternatives and enough traffic to evaluate them responsibly. Its real cost is not only splitting users more ways; it is the combination of traffic dilution, multiple comparisons, operational complexity, and stronger temptation to cherry-pick. Predefine the comparisons, calculate per-arm sample size, correct the analysis, and treat “no adjusted winner” as a valid result.

Sources

  1. Optimizely: A/B/n Testing
  2. Harness: What is A/B/n Testing?
  3. GrowthBook: What is A/B testing?
  4. A/B test sample size and multiple variants
  5. Statsig: Multiple comparisons
  6. Analytics ToolKit: A/B testing glossary
  7. Analytics ToolKit: MVT and A/B/n testing