A/B Test Sample Size and Stopping Rules You Can Set Before Launch
The best time to decide when a test ends is before it starts. A small plan made up front turns a result into something you can trust and act on.
Estimate sample size first
Three inputs shape how many visitors you need: your current conversion rate, the smallest improvement worth shipping, and how much confidence you want. A baseline of 4 percent and a target lift to 5 percent needs far fewer visitors than detecting a move from 4.0 to 4.1 percent. Choose the minimum effect that would change your decision, then use any standard sample size calculator to find the visitors needed per variant.
A useful habit is to divide that number by your weekly traffic. If the answer is six weeks, you can decide right away whether to test a bigger change, pick a higher traffic page, or choose a metric that moves earlier in the funnel.
Run whole weeks
Behavior changes across the week. Weekday visitors often act differently from weekend visitors, and paydays, newsletters and campaigns shape traffic too. Running complete weeks, usually one to four, gives every variant the same mix of days. Set the end date in your plan and share it with the team.
Pick a stopping rule and follow it
Two stopping rules work well:
- Fixed horizon. Stop when you reach the planned sample size, then read the result once.
- Threshold with a minimum sample. Stop when confidence reaches your chosen level and every variant has collected at least your minimum visitors.
Both give you a decision date or a decision condition that was written down before the data arrived. Looking at the dashboard along the way is perfectly fine for monitoring health, such as confirming events arrive and traffic splits evenly. Save the shipping decision for the moment your rule is met.
Let the platform apply your rule
In Experiment Flow, each experiment has an option to auto-promote the winner when it becomes significant, with a confidence threshold you set. The default threshold in the product is 0.95, which means 95 percent confidence. Choose a higher threshold for changes that are costly to reverse, and combine it with a minimum run time so the promotion happens after a representative period. The dashboard also charts statistical confidence over time, so you can see how the evidence built up.
Plan for an inconclusive result
Many tests end with no clear winner, and that is a useful finding. It tells you the change is not large enough to matter at your traffic level. Keep the simpler variant, record what you learned, and move to a bolder idea. A log of inconclusive tests saves your team from repeating them.
When traffic is limited
- Test larger changes, such as a new offer or layout, instead of small copy edits.
- Choose a metric closer to the change, like clicks on the call to action.
- Focus on your highest traffic page first.
- Consider a bandit, which sends more visitors to the better arm while it learns.
Pre launch checklist
- Baseline rate and minimum lift written down.
- Visitors needed per variant calculated.
- Start date, end date and whole weeks confirmed.
- Auto-promote threshold and minimum sample chosen.
- Owner named for the final decision.
Try it
Set up your next experiment with a clear plan and let Experiment Flow track the evidence. Create a free account and launch your first test today.
Ready to optimize your site?
Start running experiments in minutes with Experiment Flow. Plans from $29/month.
Get Started