# A/B Test Significance Calculator

- Link: https://bestwebdeveloper.org/tools/ab-test-significance-calculator/
- Published: 2026-10-15T17:22:06+00:00
- Author: Best Web Developer

## What statistical significance means in an A/B test

A result is statistically significant when the difference between two variants is
larger than random chance would plausibly produce. This calculator uses a two-tailed,
two-proportion z-test. It reports a p-value: the probability of seeing a difference
at least this large if both variants actually performed the same. At 95% confidence,
a p-value below 0.05 counts as significant.

## The formula

Each variant has a conversion rate p = conversions ÷ visitors, and the pooled rate
p̂ combines both variants. The test statistic is **z = (p_(B) − p_(A)) ÷ √(p̂(1 
− p̂)(1/n_(A) + 1/n_(B)))**, and the p-value comes from the standard normal distribution.
The confidence interval for the difference uses the unpooled standard error.

## Worked example

Variant A converts 500 of 10,000 visitors (5.00%). Variant B converts 580 of 10,000(
5.80%), a relative uplift of 16%. The z-score is about 2.50 and the two-tailed p-
value about 0.012, so the result is significant at 95% confidence but not at 99%.

## Plan the sample size first

Most failed tests are underpowered rather than wrong. Before you start, enter your
baseline conversion rate and the smallest uplift worth detecting. With a 5% baseline
and a 20% relative uplift (5% to 6%), you need roughly 8,200 visitors per variant
at 95% confidence and 80% power. Halve the uplift you want to detect and the required
sample roughly quadruples.

## Rules that keep tests honest

 * Decide the sample size in advance, and do not stop the moment the result looks
   significant. Repeatedly checking and stopping early inflates false positives.
 * Run tests for whole weeks so weekday and weekend behaviour are both included.
 * Change one meaningful thing per test, and judge it on one primary metric.
 * Treat a non-significant result as not proven, rather than as proof of no difference.

Better tests start with better traffic. Plan paid traffic with the [ad performance calculator](https://bestwebdeveloper.org/tools/ad-performance-calculator/),
measure it with the [CPM, CPC and CTR calculator](https://bestwebdeveloper.org/tools/cpm-cpc-ctr-calculator/),
and tag each variant link with the [UTM link builder](https://bestwebdeveloper.org/tools/utm-link-builder/).
If you want a conversion-focused redesign tested properly, our [UI and UX design](https://bestwebdeveloper.org/services/ui-ux-design/)
and [web design and development](https://bestwebdeveloper.org/services/web-design-development/)
teams can help.
