Customer Impact

Growth & Strategie

How Long to Run an A/B Test? Plan the Duration Upfront

Copy for AI

Run an A/B test until its planned sample is in: one week minimum.

How long you run an A/B test decides whether your result is right or not.

The verdict: calculate the duration upfront from your required sample size and expected effect. Then let the test run for at least one to two full business cycles before you draw a conclusion.

Stop earlier because a variant looks promising and you’re probably measuring noise, not a real difference.

There’s no fixed number that fits every test.

Two weeks is a handy rule of thumb, but it isn’t a law.

The right duration depends on three things:

  • how much traffic you get
  • how big the difference is that you want to prove
  • what your sales process looks like

Let’s make it concrete.

Why do you set the duration upfront?

Because peeking misleads. Stopping when a variant leads is the fastest route to the wrong conclusion.

The biggest mistake in A/B testing has nothing to do with the tool.

It’s human behaviour: you look too early, you see variant B is ahead and you stop the test.

That’s called peeking.

Our guide on A/B test peeking goes deeper.

The numbers swing hard early on

It’s a statistics problem.

Early in a test the numbers swing hard.

A variant can be 20 percent ahead after three days and level after two weeks.

If you look every day and stop the moment it suits you, you’ll always find a “winner” sooner or later.

Even when both variants actually perform equally well. That’s deciding on chance.

How big the error gets

Evan Miller shows how big this gets in How Not To Run an A/B Test.

In his simulation of a change that does nothing, stopping at the first 5% significance result produced a false positive rate of 26.1%. That’s more than five times the nominal level:

EVAN MILLER SIMULATION, A CHANGE THAT DOES NOTHING Peeking inflates false positives Stop at first significant result 26.1% Fixed sample, checked once 5% False positive rate at a nominal 5% significance level.

The fix: decide before you start

The solution is simple in design and hard in discipline.

You decide the duration and the required sample before the test starts, and you stick to it.

Miller puts it plainly: “Decide on a sample size in advance and wait until the experiment is over.”

The UK government’s guidance on A/B testing says the same: “Decide how long to run the test for.” It bases that on monthly visitors and the expected change in behaviour.

You’re free to check in along the way to make sure nothing is broken.

But you only draw your conclusion at the agreed endpoint.

That turns a test from a gamble into a reliable measurement.

Why this matters beyond one test

This discipline is exactly what sets growth marketing apart from one-off tricks.

Growth becomes predictable when you measure systematically and strictly, not when you interpret optimistically.

For the bigger system, read our pillar on what growth marketing is.

What are the three factors that determine your duration?

Sample size, full business cycles and your sales cycle.

You weigh them against each other upfront.

1. Your sample size

Sample size is the number of visitors or conversions you need per variant to prove a difference reliably.

The smaller the effect you want to measure, the more people you need.

A difference of 50 percent you can prove with little traffic. A difference of 2 percent demands a far bigger sample.

How to calculate it

In practice you use a sample size calculator, such as Evan Miller’s free sample size calculator. You enter four inputs:

  • your current conversion rate
  • the smallest effect worth detecting (the minimum detectable effect)
  • your significance level
  • your statistical power

Here’s what that looks like with a 3% baseline and a 50% relative effect:

The calculator gives you the number of visitors per variant.

Divide that by your daily traffic per variant and you roughly know how many days your test needs.

Our explainers on sample size and statistical power cover each input.

A worked example

For example, say your page converts at 3% and gets 500 visitors a day, split over two variants. With 5% significance and 80% power, the standard formula gives:

EXAMPLE: 3% BASELINE, 250 VISITORS PER VARIANT PER DAY Days needed per minimum detectable effect 10% relative lift about 213 days 20% relative lift about 56 days 30% relative lift about 26 days 50% relative lift about 10 days Two-sided test, 5% significance, 80% power. Round up to whole weeks.

A 50% lift needs about 2,514 visitors per variant: 10 days, so you run 14.

A 10% lift needs about 53,208 per variant: roughly 213 days.

The reality check

Here comes the reality check.

If you have little traffic and want to measure a small effect, you end up with a duration of months.

That’s often unworkable.

Rule of thumb: test bolder, more noticeable changes that produce a larger effect. Skip micro-tweaks you’ll never prove reliably.

2. Full business cycles

Visitors don’t behave the same way every day.

A B2B audience converts differently on a Monday morning than on a Sunday evening.

At the end of the month budgets come into play, at the start of the month other priorities do.

If your test only runs a few days, you happen to measure a favourable or unfavourable period.

One week minimum, two preferred

That’s why you always run a test for at least one full week, and preferably two.

That way every day of the week carries equal weight.

The help centre of testing vendor VWO (Wingify) calls 7 days “a common recommendation” in its page on minimum test duration. Its reason: “Many visitor behaviors and website traffic patterns exhibit weekly trends.”

For B2B with a longer orientation phase, two to four weeks is often more realistic.

A prospect rarely converts on their first visit.

Close on a full cycle

Watch out: also close a test on a full cycle.

Stop after ten days and one weekend counts double relative to the working days.

Close at seven or fourteen days and every weekday is represented equally often.

3. Your business cycle and sales cycle

For B2B, this one gets forgotten most.

Your conversion on the website is rarely the end of the story.

Someone fills in a form, and only weeks later does a quote or a deal come out of it.

If you only test on the direct website conversion, you may be measuring more requests of lower quality.

Meanwhile actual revenue drops.

Plan around your sales process

So plan your duration partly around your sales process.

If you test a change that affects lead quality, your test has to run long enough to see those leads move through the pipeline.

For example, a two-week test judged on the number of requests can mislead you.

It may take six weeks before it’s clear which requests turn into pipeline.

Our guide to lead generation with a long sales cycle shows how to track leads that slowly.

Steer on the right metric

This is exactly why you steer on the right metric.

Optimise for revenue, qualified leads and pipeline, not for vanity metrics that look good but bring in no money.

A growth marketing agency that builds your growth engine therefore always ties test results back to the bottom line.

What does a practical step-by-step plan look like?

Four steps: target metric, sample size, days rounded to cycles, a locked endpoint.

Here’s how to plan the duration:

A/B TEST Planning the duration in four steps 01 Target metric close to revenue 02 Sample size per variant 03 Convert to days round to cycles 04 Lock the endpoint do not touch it Calculate upfront, do not decide afterwards at the moment a variant wins.
  1. Decide your target metric. What do you really want to improve? Pick the metric closest to revenue, not the easiest one to measure.
  2. Calculate your sample size. Enter your current conversion, your minimum relevant effect and your confidence level into a calculator. Note the number of visitors per variant.
  3. Convert to days and round up to whole cycles. Divide the sample size by your daily traffic. If that works out at twelve days, for example, round up to fourteen so you measure whole weeks.
  4. Lock the endpoint and don’t touch it. Write down the end date and the required sample before you start. Along the way, look only to catch technical errors, not to decide early.

Too short versus too long

With this approach you avoid two opposite pitfalls:

Too shortToo long
What happensyou measure noiseyou waste traffic
The costconclusions built on chanceweeks not spent on the next test
The fixwait for the planned samplestop at the locked endpoint

The optimum sits between the two, and you find it by calculating upfront.

Every extra week a clear result runs needlessly is a week lost for the next improvement.

That slows your experiment velocity.

What if you don’t have enough traffic?

Test bigger. Watch real visitors.

Many B2B sites simply have too little traffic for classic A/B tests on small effects.

That’s no reason to stop optimising, but it is a reason to adapt your approach.

Test bigger, clearer changes

Test changes that produce a larger effect.

For example, a completely rewritten landing page instead of a different button colour.

Bigger effects show up faster, as the worked example above shows.

Use qualitative research first

Lean on qualitative research, such as session recordings and user interviews.

They show where visitors drop off before you build a variant.

Microsoft Clarity is a free option for recordings and heatmaps:

Microsoft Clarity homepage with a demo dashboard of sessions, pages per session and scroll depth, a free qualitative research tool when traffic is too low to decide how long to run an A/B test Microsoft Clarity’s homepage, October 2026. Recordings and heatmaps show where visitors hesitate, without waiting weeks for significance.

That way you don’t lose months on a test you’ll never conclude reliably.

Our guides on A/B testing with low traffic and when not to A/B test cover the alternatives.

Keep a test calendar

A good test calendar also stops isolated experiments from running alongside each other without coherence.

How to move from isolated experiments to a structural programme, you can read in from isolated A/B tests to a test programme.

Unsure about the basics? Start with what A/B testing exactly is.

Frequently asked questions about how long to run an A/B test

Is two weeks always long enough?

No.

Two weeks covers two full weekly cycles, but it’s only enough if you’ve also reached your planned sample size. Low traffic can push that to months.

Can I stop a test early if one variant is clearly winning?

Not if you want a reliable result.

Stopping at the first significant moment inflates false positives, as Miller’s 26.1% simulation shows.

What’s the maximum time to run an A/B test?

There’s no hard limit, but very long tests waste traffic and slow your learning.

If the calculation says months, test a bolder change instead.

Bigger changes finish sooner.

Conclusion: is duration a choice or a discovery?

A choice.

You decide the duration of an A/B test upfront, not afterwards.

Calculate your sample size, run at least one to two full cycles, account for your sales cycle and lock the endpoint.

Then every experiment becomes a reliable building block of your growth engine.

Want your experiments to steer on pipeline and revenue? Get in touch with us and we’ll plan your next test’s duration together.

Free website scan

Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.

Where should we send your report?

We only use your details for your scan. No spam, unsubscribe anytime.