A/B test calculator
Enter visitors and conversions for each variant — get the uplift, the p-value from a two-proportion z-test and a clear significance verdict.
Test data
Variant A (control)
Variant B (test)
Result
Two-proportion z-test with a pooled standard error. It assumes visitors are independent and randomly split, one conversion event per visitor, and that you fixed the sample size in advance — peeking at the result and stopping when it turns green inflates false positives.
Bayesian view
The Bayesian panel uses Beta(1,1) posteriors on each conversion rate and a normal approximation of their difference, so it does not need a fixed sample size and can be read as the test runs. "P(B beats A)" of 95%+ is a common ship bar; "expected loss" is how much conversion rate you would give up on average if you pick B and B is actually the worse variant.
Minimum sample size
Per variant, for a two-sided test at the confidence level chosen above. A relative MDE of 10% on a 4% baseline means detecting a move to 4.4%.
What a significance test actually answers
When variant B converts better than A in a test, the question is whether that gap is a real effect or just noise. This calculator runs a two-proportion z-test: it pools the two conversion rates, computes the standard error, and turns the gap into a z-score and a p-value. The p-value is the probability of seeing a difference at least this large if the two variants truly convert identically. If it is at or below your alpha — 5% at 95% confidence — the result is unlikely to be chance and the tool calls it significant.
Fix the sample size before you start
This is a fixed-horizon test. Decide how much traffic you will collect before running it — the minimum-sample-size box works that out from your baseline rate, the smallest effect worth detecting, the confidence level and the power. Checking the result repeatedly and stopping the moment it turns green massively inflates false positives; a test that looks significant at 200 conversions often is not at 2,000. The tool also assumes visitors are split randomly and independently and that each one has a single binary outcome — for revenue per visitor or a multi-step funnel you need a different test.