FREE ONLINE TOOLA/B & analytics

A/B sample size planner

Estimate the visitors needed for an A/B test

Estimate the sample needed for a two-arm conversion experiment. The normal-approximation calculation assumes equal allocation and a fixed analysis point, with either a relative lift or an absolute percentage-point target.

  • No account needed
  • Practical guide included
  • Clear data boundaries
A/B sample size planner
Private by design

Preparing your workspace…

A/B sample size planner features and uses

Plan the smallest worthwhile effect before collecting experiment data, so the target sample reflects a real decision.

Use a credible baseline and the smallest improvement that would change a business decision. Smaller detectable effects usually require more observations. Recalculate before starting when assumptions change, rather than choosing a new target after inspecting the results.

Continue this task with A/B duration planner and Experiment plan builder.

Common uses

  • Plan conversion experiments
  • Compare effect-size assumptions
  • Budget traffic requirements

How to use this tool

Follow these steps to prepare your input, run the tool and review its output.

  1. Choose a defensible baseline

    Enter your baseline conversion rate and the smallest improvement worth detecting. Use comparable historical conversion data rather than an optimistic guess.

  2. Specify effect units

    Choose the significance level and desired statistical power. Distinguish relative lift from an absolute percentage-point improvement.

  3. Plan both arms

    Use the rounded per-arm sample in your experiment plan and duration estimate. Use the rounded per-arm requirement in the duration planner.

Example input and output

Illustrative a/b sample size planner example

Illustrative example
Starting input
Baseline 10%; relative minimum improvement 20%.
What to look for
A sample target for detecting a change from 10% to 12% under selected assumptions.

Demonstration only. The exact sample depends on significance and power settings.

How to interpret the results

Smaller worthwhile effects usually require larger samples.

A planned sample is not a guarantee of a significant outcome.

Before you use the result

  • Confusing percentage points with relative lift.
  • Changing the effect target after seeing results.
  • Ignoring clustering or repeated measurements.

Frequently asked questions

Answers about using this tool, interpreting its results and how it handles your data.

How we handle your data
What is minimum detectable effect?

It is the improvement the planned design aims to detect, not a forecast of the treatment effect.

Is the result per arm or total?

The planner reports the required visitors per arm for equal allocation.

Does higher power require more traffic?

Usually yes, holding the baseline, effect and significance assumptions constant.

Which design effects are not adjusted here?

This is an approximate design calculation, not guaranteed power. It does not adjust for repeated analyses, many variants, clustering, attrition or measurement errors.

Is this tool free, and do I need to sign up?

This tool is free to use without an account or subscription. Supply your input in the workspace on this page, then run the tool. Your browser needs to support the features used by the tool; keep an original copy and review any generated output before applying it to a live website.

Are my files or text uploaded to your server?

This tool processes the supplied input locally in your browser. It does not upload your files or text to our server for processing. Copy or download the result you want to keep; the tool does not publish changes to your website automatically.