Home/Finance Toolkit/A/B Test Significance Calculator
Probability & Research Calculators

A/B Test Significance Calculator

Version B got more conversions than version A. Before you roll it out, check whether that gap is a real effect or just random noise in your sample. Enter your numbers below and get a straight answer, backed by the math.

Group A (Control)
Group B (Variant)
Test settings
Check your inputs. Conversions cannot be higher than visitors, and visitors must be above zero.

Result

Rate A
Rate B
Relative lift
P-value
Conversion rate, A vs B
Statistical confidence in the result

What this means

To improve this test

What “statistical significance” actually means

A coin can land heads six times in a row and still be a fair coin. Small samples produce odd streaks by chance alone. An A/B test asks one question: is the gap between A and B bigger than the kind of streak random luck can produce on its own?

The p-value is your answer, written as a probability. A p-value of 0.03 means there is only a 3% chance you would see a gap this large if A and B were truly identical. Most teams treat anything under 5% (a p-value below 0.05) as a real, repeatable difference rather than noise.

The formula, step by step

Step 1, conversion rates: rate = conversions ÷ visitors
Step 2, pooled rate: p = (conversions A + conversions B) ÷ (visitors A + visitors B)
Step 3, standard error: SE = √[ p × (1 − p) × (1 ÷ visitors A + 1 ÷ visitors B) ]
Step 4, z-score: z = (rate B − rate A) ÷ SE
Step 5, p-value: taken from the normal distribution at that z-score

The standard error measures how much conversion rates naturally wobble from one batch of visitors to the next, purely due to sample size. The z-score compares your actual gap against that wobble. A bigger z-score means the gap is unusual, and unusual gaps are the ones worth trusting.

A worked example

An online store tests two checkout button colors on 5,000 visitors per group.

GroupVisitorsConversionsRate
A, teal button5,00060012.00%
B, gold button5,00066013.20%

Pooled rate p = 1,260 ÷ 10,000 = 0.126. Standard error works out to roughly 0.0066. That gives a z-score near 1.81 and a p-value near 0.071.

At 95% confidence, 0.071 sits above the 0.05 line. The gold button looks promising, but the store should wait for additional visitors before switching for good.

Common questions about A/B testing

It depends on your current conversion rate and the size of the change you expect. Small baseline rates and small expected gaps both call for larger samples, often several thousand visitors per group. Use a sample size calculator before you start, not after.

It is the probability you would see a gap this size, or larger, purely by chance, if A and B had no real difference. A low p-value means chance is an unlikely explanation, so the gap is probably genuine.

Pick two tailed when you are open to either version winning. Pick one tailed only when you decided, before the test began, that you only care whether B beats A specifically, not the reverse.

A flat result usually means one of two things: the true difference is small, or your sample is not yet large enough to detect it. Let the test run longer, or plan a bigger test around a bolder change.

Checking results daily and stopping the moment they look good raises your odds of a false positive by a wide margin. Set a sample size or a test duration in advance, and hold to it.

Keep testing with confidence

Plan your next test properly, or double check a result from a different angle.