Skip to main content

A/B test significance calculator

Two versions, two conversion rates, and the question every test ends with: is the difference real or luck? This calculator gives the chance that B really beats A, the p-value, and how many visitors a test of your size needs. It uses the same two checks Magistry applies before it ships a winning variant for a merchant.

Free, no signup, nothing stored. The numbers live in the URL, so a result is a link you can share, and the page works with JavaScript switched off.

Your numbers

The answer

B wins: ship it.

The difference clears both bars: a chance to win above 95% and a p-value below 0.05.
Chance B beats A
98.0%
Conversion rateA, then B
2.50% → 3.20%
Relative lift of B
+28.0%
p-valueChi-square with Yates correction, two-sided
0.0461
Visitors needed per versionFor a 10% lift at 95% confidence and 80% power
64,199

Shareable result: https://www.magistry.io/tools/ab-test-calculator?a_visitors=4800&a_conversions=120&b_visitors=4750&b_conversions=152&mde=10

Magistry runs storefront and feed tests for you, splits the traffic, applies these same two checks and ships the winner only when both pass. Start on the free plan, or open the demo first.

How the calculator decides

conversion rate = conversions ÷ visitorschance B beats A = P(rate B > rate A), Beta(1 + conversions, 1 + non-conversions) per versionp-value = 2×2 chi-square with Yates correction, 1 degree of freedomwinner = chance > 95% and p-value < 0.05visitors per version = (1.96·√(2p̄(1−p̄)) + 0.84·√(p₁(1−p₁)+p₂(1−p₂)))² ÷ (p₂ − p₁)²

With the example on this page, A converts 120 of 4,800 visitors (2.50%) and B 152 of 4,750 (3.20%), a 28% lift. The chance that B is really better is 98.0% and the p-value is 0.046, so B passes both checks. Yet at that base rate a 10% lift would need about 64,000 visitors per version: a large lift shows up early, a small one does not.

Questions

When is an A/B test result statistically significant?

When a difference as large as the one you measured would be unlikely if the two versions converted equally. The usual bar is a p-value below 0.05. This calculator asks for two things before it calls a winner: a p-value below 0.05 and at least a 95% chance that the winner really converts better.

What does the chance to beat the original mean?

It is the Bayesian answer: given the visitors and conversions so far, how likely it is that B's true conversion rate is higher than A's. 98% means that if you shipped B on this evidence, you would be wrong about two times in a hundred. It reads more naturally than a p-value and does not depend on when you planned to stop.

How many visitors does an A/B test need?

Fewer than you fear for big changes and far more than you hope for small ones. At a 2.5% conversion rate, detecting a 10% relative lift (2.5% to 2.75%) with the usual 95% confidence and 80% power takes about 64,000 visitors per version. A 30% lift needs about 7,500. Set the smallest lift you care about and the calculator gives the number.

Can I stop the test as soon as it turns significant?

Checking every day and stopping at the first significant reading makes false winners much more likely, because a p-value wanders above and below 0.05 by chance. Decide the sample size up front, run whole weeks so weekdays and weekends are both in, and read the result when the sample is reached.

Does this work for emails, ads and landing pages too?

Yes. Anything with a number of tries and a number of successes: email opens or clicks, ad clicks on impressions, sign-ups on visits, bookings on page views, orders on sessions. Use the same definition for both versions.

Does this calculator store what I type?

No. The answer is computed on the server from the values in the URL. Only an anonymous count that the calculator was used is kept, with no IP address and none of your numbers.

More free tools

Last reviewed 2026-11-27. Found an error in a formula? Mail support@magistry.io.