DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk4 min

How Long Should an A/B Test Run? It Depends on the Evidence

A/B tests do not have a universal run time. Estimate the required sample for a decision-relevant effect, translate eligible traffic into time, and choose a stopping rule before launch.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no universal number of weeks for an A/B test. Work out how many eligible users you need to detect the smallest effect that would change your decision, estimate how quickly those users will enter the test, and choose a stopping method before launch. Then account for calendar patterns and delayed outcomes that could make a shorter run misleading.

What determines how long your A/B test needs to run?

Duration is the sample required for a decision, divided by the rate at which eligible users enter the experiment. The required sample depends on the primary metric, its baseline rate or variability, the effect you want to detect, and your statistical decision criteria. At the same traffic rate, detecting a smaller effect generally requires more observations and more time.

As an Amazon Associate I earn from qualifying purchases.

Amplitude’s key terms describe the relationship between sample size and traffic; Google Search Central likewise notes that duration varies with traffic and conversion rate. A calculator’s output is an estimate, not a guaranteed end date.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Plan the duration before launching

  1. Choose one primary metric. State what change you are testing and which outcome will decide whether to ship it. Name guardrail metrics separately so that a gain in the primary metric cannot hide a meaningful downside elsewhere.
  2. Set a decision-relevant minimum detectable effect. The MDE is the smallest effect worth detecting—not simply the most optimistic improvement you hope to see. If a smaller change would not alter your decision, planning for it can needlessly increase the sample and run time. Amplitude explains how to set an experiment’s MDE.
  3. Estimate the sample using the eligible population. Use a baseline rate or metric mean and variance that reflect the users who can actually enter the test, along with the intended allocation between variants. If only a subset of site visitors is eligible, total site traffic will overstate the exposure rate. Statsig’s power-analysis documentation describes the inputs used to estimate sample needs.
  4. Translate the sample into elapsed time. Divide the required exposures by expected eligible exposures per day, accounting for the allocation to each variant. Amplitude’s duration-estimation guidance describes estimates based on means, variances, and exposure rates; its estimate can be less reliable when those inputs change, and one workflow assumes constant daily exposure.
  5. Check whether the calendar affects the result. Consider weekday differences, seasonal changes, delayed conversions, and any learning period in the system being tested. Reaching the planned sample quickly does not make results representative if important behavior has not had time to appear.
  6. Choose the stopping rule before looking at results. Decide whether the test uses fixed-horizon analysis or a sequential method, and follow that method when reviewing interim data.

Fixed-horizon or sequential: which stopping method fits?

Method How interim reviews work Planning commitment Main caution
Fixed-horizon Plan a sample target and evaluate results at the planned endpoint; ordinary repeated checks do not justify stopping early when a favorable result appears. Prespecify the sample and stopping point. Repeatedly checking and stopping on ordinary significance can inflate false-positive risk.
Sequential Interim decisions can be valid when the sequential adjustment is active and the chosen decision criteria are followed. Plan for interim review under the method’s decision rules. Sequential analysis does not remove all risk or ensure that every guardrail has enough data to detect harm.

Statsig’s sequential-testing documentation explains adjusted interim inference. Whichever method you choose, do not treat a favorable snapshot on a selected metric as proof that the experiment is adequately powered for other outcomes.

When should calendar coverage change the estimate?

A sample-size target and an elapsed-time target answer different questions. Sample size addresses how much data the analysis needs; elapsed time helps ensure that data covers relevant patterns and that outcomes have time to mature. For example, a conversion metric with a delay needs time for users who entered near the end of the test to convert before the result is assessed.

Google Ads API documentation recommends running its campaign experiments for at least four weeks to cover weekly cycles, conversion delays, and learning periods. That guidance is specific to Google Ads campaign experiments, not a general duration rule for website or product A/B tests. See the Google Ads API experiment-reporting guidance.

Why can a duration estimate change?

An estimate depends on inputs such as eligible exposure rate, baseline metric behavior, and variance. If targeting changes, traffic shifts, or the metric behaves differently over time, the estimate may no longer describe the experiment you are running. Seasonality can also reduce the accuracy of forecasts based on past averages. Revisit the forecast when a material input changes, but do not use an updated estimate as a reason to stop a fixed-horizon test on an unplanned favorable result.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When is the test finished?

Finish when the evidence meets the stopping rule you selected and the result supports a practical decision—not merely because a dashboard briefly shows significance. Interpret the primary metric alongside the guardrails and allow for relevant outcome delays. For website tests, Google Search Central advises ending the test once enough data has been collected and removing test elements after the conclusion. Read Google Search Central’s website-testing guidance.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.