A/B Test Calculator

Evaluate your A/B test results with both frequentist and Bayesian approaches. Compute statistical significance, confidence intervals, probability B beats A, and expected loss.

Please verify you are human to use the calculator.

How A/B Test Analysis Works

Collect Data

Run your experiment and record the number of visitors and conversions for each variant. Ensure random assignment and sufficient sample size for reliable results.

Frequentist Analysis

A z-test for proportions computes the p-value and confidence interval for the difference in conversion rates. Reject the null hypothesis if p < 0.05.

Bayesian Analysis

Model each variant as a Beta distribution and compute the posterior probability that B beats A, plus the expected loss of choosing the wrong variant.

Make a Decision

Combine statistical significance with practical significance. Consider effect size, business impact, and risk tolerance before rolling out a winner.

Frequentist vs Bayesian A/B Testing

The frequentist approach treats conversion rates as fixed unknowns and asks: "If there were no difference, how likely is the observed data?" This is the classical hypothesis testing framework, producing a p-value and confidence interval. It is straightforward and well-understood, but requires a fixed sample size decided in advance.

The Bayesian approach treats conversion rates as random variables with probability distributions. Starting from a non-informative prior (Beta(1,1)), the posterior distribution after observing data is Beta(1 + conversions, 1 + visitors - conversions). This directly yields the probability that one variant is better than the other, and the expected cost of making the wrong choice.

Both approaches are valid. The frequentist method is standard in clinical trials and regulatory contexts. The Bayesian method is increasingly popular in tech because it provides intuitive probability statements and supports continuous monitoring without inflating false positive rates. For a deeper treatment of Bayesian methods, see our guides on moving from MLE to Bayesian inference and hierarchical Bayesian regression with PyMC. For teams evaluating an AI initiative rather than a landing-page variant, the same machinery underpins our AI pilot design practice — pre-registered success criteria, holdout arms, and a kill-gate anchored to expected loss rather than vanity metrics.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

A/B Testing FAQ

Common questions about A/B test analysis and statistical significance