What statistical significance means in an A/B test
When variant B converts better than A, the question is whether the gap is real or just random variation. Statistical significance answers that: it tells you how unlikely the observed difference would be if both versions actually performed the same. The p-value is that probability, and confidence (1 − p-value) is how it is usually reported in testing tools.
If the p-value is below your threshold (0.05 for 95% confidence), the result is called significant. That does not prove B is better by exactly the uplift you see; it means a difference this large is unlikely to be pure chance.
How the calculator works (with a worked example)
The calculator runs a two-sided, two-proportion z-test:
CR = conversions ÷ visitorsuplift = (CR B − CR A) ÷ CR Apooled p = (conv. A + conv. B) ÷ (visitors A + visitors B)SE = √(p × (1 − p) × (1/visitors A + 1/visitors B))z = (CR B − CR A) ÷ SEp-value = 2 × (1 − Φ(|z|))
Example with the defaults: 5,000 visitors and 150 conversions on A, 5,000 visitors and 190 conversions on B, 95% confidence.
- CR A = 3.00%, CR B = 3.80%, uplift = +26.7%
- Pooled rate = 3.4%, z ≈ 2.21, p-value ≈ 0.0273
- Confidence ≈ 97.3%, which clears the 95% bar: significant (but not at 99%)
The sample size estimate uses 80% power: n = (z(1−α/2) + 0.8416)² × (CR A(1 − CR A) + CR B(1 − CR B)) ÷ (CR B − CR A)². For these numbers that is about 8,050 visitors per variant.
Significant but underpowered: why peeking is dangerous
The example is a classic trap. The test is already significant at 95%, yet it has only 5,000 of the roughly 8,050 visitors per variant needed to reliably detect a 0.8-point difference. Results like this often shrink, or vanish, as more data comes in.
The cause is usually peeking: checking the dashboard every day and stopping the moment it turns green. Each look is another chance for noise to cross the threshold, so the real false-positive rate ends up far higher than 5%. To avoid it:
- Decide the sample size and duration before launching, and stick to them.
- Run full weeks (at least one, ideally two business cycles) so weekday and weekend traffic are both represented.
- Pick one primary metric up front instead of hunting for whichever metric moved.
- Check that traffic split as planned; a 50/50 test that lands at 55/45 points to a tracking problem.
How to read the result
As a rule of thumb, 95% confidence is the default for most marketing decisions, 90% can be acceptable for low-risk changes you can easily revert, and 99% is worth it for pricing or checkout changes. What counts as a meaningful uplift varies by niche, traffic and baseline conversion rate: a 5% lift on a high-volume checkout can be worth more than a 30% lift on a page few people see.
An inconclusive result is still useful. It tells you the change probably has no large effect, so you can move on to bolder ideas instead of polishing details.
How to run better A/B tests
- Test where the traffic is: high-volume pages reach significance faster. Use the sales funnel calculator to find the stage where a lift matters most.
- Make bold changes: offers, headlines and page structure move results more than button colors.
- Tag your traffic with the UTM builder so you can segment results by channel.
- Test ads, too: compare creatives by CTR and conversion rate with the CPM, CPC and CTR calculator.