A/B testing is a statistical method used to compare two versions of a webpage, email, ad, etc., to determine which version performs better. The sample size required for an A/B test depends on the desired level of confidence and the minimum detectable effect (MDE) you want to identify.
The formula to calculate the required sample size for an A/B test is:
z = Z-score for desired confidence level and power
p = estimated conversion rate
p_1, p_2 = expected conversion rates for the two variants
What is the formula used to calculate sample size in an A/B test?
How do I determine the Z-score for my desired confidence level?
What is the minimum detectable effect (MDE) in an A/B test?
How does sample size affect the power of my A/B test?
What is the role of p in the sample size formula?
How do I interpret the results from this calculator?
Can this calculator be used for non-binary outcomes?
Results are for informational purposes only and do not constitute professional advice.
