A/B Test Significance Calculator
Is version B really better than A? A two-proportion z-test with the p-value and a confidence range.
How it works
This compares two conversion rates with a two-proportion z-test. You enter visitors and conversions for versions A and B. The tool pools the rates, computes a z score and a p-value, and says whether the difference is bigger than chance at the confidence you choose.
A small p-value means the gap is unlikely to be luck alone. It does not say the gap is large or important.
The formula
p1 = conversions A / visitors A, p2 = conversions B / visitors B pooled p = (cA + cB) / (nA + nB) z = (p2 - p1) / sqrt(pooled p x (1 - pooled p) x (1/nA + 1/nB))
Worked example
A: 100 of 1000 convert (10%). B: 130 of 1000 (13%). z is 2.103 and the p-value is 0.03549, so B is better at 95% confidence. The 95% range for the difference runs from 0.2068% to 5.793%.
Good to know
- Decide the sample size before you look, and do not stop the moment the p-value dips below 0.05.
- Tiny samples give wide ranges. Look at the range, not just the verdict.
- Run the test for whole weeks if your traffic changes by weekday.
Common questions
- What is a p-value?
- It is the chance of seeing a gap at least this big if A and B were really the same. Lower means stronger evidence.
- Is 95% confidence the right choice?
- It is the usual default. Use 99% when a wrong call is costly.
- Can I test more than two versions?
- Not here. Compare pairs, but note that more comparisons raise the chance of a false win.
More in Math, Science & Engineering.
Type a whole expression and see the answer with each step in the order it was worked out.
OPEN →Matrix SolverDeterminant, inverse, rank, transpose, products and linear systems for small matrices.
OPEN →Laplace Transform TableStandard Laplace pairs and properties. Type part of a function like sin or e^ to filter.
OPEN →