Skip to main content

A/B Test Significance Calculator

Compare conversion rates between a baseline and one or more variants using a two-proportion z-test. Get a p-value, confidence interval, lift, and a clear significance call β€” or run a full A/B/n comparison with Bonferroni correction and automatic winner detection.

Background

Every comparison here is a standard two-proportion z-test: baseline vs. one variant. A result can be statistically significant without being practically meaningful β€” a tiny lift can be "significant" with a huge sample, while a real lift can look inconclusive with a small one. Testing many variants against one baseline also inflates the odds of a false positive, which is exactly what the Bonferroni option corrects for.

Set up your test

Step 1 — What are you comparing?

Pick a task below.

Step 2 — Enter visitors and conversions

Step 2 — Enter each variant's visitors and conversions

Add up to Variant H. Each additional variant is compared against the baseline.

Bonferroni uses Ξ±β€² = Ξ± Γ· (# comparisons) to reduce false positives.

Learning options

Result

No result yet. Enter values above and click Calculate.

How to use this calculator

  • Choose Compare Two Variants for a simple A/B test β€” enter visitors and conversions for baseline and variant, pick your significance level and hypothesis.
  • Choose Compare Multiple Variants for A/B/n testing β€” add up to 8 variants, pick a baseline, and optionally apply Bonferroni correction.
  • Click Calculate to see the p-value, confidence interval, lift, a significance gauge, and a full step-by-step explanation.

How significance testing works

1

A two-proportion z-test asks: if there were truly no difference between baseline and variant, how surprising would this observed gap be? The p-value is the answer, expressed as a probability.

2

Statistical significance (p ≀ Ξ±) means the difference is unlikely to be due to chance. It does not mean the lift is large enough to matter for your business β€” that's practical significance, and it's a separate judgment call.

3

Testing many variants against one baseline multiplies your chances of a false positive. The Bonferroni correction tightens the bar (Ξ±β€² = Ξ± Γ· number of comparisons) to compensate.

4

A two-sided test asks "is there any difference at all?" A one-sided test asks a directional question ("is the variant better?") and should only be used if that decision rule was set before looking at the data.

5

Small samples reduce statistical power β€” a real, meaningful lift can easily fail to reach significance if too few visitors were tested, which is why a "not significant" result never proves there's no difference.

Formula & Equations Used

Conversion rate: p = x Γ· n

Pooled rate: pΜ‚ = (xβ‚€ + x₁) Γ· (nβ‚€ + n₁)

Standard error (pooled): SE = √(pΜ‚(1βˆ’pΜ‚)(1/nβ‚€ + 1/n₁))

z-statistic: z = (p₁ βˆ’ pβ‚€) Γ· SE

Confidence interval for Ξ”: Ξ” Β± z* Β· √(pβ‚€(1βˆ’pβ‚€)/nβ‚€ + p₁(1βˆ’p₁)/n₁)

Bonferroni-adjusted Ξ±: Ξ±β€² = Ξ± Γ· (number of comparisons)

Example Problems & Step-by-Step Solutions

Example 1 — Classic A/B (two-sided)

Baseline: 10,000 visitors, 400 conversions (4.00%). Variant: 10,000 visitors, 520 conversions (5.20%). Ξ± = 0.05, two-sided.

Step: Ξ” = 1.20 pp. Pooled rate pΜ‚ = 4.60%. z β‰ˆ 4.05, p β‰ˆ 5.1Γ—10⁻⁡.

Result: p ≀ 0.05, so this is significant β€” and the 95% CI for Ξ” (0.62 pp to 1.78 pp) stays entirely above zero.

Example 2 — One-sided "B > A" decision rule

Baseline: 5,000 visitors, 150 conversions (3.00%). Variant: 5,000 visitors, 210 conversions (4.20%). Ξ± = 0.05, one-sided (variant > baseline).

Step: Ξ” = 1.20 pp (+40% relative). z β‰ˆ 3.22, one-sided p β‰ˆ 0.00064.

Result: significant evidence that the variant improves on baseline, under a pre-set directional rule.

Example 3 — A promising lift that isn't significant

Baseline: 500 visitors, 10 conversions (2.00%). Variant: 500 visitors, 12 conversions (2.40%). Ξ± = 0.05, two-sided.

Step: Ξ” = 0.40 pp (+20% relative). z β‰ˆ 0.43, p β‰ˆ 0.67.

Result: a 20% relative lift sounds exciting, but with this little data it's statistically indistinguishable from noise β€” the CI (βˆ’1.42 pp to 2.22 pp) crosses zero.

Example 4 — A/B/C with Bonferroni

Baseline A: 12,000/540 (4.50%). B: 12,000/660 (5.50%). C: 12,000/690 (5.75%). Ξ± = 0.05, two-sided, Bonferroni.

Step: Ξ±β€² = 0.05 Γ· 2 = 0.025. B vs A: p β‰ˆ 0.00038. C vs A: p β‰ˆ 0.0000113.

Result: both variants clear the stricter Ξ±β€² = 0.025 bar β€” C has the strongest evidence and is declared the winner.

Example 5 — When the baseline wins

Baseline A: 8,000/800 (10.00%). B: 8,000/680 (8.50%). C: 8,000/810 (10.13%). Ξ± = 0.05, two-sided.

Step: B vs A: Ξ” = βˆ’1.5 pp, p β‰ˆ 0.0011 (significant, but worse). C vs A: p β‰ˆ 0.79 (not significant).

Result: no variant improves on the baseline, and B is significantly worse β€” the calculator flags this as "Control wins."

Frequently Asked Questions

What does "statistically significant" mean?

It means the observed difference is unlikely under the assumption that there's truly no difference, at your chosen significance level (Ξ±). It's a statement about confidence, not about size.

Is it okay to compare many variants (A/B/n)?

You can, but each additional comparison raises the odds that at least one looks "significant" purely by chance. Bonferroni correction (Ξ±β€² = Ξ± Γ· comparisons) is a simple, conservative way to compensate.

Should I use a two-sided or one-sided test?

Default to two-sided. Only use one-sided if your decision rule ("we'll ship only if the variant beats baseline") was fixed before you looked at any results β€” choosing it after seeing the data inflates false positives.

Does significance guarantee the variant is actually better?

No. Significance is about confidence in a difference existing, not about whether that difference is big enough to matter. Always check the lift, the confidence interval, and any guardrail metrics before shipping.

Why did the calculator declare "Control wins" instead of a variant?

That happens when no variant significantly beats the baseline, but at least one is significantly worse β€” a genuinely useful outcome to flag, since it means the safest choice is to keep what you have.

What's the continuity correction (Yates) for?

It's a small adjustment that makes the z-test more conservative, mainly useful for smaller sample sizes where the normal approximation is rougher. It never increases significance, only reduces it.

Probability
10. Combinatorics & Probability
3 problems
Topic
Callie
10. Combinatorics & Probability
3 topics 5 problems
Chapter
Justin
Probability
21. Combinatorics and Probability
4 problems
Topic
21. Combinatorics and Probability
3 topics 5 problems
Chapter
Basic Concepts of Probability
4. Probability
7 problems
Topic
Ernest
Standard Normal Distribution
6. Normal Distribution and Continuous Random Variables
7 problems
Topic
Laura
Sampling Distribution of Sample Proportion
8. Sampling Distributions & Confidence Intervals: Proportion
5 problems
Topic
Brendan
Confidence Intervals for Population Proportion
8. Sampling Distributions & Confidence Intervals: Proportion
7 problems
Topic
Ernest
Steps in Hypothesis Testing
9. Hypothesis Testing for One Sample
7 problems
Topic
Ally
Performing Hypothesis Tests: Proportions
9. Hypothesis Testing for One Sample
5 problems
Topic
Ernest
Two Proportions
10. Hypothesis Testing for Two Samples
3 problems
Topic
Zachary
4. Probability - Part 1 of 3
3 topics 9 problems
Chapter
Ernest
4. Probability - Part 2 of 3
4 topics 12 problems
Chapter
Ernest
4. Probability - Part 3 of 3
2 topics 6 problems
Chapter
Ally
6. Normal Distribution and Continuous Random Variables
4 topics 12 problems
Chapter
Justin
8. Sampling Distributions & Confidence Intervals: Proportion
4 topics 11 problems
Chapter
Ernest
9. Hypothesis Testing for One Sample - Part 1 of 2
5 topics 14 problems
Chapter
David-Paige
9. Hypothesis Testing for One Sample - Part 2 of 2
1 topic 3 problems
Chapter
Justin
10. Hypothesis Testing for Two Samples - Part 1 of 2
5 topics 12 problems
Chapter
Brendan
10. Hypothesis Testing for Two Samples - Part 2 of 2
1 topic 2 problems
Chapter
Ernest
Confidence Intervals
4 & 5. Statistics, Quality Assurance and Calibration Methods
5 problems
Topic
4 & 5. Statistics, Quality Assurance and Calibration Methods - Part 1 of 2
4 topics 12 problems
Chapter
4 & 5. Statistics, Quality Assurance and Calibration Methods - Part 2 of 2
2 topics 6 problems
Chapter
Basic Concepts of Probability
4. Probability
10 problems
Topic
Ernest
Standard Normal Distribution
6. Normal Distribution & Continuous Random Variables
10 problems
Topic
Ernest
Sampling Distribution of Sample Proportion
8. Sampling Distributions & Confidence Intervals: Proportion
10 problems
Topic
David-Paige
Confidence Intervals for Population Proportion
8. Sampling Distributions & Confidence Intervals: Proportion
10 problems
Topic
Ernest
Steps in Hypothesis Testing
9. Hypothesis Testing for One Sample
10 problems
Topic
Ernest
Performing Hypothesis Tests: Proportions
9. Hypothesis Testing for One Sample
10 problems
Topic
Ernest
Two Proportions
10. Hypothesis Testing for Two Samples
10 problems
Topic
Justin
4. Probability
9 topics 17 problems
Chapter
Ernest
6. Normal Distribution & Continuous Random Variables
4 topics 15 problems
Chapter
Ernest
8. Sampling Distributions & Confidence Intervals: Proportion - Part 1 of 2
2 topics 15 problems
Chapter
Laura
8. Sampling Distributions & Confidence Intervals: Proportion - Part 2 of 2
2 topics 6 problems
Chapter
Nicole
9. Hypothesis Testing for One Sample - Part 1 of 2
3 topics 15 problems
Chapter
Brendan
9. Hypothesis Testing for One Sample - Part 2 of 2
3 topics 9 problems
Chapter
Brendan
10. Hypothesis Testing for Two Samples - Part 1 of 2
3 topics 15 problems
Chapter
Ally
10. Hypothesis Testing for Two Samples - Part 2 of 2
3 topics 8 problems
Chapter
Justin
Back to all calculatorsAll calculators