📈
📈 Business tools

A/B Test Significance (p-value) Calculator

Results update as you type.

Your numbers

Understanding the A/B test significance calculator — concept and principle

After an A/B test ends, you need to know whether the difference in conversion rates is real or could easily be chance. This calculator runs a two-sided two-proportion z-test and returns the p-value, the z-score, both conversion rates and the relative lift of B over A.

A/B test significanceA converts 200 of 5,000 (4.0%), B 245 of 5,000 (4.9%). The gap of 0.9 points is 2.18 standard errors, past the 1.96 line, so the two-sided p-value is about 0.03 and the result is significant at 95%.Is a 0.9-point gap bigger than the noise?A200 / 5,000converted4.0%B245 / 5,000converted4.9%Gap measured in "noise units" (SE = 0.41 pts)1 SE2 SE1.96 = 95% linez = 2.18p ≈ 0.03 < 0.05significant at 95% · lift +22.5%
z = gap ÷ standard error; past 1.96 the gap is significant at 95%.

How it is calculated

The principle

The test starts from the null hypothesis that A and B convert at the same rate. Under that assumption both groups share one pooled rate, and the difference between two sample rates follows an approximately normal distribution with standard error SE. The z-score says how many standard errors apart the observed rates are. The p-value is the probability of seeing a gap at least that large, in either direction, if there were truly no difference. The normal approximation works well when each group has a reasonable number of conversions and non-conversions.

Worked example

  1. p_A = 200 ÷ 5,000 = 4.0%; p_B = 245 ÷ 5,000 = 4.9%.
  2. Pooled p = 445 ÷ 10,000 = 0.0445.
  3. SE = √(0.0445 × 0.9555 × (1/5,000 + 1/5,000)) = 0.004124.
  4. z = 0.009 ÷ 0.004124 = 2.18.
  5. p-value = 2 × (1 − Φ(2.18)) ≈ 0.029, shown as 0.03, below 0.05, so the result is significant at 95%. Relative lift = 4.9 ÷ 4.0 − 1 = 22.5%.

How to read the result

Where does your result fall?Not significant0.05Significant (95%)Not significantYour result: 0.03 · Significant (95%)Reference: Conventional 0.05 significance level (95% confidence)
Where does your result fall?

A small p-value means the data would be surprising if there were no real difference. It does not tell you the size of the effect or the probability that B is better. Look at the lift and its business value together with the p-value. A p-value of 0.03 at 95% confidence still leaves a meaningful chance of a false positive across many tests, so confirm important wins.

Common mistakes

Keep in mind: The test assumes visitors are randomly and independently assigned, the sample size was fixed in advance and only one comparison is made. It is a statistical tool, not a guarantee of future results.

Frequently asked questions

What does "not significant" mean?

The data are compatible with no difference, but the test may simply have lacked enough visitors. It is not proof that A and B are equal.

Is 95% the only valid confidence level?

No. It is a convention. Decide the level before the test, based on the cost of a wrong decision.

Why use a pooled rate?

Under the null hypothesis both groups share the same rate, so pooling gives the best estimate of it for the standard error.

Sources: Agresti, Categorical Data Analysis, 3rd ed. (Wiley, 2013) · Abramowitz & Stegun, Handbook of Mathematical Functions, formula 26.2.17 (normal distribution approximation) · Kohavi, Tang & Xu, Trustworthy Online Controlled Experiments (Cambridge University Press, 2020)

Checked 8 Nov 2026. Standard business and finance formulas. Estimates for information only.

📈 All business tools →🌍 Calculators by country →