A/B Test Significance Calculator
Two-proportion z-test for an A/B test: rates, uplift, z, p-value and confidence interval at your significance level, plus sample size per variant for a lift.
Whether a test result is more than noise, how big the true lift plausibly is, and how many visitors a future test needs — with the test named and its assumptions stated.
Example: 500 of 10,000 vs 560 of 10,000: 5.0 % vs 5.6 %, +12 % relative, z = 1.89, p = 0.058 — not significant at 5 %. Detecting a 10 % lift on a 5 % baseline at 80 % power needs 31,234 per variant.
Is the difference bigger
than the noise?
The test used, how to read p-values and intervals, and why the sample size is decided before the test.
The two-proportion z-test
Each variant's conversion rate is an estimate with sampling error. Under the hypothesis that both variants really convert at the same rate, the difference between the observed rates divided by its standard error (using the pooled rate) follows a standard normal distribution; that ratio is z, and the two-sided p-value is the probability of a difference at least this large arising by chance. A result is called significant when p is below the level you set (5 % is conventional, not a law). The page also gives a confidence interval for the difference in percentage points — the range of true lifts consistent with the data.
Reading the result honestly
“Significant” does not mean the observed uplift is the true one — the interval is usually wide — and “not significant” does not mean the variants are equal, only that the test could not tell. Checking the result every day and stopping when it looks good inflates false positives badly; decide the sample size first and read the result once. The normal approximation needs a handful of conversions in each group, and the page flags when there are too few.
Sample size
Given the baseline rate, the smallest relative lift worth detecting, the significance level and the power (the chance of detecting that lift if it is real), the standard normal-approximation formula gives the visitors needed per variant. Smaller effects and lower baselines need far more traffic — halving the detectable lift roughly quadruples the sample. Other calculators use slightly different approximations and differ by a few percent. The normal distribution functions are computed in the page and checked against Python's reference implementation. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.
SOURCES
- Two-proportion z-test and Wald interval; sample size by the normal approximation — standard statistics (e.g. Fleiss, Levin & Paik, Statistical Methods for Rates and Proportions)
- Normal CDF via a rational approximation of erfc (Numerical Recipes, §6.2) and inverse via P. J. Acklam’s algorithm with Newton refinement; checked against Python statistics.NormalDist
Last reviewed 19 September 2026. How results are checked: How we verify.