Home › Analytics & CRO Tools › A/B Test Duration Calculator

A/B Test Duration Calculator

Turn a required sample size into a realistic test length for your traffic.

Total sample needed—
Days to run—
Full weeks to run—

How to use the A/B Test Duration Calculator

  1. Enter sample size needed per variant, number of variants, daily visitors to the page, share of traffic in the test.
  2. Results update instantly as you type.
  3. Use “Copy link to these results” to share or save your numbers.

Formula

Days = Sample per variant × Variants ÷ (Daily visitors × Share in test)

Example

With sample size needed per variant of 24,000, number of variants of 2, daily visitors to the page of 3,000, share of traffic in the test of 100%: total sample needed = 48,000; days to run = 16; full weeks to run = 3.

How to read the result

Run tests in whole weeks so every weekday is covered equally, and for at least one or two full weeks even with heavy traffic.

Frequently asked questions

Where do I get the sample size?

From a sample size calculator, using your baseline conversion rate and the smallest uplift worth detecting.

What if the test would take months?

Test a bigger change, a higher-traffic page, or a step earlier in the funnel with more conversions.

Last reviewed 2026-11-25 · How we build and check our tools