A/B Test Sample Size Calculator
How many visitors per variant you need, worked out before the test, not after.
- Free
- Runs in your browser
- No sign-up
What the control converts at today.
Percentage points, e.g. 10% → 12% is 2pp.
No result yet
Enter your baseline rate and the smallest effect worth detecting.
Runs entirely in your browser. Nothing is uploaded.
How it works
Why decide the sample size first
The 5% false-positive rate a significance test promises only holds if you look once, at a sample size fixed in advance. Watch the dashboard and stop the moment it goes green and you will declare winners on tests where nothing happened. This calculator gives you the finish line to commit to before you start.
Minimum detectable effect
The MDE is the smallest change you actually care about catching. Smaller effects need dramatically more traffic: halving the effect roughly quadruples the sample. Set it to the smallest lift that would change a decision, not the smallest number you can type.
Absolute vs relative effect
“+2 percentage points” (10% → 12%) is an absolute effect; “+20%” of a 10% baseline is the same target expressed relatively. They describe the same test, and this tool accepts either so you can use whichever your stakeholders speak in.
Other free tools
More in Statistics & experiments
- A/B Test CalculatorCheck statistical significance, lift and experiment results.
- Descriptive Statistics CalculatorMean, median, mode, standard deviation and quartiles from a paste of numbers.
- Correlation CalculatorPearson r, r², a scatter plot and a significance test from two columns.
- Percentage Change & CAGR CalculatorPercentage change between two values, or compound growth over many periods.
- Confidence Interval CalculatorA confidence interval for a mean (t) or a proportion (normal).
All tools
- SQL Formatter
- Resume ↔ Job Matcher
- H-1B Sponsor Checker
- SQL Case Study Practice
- JSON ⇄ CSV Converter
- CSV Cleaner & Viewer
- Regex Tester
- SQL Joins Visualizer
- How to Become a Data Analyst
- How to Become an AI Analyst
- Data Analyst Interview Questions
- Analyst Skills Checklist
- Resume Bullet Builder
- Excel Formulas Cheat Sheet
Running experiments is the job
Product and growth analyst roles, scraped daily from company career pages.
