Free Sample Size Calculator
Calculate how many visitors you need for a statistically valid A/B test.
Your current conversion rate for the control variant
The smallest relative improvement you want to detect
Confidence level (probability of avoiding a false positive)
Probability of detecting a real effect when it exists
Total daily visitors to estimate test duration
Sample Size by Minimum Detectable Effect
How sample size changes as you vary the MDE, with a 5% baseline conversion rate.
| MDE (Relative) | Per Variant | Total |
|---|---|---|
| 1% | 2,996,727 | 5,993,454 |
| 2% | 752,708 | 1,505,416 |
| 3% | 336,103 | 672,206 |
| 5% | 122,123 | 244,246 |
| 8% | 48,362 | 96,724 |
| 10%current | 31,232 | 62,464 |
| 15% | 14,191 | 28,382 |
| 20% | 8,156 | 16,312 |
| 25% | 5,330 | 10,660 |
| 30% | 3,778 | 7,556 |
| 40% | 2,210 | 4,420 |
| 50% | 1,468 | 2,936 |
How to Use the Sample Size Calculator
What Is A/B Test Sample Size?
Know your sample size. Track results with EasyFunnel.
Start FreeFrequently Asked Questions
Why does a smaller MDE require a much larger sample size?▾
Smaller effects are harder to distinguish from random noise. If you want to detect a 1% relative lift instead of a 20% lift, you need far more data to be confident the difference is real and not just statistical fluctuation. The sample size grows roughly as the inverse square of the MDE.
What significance level should I use for my A/B test?▾
The industry standard is 95% (alpha = 0.05), which means there is a 5% chance of a false positive. Use 90% for exploratory tests where speed matters more than precision. Use 99% for high-stakes decisions like pricing changes where a wrong call is costly.
Can I stop my A/B test early if results look significant?▾
No. Peeking at results and stopping early inflates your false positive rate — a phenomenon called "peeking bias." If you want to evaluate results before the full sample is collected, use a sequential testing method designed for early stopping.
What happens if I run a test with too few visitors?▾
An underpowered test is likely to miss real effects (false negatives) or declare winners that aren't actually better (false positives due to noise). The result might look statistically significant by chance, but it won't replicate. Always calculate your sample size before starting a test.
How long should I run my A/B test?▾
Run it until you reach the required sample size, but also for at least one full business cycle (typically one or two weeks) to account for day-of-week effects. Tests shorter than a week can be biased by traffic patterns. Tests longer than 4-6 weeks risk cookie expiration and external factors contaminating results.
More Free Tools
UTM Builder
Generate UTM-tagged URLs to track campaign performance in any analytics tool.
Conversion Rate Calculator
Calculate your conversion rate and compare it against industry benchmarks.
A/B Test Calculator
Check if your A/B test results are statistically significant.
Funnel Visualization Maker
Create beautiful funnel charts with drop-off rates. Export as PNG or SVG.
Bounce Rate Calculator
Calculate your bounce rate and see how it compares to industry averages.
CTR Calculator
Calculate your click-through rate and compare against industry benchmarks.
Sitemap Generator
Generate a valid XML sitemap for your website in seconds.
AI Reply Generator
Generate professional replies to emails, reviews, and support tickets with AI.
AI FAQ Generator
Generate FAQ sections with JSON-LD schema markup for rich snippets.
Chatbot Name Generator
Generate creative chatbot name ideas for your brand.
Knowledge Base Generator
Transform your docs into a structured knowledge base with AI.
Conversion Audit
Get a 0-100 conversion score with actionable recommendations for your website.