A/B Test Sample Size Planner

How many visitors does each version need before you can trust the result? Enter your current conversion rate and the smallest lift you care about.

Also called: A/B test sample size calculator, split test duration calculator.

FreeNo sign-upRuns in your browser
CALCULATORS

A/B Test Sample Size Planner

How many visitors does each version need before you can trust the result? Enter your current conversion rate and the smallest lift you care about.

Runs locally in your browser
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.

Find a tool

Loading tools…

Watch: how to use the A/B Test Sample Size Planner (13 seconds)

Recorded on a phone, steps written on screen, no sound.

About the A/B Test Sample Size Planner

Before you start an A/B test, find out how many visitors each version needs. Enter your current conversion rate, the smallest relative lift you care about (for example 20%), the confidence (95% is standard) and the power (80% is standard).

Example: a 3% conversion rate and a 20% lift need several thousand visitors per version; smaller lifts need far more. Run the test until both versions reach the number, then check it with the A/B Test Significance Calculator.

How to use the A/B Test Sample Size Planner

  1. Add your inputFill in current conversion rate and smallest relative lift to detect. An example is already filled in, so you can press Run tool first to see how it works.
  2. Pick the optionsconfidence and power (the defaults suit most uses).
  3. Press Run toolThe result appears right under the button.
  4. Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.

This tool works inside your browser: what you enter stays on your device.

Example

A sample input and the result the A/B Test Sample Size Planner gives for it (produced by the tool itself, not typed by hand).

Current conversion rate
3
Smallest relative lift to detect
20
Confidence
95% (standard)
Power
80% (standard)

Result:

Each version needs about 13,914 visitors (27,828 in total).

To detect a move from 3.00% to 3.60% with 95% confidence and 80% power (two-sided).

Smaller lifts need many more visitors. If you do not get enough traffic, test bigger changes.

Good to know

What you need
You type or choose: Current conversion rate, Smallest relative lift to detect
Where it runs
In your browser, on your device.
Cost
Free, no sign-up.

Read the guide

Questions

Why so many visitors?

Small differences in conversion rates are easy to confuse with chance; more visitors make the result reliable.

Should I stop early if B is winning?

No. Stopping early is the most common way to get a false winner.

More tools in Money & Business

See all Money & Business tools