How to Run an A/B Test Properly: Sample Size, Duration and Common Mistakes

Most A/B tests fail before they start — wrong metric, too little traffic or stopped too early. Here is how to run tests you can trust.
A/B testing is the engine of conversion rate optimisation — but a badly run test is worse than no test, because it gives you false confidence. Here is how to run experiments you can trust.
1. Start with a real hypothesis
A good hypothesis has three parts: what you will change, what you expect to happen, and why (based on research).
Because session recordings show visitors hesitating at the price table, adding a short "what’s included" comparison will increase quote requests.
"Let’s try a green button" is not a hypothesis.
2. Choose one primary metric
Pick the metric that matters for the business — completed purchases, qualified leads, sign-ups — and decide it before the test starts. Track secondary metrics, but don’t go fishing for a winner among twenty of them.
3. Work out the sample size first
The smaller the improvement you want to detect, the more visitors you need. Use a sample-size calculator with:
- your current conversion rate,
- the minimum improvement worth detecting,
- your desired confidence and statistical power.
If the required sample is far beyond your traffic, test bigger, bolder changes — or improve the page with research-led fixes instead of testing.
4. Run full business cycles
Run tests for at least one to two full weeks, even if you reach the sample size sooner, so weekday and weekend behaviour are both represented. Avoid launching during unusual periods such as major sales or holidays unless that is what you’re testing.
5. Don’t peek and stop early
Checking results daily and stopping the moment a variant "wins" dramatically increases false positives. Decide the sample size and duration in advance and stick to them — or use a testing method designed for continuous monitoring.
6. Watch for common traps
- Novelty effect — returning visitors click on something just because it’s new.
- Sample ratio mismatch — if traffic isn’t splitting as configured, something is broken.
- Flicker — the original page flashes before the variant loads, biasing results.
- Multiple simultaneous tests on the same page interfering with each other.
7. Act on the result — including losses
A losing test is still a lesson about your customers. Document every test: hypothesis, result, and what you learned. Over time, that library becomes one of your most valuable marketing assets.
Want a programme, not just a test? Start with a CRO audit or see our conversion rate optimisation service.


