Monday, 23 November 2026
Home / Tools / Marketing

A/B Test Significance Calculator

Check whether the difference between two versions of a page, email or ad is statistically significant, or could just be chance.

Result at 95% significance
–
Conversion rate A
–
Conversion rate B
–
Relative uplift (B vs A)
–
z-score
–
p-value (two-sided)
–
Confidence (1 − p)
–

The formula

z = (pB − pA) / √(p(1−p)(1/nA + 1/nB)), where p = (cA + cB) / (nA + nB)

  • This is a two-proportion z-test with a pooled conversion rate. The p-value is two-sided: it tests for any difference, up or down.
  • The result is significant at 95% when the p-value is below 0.05. Uplift = (pB − pA) / pA.

Example

Version A converts 500 of 10,000 visitors (5.00%) and version B converts 570 of 10,000 (5.70%). The relative uplift is 14.00%, the z-score is 2.20 and the two-sided p-value is 0.0278 (97.22% confidence), so the result is significant at 95%: B wins.

What the p-value means

The p-value is the chance of seeing a difference at least this large if A and B actually performed the same. A p-value of 0.03 means a gap this big would show up about 3% of the time by luck alone. It is not the probability that B is better.

Common mistakes

Checking the result every day and stopping as soon as it turns significant inflates false positives a lot. Decide the sample size in advance with a sample size calculator and read the result once you reach it.

A significant result can still be a small effect. Look at the uplift too, and ask whether it is worth the cost of shipping the change.

Questions

What does 'not significant' mean?

It means the data cannot rule out chance at the 95% level. It does not prove A and B are the same; the test may simply be too small to detect the difference.

Is this a one-sided or two-sided test?

Two-sided. It asks whether B differs from A in either direction, which is the safer default.

Can I use this for click-through or sign-up rates?

Yes. Any yes-or-no outcome per visitor works: clicks, sign-ups, purchases, replies.

How many conversions do I need?

The z-test relies on a normal approximation, which is reasonable once each variant has a few dozen conversions and non-conversions. With very small counts, use an exact test instead.

More tools
A/B Test Sample Size CalculatorROAS Calculator