Ecommerce conversion rate is the percentage of online store sessions that result in a completed order.

Use this formula:

[ \text{Ecommerce conversion rate} = \left(\frac{\text{Completed orders}}{\text{Total sessions}}\right) \times 100 ]

For a report covering January 1 to January 31, a store with 2,400 sessions and 72 completed orders has this conversion rate:

[ (72 \div 2,400) \times 100 = 3% ]

The ecommerce conversion rate is 3%. Shopify defines online store conversion rate as the percentage of sessions that result in an order.

Ecommerce Conversion Rate Formula at a Glance

Metric Formula Example
Ecommerce conversion rate Orders ÷ sessions × 100 72 ÷ 2,400 × 100 = 3%
User-based conversion rate Unique purchasers ÷ users × 100 60 ÷ 2,000 × 100 = 3%
Checkout completion rate Completed purchases ÷ checkout sessions × 100 72 ÷ 180 × 100 = 40%

Use the first formula for the main store-wide conversion rate. Use the other two for user and checkout analysis.

How to Calculate Ecommerce Conversion Rate Step by Step

1. Define What Counts as a Conversion

For most online stores, a conversion is a completed purchase.

Count completed orders, not individual items. If one customer places an order containing three products, that counts as one conversion and three units sold.

Use the same rule for test orders, cancelled orders, duplicate transactions and refunds in every reporting period. Write the rule down so your results remain comparable.

2. Choose the Correct Denominator

The standard denominator is website sessions, not advertising clicks or page views.

A session is a visit to your online store. One person can create multiple sessions, such as a mobile visit followed by a desktop visit. Shopify's online store conversion rate measures the percentage of sessions that result in an order.

Keep these metrics separate:

  • Orders ÷ sessions measures session-based ecommerce conversion rate.
  • Purchasers ÷ users measures user-based conversion rate.
  • Orders ÷ ad clicks measures conversion from advertising clicks, not overall store conversion rate.

3. Collect the Two Numbers for the Same Period

Choose a reporting period, such as:

  • January 1 to January 31
  • The previous seven days
  • A product launch
  • A paid advertising campaign

Record:

  1. Completed orders
  2. Ecommerce sessions

Both figures should cover the same dates. Use the same timezone and attribution settings where possible.

4. Apply the Formula

Suppose a store generated:

  • 1,500 sessions
  • 45 completed orders

The calculation is:

[ (45 \div 1,500) \times 100 = 3% ]

The ecommerce conversion rate is 3%.

In a spreadsheet, use:

=Orders/Sessions

Format the result as a percentage. If the cells contain 45 orders and 1,500 sessions, the result displays as 3%.

Should You Use Orders, Customers or Items in the Formula?

Use completed orders for the standard ecommerce conversion rate.

Do not use products sold. That number measures units sold, not the share of visits that resulted in a purchase.

Use unique purchasers when you want to measure the percentage of users who bought. This is a different metric because one customer can place more than one order.

How to Calculate Conversion Rate in Shopify

Shopify reports online store conversion rate as the percentage of online store sessions that result in an order. Its reports also show funnel stages, including sessions with product additions, sessions that reached checkout and sessions that completed checkout.

The basic calculation is:

Shopify conversion rate = Sessions that completed checkout ÷ Total online store sessions × 100

For example:

80 completed checkout sessions ÷ 4,000 sessions × 100 = 2%

The Shopify ecommerce conversion rate is 2%.

How to Calculate Ecommerce Conversion Rate in Google Analytics 4

In Google Analytics 4, check that your website records ecommerce events, especially the purchase event. Google defines purchase as the event that records a completed purchase. Ecommerce data must be sent through correctly configured ecommerce events.

To calculate the rate:

  1. Open the relevant ecommerce or monetization report.
  2. Select the same date range for sessions and purchases.
  3. Use completed purchases or unique transaction records as the numerator.
  4. Use sessions as the denominator for a session-based rate.
  5. Divide purchases by sessions and multiply by 100.

Check the tracking before using the result. Missing or duplicated purchase events can make the rate inaccurate. Google Analytics supports transaction details such as transaction_id, which helps identify individual purchases and prevent duplicate reporting.

How to Calculate Conversion Rate by Channel or Device

Use the same formula for each segment:

[ \text{Segment conversion rate} = \left(\frac{\text{Orders from the segment}}{\text{Sessions from the segment}}\right) \times 100 ]

Channel Sessions Orders Conversion rate
Organic search 3,000 90 3%
Paid search 1,000 40 4%
Social media 2,000 20 1%

You can segment the rate by:

  • Traffic source
  • Marketing campaign
  • Device type
  • New versus returning visitors
  • Country or region
  • Landing page
  • Product category
  • New versus repeat customers

Shopify reporting includes conversion data by traffic source, location and device. These segments can show where shoppers leave the purchase journey.

How to Calculate Each Ecommerce Funnel Stage

The store-wide rate shows the final result. Funnel rates show where sessions drop out.

Add-to-cart Rate

[ \text{Add-to-cart rate} = \left(\frac{\text{Sessions with cart additions}}{\text{Total sessions}}\right) \times 100 ]

Checkout-start Rate

[ \text{Checkout-start rate} = \left(\frac{\text{Sessions that reached checkout}}{\text{Total sessions}}\right) \times 100 ]

Checkout Completion Rate

[ \text{Checkout completion rate} = \left(\frac{\text{Sessions that completed checkout}}{\text{Sessions that reached checkout}}\right) \times 100 ]

For example:

  • 5,000 total sessions
  • 400 sessions added a product to the cart
  • 180 sessions reached checkout
  • 90 sessions completed checkout

The rates are:

  • Add-to-cart rate: 8%
  • Checkout-start rate: 3.6%
  • Checkout completion rate: 50%
  • Overall ecommerce conversion rate: 1.8%

A low overall rate may come from weak product-page engagement, cart problems or checkout friction. Shopify's conversion funnel reports separate these stages so stores can locate the drop-off.

Common Ecommerce Conversion Rate Calculation Mistakes

Avoid these errors:

  • Dividing orders by page views instead of sessions
  • Using advertising clicks in a store-wide calculation
  • Counting items sold instead of completed orders
  • Comparing orders from one date range with sessions from another
  • Mixing users, sessions and clicks in one formula
  • Including duplicate purchase events
  • Ignoring test orders or internal traffic
  • Comparing mobile traffic with all-device orders
  • Changing how refunds or cancellations are treated between reporting periods

The Correct Way to Report Your Result

State the formula, measurement period and percentage together.

From February 1 through February 28, the store generated 120 orders from 6,000 online store sessions, producing a session-based ecommerce conversion rate of 2%.

This gives readers enough information to reproduce and compare the result.

For most ecommerce stores, start with:

Completed orders ÷ total sessions × 100

Then segment the result by channel, device, customer type and funnel stage to find where conversion rates rise or fall.