Most A/B test mistakes come from two places: stopping a test as soon as one version looks better, and running a test that never had enough visitors to detect a realistic change. This calculator handles both, and shows its working.
To check a finished test, enter visitors and conversions for A and B, the confidence level and whether the test is one-sided or two-sided. You get both conversion rates, the relative lift, the p-value from a two-proportion z-test, a confidence interval for the difference shown as a bar, and a verdict. It also runs a sample ratio mismatch check: if a 50/50 test ends up with a very uneven split, something in the set-up is wrong and the result should not be trusted.
To plan a test, enter the current conversion rate, the smallest lift worth detecting (relative or in percentage points), confidence, power, number of versions, daily visitors and the share of traffic in the test. The calculator gives the visitors needed per version, the total, the minimum number of days, and a duration rounded up to full weeks. With more than two versions it splits the significance level across comparisons (Bonferroni). Open “Show the method” to see every formula with your numbers.