A/B Test Sample Size Calculator
This free ab test sample size calculator helps you find how many visitors each variant needs to detect a given lift in conversion rate with 95% confidence and 80% power.
📘 New to this tool? Follow the step by step guide with screenshots.
Quick answer: The A/B Test Sample Size Calculator turns your baseline conversion rate, minimum lift to detect and daily visitors into an instant estimate. Fill in the fields and the result appears straight away. It is free, needs no account and runs in your browser, so nothing you enter is saved on a server.
On this page
What is the A/B Test Sample Size Calculator?
Calculate visitors needed per variant from baseline conversion rate and minimum detectable effect. It is built for marketers and site owners who track results.
How do you use this ab test sample size calculator?
- Enter Baseline conversion rate (%) (example: 3).
- Enter Minimum lift to detect (%) (example: 20).
- Enter Daily visitors (all variants) (example: 800).
- Read the result.

For a fuller walkthrough, see the step by step guide to the A/B Test Sample Size Calculator.
Which inputs does the A/B Test Sample Size Calculator use?
| Input | Type | Example value |
|---|---|---|
| Baseline conversion rate (%) | Number | 3 |
| Minimum lift to detect (%) | Number | 20 |
| Daily visitors (all variants) | Number | 800 |
What does a worked example show?
Using Baseline conversion rate (%) 3, Minimum lift to detect (%) 20 and Daily visitors (all variants) 800, the tool shows: 13,914, Visitors per variant, 27,827, Total visitors, 34.78 days, Days to run. This is an estimate, so swap in your own figures for a real answer.
Why sample size matters
Stopping a test too early is the most common A/B testing mistake. Decide the sample size first, then wait until both variants reach it.
Key terms
- Return on investment
- A measure of profit compared with what was spent, calculated as gain minus cost, divided by cost and multiplied by 100. It helps compare marketing channels, but it depends on accurate costs and honest attribution.
- Search engine optimisation
- The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.
- Browser based tool
- A tool that runs entirely in your web browser with JavaScript, so the data you enter is processed on your own device. It works instantly without sign up, but it cannot fetch other websites because of browser security rules.
How we checked this tool
We tested the A/B Test Sample Size Calculator in Chrome on 2 November 2026 with the example inputs shown above and checked the output by hand. It runs in your browser and does not store what you enter. Read our editorial policy, disclaimer and privacy policy, or report an error on WhatsApp.
Frequently asked questions
What does the A/B Test Sample Size Calculator do?
Calculate visitors needed per variant from baseline conversion rate and minimum detectable effect.
Who should use the A/B Test Sample Size Calculator?
The A/B Test Sample Size Calculator is made for marketers and site owners who track results. It is simple enough for beginners and quick enough for agencies that run the same check many times a week.
Is the A/B Test Sample Size Calculator free?
Yes. The A/B Test Sample Size Calculator is free with no account, no daily limit and no watermark, and it sits alongside more than 500 other free tools on this site.
Does the A/B Test Sample Size Calculator save my data?
No. All processing happens in your browser with JavaScript. The values and text you enter stay on your device and are not sent to or stored on our server.
How reliable are the results?
Results are estimates based on the figures you enter and common formulas. Use them for planning and check important decisions against your own data.
Where can I learn more about the A/B Test Sample Size Calculator?
Read the step by step guide with screenshots, linked above, or browse the other free marketing analytics calculators for related checks.
Sources: Google Analytics Help and web analytics, checked 2 November 2026.