What does an A/B test calculator do?

An A/B test calculator compares two conversion rates and estimates whether the gap could be luck. This one uses a two proportion z test, the standard method for yes or no outcomes such as signing up or buying.

How do you read the result?

Here's a worked example.

Version A Version B
Visitors 10,000 10,000
Conversions 500 570
Conversion rate 5.0% 5.7%

Version B converts 14% better in relative terms. The z score is 2.2 and the p-value is about 0.028. That's below 0.05, so the result is significant at 95% confidence. It isn't significant at 99%.

What does the p-value mean?

A p-value of 0.028 means that if the versions were truly equal, you'd see a gap this large about 2.8% of the time. It doesn't mean B has a 97.2% chance of being better. That mix up is very common.

How big should the sample be?

Decide before you start. Small lifts need a lot of traffic. Finding a move from 5% to 5.5% takes many more visitors than a move from 5% to 8%. As a rough floor, wait for 100 conversions per version. The calculator warns you when you have fewer.

Three mistakes that ruin a test

  • Stopping the moment it turns significant, which raises false positives
  • Changing the headline, image and price together, so you can't tell what worked
  • Testing ten metrics and reporting the one that won

What if the test shows no difference?

That's a result. Keep the simpler version and test something bolder. Turn the winner into money with the ROAS calculator, preview new lines in the ad headline tester, and size the next test in the ad budget calculator.