The A/B testing calculator for better launch decisions

Calculate sample size, statistical significance, and test duration in one place.

Three decisions to make before you start

Before you enter any inputs into the stat sig calculator, you’ll need to determine which test mode fits your situation, which metric you’re optimizing, and which statistical method your team works with.

Which mode?

  • Test Planning: You haven’t launched yet. Enter your baseline rate and target effect to find out how many visitors you need and how long to run.
  • Test Analysis: Your test is done. Enter your observed results to check whether the difference between variants is statistically significant.

Which metric?

  • Conversion rate: Best for binary outcomes (e.g., signups, purchases, clicks). Reaches significance faster because converted/not-converted has lower variance than revenue.
  • Revenue per visitor: Use this when revenue impact matters more than CVR alone. Combines two sources of variance (CVR and AOV), so you’ll need a bigger sample.
  • Products per visitor: For ecommerce tests where items per order is the primary outcome.

Which method?

  • Frequentist: Set a fixed sample size upfront and don’t check early. This is the standard approach, and it’s the most defensible if you need to justify your results.
  • Sequential: Check results as they come in and stop early if the evidence is clear. Good when high traffic makes a fixed-horizon test expensive.
  • Bayesian: Express results as a probability — “87% chance variant B is better.” Easier to explain to stakeholders who don’t live in stats.

Full methodology detail for each method is in the Statistical methodology section below.

What your result means

  • Required sample: Visitors needed per variant before your result is valid. Don’t stop before you hit this number, even if you see significance early. Stopping at first significance is one of the most reliable ways to ship a false winner.
  • Test duration: Estimated days to reach the required sample at your current traffic and allocation. If it’s longer than six to eight weeks, think about raising your MDE, narrowing your test scope, or increasing the traffic allocation.
  • MDE curve: Shows how the minimum detectable effect shrinks as your sample grows. Useful when you can’t commit to waiting for the full sample; it tells you what lift size you’ll be able to detect at any point in the run.
  • Before you act: run the SRM check, avoid stopping at first significance, and make sure you’re optimizing for the right metric.

What this calculator answers

  • How many visitors each variant needs before an A/B test is ready.
  • Which minimum detectable effects are realistic for your traffic and run time.
  • Whether p-values, confidence intervals, power, and expected loss support a launch decision.
  • Whether observed traffic split suggests Sample Ratio Mismatch or a broken randomization path.
  • How conversion rate, Average Order Value, Revenue Per Visitor, and Products Per Visitor moved.

Core concepts

Sample size depends on baseline performance, MDE, confidence, statistical power, test direction, and the number of variants. Statistical significance checks whether an observed difference is unlikely under the no-change assumption. Power helps prevent false negatives, while confidence helps control false positives.

Revenue Per Visitor is total revenue divided by total visitors. It combines conversion rate and Average Order Value while keeping the visitor as the randomization unit, making it the preferred revenue metric for most e-commerce experiments. AOV is still useful as a guardrail when order size changes matter.

SRM stands for Sample Ratio Mismatch. It checks whether the observed visitor counts for each variant match the planned allocation closely enough. A mismatch can point to randomization bugs, bot traffic, consent filtering, targeting mistakes, or analytics collection issues.

Start your 15-day free trial now.
  • No credit card needed
  • Access to premium features
You can always change your preferences later.
You're Almost Done.
What Job(s) Do You Do at Work? * (Choose Up to 2 Options):
Convert is committed to protecting your privacy.

Important. Please Read.

  • Check your inbox for the password to Convert’s trial account.
  • Log in using the link provided in that email.
  • To ensure you receive your 30-day trial from our ambassador, please use the same browser to claim your account.

This sign up flow is built for maximum security. You’re worth it!