How A/B Sample Size is Calculated
A/B sample size calculation uses four inputs to estimate how many visitors each variant needs before results become trustworthy.
The baseline conversion rate sets the starting point, the minimum detectable effect (MDE) defines the smallest lift worth catching, statistical power describes the probability of spotting that lift when it really exists, and the significance level (alpha) controls how often random noise will be mistaken for a real win.
The calculator plugs these into a standard two-proportion formula, typically assuming a two-tailed test.
Smaller effects, lower baselines, higher power, and stricter alpha all push the required sample size up, often dramatically.