A/B Testing Tips: 14 Rules on Sample Size, Significance, Duration and SRM Checks for Tests You Can Trust
14 A/B testing tips for SMB marketers: fix sample size first, stop peeking, run full weeks, test one idea, check sample ratio mismatch and read results well.
Trustworthy A/B tests follow a few rules. Write the hypothesis and primary metric first, calculate the sample size before launch, run for complete weeks, and do not stop early because a dashboard shows significance. Check the traffic split for sample ratio mismatch, change one idea per test, and treat surprising wins with suspicion until they replicate.

An A/B test is only as good as its setup. Small mistakes, such as checking results daily or changing the variant mid-test, can make a random blip look like a winner. These 14 tips draw on published guidance from statisticians and experimentation platforms so your next test gives an answer you can act on.
What should you decide before an A/B test starts?
Decide the hypothesis, the single primary metric, the minimum effect worth detecting, the sample size and the run length before launch. Writing these down stops the team from moving goalposts once data arrives. A pre-registered plan is the cheapest protection against false wins and wasted engineering time.
1. Write the hypothesis and primary metric first
State what you will change, for whom, and which metric should move. Pick one primary metric and a few guardrails such as revenue per visitor or refund rate. Choosing the metric after seeing results lets chance pick the winner.
2. Calculate sample size before launch
Evan Miller's rule of thumb is n = 16σ²/δ² visitors per variant, where δ is the minimum detectable effect and σ² is p(1 − p) for a baseline conversion rate p. Small effects on low baseline rates need large samples, so run the numbers before committing design time.
3. Choose a minimum detectable effect you would act on
The minimum detectable effect is the smallest lift worth shipping. Set it from business value, not from hope. VWO's duration guidance notes that changing test length changes the detectable effect and the visitors required, so trade off speed and sensitivity explicitly.
4. Test one idea per test
A variant can contain several changes, but they should express one idea, such as a clearer value proposition. If you change the headline, price display and form at once and win, you will not know why. Optimizely's analysis does show bolder, multi-change experiments deliver stronger gains, so be ambitious within a single hypothesis.
How long should an A/B test run?
Run until you reach the planned sample size, and for at least one full week so weekday and weekend behavior are both included. VWO advises at least 7 days and suggests aiming to conclude within about four weeks. If your sample size needs much longer, test a bigger change or a busier page.
5. Run complete weeks
Buyers behave differently on Monday morning and Saturday night. Starting and stopping on the same weekday keeps each day equally represented, which VWO describes as capturing natural fluctuations across weekdays and weekends.
6. Do not stop when the dashboard first shows significance
Evan Miller showed that stopping at the first significant result produced a 26.1% false positive rate in his worst-case example, more than five times the nominal 5%. If you must monitor continuously, use a tool built for it, such as a sequential or Bayesian design, which Miller recommends for early stopping.
7. Do not change the test while it runs
Editing the variant, the traffic split or the targeting mid-test mixes two experiments into one dataset. If something is broken, stop, fix it and restart with a fresh sample.
How do you know an A/B test result is trustworthy?
Check data quality before reading the outcome. Confirm the traffic split matches the plan, that both variants tracked conversions correctly, and that no outside event skewed one group. Then read the primary metric at the planned sample size, with its confidence interval, and look for consistency across devices and segments.
8. Check for sample ratio mismatch
A sample ratio mismatch (SRM) means the observed split differs significantly from the planned one, such as 50/50. Researchers from Microsoft and other companies call SRM one of the most useful indicators of data quality problems and found it in about 6% of Microsoft experiments and 10% of triggered analyses at LinkedIn. Treat a test with SRM as invalid until you find the cause.
9. Know the usual causes of SRM
Optimizely lists redirects that visitors abandon before the page loads, force-bucketing users from earlier experiments, site-level redirects that skip the testing snippet, and tracking calls loaded differently across variations. Redirect tests deserve extra scrutiny.
10. Run an A/A test on a new setup
An A/A test serves the same experience to both groups. A significant difference or an SRM in an A/A test points to a setup or tracking fault, according to the SRM rules of thumb published by Fabijan and colleagues.
11. Report effect size and interval, not just a p-value
A significant result tells you the difference is unlikely to be zero, not that it is large. Share the estimated lift, its interval and the absolute numbers so stakeholders can judge whether the change is worth shipping.
| Pre-launch and pre-readout check | Why it matters |
|---|---|
| Hypothesis, primary metric and guardrails written down | Prevents choosing the metric after seeing the data |
| Sample size and end date fixed | Prevents peeking-driven false positives |
| Variants checked on mobile and desktop | Prevents a broken variant from losing for the wrong reason |
| Conversion tracking verified in both variants | Prevents measurement gaps that look like lifts or losses |
| Traffic split tested for SRM | Flags assignment or tracking faults before you trust the result |
| External events noted (sales, outages, campaigns) | Explains unusual swings during the test window |
What should you do after an A/B test ends?
Ship clear winners, record every result, and plan the next test from what you learned. Be skeptical of very large wins, because they are more often bugs than breakthroughs. Most tests will be flat or negative, so a test library that captures why each idea failed is worth as much as the winners.
12. Expect most tests not to win
Optimizely found 12% of experiments improved the primary metric significantly, and a peer-reviewed review co-authored by Ron Kohavi notes that more than 50% of ideas generally fail to produce meaningful improvements. Plan the roadmap around that rate.
13. Replicate surprising results
If a small copy change produces a huge lift, check tracking, segments and SRM first, then re-run the test before rebuilding your site around it.
14. Use a supported testing tool
Google Optimize was sunset on September 30, 2023. Google now points to third-party tools that integrate with Google Analytics, naming AB Tasty, Optimizely and VWO. Choose one with automatic SRM checks and a statistics model that supports the way your team monitors tests.
We can design your experiment plan, set up tracking and read results with you.
Frequently asked questions
What confidence level should an A/B test use?
Many teams use a 5% significance level, equal to 95% confidence, but the level only means something if you fix the sample size first and do not stop early. Evan Miller showed that stopping at the first significant reading can push the real false positive rate far above 5%. Agree the level, power and sample size in advance.
Can I A/B test with low traffic?
Yes, but test bigger changes on your busiest pages, and accept that small effects will be undetectable. Use the sample size formula to check whether a test can finish within about four to six weeks. If it cannot, rely on usability testing and research-backed changes, and compare before-and-after rates carefully instead.
What is a sample ratio mismatch in simple terms?
It is when the number of visitors in each variant differs more than chance allows from the split you planned, such as getting 52% and 48% of a large audience in a 50/50 test. It signals that something in assignment or tracking is broken, so the result should not be trusted until the cause is fixed.
Should I use Bayesian or frequentist testing?
Either works when used as designed. Frequentist tests need a fixed sample size and no early stopping. Bayesian and sequential methods, which Evan Miller points to as options, are built to allow monitoring during the test. Pick the approach your testing tool supports properly and train the team on how to read it.
Sources
- Evan Miller: How not to run an A/B test
- Fabijan et al.: Diagnosing sample ratio mismatch in online controlled experiments (KDD 2019)
- Larsen, Kohavi et al.: Statistical challenges in online controlled experiments (The American Statistician)
- Optimizely: Automatic sample ratio mismatch detection
- Optimizely: Top 10 takeaways from 173,000 experiments
- VWO: A/B test duration
- Google Analytics Help: Google Optimize sunset
Figures are quoted as each source states them, for the period and sample it reports. Platform rules change often, so check the linked documentation before you act. This is general information, not legal or financial advice. Spotted an error? Email care@express.digital and we will correct it.

Nikhil Sharma edits Express Digital Insights. He has worked in digital marketing for about 20 years and has been a digital evangelist since 2005. Our editorial policy.



