Conversion Rate Calculator

Calculate conversion rates with Wilson, Clopper-Pearson, and Normal confidence intervals. Compare up to 4 variants simultaneously with error bar visualization, significance testing between pairs, and revenue impact projection. All computation runs in your browser.

Enter Your Variant Data

Understanding Conversion Rate Calculation

The conversion rate is the single most important metric for any website or application that depends on user actions. Whether you are measuring purchases, sign-ups, downloads, or clicks, the conversion rate quantifies the fraction of visitors who complete the desired action. The basic formula is deceptively simple: conversion rate equals conversions divided by visitors, multiplied by 100 to express as a percentage. But this point estimate alone tells an incomplete story. Without a confidence interval, you have no way of knowing whether your 3.2% conversion rate is precisely measured or wildly uncertain.

This calculator computes conversion rates with three different confidence interval methods, each with distinct properties and use cases. It also supports comparing up to four variants simultaneously, making it ideal for A/B/n tests. The pairwise significance testing automatically identifies which differences are statistically meaningful, and the revenue impact projector translates statistical results into dollar figures your business stakeholders can understand.

Three Confidence Interval Methods Compared

The Normal approximation is the simplest method: CI = p plus or minus z * sqrt(p(1-p)/n). It works well when the sample size is large and the proportion is not too close to 0 or 1. However, it fails badly for small samples (n below 30) or extreme proportions (below 5% or above 95%), where it can produce bounds below 0% or above 100%. Despite its limitations, it remains widely taught and used because of its simplicity.

The Wilson score interval corrects the main deficiencies of the Normal approximation. Developed by Edwin Wilson in 1927, it centers the interval on a shrinkage estimator that pulls the observed proportion toward 0.5, with the shrinkage diminishing as sample size grows. The formula is more complex, but the result is an interval that never exceeds the [0, 1] bounds and maintains coverage probability close to the nominal level even for small samples and extreme proportions. It is the recommended default for most applications.

The Clopper-Pearson interval, also called the exact interval, is derived directly from the binomial distribution without any normal approximation. It inverts two one-sided binomial tests to find the smallest and largest proportion values that would not be rejected at the alpha/2 level. This guarantees that the true coverage probability is at least as large as the stated confidence level. The trade-off is conservatism: the actual coverage often substantially exceeds the nominal level, producing unnecessarily wide intervals. Use Clopper-Pearson when guaranteed minimum coverage is essential, such as in regulatory submissions or safety-critical applications.

Comparing Multiple Variants

When comparing conversion rates across variants, the key question is whether the observed differences are statistically significant or merely due to random sampling variation. This calculator uses the two-proportion z-test for each pair of variants. The test statistic is z = (p1 - p2) / sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2)), where p_pooled is the combined conversion rate across both variants. A z-value exceeding 1.96 in absolute value (for a two-tailed test at alpha = 0.05) indicates statistical significance.

When comparing more than two variants, the multiple comparisons problem arises. With 4 variants, there are 6 pairwise comparisons, and the probability of at least one false positive at alpha = 0.05 is 1 - (1 - 0.05)^6 = 26.5%. This calculator reports raw p-values for transparency; apply a Bonferroni correction (divide alpha by the number of comparisons) or the Benjamini-Hochberg procedure for more rigorous inference. The significance table flags results at both the nominal and Bonferroni-corrected levels.

The Error Bar Chart Explained

The SVG chart displays each variant as a bar whose height represents the point estimate of the conversion rate, with whiskers extending to the confidence interval bounds. Overlapping intervals suggest that the difference may not be significant, though this is only a rough heuristic. Two intervals can overlap and still show a significant difference in a formal test, because the test uses pooled variance. Conversely, non-overlapping intervals always indicate significance. Use the pairwise test table for definitive results.

The chart uses the interval method you selected (Wilson, Clopper-Pearson, or Normal), so switching methods lets you visually compare how each approach affects the interval width. For typical web analytics data with thousands of visitors and conversion rates between 1% and 20%, the three methods produce very similar results. Differences become apparent at small sample sizes (below 50) or extreme proportions (below 1% or above 99%).

Revenue Impact Projection

Statistical significance tells you whether a difference is real, but revenue projection tells you whether it matters. This calculator takes the conversion rates from your control and best-performing variant, combines them with your monthly visitor count and average order value, and computes the incremental revenue from switching to the winning variant. The formula is straightforward: incremental monthly revenue = monthly visitors * (best rate - control rate) * AOV.

However, projections should be interpreted cautiously. They assume the A/B test conversion rates will hold in production at full traffic, which may not be true if the test suffered from novelty effects, sample ratio mismatch, or weekday/weekend bias. They also assume constant traffic and AOV, which may vary seasonally. Use the projection as a rough order-of-magnitude estimate, not a precise forecast. A useful rule of thumb is to discount the projected lift by 20-30% to account for regression to the mean.

Best Practices for Conversion Rate Analysis

Always collect enough data before drawing conclusions. A common mistake is checking conversion rates daily and declaring a winner as soon as the rate looks good. This is a form of optional stopping that inflates false positive rates. Pre-determine your sample size using power analysis and wait until the full sample is collected. Use the Wilson interval as your default confidence interval method. Report effect sizes alongside significance tests. And always consider practical significance: a statistically significant difference of 0.01 percentage points is real but irrelevant.

When presenting results to stakeholders, lead with the revenue impact and confidence interval rather than the p-value. Business decision-makers care about the range of plausible outcomes and the financial implications, not the probability of data under a null hypothesis. Frame your results as "the best variant shows a conversion rate of X% with a 95% confidence interval of [Y%, Z%], which translates to an estimated $A to $B in additional monthly revenue" rather than "the p-value is 0.032."

Frequently Asked Questions

What is a conversion rate and how do you calculate it?

A conversion rate is the percentage of visitors who complete a desired action: (conversions / visitors) * 100. For example, 150 out of 5,000 visitors purchasing gives a 3.0% rate. Always report a confidence interval alongside the point estimate to convey measurement uncertainty.

What is the Wilson score confidence interval and why is it preferred?

The Wilson score interval is a method for computing confidence intervals for proportions that works well at any sample size and any proportion. Unlike the Normal approximation, it never produces bounds below 0 or above 1. Most statisticians recommend it as the default for proportion confidence intervals.

How many visitors do I need for a reliable conversion rate?

At a 5% conversion rate, you need about 73 visitors for a 95% CI of plus or minus 5 percentage points, 292 visitors for plus or minus 2.5 pp, and 1,825 visitors for plus or minus 1 pp. For comparing variants in an A/B test, you typically need thousands per variant.

How do I test if two conversion rates are significantly different?

Use a two-proportion z-test. The calculator computes z = (p1 - p2) / sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2)). If |z| exceeds 1.96 at alpha = 0.05, the difference is statistically significant. This calculator performs the test automatically for every pair of variants.

What is the difference between Clopper-Pearson and Wilson intervals?

Clopper-Pearson is exact and guarantees at least the nominal coverage, but is conservative (wider intervals). Wilson is approximate but achieves coverage closer to the nominal level, producing tighter, more practical intervals. Use Wilson for most applications and Clopper-Pearson when guaranteed minimum coverage is required.

Related A/B Testing Tools

About the Author

Built by Michael Lip — Solo developer with 10+ years experience. 140+ PRs merged into open source projects including Google Chrome and Axios. Creator of 20+ Chrome extensions and the Zovo developer tools collection.

Related Tools