Conversion Rate Calculator Widget

Add a conversion rate calculator to your website. Visitors enter traffic and conversions to get the conversion rate, and can switch on an A/B comparison that shows the lift between two versions and whether the difference is statistically significant.

Marketing Calculator Runs in your browser Free · no ads

Customize your widget

Theme
Auto follows the visitor's light/dark setting.
Style
Attribution on your page
Optional and entirely your choice. The exact line is shown in the code below; it links to the tool with rel="nofollow".
More options
Starting values
Leave blank to use the widget's defaults. Visitors can still change every value.

Live preview

Exactly what your visitors will see

Embed code

<iframe src="https://a2z.tools/embed/w/conversion-rate-calculator" title="Conversion Rate Calculator by A2Z Tools" width="100%" height="430" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>

A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.

Works with

How it works

The basic mode divides conversions by visitors. The A/B mode compares two versions: the absolute difference in percentage points, the relative lift over version A, and a two-sided two-proportion z-test with a pooled standard error, computed by the same engine as the A2Z A/B Test Significance Calculator. It reports the p-value and whether it is below 0.05, warns when a group has fewer than 10 conversions or non-conversions, and reminds readers that the test is only valid if the sample size was fixed in advance.

Calculation method

  • nA, nB = visitors in A and B; xA, xB = converting visitors; rate A = xA / nA, rate B = xB / nB
  • Conversion rate = x / n x 100; relative lift = (rate B - rate A) / rate A; difference in percentage points = (rate B - rate A) x 100
  • Pooled p = (xA + xB) / (nA + nB)
  • z = (rate B - rate A) / sqrt(p (1 - p) (1/nA + 1/nB)); two-sided p-value = 2 (1 - Phi(|z|)), Phi = standard normal CDF
  • Rates and lift shown to 2 decimals, the p-value to 4 decimals (below 0.0001 shown as < 0.0001); significant when p < 0.05

Worked examples

A single landing page

Inputs: Visitors 4,200; conversions 126

Result: Conversion rate 3%; 1 conversion per 33.3 visitors; 4,074 non-converting visitors

126 / 4,200 = 0.03.

A/B test that just reaches significance

Inputs: A: 4,200 visitors, 126 conversions; B: 4,150 visitors, 158 conversions

Result: Rate A 3%; rate B 3.81%; relative lift +26.91%; difference +0.81 pts; p-value 0.0419 - significant at 95%

Pooled rate 284 / 8,350 = 3.401%, standard error 0.397 points, z = 2.03. A p-value this close to 0.05 is fragile: a few conversions either way would change the verdict.

Larger rates, clearer result

Inputs: A: 1,000 visitors, 100 conversions; B: 1,000 visitors, 130 conversions

Result: Rate A 10%; rate B 13%; lift +30%; p-value 0.0355

Pooled rate 11.5%, standard error 1.427 points, z = 2.10.

Limitations

  • The z-test uses the normal approximation, which is poor when a group has fewer than about 10 conversions or non-conversions; the widget warns then, and an exact test is better for tiny samples.
  • Only two versions are compared. Testing several variants against A at once, or checking many metrics, raises the chance of a false positive unless the significance level is corrected.
  • Visitors are assumed independent and randomly split. Returning visitors counted twice, uneven traffic splits caused by a bug, or a test that ran over only part of a weekly cycle can bias the result without changing the arithmetic.
  • A significant p-value says the difference is unlikely to be chance, not that the lift will hold at the same size after launch.

Where publishers use it

  • CRO and landing-page agencies' blogs
  • Ecommerce guides on benchmarking store conversion
  • Email-marketing tutorials comparing two subject lines or calls to action
  • Growth and product-analytics courses introducing A/B testing

Questions

What does statistically significant mean here?

That a difference this large would be seen less than 5% of the time if the two versions truly converted at the same rate. It does not say how big the real improvement is or guarantee it will last.

Why does stopping a test early matter?

Checking the result repeatedly and stopping as soon as it looks significant inflates false positives. Decide the sample size first and read the result once it is reached.

Can conversions be more than visitors?

Not in this calculator, which counts converting visitors. If one visitor can order several times, track orders per visitor or revenue per visitor instead.

Is the test one-sided or two-sided?

Two-sided at the 95% level, so it detects both improvements and declines.

How many visitors does a test need?

More than most sites expect. Detecting a lift from 3% to 3.6% with 80% power at 95% confidence takes roughly 14,000 visitors per version; small lifts on low base rates need far more. Work out the sample size before starting.

Why is my analytics conversion rate different from the ad platform's?

Analytics usually divides conversions by sessions or users, while ad platforms divide by clicks or interactions and may count view-through conversions. Enter visitors and conversions from the same source.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, 7.3.3: How can we determine whether two processes produce the same proportion of defectives? - National Institute of Standards and Technology . The large-sample z statistic for two proportions with a pooled proportion, used for the A/B test.
  2. Conversion rate: Definition - Google Ads Help . Ad platforms divide conversions by ad interactions rather than by site visitors - one reason reported rates differ.

Cite or recommend this tool

If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.

A2Z Tools Conversion Rate Calculator
https://a2z.tools/ab-test-significance-calculator

Preview