Calculator A/B Test - Statistical Significance & Conversion Rate
Free A/B test calculator with statistical significance testing. Calculate conversion rates, p-values, confidence intervals, and detect winning variants using two-proportion z-test. Essential for marketers, product managers, and data scientists running online experiments and conversion optimization campaigns.
A/B Test Formula (Two-Proportion Z-Test)
Z = (p₁ - p₂) / √[p(1-p)(1/n₁ + 1/n₂)]Variables:
- p₁Conversion Rate of Variant A (Control)Conversion Rate of Variant A (Control)(e.g.: 10% (0.10))
- p₂Conversion Rate of Variant B (Experiment)Conversion Rate of Variant B (Experiment)(e.g.: 13% (0.13))
- n₁Sample size of Variant A (Total visitors)Sample size of Variant A (Total visitors)(e.g.: 1000)
- n₂Sample size of Variant B (Total visitors)Sample size of Variant B (Total visitors)(e.g.: 1000)
- pPooled proportion: (x₁ + x₂) / (n₁ + n₂)Pooled proportion: (x₁ + x₂) / (n₁ + n₂)(e.g.: 0.115)
- ZZ-Score (Statistical significance score)Z-Score (Statistical significance score)(e.g.: 2.16)
- LiftPercentage increase/decrease in performancePercentage increase/decrease in performance(e.g.: +30%)
How to Use the KalkuLab A/B Test Calculator
- 1
Enter Variant A (Control) Data
Enter the number of conversions (e.g., 100) and total sample size or visitors (e.g., 1,000) for the control variant.
- 2
Enter Variant B (Experiment) Data
Enter the same metrics for the experiment (challenger) variant, e.g., 130 conversions from 1,000 visitors.
- 3
Select Confidence Level
Choose your confidence level: 90% (Z > 1.645), 95% (Z > 1.96, industry standard), or 99% (Z > 2.576).
- 4
Analyze the Results
Review conversion rate, lift, Z-score, and significance status. If the Z-score exceeds the critical value, the difference is statistically significant.
Examples
Example 1: Variant B Wins Significantly (E-commerce)
An online store tests a 'Buy Now' button. Variant A (blue): 100 conversions from 1,000 visitors. Variant B (red): 130 conversions from 1,000 visitors. Test at 95% confidence.
- 1.Conversion Rate Variant A: p₁ = 100/1000 = 0.10 (10%)
- 2.Conversion Rate Variant B: p₂ = 130/1000 = 0.13 (13%)
- 3.Lift: (13% − 10%) / 10% × 100% = +30%
- 4.Pooled proportion: p = (100+130)/(1000+1000) = 0.115
- 5.Standard error ≈ 0.01427
- 6.Z-score: (0.13 − 0.10) / 0.01427 ≈ 2.10
- 7.Critical value at 95%: 1.96. Since 2.10 > 1.96, result is significant.
Variant B (red button) wins with a statistically significant 30% conversion rate increase. You can trust this result at 95% confidence.
Example 2: Result Not Significant (Need More Sample)
Landing page headline test. Variant A: 50 conversions from 1,000 visitors. Variant B: 55 conversions from 1,000 visitors. Confidence level 95%.
- 1.CR A: 5%, CR B: 5.5%
- 2.Lift: +10%
- 3.Z-score ≈ 0.50
- 4.Critical value 95% = 1.96. Since 0.50 < 1.96, NOT significant.
Although Variant B shows a 10% lift, there is not enough statistical evidence yet. Increase sample size or test a larger difference.
Example 3: Variant B Performs Worse (Negative Lift)
Checkout form redesign. Variant A (old): 200 conversions from 2,000 visitors. Variant B (new): 180 conversions from 2,000 visitors. Confidence level 95%.
- 1.CR A: 10%, CR B: 9%
- 2.Lift: −10%
- 3.Z-score ≈ −1.08
- 4.|−1.08| < 1.96, NOT significant.
Variant B shows a 10% drop but it is not yet statistically significant—likely random variation rather than a bad design.
Example 4: Test at 99% Confidence (High Stakes)
A hospital tests a new treatment. Variant A (standard): 500 recoveries from 5,000 patients. Variant B (new): 550 recoveries from 5,000 patients. Test at 99% confidence (Z > 2.576).
- 1.CR A: 10%, CR B: 11%
- 2.Lift: +10%
- 3.Z-score ≈ 1.63
- 4.Critical value 99% = 2.576. Since 1.63 < 2.576, NOT significant at 99%.
At the strict 99% standard for medical decisions, more data or a larger effect is needed to prove superiority.