A/B Test Sample Size & Duration Calculator
Plan the test before you run it. Enter your current conversion rate and the smallest lift worth detecting to see how many visitors each variant needs — and how many days that will take on your traffic.
Your test plan
This uses the standard sample-size formula for comparing two proportions. It combines four inputs: your baseline conversion rate, the minimum detectable effect (MDE) — the smallest change you'd actually care to detect — your significance level (alpha), and statistical power (the chance of catching a real effect of that size). The result is the number of visitors per variant.
A 10% relative lift on a 3% baseline means moving from 3.00% to 3.30%. An absolute change of 0.3 percentage points describes the same move. Smaller effects need far more traffic: halving the MDE roughly quadruples the sample you need.
If you test more than two variants, the calculator applies a Bonferroni correction, dividing alpha by the number of variant-vs-control comparisons, so the chance of at least one false winner stays near your chosen level. Duration is rounded up to whole 7-day weeks so the test covers every day of the week at least once.
This planner assumes visitors are randomly and evenly split and a fixed sample size you commit to in advance. Once the test is done, check the result with the A/B Test Significance Calculator.