Skip to content
Experiments

A/B test significance calculator

3 min read · Updated · By the Reveata team

Short answerEnter the visitors and conversions for version A and version B; the calculator runs a two-sided, pooled two-proportion z-test and tells you whether the difference is significant at 95% confidence, along with both conversion rates, the relative change and the p-value.

A conversion rate4%
B conversion rate4.9%
Relative change22.5%(B − A) ÷ A
p-value (two-sided)0.0291two-proportion z-test

Significant at 95% confidence: B beats A.

When version B converts better than version A, the question is whether the gap is real or the luck of who happened to visit. A significance test puts a number on that. The calculator does all the maths in your browser and sends nothing anywhere.

The test it runs

It is the standard pooled two-proportion z-test, two-sided:

text
pA = conversions A ÷ visitors A
pB = conversions B ÷ visitors B
p  = (conversions A + conversions B) ÷ (visitors A + visitors B)     pooled rate
SE = √( p × (1 − p) × (1 ÷ visitors A + 1 ÷ visitors B) )
z  = (pB − pA) ÷ SE
p-value = 2 × (1 − Φ(|z|))

Φ is the standard normal cumulative distribution. "Pooled" means the standard error assumes, as the null hypothesis does, that both versions share one true rate. "Two-sided" means a large difference in either direction counts, so the test does not assume B is better before you look.

The result is significant when the p-value is below 0.05, which is what "95% confidence" means here. The calculator also shows the relative change, (pB − pA) ÷ pA.

Worked example

Hypothetical results with the same rates at two sample sizes:

Visitors Conversions Rate
A 10,000 300 3.00%
B 10,000 360 3.60%
  • Relative change: (3.6 − 3.0) ÷ 3.0 = +20%
  • Pooled rate: 660 ÷ 20,000 = 3.3%
  • SE = √(0.033 × 0.967 × (1/10,000 + 1/10,000)) ≈ 0.00253
  • z ≈ 0.006 ÷ 0.00253 ≈ 2.38, p-value ≈ 0.0175: significant at 95%.

Now take the same rates with 2,000 visitors each (60 against 72 conversions). The relative change is still +20%, but z ≈ 1.06 and the p-value ≈ 0.288: not significant. Same gap, too little data to tell it from chance.

How to read the result

  • Significant does not mean important. With enough traffic, a tiny difference becomes significant. Ask whether the change is large enough to matter to the business, and whether it pays for any extra cost.
  • Not significant does not mean no difference. It means this data cannot tell. The effect may be real but smaller than your sample can detect.
  • Decide the sample size first, then look once. Checking every day and stopping the moment p dips under 0.05 makes false winners far more likely. Use the sample size calculator before you start.
  • Run full weeks. Weekday and weekend visitors often behave differently; a test that runs Monday to Wednesday measures only part of your audience.
  • One test, one comparison. Testing many versions or many metrics at once and picking the best-looking one raises the chance of a false positive.
  • The z-test is an approximation. It works well when each version has a reasonable number of conversions and non-conversions. With very few conversions, treat the p-value with extra caution.

Getting the numbers from Reveata

Reveata has no built-in experiment feature, but it can count each version's visitors and conversions for you. The simplest way is to serve each version on its own page address (for example /pricing-a and /pricing-b) and track the conversion as a custom goal. Then add a page filter for one version: the dashboard shows the visitors who viewed it, and the goal conversion rate counts how many of them completed the goal. Repeat for the other version over the same dates. With payments connected, the Pages panel also shows revenue and new customers per page, so you can check whether the winning version brought money as well as sign-ups.

Frequently asked questions

Why two-sided rather than one-sided?

A one-sided test only looks for B being better and reaches significance with less data, but it cannot tell you when B is worse. The two-sided test is the safer default.

Can I use this for revenue per visitor?

No. This test compares proportions (converted or not). Revenue per visitor is an average of amounts that vary a lot between customers and needs a different test.

What confidence level does the calculator use?

95%, that is a p-value below 0.05. The p-value is shown with four decimals, so you can apply a stricter threshold yourself.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?