Sample size: how to know if your test is reliable
Three numbers decide how many visitors an A/B test needs: your baseline conversion rate, the minimum detectable effect and the confidence level. How to check a test is viable before you launch it, and what to do with little traffic.
Of everything that can sink an experiment, sample size is the one nobody notices. A test can have a sharp hypothesis and a well-built variant and still tell you nothing, simply because not enough people went through it for the result to mean anything. Getting this right before launch saves weeks of work that would otherwise go in the bin.
There's no formula to solve by hand. You need to know three variables and have a calculator open. The trouble is that plenty of teams launch without checking whether they even have the traffic to finish the test, and then make decisions on data that wouldn't survive a second look.
The first is your current conversion rate, the baseline. The lower it is, the more users you need. The second is the minimum detectable effect, the smallest improvement you want to be able to pick up. Detecting a 1% change takes far more sample than detecting a 10% one, so this input moves the answer more than people expect. The third is the confidence level, normally 95%.
Put those into any sample size calculator and it returns the number of users you need per variant. Do it before you launch. That one calculation tells you up front whether you have the traffic to reach a conclusion in a reasonable time, which is the difference between a test that's worth running and one that just occupies a slot.
Suppose your checkout converts at 2% and you'd be happy to detect a 10% relative lift. The calculator gives you a number per variant; compare it with how many visitors the checkout gets in a month and you'll know straight away whether the test is realistic.
On a low-traffic site, tests looking for small effects can take months or simply never finish. That doesn't mean you can't experiment, but you have to adjust how:
- Test big, bold changes. Larger effects need a smaller sample.
- Put the test on the pages or steps with the most traffic, not in rarely visited corners.
- Measure something that happens often, like clicks, rather than final conversions that are scarce.
- For reversible, low-risk decisions, accept a slightly lower confidence level.
Hitting the number isn't enough on its own. Those visitors need to arrive across complete cycles for the sample to represent your audience. Thirty thousand users collected during two days of a campaign are not the same as thirty thousand over two ordinary weeks; the first group mostly tells you how campaign traffic behaves. Use the sample criterion and the duration criterion together, and only read statistical significance once both are met.
- Sample size
- A/B testing
- Minimum detectable effect
- Statistical significance
- Conversion optimization
- CRO
- Low traffic testing
Get a free audit of your website
Book a free session with the Bixlow team. We start from what this article covers — «Sample size: how to know if your test is reliable» — and review it applied to your business, so you walk away with concrete, actionable improvements. We don't send anything over: it's direct, hands-on advice with us. Leave your email and we'll reach out to schedule it.
We'll only use your email to get in touch with you about this request.
Meet our AI CRO agent
What you just read, put to work by an agent: it understands your visitors, decides what to test or personalize, builds it on your site without a developer and tells you when a result is real.