Marketing Suite

Statistical Significance Calculator

Is your test result real or chance? Check two variants for statistical significance — the two-sided p value, the confidence it clears, and the relative uplift.

Control (A)

Variant (B)

Conversion rate A

conversions A ÷ visitors A

Conversion rate B

conversions B ÷ visitors B

Relative uplift

(CVR B − CVR A) ÷ CVR A

Result

Enter the numbers for both variants to test the difference for significance.

Plan the sample size you need

How many visitors each variant needs — decided before the test.

Visitors needed per variant

A planning figure at 95 % confidence and 80 % power — before you start.

Next step

Conversion Rate Calculator

Work out the conversion rate of the variant that won — and what it is worth.

What is statistical significance, and what 95 % confidence promises

Statistical significance answers one question: is the difference between two variants real, or is it chance? When variant B shows a higher conversion rate than A, that can be a genuine improvement — or simply a handful of visitors who happened to buy that week. A significance test puts a number on how often the measured gap would appear if the two variants were in truth identical. Only once that number is small enough has the test earned the right to decide anything.

The p value formula, and the z score it comes from

This calculator runs a pooled two proportion z test. The two conversion rates p₁ and p₂ and the pooled rate p̂ produce a z score, and the standard normal distribution turns that z score into a two-sided p value:

p̂ = (c₁ + c₂) ÷ (n₁ + n₂)

z = (p₂ − p₁) ÷ √( p̂(1−p̂) × (1/n₁ + 1/n₂) )

The larger |z| grows, the harder the gap is to explain away as luck. The thresholds are |z| > 1.645 (90 %), |z| > 1.960 (95 %) and |z| > 2.576 (99 %). The p value says the same thing as a probability, which is the form worth taking into a meeting.

How to calculate statistical significance from visitors and conversions

Control A: 10,000 visitors, 200 conversions. Variant B: 10,000 visitors, 250 conversions:

CVR A200 ÷ 10,000 = 2.0 %
CVR B250 ÷ 10,000 = 2.5 %
Pooled p̂450 ÷ 20,000 = 0.0225
Standard error≈ 0.0021
z score0.005 ÷ 0.0021 ≈ 2.38
p value (two-sided) ≈ 0.017

At p ≈ 0.017 the value sits below 0.05, so the difference is significant at the 95 % level. Raise the bar to 99 % confidence, where the threshold is z > 2.576, and z = 2.38 is not enough — the same data stops counting. Nothing about the experiment changed, only how much doubt you were willing to live with.

One tailed vs two tailed: the setting that halves your p value

This calculator is fixed to a two-sided test. The two most visible A/B calculators on the market let you switch to one-sided, and the switch is not cosmetic: on identical data a one-sided test reports half the p value. The worked example above gives p ≈ 0.017 two-sided and would give ≈ 0.009 one-sided — significant at 99 % rather than merely at 95 %, from the same 10,000 visitors. One-sided is only defensible if, before you collected a single visitor, you were genuinely willing to ignore the possibility that the variant is worse. Almost nobody is; the variant that tanks checkout is exactly the result you needed to see. So if a test clears the bar here, it clears it anywhere. If it only clears someone else's one-sided setting, the honest reading is that the test is not finished.

The false positive rate you are accepting, and two other honest warnings

  • Do not stop early («peeking»): Checking each morning and stopping the moment it looks significant pushes the false positive rate far above the 5 % you thought you chose. Fix the sample size and the runtime in advance, then leave both alone.
  • Significant is not the same as important: Very large samples make even tiny, commercially pointless differences significant, and very small ones miss real effects completely. Read the uplift next to the p value, never instead of it.
  • 95 % confidence is not 100 %: On average 1 test in 20 comes back significant when there is no real difference at all — that is the false positive rate you agreed to when you picked 95 %. A result you intend to build on is worth repeating.

The sample size formula belongs before the test, not after it

  • Plan the sample first: The block above solves n = (1.96 + 0.84)² × (p₁(1−p₁) + p₂(1−p₂)) ÷ (p₂ − p₁)² for each variant. Run it before the test; run it afterwards and it only explains why the result was inconclusive.
  • Run whole weeks: End a test on the same weekday it started. Weekday and weekend traffic convert differently, and a test cut short on a Tuesday carries that imbalance straight into the result.
  • One change per test: Change several things at once and a significant result tells you that something worked — not which one. That is a finding you cannot reuse.

Frequently asked questions

What is a good p value for an A/B test?
There is no universally good p value — there is a threshold you set in advance. Below 0.05 is the convention and matches 95 % confidence; below 0.01 (99 % confidence) is the bar for a change that is expensive or hard to reverse. What matters more than the number is that you fixed it before looking at the data. A threshold chosen after the fact is not a threshold, it is a description of the result you already have.
How to calculate p value without a stats package?
Work out the z score by hand and compare it against three fixed thresholds. z = (p₂ − p₁) ÷ √(p̂(1−p̂) × (1/n₁ + 1/n₂)), where p̂ is the pooled conversion rate across both variants. If |z| exceeds 1.645 the result is significant at 90 %, above 1.960 at 95 %, above 2.576 at 99 %. Turning z into an exact p value needs the standard normal distribution, which is the one step a table or a calculator has to do for you.
What is the minimum detectable effect, and how do you choose one?
The minimum detectable effect is the smallest relative improvement your test can reliably find — 20 % means you would catch a lift from a 2 % to a 2.4 % conversion rate. Choose it from your traffic, not from your hopes: halving the MDE roughly quadruples the visitors you need. If the sample size that comes out is more traffic than you get in a quarter, the honest options are a bolder change or no test.
How does this compare with Bayesian A/B testing?
This is a frequentist calculator: it reports how surprising your data would be if the variants were identical. Bayesian A/B testing answers a different question — the probability that B beats A, given the data and a prior. Bayesian tools tolerate looking at results early, which is their main practical draw. The frequentist p value here does not, which is why the peeking warning above matters.