A/B Test Planning Toolkit

Calculate sample size, test duration, and check statistical significance

% relative lift means variant rate = $ %` : `Adding $ pp means variant rate = $ %`}

⚠️ One-tailed tests assume direction. Use with caution.

Ensures test runs at least days

Ensures at least users per variant

The observed traffic split differs significantly from expected. This may indicate tracking issues, bot traffic, or broken randomization. Investigate before drawing conclusions.

Disclaimer

  • • This calculator assumes independent users and a binary conversion metric.
  • • Avoid stopping early based on interim results. Predefine your stopping rule.
  • • If running multiple experiments or checking many metrics, adjust for multiple comparisons.
  • • For complex designs (multi-variant, CUPED, sequential testing), consult an analyst.
  • Want to learn more about experiment planning?

    What is Sample Size in A/B Testing?

    Sample size is the number of users needed in each variant to detect a statistically significant difference. It depends on your baseline conversion rate, minimum detectable effect (MDE), confidence level, and statistical power.

    Understanding Statistical Significance

    Statistical significance tells you whether the observed difference between control and variant is likely real or due to random chance. A p-value below your alpha threshold (typically 0.05) indicates significance.

    What is Sample Ratio Mismatch (SRM)?

    SRM occurs when the observed traffic split between variants differs significantly from the expected allocation. This can indicate bugs in randomization, tracking issues, or bot traffic, and should be investigated before trusting results.