How is it calculated?
Start from the assumption that both versions convert at the same rate. A test, for conversion rates usually the two-proportion z-test, measures how far apart the observed rates are in standard errors and turns that distance into a p-value: the chance of seeing a gap at least this large if the assumption were true.
Compare the p-value with alpha, the false positive rate you accepted before the test: 0.10, 0.05 or 0.01 for 90%, 95% or 99% confidence. Below alpha the result is significant. Significance says the gap is unlikely to be noise; it does not say the gap is large or worth acting on.
Example
- 4.0% version A
- 5.0% version B
- 0.016 p-value
Version A converts 200 of 5,000 visitors (4.0%) and version B 250 of 5,000 (5.0%). The pooled rate is 450 ÷ 10,000 = 4.5%, the standard error is √(0.045 × 0.955 × (1 ÷ 5,000 + 1 ÷ 5,000)) = 0.00415, and z = 0.010 ÷ 0.00415 = 2.41. The two-sided p-value is about 0.016, below 0.05, so the difference is significant at 95% confidence but not at 99%.
Common mistakes
- Reading the p-value as the chance that B is better. A p-value of 0.016 means a gap this large would appear 1.6% of the time if A and B were the same, nothing more.
- Confusing significant with important. With a big enough sample, a lift of 0.1% is significant and still not worth shipping.
- Peeking. Checking a running test daily and stopping at the first significant reading makes false positives far more common than alpha suggests.
- Treating not significant as no difference. A test that is too small cannot detect a real but modest lift.