A/B test duration calculator

How many days your A/B test needs before you can trust the result.

Estimated test duration

17
17 days (~2 weeks)
8,150
per variation
16,300
total visitors

Humblytics stops a test after the duration you set (30 days by default) and shows confidence every day it runs. See A/B testing →

Why the test takes this long

Every day adds visitors, and every visitor makes the result less noisy. Move across the figure to step through the days and watch the two possible results pull apart. It uses the numbers in the calculator above.

A: controlB: variantEach ball is one possible result of the same test. Hopper A drops at your baseline (5.00%), hopper B at the lift you want to detect (6.00%); the pegs add the noise a finite sample really has. With few visitors the piles overlap and a real lift is easy to miss. At 8,150 visitors per version they sit far enough apart that 80% of tests would find it at 95% significance.

How test duration works

Days = visitors needed per version ÷ (daily visitors ÷ 2)

The calculator finds the sample size each version needs at 80% power, then divides by the visitors each version gets per day on a 50/50 split. Round up to whole weeks so weekdays and weekends are both in the test.

Planning numbers from published research

Shortest run
two full weeks
Realistic lift to plan for
5% to 10%
Median lift of a winning test
7.5%

Sources: CXL; Optimizely and VWO set a one-week floor; Convert; Analytics Toolkit median planned MDE 6%; Analytics Toolkit, 1,001 tests, 2022.

How long should I run an A/B test?

Until each version reaches the sample size, and for at least two full weeks so every day of the week is covered. At 1,000 visitors a day, a 5% baseline and a 20% lift, that is 17 days, so plan for three weeks.

Can an A/B test run too long?

Yes. After a month or two, returning visitors are more likely to have seen both versions and seasonal changes creep in. If the duration runs past about two months, test a bigger change or a busier page.

Why does my test need so many days?

Low traffic, a low conversion rate or a small target lift. The lift matters most: halving it needs about four times the visitors.

Should I stop a test early if it looks like a winner?

No. Early results swing, and stopping at the first good day inflates false winners. Decide the duration first and read the result when it ends.

Does Humblytics stop tests automatically?

Yes, after the duration you set: 30 days by default, adjustable or off in the app. It does not stop at significance; it shows confidence every day the test runs.

Worked example

  1. 1Your page gets 1,000 visitors a day and converts at 5%.
  2. 2You want to detect a 20% lift at 95% significance and 80% power: 8,150 visitors per version.
  3. 3A 50/50 split gives each version 500 visitors a day.
  4. 48,150 ÷ 500 = 16.3, rounded up to 17 days.

17 days covers two weekends but not three full weeks. Run it for 21 days so each weekday appears three times.

How to read your result

Under 2 weeks
Run the full two weeks anyway. Monday visitors and Saturday visitors often behave differently.
2 to 6 weeks
A workable test. Set the end date before you start and do not move it.
Over 8 weeks
Too slow. Test a bolder change, put the test on a busier page, or measure an earlier step such as add to cart.
Traffic split
The estimate assumes 50/50 between two versions. A 90/10 split or a third version makes it longer.

Sources

Free to start · 5,000 data points, no card

You know when to call it. Now launch it.

Humblytics splits the traffic, shows confidence every day the test runs and stops it after the duration you set, so there are no spreadsheets to keep.

No card. Team plans from $79 a month. Book a demo