Free checklist · Science of founders, episode 5

The first-test checklist: run your first A/B test

In 2012 a Bing engineer tested an ad-headline idea that had sat for six months as a low priority; it raised revenue 12%, worth more than $100 million a year in the United States alone. This checklist takes you through a first A/B test, including what to do when your traffic is small.

About 20 minutes. No account needed. Type on the page or print it.
The evidence

Nobody, including experts, can tell in advance which ideas work.

Ron Kohavi, who led experimentation at Microsoft, and Stefan Thomke of Harvard Business School told the Bing story in Harvard Business Review in 2017. Managers had rated the headline change low priority. One engineer tested it anyway, and it became one of the best revenue ideas in Bing's history. They also report that across Microsoft about one third of tested ideas help, one third do nothing, and one third hurt. A test is the only way to know which third you are in.

01Before you start

02Write the prediction first

A written prediction is how you find out how often your instinct is right.

Complete: "B will move [metric] from ___% to ___% because ___."

03How many visitors you need

Small differences need a lot of traffic. Find the row closest to your case. Numbers are per version.

Rate todayRate you hope forVisitors per version (about)
2%3%3,900
5%7.5%1,500
5%10%450
10%12%3,900
10%15%700
20%30%300

Computed with a standard rule of thumb for 80% power at 5% significance: 16 × p × (1 − p) ÷ (difference squared), where p is the average of the two rates. Use an online sample-size calculator for exact figures.

04Run it

  1. Split at randomEach visitor gets A or B by chance, half and half, during the same days. Showing A this week and B next week is a different, weaker test.
  2. Run full weeksAt least one, better two. Weekdays and weekends behave differently.
  3. Do not stop earlyResults swing a lot in the first days. Stop when you reach the sample size you fixed, not when B looks good.
  4. Change nothing elseNo new prices, campaigns or designs on that page until the test ends.

05Read it

  1. Compare the two ratesAction count divided by visitor count, for A and for B.
  2. Check it is not chancePut the four numbers in a free A/B significance calculator. Look for 95% confidence or more.
  3. Accept a flat resultIf the difference is not clear, the result is "no detectable difference". Keep the simpler version and test something bigger.
  4. Compare with your predictionWrite the result next to it. Keep a list. After ten tests you will know how far to trust your instinct.

06Common mistakes

Tick each one you avoided.

07When your traffic is too low

Under about 1,000 visitors a month, a classic split test will rarely give a clear answer. Use one of these.

AlternativeHowWhat you get
Watch five peopleAsk five target customers to use each version while you watch in silence.Where they get stuck. Not a rate, but often the reason.
Test a bigger changeA new offer, a new price or a whole new page, instead of a detail.Big differences show up with far fewer visitors.
Test where you have volumeEmail subject lines, ad headlines, the first line of a cold message.Hundreds of views in days.
Before and afterRun A for two weeks, then B for two weeks.A hint only. Seasons, news and campaigns can cause the change.
Ask for the saleSend offer A to 20 people and offer B to 20 others.Paid replies. See the sell-first test kit.
Worked example

A booking page for a language tutor, 900 visitors a month.

One thing
The headline. A: "Learn Spanish online". B: "Hold a 10-minute conversation in Spanish in 30 days".
Metric
Trial lessons booked divided by visitors. Today: 5%.
Prediction
"B will move bookings from 5% to 10% because it promises a result with a date."
Sample and date
450 visitors per version. About four weeks.
Result
A: 23 of 455 (5.1%). B: 41 of 449 (9.1%). The calculator gives 98% confidence.
Decision
Keep B. Prediction was right in direction and close in size. Next test: the price display.
Do this today · under 10 minutes

Pick one page and write the prediction sentence for one change. Do not build anything yet.

Build it with Youmake

Describe it. Ship it.

A test needs a second version to show. Describe the change in a sentence and Youmake builds version B, so the test starts today and not next month.

Build your first projectyoumake.dev

Source: Ron Kohavi and Stefan Thomke, "The Surprising Power of Online Experiments", Harvard Business Review, September–October 2017. The sample-size table and the low-traffic alternatives are standard practice, not figures from the article.

All twelve Science of founders resources