Formula: A/B Significance Mathematical Identity
- visitorsA: Visitors A (numeric parameter)
- conversionsA: Conversions A (numeric parameter)
- visitorsB: Visitors B (numeric parameter)
- conversionsB: Conversions B (numeric parameter)
Compare Control vs. Variant conversion rates and test statistical significance.
The Z-statistic is signed. A positive value, such as the default 2.182, means Variant B converted better than Control A. A negative value means B did worse, as in the lower preset with Z at minus 3.338. The size tells you how many standard errors wide the gap is; compare its absolute value with 1.96 for a 95% two-sided threshold.
No. It is one minus the two-sided p-value, about 0.029 here. It describes how surprising the data would be if A and B performed the same. The probability that B is better given the data is a Bayesian quantity that needs a prior, and this calculator does not compute it. The figure is still useful for a pass or fail decision at a chosen threshold.
For a two-sided test, an absolute Z of 1.96 gives 95% and 2.576 gives 99%. The default Z of 2.182 sits between them, which is why it shows 97.091% confidence. A Z near 1.645 gives 90% two-sided. If you planned a one-sided test, the same Z of 1.645 corresponds to 95% in the direction you predicted.
The calculator reports two-sided confidence, which is the safer default because it does not assume you know which direction the effect will go. A one-sided test halves the p-value, so the default would read about 98.5%. Only use one-sided if you committed to it before seeing data and would genuinely ignore a result in the other direction.
Not directly. The test is built for yes or no outcomes, where each visitor either converts or does not. Revenue and order value are continuous and usually skewed, so they need a different test, such as a t-test or a bootstrap on the per-visitor values. Using this calculator on revenue would give a misleading Z.
Because the standard error depends on sample size. With a fifth of the default traffic at the same rates, the gap of 0.9 points is no longer large relative to the noise, and Z falls from 2.182 to 0.976. The relative lift stays at 22.5% because it only compares the two rates, not how reliably they were measured.
If both groups have zero conversions it returns a Z of 0 and 0% confidence, since there is no variation to test. With very few conversions in either arm, say under ten, the normal approximation behind the Z-test becomes unreliable. For tiny counts, Fisher's exact test on the same 2x2 table is the better choice.
Relative lift divides the gap by the control rate, so 4% to 4.9% is a 22.5% relative lift. Absolute lift is the plain gap, 0.9 percentage points. Relative lift sounds bigger and is what the page reports. Absolute lift is what you multiply by your traffic to estimate extra conversions.
It is a rounding artefact. With A at 7500 visitors and 200 conversions, Z is 6.602, and the two-sided p-value is so tiny it rounds away at three decimal places. No finite sample produces true certainty. Treat any result above 99.9% as overwhelming evidence, then check the inputs, because a value that extreme often comes from a data entry slip.
Only pair by pair, and that inflates false positives. With three variants against one control you make three comparisons, so a 95% bar per comparison gives a higher overall error rate. A simple fix is to divide your significance level by the number of comparisons, which is the Bonferroni adjustment, or to use a chi-square test on the full table.
Enough to detect the smallest lift you care about, chosen before the test. As a rough guide from the engine, the default 4% baseline with a 22.5% lift reaches 97% confidence at 5000 per arm but only 67% at a fifth of that. A dedicated sample size calculation with your baseline rate and desired power gives the exact figure.
Out of the box the calculator holds a fairly typical landing page experiment. Control A had 5000 visitors and 200 conversions, a 4% conversion rate. Variant B also had 5000 visitors and 245 conversions, which is 4.9%.
Three numbers come back. The relative lift is 22.5%, because 4.9 is 22.5% more than 4. The Z-statistic is 2.182. The headline figure, two-sided statistical confidence, is 97.091%.
That last figure is one minus the two-sided p-value. A Z of 2.182 leaves about 1.46% of a standard normal curve in each tail, so roughly 2.91% in the two tails together. Subtract that from 100 and you land on the 97.09% shown in the interpretation line.
In plain words: if A and B truly converted at the same rate, a gap at least this large, in either direction, would turn up by chance in only about 3 tests out of every hundred. That is enough to clear the common 95% bar. It is not enough to clear a 99% bar, which some teams use for changes that are expensive to roll back.
The formula on the page is the pooled two-proportion Z-test, and it is short enough to verify on paper. You need four steps.
First, pool the two groups. Add both conversion counts and divide by both visitor counts, and the pooled rate comes out at 4.45%. This is the rate you would expect from both versions if the change made no difference.
Second, find the standard error of the difference under that assumption. Multiply 0.0445 by 0.9555, then by the sum of one over each sample size, which is 0.0004 here because both groups hold 5000 people. The product is about 0.0000170, and its square root is about 0.00412.
Third, divide the observed gap by that standard error. The gap is 0.049 minus 0.040, or 0.009. Divided by 0.00412 it gives 2.18, matching the engine's 2.182.
Fourth, convert Z to a tail probability with a normal table. Any statistics package or spreadsheet NORM.S.DIST function will do it. If your hand result and the page disagree, the usual cause is entering conversion rates instead of raw counts.
The page title mentions chi-square, and it is worth knowing how that relates to the Z the engine prints. Lay the default data out as a 2x2 table, with rows for A and B and columns for converted and did not convert, and the four cells hold everything the test uses. A has 200 conversions and the remaining 96% who did not convert; B has 245 conversions and the rest of its 5000 visitors who did not.
A Pearson chi-square test on that table, without the Yates continuity correction, gives exactly the square of the pooled Z. Here that is 2.182 squared, about 4.76. With one degree of freedom, the 5% critical value is 3.84, so the chi-square test reaches the same verdict as the Z-test, with the same p-value of about 0.029.
The two methods are the same test written two ways. The Z version has one advantage: its sign tells you which variant is ahead. A chi-square is always positive, so it says the groups differ but not in which direction.
Some tools apply the Yates correction by default for 2x2 tables. That subtracts a half from each cell's deviation and makes the result slightly more conservative. With samples of 5000 a side the correction barely changes anything, but on small tests it can move a borderline result across the line. This calculator does not apply it.
The relative lift and the confidence answer different questions, and the default makes that easy to see once you change the sample size.
Keep the same 4% and 4.9% rates but cut traffic to a fifth, so each arm has 40 and 49 conversions. The lift still reads 22.5%. The Z falls to 0.976 and confidence drops to 67.09%. That is roughly a one-in-three chance of seeing a gap like this with no real effect at all.
Push the other way, with four times the default traffic and the same rates, and Z climbs to 4.365 with 99.999% confidence. Same lift, very different certainty.
The reason is that the standard error shrinks with the square root of the sample. Four times the visitors halves the noise and so doubles Z. If a test is stuck at 80% or 90% confidence, running it four times as long does not add a little certainty; it roughly doubles the Z, provided the true effect holds steady.
So never read the lift line on its own. A 22.5% lift backed by 67% confidence is a coin toss that happens to look exciting.
The confidence figure is two-sided. It measures how unusual the gap is in either direction, so it can be very high when B is worse.
The page's lower example shows this. Control A is set to 3000 visitors with the same 200 conversions, so A converts at 6.67%. B still converts at 4.9%. The lift reads minus 26.5%, the Z is minus 3.338 and confidence is 99.916%.
That is not 99.916% confidence that B wins. It is strong evidence that B loses. Always read the sign of the Z and the lift before you celebrate a high confidence number.
A smaller loss behaves the same way at a lower level. With B at 3.6% instead of 4.9% on the default traffic, the lift is minus 10%, Z is minus 1.046 and confidence is 70.45%. That is not evidence of anything yet, in either direction.
The higher example, with 7500 visitors in A, is similar in spirit. A converts at 2.67%, B's lift becomes 83.75%, and Z reaches 6.602 with confidence shown as 100%. The engine rounds; no real test reaches literal certainty.
Each field wants a raw count. Visitors means the number of people, sessions or users exposed to that version, whichever unit you use for the whole test. Conversions means how many of those did the thing you are measuring. Do not type percentages into either box.
Use the same unit on both sides. If A is counted in sessions and B in unique users, the rates are not comparable and the Z is meaningless.
Each visitor should count once. The test assumes every visitor is an independent yes or no. If one person can convert several times, or if you are counting orders rather than buyers, the effective sample is smaller than the number you entered and the confidence will be overstated.
Conversions can never exceed visitors, and the engine now rejects that combination along with fractional counts. If you get a request to check the inputs, the usual cause is swapped boxes, with visitors typed into the conversions field.
Unequal splits are fine. The formula handles different sample sizes in A and B, as the lower and higher examples show.
The p-value behind the 97.091% figure assumes you fixed your sample size before the test and looked at the result once. Most real tests are not run that way.
If you check the calculator every morning and stop the first day it shows 95%, your true false-positive rate is well above 5%. Random noise crosses the line now and then, and repeated looks give it many chances to do so. Decide the sample size in advance, or use a method designed for sequential looks.
Testing many variants or many metrics creates the same problem. With twenty comparisons at 95%, you should expect about one to pass by luck alone.
Statistical significance also says nothing about whether the effect is large enough to matter. A test with huge traffic can show 99.999% confidence for a lift too small to pay for the change. Look at the absolute gap too: in the default it is 0.9 percentage points, which you can turn into extra conversions per month for your own traffic.
Finally, novelty effects and weekly cycles can make an early result look stronger than it will be. Running a test across at least one full week of traffic avoids comparing a Tuesday to a Saturday.
A sensible routine with this calculator runs in a fixed order. Before launch, pick the threshold you will use, commonly 95%, and the minimum lift worth shipping. Estimate how many visitors you need to detect that lift, and wait until you have them.
When the test ends, enter the four counts once. Read the sign of Z first, then the confidence, then the lift. On the default data, B is ahead, the result clears 95% at 97.091%, and the 22.5% relative lift is large enough to matter for most pages.
If the result lands between about 80% and 95%, treat it as inconclusive rather than as a weak win. The fair conclusion is that the test could not tell the versions apart with the traffic it had.
Write down the counts, not just the confidence. A later reader can recompute the Z, the chi-square and the interval from four numbers, but cannot recover them from a single percentage.