Quick answer
This calculator tells you whether the difference between your control and variant is likely real or just noise. Enter visitors and conversions for each version and it returns the lift, p-value and confidence level from a two-tailed z-test. A result at 95% confidence or higher is the common threshold for calling a winner.
What this A/B test calculator checks
When variant B converts better than control A, the first question is whether the gap is real or random. Conversion data is noisy: two identical pages shown to two groups of visitors will almost never post the same rate. This tool runs a two-tailed two-proportion z-test on your numbers and reports how likely it is that a gap this large would appear by chance if the two versions actually performed the same.
It returns six outputs: the conversion rate of each version, the observed lift, the p-value, the confidence level, a yes or no significance verdict at the 95% threshold, and an estimate of the sample size needed to detect the difference you are seeing.
How to use it
- Pull visitors (or sessions, or users, but use the same unit for both) and conversions for control A from your testing tool or analytics.
- Enter the same two numbers for variant B.
- Read the verdict, then check the current sample against the estimated sample needed.
- Follow the recommendation: ship, keep running, or call the test inconclusive.
Only enter data for the full test period. Checking every few hours and stopping the moment the number turns green inflates your false positive rate, a problem often called peeking.
The method and formulas
The calculator uses the standard two-proportion z-test:
- Conversion rate: CR = conversions / visitors for each version
- Observed lift: (CR(B) - CR(A)) / CR(A)
- Pooled rate: p = (conv(A) + conv(B)) / (visitors(A) + visitors(B))
- Standard error: SE = √( p(1 - p)(1/n(A) + 1/n(B)) )
- Test statistic: z = (CR(B) - CR(A)) / SE
- Two-tailed p-value: 2 × (1 - Φ(|z|)), and confidence is shown as 1 minus the p-value
Two-tailed means the test looks for a difference in either direction, so it also flags a variant that is significantly worse. For planning, a common sample size formula per variant is n = (z(α/2) + z(β))² × (p(A)(1 - p(A)) + p(B)(1 - p(B))) / (p(B) - p(A))². Treat the tool's sample estimate as a guide, since the exact figure depends on the statistical power you assume.
How to read the results
The table below is general guidance used by many testing teams, not a rule from any single source.
| Confidence level | What it usually means | Typical action |
| Below 90% | Difference could easily be noise | Keep running if sample is short, otherwise call it inconclusive |
| 90% to 95% | Directional signal, not conclusive | Extend the test or rerun before a big rollout |
| 95% to 99% | Meets the common threshold | Ship the winner if the sample target and full business cycles are covered |
| 99% and above | Strong evidence of a real difference | Ship, then watch post-launch numbers for regression |
Also look at the lift size. A significant result with a tiny lift may not be worth the engineering cost, while a large lift on a small sample often shrinks once more data comes in.
What to do next
- If B wins, roll it out and log the hypothesis, result and learning so the next test builds on it.
- If results are inconclusive, test a bolder change. Small copy tweaks often need samples many sites cannot reach.
- If you are not sure your conversion tracking is clean, fix that first. Our CRO and analytics service covers tracking audits and test programs.
- Browse more free marketing tools or read testing guides on the GrowwithBA blog.
Limits of this tool
- It compares two versions only. Tests with three or more variants need a correction for multiple comparisons.
- It assumes visitors were randomly assigned and each visitor is counted once in one group.
- It tests conversion rates, not revenue per visitor or average order value, which need different methods.
- It cannot detect novelty effects, seasonality, bot traffic or a broken tracking setup. Statistical significance says nothing about whether the data itself is accurate.
More questions
What p-value counts as statistically significant in an A/B test?
Most teams use a p-value below 0.05, which this calculator shows as 95% confidence or higher. Some teams accept 0.10 for low-risk changes such as copy tweaks and demand 0.01 for high-risk changes such as pricing. Pick your threshold before the test starts and stick to it, rather than choosing it after seeing the result.
Why is my test not significant even though B has a big lift?
Large lifts on small samples are common and often unreliable. With few conversions, the standard error is wide, so even a 30% gap can fall inside the range of normal random variation. Keep the test running until you reach the estimated sample size, or test a bigger change that is more likely to produce a detectable difference.
Should I use visitors, sessions or users as the input?
Use whatever unit your test randomizes on, and use the same unit for both versions. Most testing tools assign users, so users or unique visitors is usually the right choice. Mixing sessions for one version and users for the other, or counting returning visitors twice, distorts the conversion rates and the p-value.
How long should an A/B test run?
Run until you hit the required sample size and have covered at least one full weekly cycle, ideally two, so weekday and weekend behavior are both included. If your business has paydays, promotions or seasonal swings, include those patterns too. Stopping the moment the result looks significant raises the chance of a false winner.
Can I use this calculator for revenue or average order value tests?
No. This tool tests the difference between two conversion rates, which are yes or no outcomes. Revenue per visitor and average order value are continuous metrics with skewed distributions, so they need a different method such as a t-test on per-visitor revenue or a bootstrap analysis. Use this calculator for the conversion rate side only.