Free tool
A/B test sample size calculator
Find out how many visitors each version of a test needs, and how long that will take on your store, before you start.
Visitors needed per version–
Total visitors –
Days at your traffic –
Detects a change from –
Run tests for whole weeks so weekday and weekend shoppers are both included.
How it works
The calculator uses the standard formula for comparing two conversion rates. It works out how many visitors each version needs so that a real improvement of the size you chose shows up as significant, at the confidence and power you picked.
n = (zα/2·√(2p̄(1−p̄)) + zβ·√(p₁(1−p₁) + p₂(1−p₂)))² ÷ (p₂ − p₁)²
Here p₁ is your current conversion rate, p₂ is the rate after the improvement, and p̄ is their average. Days are rounded up to whole weeks, because shoppers behave differently on different days.
The most useful thing this tells you is whether a test is realistic at all. If it says 90 days, the change is probably better made and measured another way.
Questions
What does minimum detectable effect mean?
It’s the smallest improvement you want the test to be able to spot reliably. A 10% relative improvement on a 2% conversion rate means detecting a move from 2.0% to 2.2%. Smaller effects need far more visitors.
Why are 95% significance and 80% power the defaults?
They’re the common standard. 95% significance means a 5% chance of calling a winner that isn’t real; 80% power means an 80% chance of spotting a real effect of the size you chose.
What if my store doesn’t have enough traffic?
Then a fair A/B test may take months. Test bigger changes, test on pages with more traffic, or make the change and compare before and after carefully, saying clearly that it’s not a controlled test.
Should I stop the test as soon as it looks significant?
No. Checking repeatedly and stopping early inflates false positives. Decide the sample size up front, run the test for whole weeks, and read the result at the end.
The O is for order. We help you get more of them.
Send us your store. We’ll tell you what we’d fix first.
A short call, a look at your numbers, and a fixed quote if it makes sense to go further.
- A ranked list of fixes
- The evidence behind each one
- A walkthrough call