A/B test sample size and significance, explained

Kitwise guide ยท updated

An A/B test compares two versions of a page, email or ad. Two questions decide whether the result means anything: did enough people see each version, and is the difference bigger than luck? Both examples below come from the Kitwise A/B tools.

Free tools for this

1. Plan the sample size first

With a 3% conversion rate, catching a 20% relative lift (3.00% โ†’ 3.60%) at 95% confidence and 80% power needs about 13,914 visitors per version (27,828 in total). To catch a 10% lift (3.00% โ†’ 3.30%) you need about 53,211 per version: halving the lift roughly quadruples the traffic.

Tip: Small sites cannot detect small lifts. Test bold changes (a new headline or offer) rather than button colours.

2. Read the result

VersionVisitorsConversionsRate
Version A5,0002004.00%
Version B5,0002454.90%

Here the difference is 0.90 points (a 22.5% lift), z = 2.18 and the p-value is 0.029, below 0.05, so it is likely a real difference. With 215 conversions for B instead of 245, the p-value is 0.45: no clear winner yet.

3. Mistakes that create false winners

Questions

What is a good p-value for an A/B test?

Below 0.05 is the usual standard for 95% confidence. It is not proof; it means the result would be unusual if there were no real difference.

How long should an A/B test run?

Until each version reaches the planned sample size, and at least one full week.

Can I use the survey sample size formula for A/B tests?

No. Surveys estimate one share; A/B tests compare two, which needs the A/B planner.

Related guides

More guides All Money tools All Calculators tools All tools