🔒 Please log in to use tool features (fill sample / analyze / AI interpretation / export document)
HomeQuality ToolsA/B Test Calculator
A/B Test CalculatorFree online tool · works on PC and mobile
Use it now →

A/B Test Calculator: Design Experiments and Analyze Significance

What is A/B Testing?

A/B testing randomly splits users or products into a control group (A) and a treatment group (B), then compares key metrics such as conversion rate or click-through rate between the two. It is the standard method for verifying causal effects in product iteration, marketing campaigns and website redesigns; randomization removes confounding and statistical tests control the error rate. Uneven traffic allocation or self-selection destroys experimental validity, so the two groups must be identical in every respect except the treatment.

When to Use It

Use A/B testing whenever a change to a page, feature, price or campaign needs an evidence-based go/no-go decision. The required sample size depends on the baseline conversion rate, the minimum detectable effect (MDE), the significance level α (usually 5%) and power (usually 80%). A lower baseline or a smaller MDE demands far more traffic; underpowered experiments end in false negatives while an overly small MDE makes the experiment run too long, so the plan must balance business need against duration.

How to Use It (Step by Step)

Enter the baseline conversion rate, MDE, α and power on the design page to obtain the required sample size per group, then launch the experiment and collect data. When the experiment ends, enter both groups' sample sizes and conversion counts on the results page to get the lift, p-value and confidence interval for the conversion-rate difference. Review whether the confidence-interval lower bound clears the business threshold before adopting B, and avoid peeking at results before the target sample size is reached.

Key Formulas / Example

The two-proportion Z test uses z = (p̂1 − p̂2) / √(p̄(1−p̄)(1/n1 + 1/n2)), where p̄ is the pooled proportion; B beats A when p < 0.05 and the confidence interval for the difference excludes zero. The per-group sample size follows n = (z_{1−α/2} + z_{1−β})²[p1(1−p1) + p2(1−p2)] / (p1 − p2)². Example: baseline 10%, absolute MDE 2%, α = 0.05, power = 0.8 gives roughly 3,800 users per group.

Open A/B Test Calculator → Calculate online in your browser · free registration · PC and mobile
SOFTWARE Discussions · Latest
No discussions yet — be the first to ask a question in the community.
Frequently Asked Questions
What MDE should I choose?
Set it from the business expectation; a smaller MDE needs far more sample. A 5–10% relative lift is a common target, and an overly small MDE makes the experiment period impractically long.
Can I watch the results while the experiment is running?
Not recommended: stopping early on a significant-looking p-value inflates false positives. Fix the sample size and duration in advance and analyze once, or use a sequential testing method.
How large a sample do I need when conversion is very low?
The lower the baseline, the larger the sample (a 1% baseline with a 10% relative lift needs tens of thousands of users). Consider denser event definitions or a proxy metric instead.
Does p < 0.05 mean I should launch B?
Not by itself. Check whether the absolute lift and the confidence-interval lower bound clear the business threshold, and weigh cost and risk: statistical significance is not business worth, so combine the verdict with ROI.