A/B Test Sample Size Calculator
Calculate the required sample size for your A/B tests to achieve statistical significance.
About This Tool
When designing an A/B test, one of the most critical decisions is determining how many users you need in each variant to detect a meaningful difference. This calculator helps you estimate the required sample size based on your baseline conversion rate, minimum detectable effect, and desired statistical power.
Calculator
Understanding the Parameters
- Baseline Conversion Rate: The current conversion rate of your control group (e.g., 5% of users complete a purchase)
- Minimum Detectable Effect (MDE): The smallest relative change you want to be able to detect. For example, if your baseline is 5% and MDE is 10%, you want to detect a change to 5.5%
- Significance Level (α): The probability of incorrectly concluding there's a difference when there isn't one (false positive). Common value: 0.05
- Statistical Power (1-β): The probability of correctly detecting a real difference. Common value: 0.80 (80% power)
Key Insights
- Higher baseline conversion rates require smaller sample sizes
- Detecting smaller effects requires larger sample sizes
- Higher power or lower significance levels require larger sample sizes
- Plan for longer test durations or higher traffic if your calculated sample size is large