A/B Test Sample Size Calculator
How many users — and how many weeks — does your test actually need? Standard two-proportion power analysis, with an honest verdict when the test isn't worth running.
How many users — and how many weeks — does your test actually need? Standard two-proportion power analysis, with an honest verdict when the test isn't worth running.
The math: standard two-proportion sample size with two-sided α = 5%: n = (z1−α/2·√(2p̄(1−p̄)) + zpower·√(p₁(1−p₁)+p₂(1−p₂)))² ÷ (p₂−p₁)². Duration is rounded up to full weeks (running partial weeks biases results through weekday/weekend mix). Why peeking early inflates false positives, how CUPED can cut this duration by 30–50%, and the rest of the discipline: The Experimentation Playbook.