E-commerce

How do you calculate the e-commerce conversion rate?

How do you calculate the e-commerce conversion rate?

May 6, 2026

How do you calculate ecommerce conversion rate? To calculate ecommerce conversion rate, divide the number of orders by the number of sessions, then multiply by 100. The most commonly used formula is therefore: conversion rate = (orders ÷ sessions) × 100. If your store generates 200 orders from 10,000 sessions, your conversion rate is 2%.

This formula seems simple. But to use it correctly, you need to know what you put in the numerator and denominator. Do you count paid orders, purchases tracked by GA4, unique users, sessions, or only qualified sessions? Shopify notes that the common calculation is based on conversions divided by sessions (Shopify, 2025). But tools can display different figures depending on tracking, consent, and attribution.

In this guide, you will learn to calculate conversion rate step by step, with simple examples, then interpret it without making mistakes. We will also see how to compare Shopify and Google Analytics, how to segment by channel or device, and why a higher rate is not always better if margin falls.

To complete the basic definition, keep handy the conversion rate definitions, the sector benchmarks, and the importance of CRO.

The right approach is to calculate the overall rate first, then drill down one level: channel, device, landing page, product, and funnel stage. That is where the number becomes truly useful.

Summary

The e-commerce conversion rate formula

The standard formula is: conversion rate = orders ÷ sessions × 100. It turns a simple relationship into a percentage: how many visits become orders.

1. Simple example

Your store receives 5,000 sessions over one week. It generates 100 orders. The calculation is: 100 ÷ 5,000 × 100 = 2%. Your e-commerce conversion rate is therefore 2% for this period.

2. Example with low volume

Your store receives 500 sessions and generates 8 orders. The calculation is: 8 ÷ 500 × 100 = 1.6%. This figure is useful, but it remains fragile, because a few more or fewer orders change the result a lot.

3. Example with high volume

Your store receives 120,000 sessions and generates 3,600 orders. The calculation is: 3,600 ÷ 120,000 × 100 = 3%. Here, the rate is more stable because the volume is larger.

4. The formula is not enough

The calculation answers one question: how many sessions turn into orders? It does not say why visitors buy or do not buy. For that, you need to analyze the funnel, the pages, the channels, and the objections. It is an indicator, not a complete diagnosis.

Useful shortcut: for every 1,000 sessions, a conversion rate of 2% gives about 20 orders.

Choosing the right numerator: what counts as a conversion?

The numerator is the number of conversions. In e-commerce, this is most often orders. But depending on the objective, you can also track other actions.

1. Paid orders

This is the main conversion. A paid order counts as a conversion, regardless of the number of items in the cart. Three products in one order do not make three conversions.

2. Purchases tracked by an analytics tool

In GA4 or an advertising platform, the conversion depends on tracking. If the purchase event is not sent back, the tool may underestimate your conversions. Shopify, for its part, generally sees actual orders better in the admin.

3. Secondary conversions

You can also calculate a conversion rate for an intermediate action: add to cart, email signup, account creation, quote request. These rates help understand the journey before purchase.

4. Returns and cancellations

Note: an order that will be returned can count as a conversion. That is why the conversion rate must be read with the return rate and margin: e-commerce return causes.

Choosing the right denominator: sessions, visitors, or users?

The denominator changes the interpretation. Most e-commerce tools use sessions, because the same person may visit several times before buying.

1. Sessions

A session is a visit. If a person comes in the morning on mobile, returns in the evening on a computer, then buys, that may count as several sessions depending on the tool. The rate per session therefore measures the effectiveness of each visit.

2. Users

Users represent the estimated people. The calculation per user can give a different rate. It is useful for understanding human behavior, but it depends heavily on identification and consent.

3. Qualified sessions

Some teams exclude irrelevant traffic: bots, countries not served, very short sessions, internal support. This is useful for analysis, but the method must be documented so as not to artificially inflate the rate.

4. New visitors vs existing customers

Existing customers often convert better. If you mix new visitors and loyal customers, you risk overestimating the capacity of your cold acquisition. Separate the two when possible.

5. Keep the same method

The most important thing is consistency. Do not compare a rate calculated on sessions with another calculated on users. Otherwise, you no longer know whether the performance changed or whether the method changed.

Calculate the conversion rate in Shopify

In Shopify, the conversion rate is available in analytics. It relies on your store's session and order data.

1. Where to find it

Go to the Shopify admin, then to Analytics or Dashboards depending on your interface. You can track the conversion rate over a period, compare it with the previous period, and observe the funnel steps.

2. The Shopify funnel steps

Shopify often lets you see the steps: sessions, add to cart, checkout reached, conversion. These steps are more useful than the overall rate alone. They show where visitors drop off.

3. Reading alongside real orders

Shopify is close to the business truth because it knows the orders. If GA4 and Shopify differ, start by checking the Shopify admin, then look for why the tools differ.

4. Useful resources

To go further in Shopify: Shopify Analytics, Shopify dashboard and GA e-commerce tracking.

Calculate the conversion rate in GA4

In GA4, the calculation depends on the events collected. For e-commerce, the important event is generally purchase. If this event is misconfigured, your rate will be wrong.

1. GA4 Formula

The logic remains similar: purchases or sessions with purchase divided by sessions, then multiplied by 100. But GA4 applies its own session, attribution, and consent rules.

2. Why GA4 Can Be Lower Than Shopify

Ad blockers, consent refusals, incomplete tracking, tag issues, misconfigured cross-domain: all of this can reduce the purchases visible in GA4. It's not necessarily a sales problem, but a measurement problem.

3. Check the Events

Check view_item, add_to_cart, begin_checkout and purchase. If one step is not being sent back, your GA4 funnel becomes difficult to read. The pixels and events are detailed here: web pixels and mastering pixels.

4. Use GA4 for Sources

GA4 is especially useful for comparing sources and landing pages. It helps determine whether SEO, social, paid or email traffic converts differently.

Calculate by channel, device, and page

The overall rate is a starting point. To take action, you need to segment. A single average number can hide several realities.

1. By channel

Compare SEO, paid, email, social, direct and referral. Branded or email traffic often converts better than cold social traffic. That's normal. The goal is not to have the same rate everywhere, but to understand the role of each channel.

2. By device

Mobile and desktop can have significant gaps. If desktop converts well and mobile poorly, look at speed, readability, buttons, forms and payment methods: mobile-first design.

3. By landing page

A category page, an SEO article, a product page and a paid landing page do not have the same intent. Calculate conversion by page type to see where to focus your efforts.

4. By product type

A bestseller can convert three times better than a technical product. Tracking by product helps identify the pages that deserve improvements: optimizing a product page.

5. By country or delivery zone

If you receive traffic from countries where you deliver poorly or at high cost, the rate can drop. Separate the areas you actually serve from the areas merely exposed to the site.

Calculate funnel micro-conversions

Micro-conversions show where friction appears. They are often more actionable than the overall purchase rate.

1. Product view to add-to-cart

Formula: add-to-cart actions ÷ product views × 100. If this rate is low, the product page is not convincing: price, visuals, proof, size, stock, or delivery.

2. Add to cart to checkout

Formula: started checkouts ÷ add-to-cart actions × 100. If this rate is low, the cart may create hesitation: fees, promo code, free-shipping threshold, or lack of clarity.

3. Checkout to purchase

Formula: orders ÷ started checkouts × 100. If this rate is low, look at payment, late fees, trust, mobile bugs, or mandatory account creation.

4. Full funnel

A full funnel saves you from guessing. To frame this logic: e-commerce conversion funnel, checkout optimization.

Useful calculation examples

Here are a few concrete examples for interpreting the numbers correctly.

1. Store with stable traffic

You have 20,000 sessions and 400 orders. Rate = 400 ÷ 20,000 × 100 = 2%. If the following month you have 20,000 sessions and 500 orders, the rate rises to 2.5%. You gained 100 orders without any additional traffic.

2. Store with increasing traffic

You go from 10,000 to 30,000 sessions, but the rate drops from 3% to 1.8%. That is not necessarily bad: the new traffic may be colder. You need to look at orders, margin, and the role of the channel.

3. Store with a big discount

Your rate goes from 2% to 4% during a promotion. That's interesting, but check the margin, returns, and the effect on average order value. Conversion alone does not prove profitability.

4. Store with a mobile issue

Desktop converts at 3.5%, mobile at 0.9%. The calculation reveals a priority issue. Before buying more traffic, fix the mobile experience.

5. Store with out-of-stock issues

The rate suddenly drops while traffic remains stable. Before blaming ads, check the hero products, missing sizes, restocking times, and the messages visible on the product pages.

Common errors in calculation

Even with a simple formula, errors are common. They often come from an incorrect data scope.

1. Mixing orders and items sold

An order with five items is still one conversion. If you use units sold as the numerator, you inflate the rate.

2. Mixing visitors and sessions

Both can be useful, but not in the same chart without clarification. Choose one method, then stick with it.

3. Including irrelevant traffic

Internal traffic, bots, non-delivered countries, support pages: these sessions can distort your rate. Filter carefully and document your rules.

4. Comparing different periods

Sales, stockouts, price changes, product launches: these events change the rate. Always compare consistent periods.

5. Forgetting returns and cancellations

A high conversion rate with many returns is not healthy. Read conversion and return together.

6. Rounding too early

Keep decimals in your internal calculations. A difference of 0.2 points can represent many orders at high volume.

How to use calculations to improve conversion

Calculating the rate is useless if you don't turn it into a decision. The goal is to find the most profitable friction to fix.

1. Find the weak step

Start with the funnel: product page to cart, cart to checkout, checkout to purchase. Don't change the whole site before you know where the problem is.

2. Prioritize by impact

A small improvement on a highly visited page can produce more than a big improvement on a rarely visited page. Prioritize according to traffic, margin, and potential.

3. Test a simple hypothesis

Example: visitors don't add to cart because sizing is unclear. Add a size guide, then measure. If you also change the price, visuals, and layout, you no longer know what helped.

4. Build trust

Reviews, returns, shipping, guarantees, real photos, and FAQ reduce hesitation. To go further: increase conversion rate and conversion rate optimization.

5. Connect to average order value

If the rate increases but average order value drops sharply, revenue can stagnate. Track both together to avoid winning lots of small, low-profit orders.

6. Connect to acquisition cost

A better conversion rate often makes it possible to accept a higher CAC. But if the traffic becomes less qualified, the rate can drop even with a solid site. So read conversion, CAC, and LTV together.

Qstomy: measuring the questions that block conversion

An analysis tells you where conversion drops. It doesn't always say why. Often, the reason comes down to a simple question: is this product compatible? What size should I choose? Can I return it? Is it available? How long does delivery take?

Qstomy, an AI assistant for Shopify, answers questions on the site and helps visitors move toward the sale. The collected questions feed into analytics, which makes it possible to identify the objections that come up most often.

These data complement your conversion rate analysis. If a page gets traffic but converts poorly, the questions asked to Qstomy can indicate what to clarify: sizes, delivery, social proof, product comparison, or return policy. To test, request a demo or check the offers. Support handles sensitive cases.

Summary, FAQ, and Further Reading

In brief

  • Formula : orders ÷ sessions × 100.

  • Numerator : paid orders or selected conversion.

  • Denominator : sessions most often, users sometimes.

  • Analysis : segment by channel, device, page and funnel stage.

  • Limit : the rate alone says nothing about margin, returns or customer quality.

FAQ

What is the exact formula?

The most common formula is: number of orders divided by number of sessions, multiplied by 100.

Why use sessions?

Because the same customer can visit several times before buying. The session rate measures the effectiveness of each visit.

Can I calculate with unique visitors?

Yes, but do not mix methods. The user rate answers a different question than the session rate.

Why do Shopify and GA4 differ?

They do not always use the same rules for tracking, consent, session and attribution. Compare trends, not just the exact number.

Which calculation should I prioritize?

Start with the overall orders ÷ sessions rate, then segment by channel, device and funnel stage.

Should I calculate the rate by product?

Yes for key products. This makes it possible to see which products attract without converting, and which deserve more traffic.

To go further

Enzo

May 6, 2026

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.