Compare the conversion rates of two versions of a page, email or ad: see the uplift, whether it's statistically significant, its 95% interval and the chance B really beats A.
z = (p_B − p_A) ÷ √(p̄(1 − p̄)(1/n_A + 1/n_B))
An A/B test shows two versions of something to randomly split visitors and compares how often each leads to an action, such as a sign-up or purchase. Randomisation means any real difference is down to the change, not the visitors.
Conversion rates bounce around by chance, especially with few visitors. The statistics here answer one question: is the gap between A and B bigger than that bouncing would produce?
Behind the scenes it's a two-proportion z-test. The page adds the uplift, a confidence interval for the size of the difference and the probability B is genuinely better, which is often what decision-makers actually want.
Two-proportion z-test as given in OpenStax Introductory Statistics, section 10.3. See Sources.
The last figure uses a normal approximation equivalent to a Bayesian analysis with flat priors.
The interval still includes zero. The new button is probably better (about a 96% chance), but 2,000 visitors aren't enough to be confident. Detecting a lift from 10% to 12.5% reliably needs about 2,500 visitors per version.
To detect each uplift from a 10% baseline with 80% power at 95% confidence (two-sided). Small uplifts need enormous tests.
| Uplift | 10% becomes | Visitors per version |
|---|---|---|
| +5% | 10.5% | 57,763 |
| +10% | 11% | 14,751 |
| +20% | 12% | 3,841 |
| +25% | 12.5% | 2,507 |
| +50% | 15% | 686 |
That if A and B truly converted equally, a gap this big would appear less than 5% of the time. It’s not a 95% chance B is better.
An approximate Bayesian probability that B’s true rate exceeds A’s, given the data. It’s often easier to act on than a p-value.
Until you reach the sample size planned in advance, and for at least one full week. The power analysis calculator works out the size.
No, but an even split is the most efficient use of traffic.
It doesn’t prove the versions are equal. Look at the interval: a wide one means the test was too small to tell.
Yes, but compare each to the control with a multiple-testing correction, such as Bonferroni, or use a chi-square test across all versions.
The change as a share of A’s rate. 10% to 12.5% is +2.5 percentage points but a +25% relative uplift.
Usually not. A new version can be worse as well as better, and you want to know either way.
Related Tools