How the A/B Test Significance Calculator Works
AnyTool A/B Test Significance Calculator runs a frequentist two-proportion z-test entirely in the browser. From the visitors and conversions of the control (A) and variant (B) it computes each conversion rate, then the pooled proportion p̂ = (x₁ + x₂) / (n₁ + n₂) and the standard error under the null hypothesis, √[p̂·(1 − p̂)·(1/n₁ + 1/n₂)]. The z-score is the difference in rates divided by that standard error, and the p-value is the corresponding tail probability of a standard normal distribution — doubled for a two-tailed test, or single-tailed when you are only testing that B beats A. The normal CDF uses a numerically stable Abramowitz–Stegun erf approximation. The result is compared against α = 1 − confidence/100 to decide significance, and a plain-English verdict (for example “Variant B is a statistically significant winner at 95%”) is generated. Everything is computed at full double precision and rounded only for display.
- Two-proportion z-test with pooled standard error under the null
- p-value from a stable Abramowitz–Stegun normal CDF approximation
- One- or two-tailed, at 90 / 95 / 99% confidence
- Significance decided by comparing the p-value to α = 1 − confidence
- Pure, unit-testable engine — no DOM, no server
