A/B testing compares a control and a variant to measure whether a product change causes a real difference in user behavior. PM Toolkit's A/B testing toolkit pairs two free calculators — pre-test sample-size planning and post-test significance analysis — so product managers can run experiments end to end without spreadsheets.

Ask Claude, Cursor, or ChatGPT to run this calculator.

Install once. 24 web calculators · 17 in your AI · 12 PM workflows

Example
You    compare test C: 310/10k · V: 360/10k
pmtk → +16.1% relative lift · +0.5 percentage points
Install for Cursor

A/B Testing Toolkit: Planning + Analysis

Complete toolkit for A/B test planning and statistical analysis (sample size, significance, and business impact) in one place.

Updated

Recommended
Before You Test
Plan the sample before launching

Estimate the sample needed for your chosen effect size and power, then compare it with your available traffic.

See if you have enough traffic to get results
Estimate how long sample collection may take
Plan for the possibility of an inconclusive result
Compare effect-size assumptions
During & After Testing
Analyze completed test results

Review the observed effect, its uncertainty and data-quality checks before deciding whether to roll out a change.

Recommendations with reasons and limitations
Revenue impact in dollars, not percentages
Check for sample ratio mismatch
Get stakeholder-ready summaries
When to Use This
  • • You're scoping a new experiment
  • • Stakeholders ask 'when will we know?'
  • • Debating test ideas in sprint planning
  • • Your last test ran for a month with no winner
When to Use This
  • • Your test reached its planned endpoint
  • • Engineering asks 'should we ship this?'
  • • The variant is up 3%: how uncertain is the estimate?
  • • Making the Monday metrics deck

Understanding A/B Testing: The Foundation of Data-Driven Product Development

A/B testing compares product variants through a controlled experiment. Random assignment helps teams estimate how a change affects user behavior and business metrics.

Pre-test Planning vs Post-test Analysis: Two Sides of Experiment Success

Pre-test Planning: Plan sample size and test duration before launching. Compare minimum detectable effect (MDE) options to understand the traffic and time each would require.

Post-test Analysis:Statistical analysis helps assess observed differences under the test's assumptions. Review p-values alongside quality gates, sample ratio mismatch (SRM), confidence intervals, and estimated business impact.

Statistical Significance: What It Really Means

Statistical significance tells you how surprising your result would be if the variants were actually identical. The industry standard is 95% confidence (p-value < 0.05). Read that carefully: it means that if there were truly no difference between control and variant, you'd see a result this extreme less than 5% of the time. It is not the probability that your result is "real." And statistical significance doesn't always equal business significance - a significant 0.1% improvement might not justify implementation costs.

Common A/B Testing Mistakes to Avoid

  • Peeking at results too early: Stopping when an interim p-value is favorable can inflate false positives
  • Running tests too short: Missing weekly/monthly cycles can produce misleading results
  • Testing too many things at once: A bundled change measures the bundle’s effect; it does not isolate each component
  • Ignoring practical significance: A 0.5% lift might be statistically significant but not worth implementing
  • Sample Ratio Mismatch (SRM): A significant mismatch with planned allocation can indicate assignment, filtering or tracking problems

Minimum Detectable Effect (MDE): The Key to Realistic Testing

MDE is the smallest effect a test is designed to detect at the chosen sample size and power. Detecting a 1% improvement requires substantially more users than detecting a 10% improvement. Choose an effect size that matters to the business and assess whether you have enough traffic to test it.

Sample Size Calculation: The Foundation of Test Planning

Sample size depends on baseline conversion, MDE, significance level, and statistical power. Common choices are a 5% significance level (95% confidence) and 80% power. Enter these assumptions to estimate the sample your test needs.

Business Impact Projection: From Statistics to Strategy

Converting statistical results to business impact helps stakeholders understand test value. Calculate annual revenue impact by multiplying the lift percentage by your baseline metrics and projecting over time. Consider implementation costs, maintenance overhead, and opportunity costs when deciding whether to ship winning variants.

Other testing methods (not implemented here)

Sequential Testing: Monitor results as data accumulates with adjusted significance thresholds to prevent peeking bias.

Bayesian Methods: Calculate probability of one variant being better rather than just yes/no significance decisions.

Multi-armed Bandits: Dynamically allocate traffic to better-performing variants to minimize opportunity cost.

Stratified Testing: Ensure balanced samples across key user segments for more reliable results.

When to Use A/B Testing vs Other Methods

Use A/B Testing when: You can randomize eligible users, measure the outcome and collect the planned sample. Random assignment helps estimate causal effects under the experiment assumptions.

Consider alternatives when: When randomization or recruitment is impractical, research and observational analysis can help, but they provide different evidence and have different limits.

Frequently asked questions about A/B testing

How long should I run an A/B test?
Plan enough traffic for the effect you need to detect and include relevant usage cycles. Set the stopping rule before launch. For a fixed-horizon design, analyze at the planned endpoint rather than stopping at the first significant result or waiting indefinitely for significance.
What is a good sample size for A/B testing?
Required sample size depends on the baseline rate, minimum detectable effect, significance level, power, and allocation. For a 2–5% baseline, detecting a 10% relative lift at 95% two-sided confidence and 80% power requires about 30,000–78,000 users per variant with equal allocation. Calculate the requirement for your actual inputs before launching.
What does 95% statistical significance mean?
This usually refers to a 5% significance threshold, or alpha = 0.05. A p-value below 0.05 means a result at least as extreme as the observed one would have less than 5% probability under the null hypothesis and the test's assumptions. A stricter 1% threshold generally needs a larger sample for the same power and effect size.
Can I test multiple variants at once?
Yes, but each additional variant requires more traffic. Beyond the per-variant sample, A/B/n tests add traffic to correct for multiple comparisons: the more variants you compare, the higher the chance of a false positive, so you tighten the threshold and need more data per arm to keep the same power. Consider whether the added complexity is worth the insights versus running sequential A/B tests.
What is Sample Ratio Mismatch (SRM)?
SRM means the observed group sizes differ from the intended allocation by more than the test expects from chance. Whether a 48/52 split is suspicious depends on sample size. Investigate assignment, logging, eligibility, and data filtering before trusting the experiment result.
Should I always ship the winning variant?
Not necessarily. A statistically significant 1% improvement might cost more to implement and maintain than it's worth. Check whether the change fits your strategy and whether the result makes sense. An unexpected result could come from a testing error rather than a real user preference.

What is A/B Testing?

A/B testing randomly assigns eligible users to versions of a product and compares a chosen metric. Read the effect estimate and its uncertainty alongside the test plan, business value, and guardrail metrics before deciding what to ship.

Lift Formula

Relative Lift = (Variant Rate - Control Rate) ÷ Control Rate × 100

Duration guidance

Reach the planned sample and cover representative weekly or seasonal behavior before evaluating a fixed-horizon test.

Rate this calculator:

“I have seen teams declare A/B tests as winners after 48 hours with 200 visitors. Statistical rigour matters — running tests to proper sample sizes with pre-defined success criteria separates teams that learn from teams that just confirm their biases.”

Prateek Jain, Head of Product