How it works
Start with a hypothesis—say, a green checkout button will lift conversions—and a primary metric. Calculate the needed sample size up front, then randomly assign users to A (control) or B (variant). Randomization means differences can be attributed to the change, establishing causation rather than mere correlation. Results are judged with p-values and confidence intervals.
Common mistakes
Peeking daily and stopping once results look significant, checking many metrics and cherry-picking (multiple comparisons), ignoring seasonality, and novelty effects all mislead. Google famously tested 41 shades of blue for links, and companies like Amazon and Netflix run thousands of experiments a year. A/B tests are especially useful for fixing bottlenecks in a marketing funnel.
FAQ
- What if traffic is low?
- Test bolder changes, run longer, or consider Bayesian methods.
- What's A/B/n testing?
- Comparing three or more versions at once, which requires multiple-comparison corrections.
Sources reviewed: 2026-10-26
References
- Kohavi, R., Tang, D., & Xu, Y. (2020). Trustworthy Online Controlled Experiments. Cambridge University Press.
- Fisher, R. A. (1935). The Design of Experiments. Oliver & Boyd.
- Kohavi, R., Longbotham, R., Sommerfield, D., & Henne, R. M. (2009). Controlled experiments on the web: Survey and practical guide. Data Mining and Knowledge Discovery, 18(1), 140–181.
