Analyze your A/B test results with confidence. Compute conversion rates, relative uplift, p-values, confidence intervals, and Bayesian posterior probabilities.
A/B testing (also called split testing or bucket testing) is a controlled experiment where two variants — a control (A) and a treatment (B) — are compared to determine which performs better on a predefined metric, typically a conversion rate. The A/B test calculator applies rigorous statistical methods to help you decide whether observed differences are real or due to random chance.
Conversion Rate = Conversions / Visitors
Lift = CRB − CRA | Relative Lift = (CRB − CRA) / CRA
The z‑statistic for two proportions: z = (p̂B − p̂A) / √( p̂(1−p̂)(1/nA + 1/nB) )
The frequentist (classical) approach, implemented as a two‑proportion z‑test, computes a p‑value — the probability of observing a difference at least as extreme as the one in your data, assuming the null hypothesis (no difference) is true. If the p‑value is below your chosen significance level (e.g., 0.05), you reject the null and declare the result statistically significant. This method is widely used and well‑understood, but it does not directly answer: “What is the probability that B is actually better than A?”
The Bayesian approach addresses this directly. Using a Beta‑Binomial model with uninformative priors (Beta(1,1)), we compute the posterior distribution of each conversion rate. From these, we derive:
Bayesian results are more intuitive for decision‑making and naturally incorporate uncertainty. Both methods are provided here so you can compare and choose based on your analytical preference.
An online retailer ran an A/B test on their checkout page. The control (A) was the existing multi‑step checkout. The treatment (B) was a streamlined single‑page checkout. After 2,000 visitors per variant, the control had 120 conversions (6.0%), while the treatment had 156 conversions (7.8%).
Using this calculator, the absolute lift is 1.8 percentage points, and the relative lift is 30%. The p‑value is 0.025 (two‑tailed), which is below 0.05, indicating statistical significance. The 95% confidence interval for the lift is [0.3%, 3.3%], meaning we can be 95% confident that the true improvement is between 0.3 and 3.3 percentage points. The NNT is approximately 56 — meaning for every 56 visitors exposed to the treatment, one extra conversion is generated compared to the control.
Based on these results, the retailer confidently rolled out the single‑page checkout, resulting in a sustained 28% lift in conversion rate over the following quarter.