A/B Test Sample Size Calculator

Enter your baseline conversion rate, minimum detectable effect, and desired statistical power to find out how many visitors each variant needs.

Use the A/B Test Sample Size Calculator

Test Parameters

Your current conversion rate before the test.

%

Smallest relative lift you want to reliably detect.

%

Used to estimate days to significance.

Fill in your test parameters,
then click Calculate Sample Size.

Summary

This calculator uses the standard two-proportion power analysis formula to determine the minimum sample size per variant for an A/B test. Enter your current (baseline) conversion rate, the smallest lift you care about detecting, your desired confidence level, and statistical power — and get the required sample size per variant plus an estimated time to significance based on your daily traffic.

How it works

  1. Enter your current (baseline) conversion rate as a percentage.
  2. Set the minimum detectable effect (MDE) — the smallest relative lift you want to be able to detect.
  3. Choose a confidence level (1 − α): 90%, 95%, or 99%.
  4. Choose statistical power (1 − β): 80%, 85%, or 90%.
  5. Click "Calculate" to get the required sample size per variant and estimated days to significance.

Use cases

  • Plan a landing page redesign test and know when you will have enough data to call it.
  • Set a realistic timeline for a pricing page experiment before pitching it to stakeholders.
  • Avoid ending tests early by knowing exactly how many visitors each variant must reach.
  • Compare tradeoffs: a larger MDE requires fewer visitors, so you can ship faster with less certainty.
  • Size email subject line tests against your list size to check if the test is feasible.
  • Decide whether a low-traffic page can realistically support an A/B test at all.

Frequently Asked Questions

Last updated: 2026-06-19 · Reviewed by Nham Vu