How Long Should an A/B Test Run? A Sample Size and Significance Planning Guide
A/B TestingExperimentationCROSample SizeStatistics

How Long Should an A/B Test Run? A Sample Size and Significance Planning Guide

DDashbroad Editorial Team
2026-11-29
7 min read

Estimate A/B test duration using sample size, baseline conversion rate, traffic, significance, power, and practical stopping rules.

How long should an A/B test run? The answer depends on your baseline conversion rate, expected improvement, traffic, allocation, and decision rules—not on a fixed number of days. This guide shows how to estimate an A/B test duration, choose practical inputs, interpret experiment significance, and document a result you can defend.

Overview

An A/B test compares a control experience with one or more variants against a predefined outcome, such as a completed form, checkout, subscription, or qualified lead. The test should run long enough to collect the planned sample and represent the normal conditions under which the page operates.

That usually means answering two separate questions:

  • How much data is needed? This is the sample-size question.
  • How quickly will that data arrive? This is the duration question.

A high-traffic website may reach its planned sample quickly, while a low-volume site may need substantially longer. However, more traffic does not fix poor conversion tracking, an unstable page, or an unclear primary metric. Before calculating duration, confirm that the conversion event is recorded consistently and that the test changes only the intended experience.

For measurement fundamentals, review your website analytics regression testing checklist before launch. If the experiment relies on GA4 event tracking, form tracking, or purchase data, validate those events before treating the results as decision-ready.

How to estimate

A practical A/B test duration estimate follows this sequence:

  1. Define the primary conversion. Select one main outcome for the decision, such as completed checkout or submitted lead form. Secondary metrics can identify risks, but they should not quietly replace the primary metric after results appear.
  2. Record the baseline conversion rate. Use a recent, representative period and the same audience and page scope as the planned test. A baseline of 2% means approximately 2 of every 100 eligible visitors complete the chosen action.
  3. Set the minimum detectable effect. Decide the smallest change worth acting on. This can be expressed as a relative lift or, preferably for planning, an absolute percentage-point difference. For example, moving from 2.0% to 2.5% is a 0.5 percentage-point increase.
  4. Choose statistical planning settings. A sample-size calculator commonly asks for a significance threshold and statistical power. The threshold defines how much evidence is required under the selected method; power describes the planned ability to detect the chosen effect if it is real. Use the same assumptions consistently rather than changing them after seeing the data.
  5. Estimate eligible traffic per day. Count users or sessions that can actually enter the experiment—not total site traffic. If traffic is split evenly between two experiences, divide the eligible daily volume accordingly when the calculator reports sample size per variation.
  6. Convert sample size into time. A simple planning formula is: estimated duration = required total participants ÷ eligible participants per day. Add practical time for traffic variability and for the test to experience the normal weekly pattern.

This is a planning estimate, not a promise. A test can take longer when traffic falls, eligibility rules exclude more visitors than expected, or the conversion event is less frequent than the baseline suggested.

Do not stop solely because a dashboard displays a favorable result on an early day. Repeatedly checking and stopping whenever the result crosses a preferred threshold can increase the risk of a false positive. Set the stopping rule before launch: for example, run until the planned sample is reached, the minimum practical duration has passed, and tracking has remained valid.

Inputs and assumptions

The quality of an A/B test duration estimate is limited by its inputs. Record the following in an experiment brief or decision log:

InputWhat to recordWhy it matters
Primary metricThe single conversion used for the decisionPrevents metric switching after the test begins
Baseline rateRecent conversion rate for eligible trafficSets the starting point for sample-size planning
Minimum detectable effectThe smallest meaningful absolute or relative changeSmaller effects require more observations
Traffic volumeEligible users or sessions per dayDetermines how quickly the sample can accumulate
Traffic allocationFor example, an even split between control and variantChanges the number of observations per experience
Significance and powerThe settings required by your testing methodDefines the evidence standard used for planning
Minimum runtimeA planned period that covers normal traffic patternsHelps avoid decisions based on an unusually narrow window

Keep the unit of analysis consistent. If the experiment randomizes users, avoid calculating duration from sessions without understanding the difference. Repeat visitors can otherwise contribute disproportionate observations. Likewise, make sure the conversion window is long enough for the action you measure. A visitor who converts after the initial session may need to be attributed back to the correct experiment exposure.

Check for technical risks before launch: duplicate events, missing consented events, cross-domain interruptions, redirects, and uneven traffic allocation. The consent mode and analytics troubleshooting checklist can help investigate missing GA4 or advertising conversions, while the conversion tracking comparison explains why platform counts may not match one another.

Interpretation also depends on the experiment design. A test with several variants, multiple primary outcomes, or many audience cuts creates more opportunities to find an apparently positive result by chance. Treat those segments as exploratory unless they were included in the original plan and adequately sized.

Worked examples

Example 1: A high-volume landing page

Suppose a landing page converts at 4.0%, and the team considers a change worthwhile only if it improves the rate to at least 4.8%. The absolute difference is 0.8 percentage points. The team enters the baseline, target effect, chosen significance and power settings, two variations, and the eligible traffic estimate into an A/B test duration calculator.

The calculator returns a required sample for each variation. If the page receives 1,000 eligible visitors per day and the split is even, each variation receives approximately 500 visitors per day before accounting for normal fluctuations. Divide the required sample per variation by that daily volume to get an initial duration estimate. Then add a buffer for uneven days and confirm that the planned window includes the business's ordinary traffic mix.

Example 2: A lower-volume form

A lead form converts at 1.5%, and the team wants to identify a change of at least 0.5 percentage points. The same calculator settings may produce a much larger sample than the first example because the baseline is lower and the desired effect is relatively demanding. If only 80 eligible visitors arrive each day, the arithmetic may produce a long test duration.

That result is useful even when it is inconvenient. The team can decide whether to accept the duration, test a larger change, improve the traffic source or eligibility definition, use a higher-volume funnel step as the primary metric, or avoid making a strong statistical claim from a small sample. It should not simply stop early and label a noisy result conclusive.

A simple decision log

Before launch, record: hypothesis, control, variant, primary metric, baseline rate, minimum detectable effect, sample-size assumptions, traffic allocation, planned minimum runtime, stopping rule, and known tracking risks. After the test, add actual sample, conversion counts, observed difference, confidence or credible interval as supported by the chosen method, secondary-metric effects, exclusions, and the final decision.

When to recalculate

Recalculate the A/B test duration before launch whenever the baseline, audience, traffic source, allocation, conversion definition, or minimum detectable effect changes. Revisit it during the test if a material implementation issue changes who enters the experiment or how the conversion is recorded. Do not silently replace the original assumptions; preserve the first plan and explain the revision.

Review the result after the planned sample and minimum runtime are complete. A statistically persuasive result may still be commercially weak if the improvement is smaller than the minimum effect the business can act on. Conversely, a practically valuable change may not meet the original evidence standard if the test was underpowered. In that case, describe the result as inconclusive rather than presenting it as a confirmed winner.

Use this checklist before closing the experiment:

  • Was the primary conversion tracked consistently for both experiences?
  • Did allocation remain close to the intended split?
  • Was the planned sample reached for each variation?
  • Did the test cover the normal traffic and business cycle?
  • Were exclusions, outages, bot activity, and tracking changes documented?
  • Was the decision based on the predeclared metric and stopping rule?
  • Is the observed effect large enough to justify implementation?

Finally, update the estimate when the underlying inputs move. Recalculate after a major redesign, traffic shift, pricing or offer change, seasonality change, tracking migration, or meaningful change in conversion rate. A reusable calculator and decision log turn each new experiment into a more disciplined measurement process rather than another guess about how long an A/B test should run.

Related Topics

#A/B Testing#Experimentation#CRO#Sample Size#Statistics
D

Dashbroad Editorial Team

SEO and Web 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.