A/B Test Sample Size Calculator

How many visitors do you need to detect a move from 3% to 4%? Use your current conversion rate and daily traffic to plan a landing page A/B test.

Test inputs

Enter daily traffic eligible for assignment across both variants. Count each visitor once.

Total visitors needed

10,604
Visitors per variant
5,302
Days to collect traffic
36 days

50:50 split · Two-sided 5% significance level · 80% power · Normal approximation

Will it fit your schedule?

4,200

Expected traffic is below the sample required to detect your target.

Smallest detectable target rate in this window4.66%

How is A/B test sample size calculated?

A/B test sample size is the number of visitors needed to detect a target conversion-rate difference with equal assignment to two variants. A move from 3% to 4% needs about 5,302 visitors per variant, or 10,604 in total. At 300 visitors a day, allow at least 36 days to collect that sample.

This is a fixed-horizon normal approximation for comparing two proportions. The time estimate assumes steady traffic. Allow for weekly variation and any delay before conversions are confirmed. Penn State STAT 509 sample size formula for two proportions

What if I have fewer days to run the test?

At 300 eligible visitors per day, a 14-day window provides 4,200 visitors. Starting at 3%, that sample can detect a target rate of about 4.66% or higher. To detect a change to 4%, extend collection or assign more traffic to the test.