Sample Size Per Variant Calculator

Delivering Growth

Calculator Configuration

Enter as percentage points (e.g., 0.8 for 0.8% absolute increase)

95%
90%99%
80%
60%95%

Recommended: For a more comprehensive calculator that combines sample size, duration estimation, and comparison tables, check out our Sample Size and Test Duration Calculator.

How it works

Watch a demo of the Sample Size Calculator ⤴

What is Sample Size?

Sample size tells you how many users per variant (control or treatment) are required to detect a given minimum lift with your desired confidence and power.

Calculating Sample Size Given MDE

If you already know your Minimum Detectable Effect (MDE), you can estimate how many users (or samples) you need to start the experiment, per variant.

The Formula

We calculate required sample size using the formula:

n=(Zα+ZβMDE)22p(1p)n = \left( \frac{Z_{\alpha} + Z_{\beta}}{\text{MDE}} \right)^2 \cdot 2 \cdot p \cdot (1 - p)

Where:

  • p is the baseline conversion rate
  • MDE is the minimum detectable effect (as a decimal, not a percent)
  • ZαZ_{\alpha} is the Z-score for your confidence level (e.g. 1.96 for 95%)
  • ZβZ_{\beta} is the Z-score for your desired power (e.g. 0.84 for 80%)
Community

Need help implementing experiments?

Turn insights from this simulator or calculator into real results. The Delivering Growth Community (free to join) helps PMs, engineers, and founders build experimentation systems that drive conversion, activation, and retention. You'll learn to do this without bloated tooling or siloed teams.

  • ✅ Guidance on A/B testing infrastructure and reliable experiments
  • ✅ Code templates and patterns from top Growth teams
  • ✅ Community of growth practitioners sharing wins and strategies
Join for Free