Skip to main content

A/B Test Significance Calculator

Enter visitors and conversions for a control and a variant to get both conversion rates, the lift with a confidence interval, the z-score, p-values and a check for sample ratio mismatch.

For marketers and analysts reading the result of a finished test.

Last updatedHow we build & check our tools
Results will appear here once you enter your values.

What it calculates

Inputs are control visitors, control conversions, variant visitors and variant conversions (whole numbers, conversions at most equal to visitors), a confidence level of 90, 95 or 99%, and an optional checkbox for a one-sided test (variant higher). The test is two-sided unless you tick it. Defaults are 5,000 and 250 for control, 5,000 and 290 for the variant, 95% and two-sided.

  • Conversion rates and the absolute difference in percentage points, with an unpooled confidence interval.
  • Relative lift with a delta-method confidence interval.
  • Z-score and both one-sided and two-sided p-values.
  • Significant or not at the confidence level and test type you chose; the label says which test is in use.
  • Sample ratio mismatch chi-square and p-value against a 50/50 split.

Everything is calculated in your browser, and the numbers are not stored.

Worked example

Control converts 250 of 5,000 (5.0%). The variant converts 290 of 5,000 (5.8%). The difference is 0.8 points, a 16% relative lift. The z-score is 1.77, the two-sided p-value 0.077 and the one-sided p-value 0.038.

At 95% two-sided, the default, this is not significant, and the difference interval, -0.09 to +1.69 points, includes zero. Tick the one-sided option and the same data reads as significant, because the one-sided p-value is 0.038. Raise the variant to 320 of 5,000 (6.4%) and the lift is 28%, z is 3.02, and the two-sided p-value is 0.0025. That is significant either way, with an interval of +0.49 to +2.31 points.

The sample ratio check shows 0 and a p-value of 1 here because both groups are exactly 5,000. Swap in 5,400 and 4,600 and it flags a mismatch.

Limits and sources

A p-value is not the probability that the variant is better, and a significant result is not proof that the lift will hold after launch. This tool covers one fixed-sample comparison of two groups. It does not handle sequential peeking, multiple variants, revenue metrics or Bayesian analysis. For planning the sample size before the test, use a sample size calculator.

The displayed confidence intervals are always two-sided. A one-sided test at the same confidence level is less strict than those intervals, so it can call a result significant while the interval still includes zero, as in the default example. The page warns about this when the one-sided option is on.

  • Penn State STAT 200, Lesson 9: two-proportion z-test, pooled and unpooled standard errors.
  • Abramowitz, M. and Stegun, I. (1964). Handbook of Mathematical Functions, formula 7.1.26: normal tail approximation, maximum error 7.5e-8.
  • Microsoft Research, Diagnosing Sample Ratio Mismatch in A/B Testing: chi-square check on assignment counts.
  • Delta method for the lift interval: Var(pB/pA) is approximated from both variances, independent groups.

Frequently Asked Questions

Common questions about the A/B Test Significance Calculator

A two-proportion z-test. It pools both groups to estimate the standard error under the assumption of no difference, then divides the observed difference in conversion rates by that error to get a z-score. The p-value comes from the normal distribution. The default example is 250 of 5,000 for control against 290 of 5,000 for the variant, which gives z = 1.77.