A/B testing (split testing). What it means.

A/B testing is an experiment that shows two versions of a page, email or ad to randomly split audiences at the same time to see which one performs better.

By Brady Heinrich · Updated

Definition

A/B testing is an experiment that shows two versions of a page, email or ad to randomly split audiences at the same time to see which one performs better.

What is A/B testing?

A/B testing compares two versions of one thing to find out which gets more people to act. Version A is the current one, called the control. Version B has one change. Visitors are split at random, both versions run at the same time, and the results are compared on a single metric chosen in advance, such as signups.

Random assignment is what makes it a test. Because both groups are drawn from the same traffic over the same days, the change is the only systematic difference between them.

How to run an A/B test

  1. Pick one metric that defines success, such as the conversion rate of a signup page.
  2. Write a hypothesis: "Showing pricing on the page will raise demo requests, because visitors currently leave to look for it."
  3. Change one thing, or one coherent set of things.
  4. Work out the sample size you need before you start.
  5. Split traffic at random and run both versions together for whole weeks, so weekday and weekend behaviour are both covered.
  6. Stop when the planned sample is reached, not when one version pulls ahead.
  7. Check that the result is statistically significant, then ship the winner or keep the control.

How much traffic does an A/B test need?

The smaller the difference you want to detect, and the lower the starting conversion rate, the more visitors you need. As a rule of thumb, pages that produce only a few conversions a week cannot be tested reliably on small changes such as button colour. With low traffic, test big changes, such as a different offer or a rewritten page, where the effect could be large enough to see.

A/B testing vs multivariate testing

A/B testMultivariate test
ComparesTwo versions, or a fewMany combinations of several elements
Tells youWhich version winsWhich element contributes what
Traffic neededLowerMuch higher

Split testing is another name for A/B testing. Some people use it specifically for tests that send traffic to two different URLs.

A/B testing examples

Common tests include a headline, the wording of a call to action, form length, a pricing page layout, an email subject line and an ad image. Use the conversion rate calculator to work out each version's rate.

An example

A signup page gets 10,000 visitors over two weeks, split evenly. Version A converts 200 of 5,000, which is 4.0%. Version B, with a shorter form, converts 250 of 5,000, which is 5.0%. That is a relative lift of 25%, and with samples this size the difference is statistically significant at the usual 95% level, so B ships.

The common mistake

Stopping a test the moment one version is ahead. Early leads are often noise, and checking repeatedly then stopping on a good day produces false winners. Set the sample size first and wait for it.

How people search for A/B testing

  • a/b testing5,400 a month
  • ab testing5,400 a month
  • what is a/b testing1,900 a month
  • split testing480 a month
  • a/b testing examples170 a month

US monthly searches, Google Ads keyword data.

Related terms

Go deeper

Building something ambitious? Let's talk.

We reply within one business day.