A/B Test Duration Calculator Guide: How Long Should You Run a Test?
A/B testingCROexperimentationconversion ratessplit testing

A/B Test Duration Calculator Guide: How Long Should You Run a Test?

CClicker.cloud Editorial Team
2026-11-28
7 min read

Estimate A/B test duration with baseline conversion rate, detectable effect, traffic, confidence, power, and practical stopping rules.

An A/B test duration calculator can estimate how much traffic and time you need before comparing two versions. This guide shows how to choose the right inputs, estimate sample size and run time, interpret the assumptions behind the result, and decide when a test is ready for review without stopping it simply because an early result looks promising.

Overview

The question “How long should I run an A/B test?” does not have one fixed answer. The required duration depends on your baseline conversion rate, the smallest improvement worth detecting, the amount of eligible traffic, the number of variants, and the statistical confidence and power used by your testing method.

A useful estimate has two parts:

  1. Sample size: the number of eligible users, sessions, or accounts needed for each variant.
  2. Calendar duration: how long it takes to collect that sample while accounting for traffic patterns and complete business cycles.

For example, a high-traffic landing page may collect its planned sample quickly, while a low-volume checkout experiment may need several weeks. Neither result is automatically reliable because of its duration alone. A test can run for a month and still be inconclusive if it has too little traffic or an outcome that is too rare to measure precisely.

Before starting, define one primary conversion event. It might be a completed purchase, submitted lead form, trial activation, or another action directly connected to the hypothesis. Secondary metrics such as button clicks, engagement, or revenue per visitor can provide context, but changing the primary metric after launch makes the result harder to interpret.

For related measurement work, see the GA4 Funnel Exploration Template to map the steps between a landing page and a conversion.

How to estimate

Use this repeatable workflow with an A/B test duration calculator or statistical sample-size calculator.

  1. Define the unit of analysis. Choose whether the test is based on unique users, sessions, accounts, or another unit. Use the same unit for traffic, conversion rate, and sample size. If one person can appear repeatedly, user-level randomisation and user-level analysis are usually easier to interpret than mixing users and sessions.
  2. Record the baseline conversion rate. Use a stable historical period that resembles the traffic you expect during the experiment. If the existing rate is 4%, enter 0.04, not 4.
  3. Set the minimum detectable effect. Decide the smallest change that would justify action. A relative increase from 5% to 6% is a 20% relative improvement but only a one-percentage-point absolute improvement. Calculators need the absolute rates or the relative change plus the baseline.
  4. Select confidence and power. Confidence controls the false-positive threshold in the chosen testing framework. Power describes the chance of detecting the specified effect if it is real. Common planning conventions use 95% confidence and 80% power, but the appropriate settings depend on your decision risk and testing process.
  5. Choose the number of variants. A two-arm test divides traffic between control and one challenger. A test with two challengers needs more total traffic for the same comparison quality, especially if each variant must receive a useful sample.
  6. Convert sample size to time. Divide the required sample for each arm by the expected eligible traffic per arm. Then round up to complete representative weekly or business cycles rather than ending halfway through a predictable traffic pattern.

A simple planning expression is:

Estimated days = required sample per arm ÷ expected eligible users per arm per day.

This is only a first estimate. A proper calculator should account for the statistical test, two-sided or one-sided comparison, number of variants, and the type of conversion data. Do not treat the result as permission to stop as soon as the displayed sample is reached if the test has unusual traffic, implementation problems, or a pre-agreed minimum runtime.

Inputs and assumptions

The quality of an A/B testing sample-size estimate depends more on its inputs than on the appearance of the calculator. Review each field before relying on the output.

InputWhat to enterCommon mistake
Baseline conversion rateThe current rate for the same audience and conversion eventUsing a broad site average for a specific landing page
Minimum detectable effectThe smallest absolute or relative change worth acting onChoosing an ambitious lift that is not commercially meaningful
Eligible trafficUsers or sessions that can actually enter the testUsing total site traffic when only a segment sees the page
Confidence and powerYour planned statistical thresholdsChanging thresholds after seeing the result
VariantsControl plus every challenger receiving trafficCalculating duration as if all traffic goes to one comparison

Traffic should be allocated consistently, and the experiment should randomise visitors into variants without systematic differences. Check that the primary event fires once per intended unit, that conversions are attributed to the correct variant, and that users do not move between versions unexpectedly. A broken event-tracking setup can make a precise sample-size calculation irrelevant.

Also account for practical factors that a basic calculator may not model well: seasonality, weekday and weekend behaviour, campaign launches, product releases, outages, returning users, and delayed conversions. Privacy-conscious analytics can still support conversion measurement, but you need a clearly defined eligible population and a consistent counting method. If campaign traffic is part of the experiment, use disciplined campaign naming and parameters; the UTM Parameters Explained guide covers that foundation.

Worked examples

Example 1: A landing page with a 5% baseline

Suppose a landing page converts 5% of eligible visitors. The team considers a change worthwhile if it reaches 6%, an absolute increase of one percentage point. With two equally sized arms, a two-sided comparison, and illustrative planning settings of 95% confidence and 80% power, a standard two-proportion calculation may require roughly 800 to 900 eligible users per arm. The exact output varies by calculator and method.

If the page receives 4,000 eligible visitors per arm each week, the statistical sample could be collected in well under a week. That does not automatically make a one-day test appropriate. A short test may capture an unusual weekday, a campaign spike, or incomplete conversions. In practice, the team might set a longer minimum runtime to observe representative traffic cycles, provided the test remains technically valid.

Example 2: A checkout with a 10% baseline

Now assume a checkout converts 10% of eligible users and the smallest useful improvement is from 10% to 12%. This two-percentage-point change is a 20% relative improvement, but the lower absolute difference can require several thousand users per arm under the same illustrative confidence and power settings. If each arm receives about 1,000 eligible users per week, the estimate may extend to multiple weeks.

The lesson is that “20% improvement” does not determine duration by itself. The baseline and absolute difference matter. Before launching, write down the baseline, target rate, required sample per arm, expected traffic, planned minimum runtime, and stopping rule. This record prevents the test from becoming a search for a favourable day.

When to recalculate

Recalculate before every new experiment because the inputs are specific to the page, audience, event, and traffic source. Revisit the estimate when any of these change:

  • The baseline conversion rate moves materially or was based on an unrepresentative period.
  • A campaign, pricing change, product release, or seasonal event changes the audience mix.
  • The test receives less eligible traffic than forecast or traffic is split unevenly.
  • You add a variant, change the allocation, or introduce a second primary comparison.
  • The conversion event, tracking implementation, eligibility rule, or attribution window changes.
  • The minimum effect worth detecting changes after a business or product decision changes.

During the test, monitor implementation and traffic quality rather than repeatedly checking significance to decide whether to stop. Investigate missing events, sample-ratio imbalance, broken pages, duplicate conversions, and major traffic changes. If a serious issue invalidates part of the data, document the affected period and decide whether to restart instead of quietly adjusting the analysis.

When the planned sample and minimum runtime are complete, review the primary outcome first. Consider the estimated effect, uncertainty interval, practical value, and impact on guardrail metrics—not only whether a threshold was crossed. If the result is inconclusive, the responsible options are usually to collect the preplanned additional sample, run a better-powered follow-up, or reject the change if its potential benefit is too small to justify further testing.

For a practical pre-launch routine, save the calculator inputs with the experiment brief, verify event tracking in a test environment, record the stopping rule, and schedule a review after the expected runtime. Then recalculate whenever traffic, conversion behaviour, or the decision threshold changes. That habit makes an A/B test duration calculator a planning tool rather than a reason to stop at the first convenient result.

For the next step after duration planning, use the A/B Test Duration and Sample Size Guide alongside a conversion audit to connect statistical readiness with page-level improvements.

Related Topics

#A/B testing#CRO#experimentation#conversion rates#split testing
C

Clicker.cloud Editorial Team

SEO and Analytics Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.