What these terms mean
- Visitors
- How many people saw this version of the page, email or ad during the test.
Back to the calculator ↑ - Conversions
- How many of those visitors did the thing you are testing for: bought, signed up, clicked.
Back to the calculator ↑ - Confidence level
- How sure you want to be that a winner is real and not luck. At 95%, you accept a 1-in-20 chance of calling a winner when there is really no difference. 95% is the usual choice. Use 90% for low-risk changes and 99% for big, expensive decisions.
Back to the calculator ↑ - Conversion rate
- Conversions ÷ visitors for each version.
Back to the calculator ↑ - Relative lift
- How much better or worse B converted than A, as a share of A’s rate. If A converts at 3% and B at 3.6%, the lift is +20%.
Back to the calculator ↑ - Confidence interval
- The range the true difference between the versions probably falls in, at your chosen confidence level. If the range includes zero, the test can’t rule out that there is no real difference.
Back to the calculator ↑ - p-value
- How likely a difference this big would be if the two versions were really the same. Small is good: below 0.05 counts as significant at 95% confidence. It is not the chance that B is better.
Back to the calculator ↑ - Confidence B is different
- 1 − p-value, shown as a percentage. When it is at or above your confidence level, the result is statistically significant.
Back to the calculator ↑
How to use the A/B test calculator
Enter how many visitors saw each version and how many of them converted. The calculator compares the two conversion rates and tells you whether the difference is statistically significant at the confidence level you chose.
Example
Version A gets 10,000 visitors and 300 conversions (3.0%). Version B gets 10,000 visitors and 360 conversions (3.6%). That's a 20% relative lift with a p-value of about 0.018, so B is a significant winner at 95% confidence.
How the test works
The calculator uses a two-proportion z-test: z = (rate B − rate A) ÷ √(p × (1 − p) × (1/visitors A + 1/visitors B)), where p is the combined conversion rate of both versions. The p-value is the chance of a gap this big if the versions were really equal.
Track every test in one spreadsheet
The free A/B Test Tracker Template logs each test on one row and calculates conversion rates, lift, the p-value and whether the result is significant, using the same math as this calculator.
Getting reliable results
- Calculate the sample size before you start with the Sample Size Calculator, and don't stop early because a result looks good.
- Run tests for whole weeks so weekday and weekend visitors are both included.
- Change one thing at a time so you know what made the difference.
- Check that visitors were split evenly. A big gap in visitor counts can mean the test isn't set up correctly.
Frequently asked questions
- What does statistically significant mean?
- It means the difference between the two versions is big enough, given how many people saw each one, that it is unlikely to be random chance. At 95% confidence, a difference this large would show up by chance less than 5% of the time if the versions really performed the same.
- What is a p-value?
- The probability of seeing a difference at least this big if there were really no difference between the versions. A p-value below 0.05 is significant at 95% confidence.
- Can I stop the test as soon as it is significant?
- It is better not to. Checking repeatedly and stopping at the first significant result makes false winners much more likely. Decide the sample size up front with the Sample Size Calculator and run the test until you reach it.
- What if the result is not significant?
- It means the test could not tell the versions apart, not that they are the same. The real difference may be smaller than this test could detect. You can run it longer, test a bolder change, or move on.
- Which test does this calculator use?
- A two-sided, two-proportion z-test with a pooled standard error, the standard test for comparing conversion rates. The confidence interval uses the unpooled standard error.