📊

A/B Test Sample Size Calculator

Inputs

Current conversion rate as a percentage (0-100%)

Smallest improvement you want to detect as a percentage (e.g., 10% for 10% relative lift)

Probability of Type I error; typically 0.05 for 95% confidence

Probability of detecting true effect; typically 80% or 90%

Total groups including control (e.g., 2 for A/B test, 3 for A/B/C test)

Results

Sample Size Per Group
Number of visitors needed in each test group
Total Sample Size Required
Effect Size (Cohen's h)
Critical Z-Score
Formula
n = (Z_α + Z_β)² × p(1-p) / h² × k / (k-1), where h = 2 × arcsin(√p₁) - 2 × arcsin(√p₀)
Powered by CalcStudio Pro