A/B Test Calculator

Compare two conversion rates with a two-proportion z-test, p-value, and relative uplift.

A/B test significance
Enter visitor and conversion counts for the control and test variants.
Variant A (Control)
Variant B (Test)

About A/B test significance

An A/B test randomly assigns comparable visitors to a control experience and an alternative experience, then measures a predefined outcome such as a purchase, signup, click, or completed task. This calculator compares two binary conversion rates using a pooled two-proportion z-test. It reports each rate, relative uplift, the z-score, a two-sided p-value, and whether the result crosses the conventional 0.05 significance threshold. For each variant, conversion rate equals conversions divided by visitors. Under the null hypothesis that both variants have the same underlying rate, the calculator pools conversions across both samples. It uses that pooled rate to estimate the standard error of the difference, then divides the observed rate difference by the standard error to obtain a z-score. The two-sided p-value measures how surprising a difference at least this large would be if the null hypothesis were true. A p-value below 0.05 is commonly described as statistically significant at the 95 percent confidence level. It does not mean there is a 95 percent probability that the test variant is better, nor does it measure the business value of the change. Relative uplift compares the rate difference with the control rate, while absolute uplift is simply rate B minus rate A. A small but statistically reliable lift may have substantial value at scale, and a large observed lift may remain uncertain when the samples are small. Valid inference depends on experimental design. Assign users randomly, keep assignment stable, avoid counting the same independent unit multiple times, choose the primary metric before inspecting results, and run the experiment long enough to capture normal cycles. Stopping whenever significance first appears inflates false-positive risk. Multiple metrics, repeated peeking, and many variant comparisons also require adjusted analysis or a planned sequential method. The normal approximation works best when each variant has enough expected conversions and non-conversions. Very sparse outcomes may require Fisher's exact test or another exact method. Statistical significance also does not protect against instrumentation errors, novelty effects, sample-ratio mismatch, bot traffic, or changes that occurred during the test. Use this result with confidence intervals, guardrail metrics, practical effect thresholds, and a review of experiment quality before making a rollout decision.

A/B test examples

Visitors and conversionsRates and p-valueConclusion at α = 0.05
A: 1,000/100; B: 1,000/14010.00% vs 14.00%; p ≈ 0.006Significant improvement
A: 500/50; B: 500/5410.00% vs 10.80%; p ≈ 0.676Not significant
A: 2,000/300; B: 2,000/27015.00% vs 13.50%; p ≈ 0.176Observed decline, not significant

How to calculate A/B significance

  1. Enter the number of assigned visitors and completed conversions for Variant A.
  2. Enter the corresponding visitor and conversion counts for Variant B.
  3. Select Calculate Significance to run the pooled two-proportion z-test.
  4. Review conversion rates, uplift, p-value, and practical importance before deciding.

Frequently asked questions

What p-value is statistically significant?

A threshold of 0.05 is common when chosen before the experiment. Your decision threshold should reflect the test plan, risk, and any correction for multiple comparisons.

What is relative uplift?

Relative uplift is (rate B − rate A) divided by rate A. It describes proportional change and should be considered alongside the absolute percentage-point difference.

Does significance prove Variant B is better?

No, significance quantifies evidence against equal rates under model assumptions. Data quality, experiment design, confidence intervals, and practical value still matter.

Can I stop an A/B test as soon as p is below 0.05?

Repeatedly checking and stopping at the first significant result increases false positives. Use a fixed sample plan or a valid sequential-testing method.

When should I avoid a z-test?

The normal approximation can be unreliable with very few conversions or non-conversions. An exact test or specialized analysis is more appropriate for sparse data.