A/B Test Significance Calculator

With 10,000 visitors and 500 conversions in A and 10,000 visitors and 600 conversions in B, conversion rates are 5% and 6%. Relative uplift is 20%; the pooled two-proportion z statistic is about 3.10, with a two-sided p-value about 0.0019. These are assumed counts for illustrating the equation, not measured business results.

The p-value is a tail probability under the null model, not the chance that the observed lift will persist.

A/B Test Significance Calculator: inputs

Calculated result
Relative uplift of B over A20.0%
Z-score2.2
Two-tailed p-value0.028

A/B Test Significance Calculator: Visitors, version A sensitivity

A/B Test Significance Calculator: Visitors, version A and Relative uplift of B over A5 calculations vary the “Visitors, version A” input while holding the other entered inputs constant.4,000-4.0%4,5008.0%5,00020.0%5,50032.0%6,00044.0%

A/B Test Significance: worked example

Visitors, version A5,000
Conversions, version A250
Visitors, version B5,000
Conversions, version B300
Relative uplift of B over A20.0%
Z-score2.2
Two-tailed p-value0.028

A/B Test Significance: formula

z = (p_B − p_A) ÷ √(p̂(1 − p̂)(1/n_A + 1/n_B)), with p̂ the pooled rate; two-tailed p = 2 × (1 − Φ(|z|))

U.S. SBA: manage your finances · NIST: Critical values and p-values

Common error: Reading a p-value of 0.028 as a 97 percent chance that B is better. It is the chance of a gap this large if there were no real difference, which is a different statement.

Each A/B arm has its own visitor count and conversion count. Concurrent random assignment is an assumption of the comparison. Both groups should run for the same period, ideally a full week or more to capture weekday effects, and you should decide the sample size before starting rather than stopping when the result looks good.

Count each visitor once and exclude bots.

A/B Test Significance: changing Visitors, version A

Visitors, version ARelative uplift of B over AZ-scoreTwo-tailed p-value
4,000-4.0%-0.4920.623
4,5008.0%0.9260.354
5,000 (example)20.0%2.20.028
5,50032.0%3.30.00083
6,00044.0%4.40.00001

A/B Test Significance: compare input ranges

InputTested fromToRelative uplift of B over A: low inputRelative uplift of B over A: high inputSwing
Conversions, version B2703308.0%32.0%24.0% (120%)
Visitors, version A4,5005,5008.0%32.0%24.0% (120%)
Visitors, version B4,5005,50033.3%9.1%24.2% (121%)
Conversions, version A22527533.3%9.1%24.2% (121%)

A/B Test Significance: individual input comparisons

InputValueRelative uplift of B over AZ-scoreTwo-tailed p-value
Visitors, version A4,000-4.0%-0.4920.623
4,5008.0%0.9260.354
5,00020.0%2.20.028
5,50032.0%3.30.00083
6,00044.0%4.40.00001
Conversions, version A20050.0%4.60
22533.3%3.40.00077
25020.0%2.20.028
2759.1%1.10.283
3000.000%01
Visitors, version B4,00050.0%4.90
4,50033.3%3.50.00051
5,00020.0%2.20.028
5,5009.1%10.296
6,0000.000%01
Conversions, version B240-4.0%-0.4630.643
2708.0%0.9010.368
30020.0%2.20.028
33032.0%3.40.00062
36044.0%4.60

A/B Test Significance: combined input changes

Visitors, version A / Conversions, version A200250300
4,00020.0%-4.0%-20.0%
4,50035.0%8.0%-10.0%
5,00050.0%20.0%0.000%
5,50065.0%32.0%10.0%
6,00080.0%44.0%20.0%

A/B Test Significance: which assumptions move the result?

A/B Test Significance: Relative uplift of B over A as Conversions, version B changesRelative uplift of B over A starts at -4.0%. Moving Conversions, version B from 240 to 360 changes it to 44.0%, with Visitors, version A 5,000; Conversions, version A 250; Visitors, version B 5,000 kept fixed.240-4.0%2708.0%30020.0%33032.0%36044.0%
Chart quantityDisplayed settings
Conversions, version B240 → 360
Relative uplift of B over A-4.0% → 44.0%
Visitors, version A5,000
Conversions, version A250
Visitors, version B5,000
A/B Test Significance: Relative uplift of B over A as Visitors, version A changesRelative uplift of B over A starts at -4.0%. Moving Visitors, version A from 4,000 to 6,000 changes it to 44.0%, with Conversions, version A 250; Visitors, version B 5,000; Conversions, version B 300 kept fixed.4,000-4.0%4,5008.0%5,00020.0%5,50032.0%6,00044.0%
Chart quantityDisplayed settings
Visitors, version A4,000 → 6,000
Relative uplift of B over A-4.0% → 44.0%
Conversions, version A250
Visitors, version B5,000
Conversions, version B300

A/B Test Significance: values and definitions

Quantity and definitionValue used
Visitors, version A5,000
Conversions, version A250
Visitors, version B5,000
Conversions, version B300
Relative uplift of B over A20.0%
Z-score2.2
Two-tailed p-value0.028

Checking results repeatedly and stopping early raises the false-positive rate, as does running many tests and picking winners. A significant result on a tiny lift may not be worth the change. The test assumes independent visitors and a fixed sample size.

It says nothing about why the difference occurred or whether it will last.

Business Finance calculators: Overhead Rate Calculator, Gross Profit and Margin Calculator, Markup Calculator, Business Break-Even Calculator, Profit Margin Calculator, Burn Rate & Runway Calculator.

An A/B test compares two conversion rates, and the question is whether the gap is bigger than chance would produce. With 250 conversions from 5,000 visitors against 300 from 5,000, version B is up 20 percent, the z-score is about 2.19, and the p-value is about 0.028. That is below 0.05, the usual bar, so the gap is unlikely to be luck alone, though it is not proof.

Repeated early stopping changes the interpretation of a fixed-sample significance calculation. Stopping the moment a result looks good raises the false positive rate well above the stated p-value.

Calculate baseline rates with the conversion rate calculator, and measure the business impact with the ecommerce profit and ROAS pages. The probability and standard deviation calculators support the statistics. Plan sample sizes in advance, since small differences need thousands of visitors.

What does a p-value of 0.03 mean?

A two-sided p-value of 0.03 means that, under the null model and its assumptions, results at least as extreme as the observed statistic have probability 3%. It is not the probability that the null hypothesis is true.

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

No. Stopping early inflates false positives. Set the sample size or duration in advance and wait until it is reached.

Is statistical significance the same as importance?

No. A tiny lift can be significant with lots of traffic but not worth acting on. Judge the size of the effect and its value too.