A/B test significance calculator
Find out whether your A/B test has a real winner. Enter visitors and conversions for each variant to get the result, the confidence and the lift.
Enter visitors and conversions for both variants to see whether the difference is real.
How it works
The calculator compares the two conversion rates with a two-proportion z-test.
z = (rate B − rate A) ÷ √( p × (1 − p) × (1 ÷ visitors A + 1 ÷ visitors B) )
Here p is the conversion rate of both variants together. The z-score becomes a two-sided p-value: the chance of seeing a difference this large if A and B were really the same. When the p-value is below 1 minus your confidence level (0.05 at 95%), the result is significant and the variant with the higher rate wins.
Lift is how much B changed the conversion rate, relative to A. A rate going from 3% to 3.6% is a 20% lift.
A/B test significance calculator questions.
That the difference between A and B is unlikely to be chance. At 95% confidence, a difference this large would show up less than 5% of the time if the two variants really performed the same.
95% is the usual choice. Use 99% when a wrong call is costly, such as a pricing change, and 90% for low-risk tweaks where moving fast matters more.
Not safely. Checking every day and stopping at the first significant result finds winners that are not real. Decide the sample size before you start and read the result once you reach it.
Whatever the test is meant to move: signups, purchases, clicks on a button. Count each visitor once, so conversions are never more than visitors.
A two-sided, two-proportion z-test with a pooled standard error, the standard test for comparing two conversion rates when each variant has a few hundred visitors or more.
More free tools
- UTM builder
Build UTM-tagged campaign links for Google Analytics 4, ads, email and social. Clean values, copy in one click, and keep your recent links.
- CTR calculator
Work out click-through rate from clicks and impressions for ads, emails and search results.
- Conversion rate calculator
Work out your conversion rate from visitors and conversions, plus revenue per visitor and average order value.
- ROAS calculator
Work out return on ad spend from ad revenue and ad cost, and the break-even ROAS for your profit margin.
- Marketing ROI calculator
Work out the return on a marketing campaign from the revenue it brought, what it cost and your gross margin.
- SEO ROI calculator
Estimate the return on SEO from extra organic visits, your conversion rate, customer value and what SEO costs you.
- CPM calculator
Work out CPM from ad cost and impressions, or the cost or impressions from the other two.