What is statistical significance in an A/B test?
Statistical significance measures how unlikely your result would be if the two variants really performed the same. At 95% confidence, a gap as large as the one you measured would appear less than 5% of the time by chance alone.
The calculator compares two conversion rates with a two-sided, two-proportion z-test. It turns the gap between them into a p-value, the probability of seeing a gap at least that large when nothing really differs, and shows the confidence level as one minus that p-value. A significant result tells you the difference is probably real. It does not tell you how large the real lift is.
How to use the A/B test calculator
- Count the visitors of each variant. Unique visitors who saw version A and version B, over the same dates.
- Count the conversions of each variant. One per visitor: an order, a signup or a lead, whichever the test is about.
- Enter the four numbers. The confidence level, the lift of B over A and the z-score update as you type.
- Read the verdict against your plan. A confidence level only counts once the test has reached the sample size you set before starting.
How to read the result
| Confidence level | p-value | What it means | What to do |
|---|---|---|---|
| 95% or more | p-value: 0.05 or less | What it means: Chance alone rarely produces a gap this large | What to do: Keep the winner, if the test reached its planned sample size |
| 90% to 95% | p-value: 0.05 to 0.10 | What it means: A signal, not yet a result | What to do: Let the test run to its planned sample size |
| Below 90% | p-value: Above 0.10 | What it means: The data cannot tell the two versions apart | What to do: Keep running, or accept that the difference is too small for your traffic |
How many visitors does an A/B test need?
The smaller the lift you want to detect, the more visitors you need. The table gives the visitors needed per variant for a two-sided test at 95% confidence and 80% power, from the page's current conversion rate and the relative lift you hope to detect.
| Current conversion rate | To detect a 10% lift | To detect a 20% lift | To detect a 50% lift |
|---|---|---|---|
| 2% | To detect a 10% lift: 80,679 visitors | To detect a 20% lift: 21,106 visitors | To detect a 50% lift: 3,823 visitors |
| 5% | To detect a 10% lift: 31,231 visitors | To detect a 20% lift: 8,155 visitors | To detect a 50% lift: 1,468 visitors |
| 10% | To detect a 10% lift: 14,749 visitors | To detect a 20% lift: 3,839 visitors | To detect a 50% lift: 683 visitors |
Formula: n = (1.96 + 0.84)² × (p1(1 − p1) + p2(1 − p2)) ÷ (p2 − p1)², where p1 is the current rate and p2 the rate you hope to reach. A page at 5% needs 8,155 visitors per variant to detect a 20% lift, and 31,231 to detect a 10% lift.
- Set the sample size first, then stop when you reach it. Stopping the first time the calculator shows 95% is the surest way to keep a false winner.
- Run whole weeks. Weekday and weekend visitors behave differently; a test cut after three days has seen only some of them.
- Change one thing per test. If the headline, the image and the button all change, a win does not say which one caused it.
- Start with the changes that can move the rate. The A/B testing section of our landing page guide lists what to test first, and the headline generator gives you a challenger headline.
Best A/B testing tools with built-in statistical significance: what to look for
The best A/B testing tool for you computes significance itself, says which statistical method it uses, and stops you from calling a winner too early. We do not rank tools here, because we have not tested them side by side. These are the eight points to check in each vendor's documentation.
For the tools themselves, see A/B testing tools with built-in statistical significance: the method each one states on its own site, its free plan and its price, with the pages we read.
- A documented statistical method. A fixed-horizon frequentist test like this calculator, a sequential test, or a Bayesian model. The tool should explain what its “confidence” or “probability to beat control” means.
- Protection against peeking. Sequential methods are built to be checked while the test runs. With a fixed-horizon test, the tool should hold its verdict until the planned sample is reached.
- A sample size or duration estimate before you start, from your current rate and the smallest lift worth detecting.
- A sample ratio mismatch check. If a 50/50 split delivers clearly uneven traffic, the test is broken and its result cannot be trusted.
- Confidence intervals, not only a winner badge. A lift given with its range tells you how much is really at stake.
- Corrections for several variants or several goals. Each extra comparison raises the chance of a false winner.
- Raw numbers you can export, so you can check the verdict with an independent calculator such as this one.
- A traffic requirement you can meet. No tool makes a test conclusive without the visitors in the table above.
Before comparing testing tools, check that the page itself is worth testing: compare its rate with the landing page conversion rate benchmarks by industry, and see AI landing page builders compared if you need a second version of the page to test.
A/B test calculator: frequently asked questions
What is an A/B test calculator?
An A/B test calculator takes the visitors and conversions of two versions of a page and tells you whether the difference between them is statistically significant. This one runs a two-sided z-test on the two conversion rates and returns a confidence level, the relative lift and the z-score. It is also called a split test calculator or an A/B test significance calculator.
What confidence level should I use for an A/B test?
95% is the usual convention: you accept that about one test in twenty shows a winner when there is no real difference. 90% can be enough for a change that is cheap to undo. Ask for 99% when a wrong decision would be expensive, and expect to need more visitors.
Can I stop my A/B test as soon as it reaches 95% confidence?
No. Confidence moves up and down while a test runs, and a test that is checked every day will cross 95% by chance much more often than one test in twenty. Fix the number of visitors per variant before you start, run whole weeks, and read the result once, at the end.
Why is my A/B test not statistically significant?
Either the sample is too small or the two versions really perform about the same. A small lift needs a lot of traffic: the sample size table on this page gives the visitors needed per variant. If you cannot reach that number, test a bigger change, such as the offer or the headline, instead of a button colour.
What does the z-score mean?
The z-score is the gap between the two conversion rates, measured in standard errors. The further it is from zero, the less likely the gap is due to chance. In a two-sided test, a z-score beyond 1.96 or below -1.96 corresponds to 95% confidence, and beyond 2.58 to 99%.
Does 95% confidence mean there is a 95% chance that B is better?
Not exactly. It means that if A and B truly performed the same, a gap this large would show up less than 5% of the time. It says nothing about the size of the real lift: with a small sample, the true lift can be far from the one you measured.
Updated .