Clear methods, worked examples and practical results.calcviento.com
☰

A/B Test Calculator

Your inputs

B minus A conversion difference

+2.00 percentage points

Two-sided p-value and decision

p-value: 0.152918; not statistically significant at 95%

The z approximation is less reliable with tiny groups or very few successes or failures. A low p-value alone does not measure business value, prove causality or correct repeated peeking, multiple tests, non-random assignment or data-quality problems. The engine reports p to six decimals, so displayed zero is rounded, not proof of zero probability.

Intro

Compare two conversion rates with a two-sided pooled proportion test. Compare absolute percentage-point difference before discussing relative lift; the baseline rate changes the meaning of a relative claim.

An A/B test is a randomized comparison of two experiences. Variant A is usually the control and B is a candidate change. For a conversion-rate experiment, record the number of eligible independently assigned users and how many meet a clearly specified conversion event. The objective is to estimate whether the change affects behavior, not just to display which percentage is larger. An A/B test calculator helps interpret that comparison but does not repair a flawed experiment.

About this result

How to use

Enter the inputs, calculate, then compare the two results with the assumptions below.

Formula

Conversion rate = conversions / visitors. Difference = (rate B − rate A) × 100 percentage points. Under the equal-rate null, pool conversions across both groups; z = (rate B − rate A) / sqrt(pooled × (1 − pooled) × (1/nA + 1/nB)). A normal-tail approximation gives the two-sided p-value. Enter the inputs, calculate, then compare the two results with the assumptions below.

For binary conversion data, let nA and nB denote assigned users and xA and xB their respective conversions. Rates are pA=xA/nA and pB=xB/nB. Absolute lift is 100×(pB−pA) percentage points. Relative lift is 100×(pB−pA)/pA percent when the baseline rate pA is positive. If pA is zero, that relative-lift quotient is undefined rather than infinite meaningful improvement.

One conventional large-sample null-hypothesis test uses pooled proportion p=(xA+xB)/(nA+nB) and z=(pB−pA)/sqrt[p(1−p)(1/nA+1/nB)]. A two-sided p-value describes how unusual a difference at least this large would be under the null assumptions; it does not say the probability that B is better. Normal approximations can be unreliable with tiny counts, extreme rates or dependent observations.

Worked example

Worked examples. First case: Visitors in A: 1000; Conversions in A: 100; Visitors in B: 1000; Conversions in B: 120; Confidence level: 95. B minus A conversion difference: +2.00 percentage points; Two-sided p-value and decision: p-value: 0.152918; not statistically significant at 95%. Second case: Visitors in A: 2000; Conversions in A: 200; Visitors in B: 2000; Conversions in B: 240; Confidence level: 95. B minus A conversion difference: +2.00 percentage points; Two-sided p-value and decision: p-value: 0.043245; statistically significant at 95%.

Imagine variant A assigned 1,000 users and recorded 100 conversions; B assigned 1,000 users and recorded 120. Control conversion is 100/1000=10%, while treatment conversion is 120/1000=12%. The absolute difference is 0.02, or two percentage points. Relative lift is 0.02/0.10=20%. A twenty percent relative lift sounds substantial but the number of participants determines its uncertainty.

With the pooled rate 220/2000=0.11, the usual z statistic is roughly 1.43 and the conventional two-sided p-value is around 0.15. An approximate unpooled confidence interval for B minus A is about −0.74 to +4.74 percentage points. The interval includes zero, so this sample is compatible with modest harm or improvement under the model. Do not label B a verified winner based only on its higher observed percentage.

Understand the calculation

The first result is B minus A in percentage points. The second reports the approximate two-sided p-value and whether the chosen 90%, 95% or 99% threshold is met.

Enter visitors and conversions for A, then visitors and conversions for B. Each conversion count must be between zero and its visitor count. Choose a confidence level of 90%, 95% or 99%; each visitor should belong to one independent group.

Compare absolute percentage-point difference before discussing relative lift; the baseline rate changes the meaning of a relative claim.

The z approximation is less reliable with tiny groups or very few successes or failures. A low p-value alone does not measure business value, prove causality or correct repeated peeking, multiple tests, non-random assignment or data-quality problems. The engine reports p to six decimals, so displayed zero is rounded, not proof of zero probability.

A difference of 2 percentage points is not the same thing as 2% relative lift.

Keep the primary metric fixed and compare the two percentage-point and relative-lift summaries with a confidence interval.

Enter visitors or randomized users and conversions for both variants, with conversions never greater than eligible participants. Count unique users consistently, use one primary success metric, and make sure A and B ran at overlapping times. A 50/50 allocation is common but not mandatory. The configured allocation matters when assessing whether observed participant counts are credible.

Questions

What changes when I compare these scenarios?

Compare absolute percentage-point difference before discussing relative lift; the baseline rate changes the meaning of a relative claim. The z approximation is less reliable with tiny groups or very few successes or failures. A low p-value alone does not measure business value, prove causality or correct repeated peeking, multiple tests, non-random assignment or data-quality problems. The engine reports p to six decimals, so displayed zero is rounded, not proof of zero probability.

Is a significant result automatically useful?

No. Check the size of the change, expected business impact and whether assignment and measurement were sound.

Can I watch the p-value and stop when it passes?

Repeated looks at a fixed-sample test can inflate false positives; plan sample size and stopping rules first.

What does a p-value of 0 mean here?

The engine rounds to six decimals. A displayed zero represents a very small approximate p-value, not zero probability.

Is the larger conversion rate automatically the winner?

No. The difference may reflect ordinary random variation, especially with small samples. Assess uncertainty and assignment integrity before concluding the treatment caused an improvement; practical business impact also matters.

What is the difference between percent lift and percentage points?

Moving from ten to twelve percent is a two-percentage-point absolute increase and a twenty-percent relative increase. Always label the unit so a reader does not confuse the two.