Skip to content
The Calculatorz
Hypothesis testing

A/B Test Significance Calculator

Check whether the difference in conversion rate between two versions is statistically significant, with lift, p-value and confidence interval.

Statistical results depend on the assumptions stated in the formula. Check that your data meet them before drawing conclusions.

Visitors and conversions

Experiment

How to use this calculator

Enter the number of visitors and conversions (sign-ups, purchases, clicks) for each version of a page, email or ad. The calculator compares the two conversion rates with a two-proportion z-test and tells you whether the difference is likely to be real or could be due to chance.

Formula

Conversion rates p₁ = x₁ ÷ n₁ and p₂ = x₂ ÷ n₂. Pooled rate p = (x₁ + x₂) ÷ (n₁ + n₂). z = (p₂ − p₁) ÷ √(p(1 − p)(1/n₁ + 1/n₂)); two-sided p-value = 2(1 − Φ(|z|)). Relative lift = (p₂ − p₁) ÷ p₁. Confidence interval for the difference: (p₂ − p₁) ± z* √(p₁(1 − p₁)/n₁ + p₂(1 − p₂)/n₂).

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewSaeedM.Phil Statistics, Data Scientist

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is statistical significance in an A/B test?

It means the observed difference would be unlikely if the two versions truly performed the same. At 95% confidence, a p-value below 0.05 is significant.

How many visitors do I need?

Enough to detect the lift you care about. Small differences in low conversion rates often need tens of thousands of visitors per version.

Can I stop the test as soon as it is significant?

No. Checking repeatedly and stopping at the first significant result inflates false positives. Decide the sample size in advance.

What is lift?

The relative improvement of B over A. Going from 8% to 9.2% is a 15% lift.

What if the result is not significant?

The test could not distinguish the versions with this sample. The difference may be zero or simply too small to detect.

Can I compare more than two versions?

Testing many versions in pairs increases false positives. Use a chi-square test or adjust the significance level.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Croarkin, C., & Tobias, P. (Eds.). (2012). NIST/SEMATECH e-handbook of statistical methods. National Institute of Standards and Technology. View source
  2. Illowsky, B., & Dean, S. (2023). Introductory statistics 2e. OpenStax. View source
  3. Agresti, A., & Coull, B. A. (1998). Approximate is better than 'exact' for interval estimation of binomial proportions. The American Statistician, 52(2), 119–126. View source
  4. Casella, G., & Berger, R. L. (2002). Statistical inference (2nd ed.). Duxbury. View source