← Business math and data skills

A/B tests

Compare conversion rates, and ask if the difference is real.

Start this lesson

In an A/B test, visitors are split at random between two versions, like two web pages. The conversion rate is the share who take the action: conversions divided by visitors. Lift is the percent improvement of B over A. With small groups, a gap can easily happen by chance, so a difference only means something when the groups are large enough.

Example: Page A: 2,000 visitors, 60 buy. Page B: 2,000 visitors, 80 buy.

  1. 60 divided by 2000 = 3% — Rate for A
  2. 80 divided by 2000 = 4% — Rate for B
  3. 1 point divided by 3 is about 33% — Lift of B over A

Why it works: Because visitors are split at random, the two groups are alike except for the version they saw, but with few visitors a couple of lucky sales can still swing the rates.

Tip: Decide how many visitors you need before the test starts, and don’t stop early just because one version is ahead.