A multi-variant test (sometimes written A/B/n) compares one control variant with two or more test variants in a single experiment. Instead of running several A/B tests in sequence you try every idea in parallel.Documentation Index
Fetch the complete documentation index at: https://algolia.com/llms.txt
Use this file to discover all available pages before exploring further.
Why run multi-variant tests?
- Speed. You discover the best setting faster because every variant is evaluated at the same time. There will be less time to gather enough samples than if you tested 2 or more variants sequentially.
- Fair comparison. All variants share the same traffic window, removing calendar effects like holidays or seasonal campaigns.
- Less engineering overhead. One set-up, one end date, one set of results to review.
Limitations and trade-offs
- Traffic is divided. With more variants each one receives a smaller share of users, so it takes longer to collect enough data. This is still less time and risk than running sequential tests, however.
- Statistical penalty. Every additional comparison increases the risk of a “lucky” winner. Correct for this (see below) by making the confidence threshold stricter.
Number of variants
You can create up to five variants per test (1 control, 4 test variants). This limit is in place because a test with too many variants extends the test duration too far.How Algolia keeps results reliable
By default, Algolia applies the Benjamini-Hochberg (BH) method. You can also choose the more conservative Bonferroni method:| Method | Corrected threshold |
|---|---|
| Benjamini-Hochberg (default) | αᵢ = (i/m) × 0.05 |
| Bonferroni | α = 0.05 / m |