Sample Size Calculator Per variant
Your current CVR before the test. Check GA4 or your platform.
The smallest relative uplift you care about detecting. e.g. 10% means you want to detect a 3.5% → 3.85% improvement.
Probability of a false positive. 0.05 = 95% confidence.
Probability of detecting a real effect. 80% is standard.

Set your baseline CVR and MDE to see the sample size you need.

Why sample size matters before you test

The most common A/B testing mistake: stopping a test early because it "looks like" it's winning. Without a pre-calculated sample size, your results are meaningless – you're just watching noise. This is called peeking, and it inflates false positive rates to 25–30%.

Calculate your required sample size before you start. Then commit to running until you hit it – regardless of intermediate results.

Once you know your sample size, use our A/B test duration calculator to turn it into a run length in days, the MDE calculator to find the smallest uplift your traffic can realistically detect, and the statistical significance calculator to check the result once the test is done.

Understanding the inputs

Baseline CVR

Your current conversion rate. The lower your CVR, the more traffic you need to detect changes. At 1% CVR you need ~4× more visitors than at 4% CVR.

Minimum Detectable Effect (MDE)

The smallest uplift worth detecting. Setting MDE too low means you need enormous traffic. For most eCommerce tests, 10–20% relative MDE is practical.

Power

At 80% power, if there's a true effect you'll detect it 8 out of 10 times. Higher power = more traffic needed, but fewer missed wins.

Running too many inconclusive tests?

Most brands don't have enough traffic to test everything. We prioritize the highest-impact experiments so every test counts.

Embed this calculator on your site

Free for any site. Drops in as an iframe — no JS, no signup, attribution back to the source page.

<iframe
  src="https://www.acceleroi.com/tools/sample-size-calculator?embed=1"
  width="100%"
  height="700"
  style="border:1px solid #e5e2d8;border-radius:12px;max-width:720px;"
  loading="lazy"
  title="Sample Size Calculator — by acceleroi"></iframe>
<p style="font-size:12px;color:#6b6b6b;margin-top:6px;">
  Calculator by <a href="https://www.acceleroi.com/tools/sample-size-calculator" target="_blank" rel="noopener">acceleroi</a>
</p>

Preview the embed: open in a new tab →