Customers & growth · Conversion rate optimization
Test duration framework
Best for Startup
Use it when
You know the sample a test needs and must fix how long it runs, allowing for weekly patterns, buying delays, sales and traffic limits, before launch.
Skip it when
- You have not worked out the sample size per variant. Use Statistical significance framework first.
- You will check results as they arrive and stop early on a clear result. Use Sequential testing to set the looks and thresholds.
- The test has no written metric or smallest lift worth detecting yet. Use Test design framework first.
- You are placing many tests on one calendar across pages and team capacity. Use CRO roadmap development, which takes each run length from here.
- The test has ended and you need to pick the variant to ship. Use Winner selection criteria.
What to apply first and what to use instead are listed below.
Inputs
- Sample sizeThe sample per variant and the number of variants including control, from Statistical significance framework.
- Eligible trafficDaily visitors or users who reach the tested page, by day of week, over the last four to eight weeks, from analytics.
- Traffic shareThe percentage of eligible traffic the test will receive, from the test plan.
- Business cycleThe length of your weekly pattern and the typical days from first visit to purchase, from analytics or the CRM.
- CalendarSales, holidays, campaigns and releases in the next two months, from marketing and engineering.
- Visitor ID limitsOptionalHow long your testing tool keeps a visitor in the same group, including browser cookie limits, from the tool's docs.
Steps
- Divide the total sample by daily eligible traffic times the traffic share to get the raw days needed.
- Round up to whole weeks, with one full week as the floor, and add the typical days from visit to purchase so late conversions count.
- Check the window against the calendar, and move or extend it so a sale, holiday or large campaign does not dominate it.
- If the run is longer than the business can wait, raise the smallest lift worth detecting, cut variants or raise the traffic share, then recalculate.
- Check the run fits within how long visitor IDs last, or assign visitors server-side for long tests.
- Write the start date, end date and the rule to run to that date in the test plan, and plan a daily read of the effect to catch novelty and one-day spikes.
Output
A dated run plan for one test, attached to the test plan before launch.
- Sample per variant and in total
- Daily eligible traffic and traffic share
- Raw days needed
- Planned run in whole weeks, with purchase delay added
- Start and end date
- Calendar events in the window and the decision on each
- Changes made to fit the traffic, if any
- Visitor ID and novelty checks
Done when
- The run covers whole weeks, at least one, plus the purchase delay.
- The end date is written in the test plan before launch.
- Every calendar event in the window is listed with a decision to move, extend or accept it.
- Where the raw days were too many, the change to lift, variants or share is recorded and the days recalculated.
- The run fits within how long visitor IDs last, or assignment is server-side.
Measure
Each quarter, track the share of tests that ended on their planned date with their planned sample, and the share of shipped winners whose gain held four to eight weeks after launch. Compare with your own previous quarters. Duration planning is working when fewer tests overrun or stop short and more winners hold after launch.
Hypothetical example
Copperleaf, an online coffee subscription, plans a test of a new plan picker against control. Statistical significance framework calls for 24,000 users per variant, 48,000 in total. The page gets 3,000 eligible users a day and the test takes all of them, so it needs 16 days. That rounds up to three full weeks. Most buyers subscribe within three days of a first visit, so the team adds three days. A holiday sale falls in the second week, so the start moves back a week. Part of the traffic uses a browser that clears cookies after seven days, so the team assigns visitors server-side. The plan runs 24 days with a fixed end date.
Common mistakes
- Stopping on the first day the result looks significant. Run to the planned end date, or use Sequential testing.
- Ending partway through a week. Run whole weeks so every weekday counts equally.
- Ignoring the delay between visit and purchase. Add it so late buyers are counted.
- Running through a sale or holiday without noting it. Move the window or extend it past the event.
- Letting a low-traffic test run for months. Change the lift, variants or traffic share, or drop the test.
Sources
- How long to run an experiment (Optimizely documentation) · Optimizely, 2026
- Patterns of Trustworthy Experimentation: During-Experiment Stage · Widad Machmouchi, Somit Gupta, Ruhan Zhang, 2021
- Are you stopping your A/B tests too early? · Kameleoon, 2026
Show all 4 sources
- A/B test duration calculator · Optibase
By company stage
Apply first
- Statistical significance frameworkCustomers & growth · Performance marketing
Test length is set by the sample size needed to reach significance, plus business cycles; significance logic comes first.
Use instead
- Statistical significance framework
You have not worked out the sample size per variant. Use Statistical significance framework first.
- Sequential testing
You will check results as they arrive and stop early on a clear result. Use Sequential testing to set the looks and thresholds.
- Test design framework
The test has no written metric or smallest lift worth detecting yet. Use Test design framework first.
- CRO roadmap development
You are placing many tests on one calendar across pages and team capacity. Use CRO roadmap development, which takes each run length from here.
- Winner selection criteria
The test has ended and you need to pick the variant to ship. Use Winner selection criteria.
Where it sits
Open the conversion rate optimization roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account