Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Free tool

A/B Test Duration Calculator

Enter your baseline conversion rate, minimum detectable effect and daily traffic to see exactly how many days your test needs to run.

Home / Tools / A/B Test Duration Calculator
Sample size per variation
-
Total visitors needed
-
Days needed
-

Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies

An A/B test duration calculator answers the question a sample size number alone cannot: how many calendar days will it actually take to collect that sample given your real traffic. It uses the same two-proportion sample size formula as our A/B test sample size calculator, then divides by your daily traffic across variations and applies a 14 day floor.

Sample size versus duration

Sample size tells you how many visitors each variation needs to detect your target lift reliably. Duration takes that same sample size and divides it by your actual daily traffic, split across your variations, to tell you how many calendar days that traffic will take to arrive. Two sites needing the identical sample size can have very different durations if one gets far more daily visitors than the other.

Why a 14 day minimum

Even a test that mathematically reaches its sample size in a handful of days is commonly extended to at least one to two weeks so it captures a full weekly cycle, since visitor behavior and conversion rate often differ meaningfully between weekdays and weekends. Cutting a test short before that cycle completes risks a result skewed by whichever days happened to be included, which is why this calculator never returns fewer than 14 days even when the raw math needs less.

What to do about a duration that is too long

A long duration usually means your minimum detectable effect is too small for your traffic level. Consider testing for a larger, more meaningful lift, testing a bigger change likely to move the needle further, or concentrating traffic on fewer, higher-impact pages rather than spreading a test across low-traffic ones. Whatever the duration comes out to, commit to it in advance and avoid stopping the test early the moment it looks significant, since checking repeatedly and stopping at the first good-looking result inflates your false positive rate well beyond your chosen confidence level.

Related articles

FAQ

A/B Test Duration Calculator: questions, answered

How is test duration different from sample size?
Sample size tells you how many visitors each variation needs to detect your target lift reliably. Duration takes that same sample size and divides it by your actual daily traffic, split across your variations, to tell you how many calendar days that traffic will take to arrive. Two sites needing the identical sample size can have very different durations if one gets far more daily visitors than the other.
Why does this calculator enforce a 14 day minimum?
Even a test that mathematically reaches its sample size in a handful of days is commonly extended to at least one to two weeks so it captures a full weekly cycle, since visitor behavior and conversion rate often differ meaningfully between weekdays and weekends. Cutting a test short before that cycle completes risks a result skewed by whichever days happened to be included.
What happens if I stop the test as soon as it looks significant, before reaching the calculated duration?
This is called peeking, and it inflates your false positive rate well beyond your chosen confidence level, because checking repeatedly and stopping at the first significant-looking result is statistically different from checking once at a predetermined sample size. Commit to the calculated duration in advance and resist checking for a good enough result early.
My calculated duration is extremely long. What are my options?
A long duration usually means your minimum detectable effect is too small for your traffic level, so consider testing for a larger, more meaningful lift, testing a bigger change likely to move the needle further, or concentrating traffic on fewer, higher-impact pages rather than testing something with limited exposure.
Does daily traffic mean total site traffic or traffic to the specific page being tested?
Enter the daily visitor count that will actually see the test, meaning traffic to the specific page, flow or element where the variations run, not your whole site's traffic. Testing on a low-traffic page will always take proportionally longer, regardless of how much traffic the rest of your site gets.

More free tools

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com