Validation & Research curriculum

A/B testing for product managers

Use the A/B planning and analysis tools to set assumptions and review results. The Sample Size Calculator plans survey precision, not A/B test power, and Conversion Rate can summarize individual funnel steps. These tools calculate from your inputs; they do not run or randomize the experiment.

Suggested learning order

Use A/B planning for experiment sample size and the Sample Size Calculator for survey precision. Use Conversion Rate for individual funnel steps.

  1. 1

    Sample Size Calculator

    Estimate the sample size needed for your test

  2. 2

    A/B Test Calculator

    Check the statistical significance of your A/B test results

  3. 3

    Conversion Rate

    Find where users drop out of your conversion funnel

All Research calculators

Go deeper in the Learning Hub

Frequently asked questions

What's the minimum sample size for an A/B test?

It depends on baseline conversion, the minimum detectable effect (MDE), significance level, and desired power. At a 5% baseline, 5% relative MDE, 95% confidence, and 80% power, a two-sided test needs 120,146 visitors per variant in this calculator’s model. Smaller effects need larger samples. Enter your assumptions in the A/B planning calculator.

How long should I run an A/B test?

Plan enough time to reach the target sample and cover relevant business cycles. Seven to fourteen days can cover weekday and weekend patterns, but may be insufficient for low traffic or slower conversion. Define the sample and duration before starting; a significant result alone is not a stopping rule for a fixed-horizon test.

What's the difference between pre-test planning and post-analysis?

Pre-test planning estimates the sample and duration needed to detect the effect you chose. Post-analysis uses observed group sizes and outcomes to estimate lift, uncertainty, and a p-value. These calculations help assess the evidence; they do not establish that an effect is useful or that the experiment was run correctly.

What happens if I stop my test early when it looks significant?

Repeatedly checking a fixed-horizon test and stopping when it looks significant can raise the false-positive rate. You can monitor safety and data quality, but make the final inference at the planned sample and duration. Alternatively, use a sequential method with a stopping rule designed for repeated checks; a Bayesian label alone does not establish that property.

What's a minimum detectable effect (MDE) and how do I pick one?

MDE is the effect size you plan the test to detect with the chosen power. Pick a change large enough to matter to the decision, and distinguish relative lift from percentage points. A smaller MDE needs more traffic; do not increase it merely to make the required sample fit.

What if my A/B test results are flat?

Check the confidence interval and whether the sample can detect the effect you planned for. A result near zero may rule out a useful improvement, or it may remain too uncertain to decide. Review prespecified secondary and guardrail metrics; treat new segment patterns as exploratory findings to test.

Can I run an A/B test with multiple variants at once?

Yes, but plan the comparisons and account for multiple testing. For example, Bonferroni divides the significance threshold by the number of planned comparisons. This calculator supports two-arm comparisons; use a method appropriate to your outcome and multi-arm design for a larger experiment. ANOVA or sequential testing does not automatically solve every comparison problem.

How do I read a p-value without lying to myself?

A p-value describes how unusual the result, or a more extreme result, would be if there were no difference and the test assumptions held. A two-sided p-value of 0.04 includes extremes in either direction; it is not a 96% chance the variant is better. Read it with the effect estimate and confidence interval.

Choose a calculator

Start with the suggested first calculator or explore the full toolkit.