Loop Voice
    Back to blog
    Summarize with
    Ecommerce Growth & Retention

    How to Calculate Cart Abandonment Rate (Shopify and GA4)

    Cart abandonment rate = (1 - purchases ÷ carts created) × 100. Where to pull each input in Shopify Analytics and GA4, a worked example, and the data mistakes that skew it.

    Harris SolangiHarris Solangi, CTOLoop Voice co-founderDec 6, 2025Updated Oct 16, 20269 min read
    Cover: the cart abandonment rate formula with example cart and checkout rates

    The formula

    Cart abandonment rate = (1 - completed purchases ÷ carts created) × 100. For the checkout abandonment rate, use checkouts started as the denominator instead: (1 - completed purchases ÷ checkouts started) × 100.

    Example: 1,000 carts created and 260 purchases from those carts give a cart abandonment rate of (1 - 260 ÷ 1,000) × 100 = 74%.

    Three rules keep the number honest. The purchases must come from the same carts, sessions or users you divided by. Both counts must cover the same dates. And you pick one unit and stay with it: Shopify Analytics counts sessions, GA4 funnels count users, and Shopify's abandoned checkout list counts checkouts. Mixing them produces a number that means nothing.

    Funnel from all sessions to completed checkouts, with brackets for the cart and checkout abandonment rate formulas
    Example inputs, not data: both rates use completed checkouts and differ only in the funnel step they divide by, giving 74.1% for carts and 35.3% for checkouts.

    Cart rate or checkout rate?

    Cart abandonment rateCheckout abandonment rate
    DenominatorCarts created, or sessions with cart additionsCheckouts started, or sessions that reached checkout
    Numerator to subtractPurchases by those same carts or sessionsPurchases by those same checkouts
    Shopify Analytics inputsSessions with cart additions and sessions that completed checkout, closed funnelSessions that reached checkout and sessions that completed checkout, or the checkout conversion rate
    GA4 eventsadd_to_cart and purchasebegin_checkout and purchase
    Best for judgingProduct pages, prices, shipping messages and the cartThe checkout form, delivery options and payment

    Report both. The gap between them shows where shoppers drop: before checkout, where price and shipping cost decide, or inside it, where forms, payments and errors decide.

    Getting the inputs from Shopify Analytics

    Shopify gives you three routes to the same numbers. The first needs no setup.

    Option 1: the Conversion rate breakdown report

    1. In your Shopify admin, go to Analytics > Reports, filter Category to Behavior and open Conversion rate breakdown (Shopify's behavior reports).
    2. Set the date range to a full month.
    3. Turn the Open funnel toggle off. In the closed funnel, a session only counts at a step if it completed the earlier steps in order, so every completed checkout in the funnel started with a cart addition.
    4. Read three numbers: Sessions with cart additions, Sessions that reached checkout and Sessions that completed checkout. Hover a step to see its Reached this step and Dropped off rates.
    5. Cart abandonment = 1 - (sessions that completed checkout ÷ sessions with cart additions). Checkout abandonment = 1 - (sessions that completed checkout ÷ sessions that reached checkout).

    Two definitions are worth knowing. Shopify counts a session as reaching checkout when there was user input during checkout, such as a key press or a click. And because one session can contain more than one purchase, sessions that completed checkout won't always match your order count.

    Option 2: one ShopifyQL query

    If you prefer a query, open Analytics > New exploration, which is Shopify's ShopifyQL editor, and paste this single line:

    FROM sessions SHOW sessions_with_cart_additions, sessions_that_reached_checkout, sessions_that_completed_checkout, checkout_conversion_rate, completed_checkout_rate WHERE human_or_bot_session = 'human' DURING last_month

    In the ShopifyQL sessions schema, checkout_conversion_rate is sessions that completed checkout divided by sessions that reached checkout, so your checkout abandonment rate is 1 minus it. completed_checkout_rate does the same only for sessions that added to cart before reaching checkout, which removes shoppers who jumped straight to checkout.

    Option 3: Orders > Abandoned checkouts

    This list gives you the people, not a rate. It only holds checkouts where the shopper entered an email and didn't finish within ten minutes, from the Online Store and Buy Button channels only, so its count is not a usable denominator (Shopify Help Center). The same page explains that Shopify marks a checkout recovered when the customer completes the order after a recovery email was sent, whether or not they clicked it. Use the list to read failed payment attempts and to work the follow-up; our explainer on what counts as an abandoned checkout covers the fine print, and Shopify abandoned cart recovery covers working the list.

    Getting the inputs from GA4

    GA4 needs four ecommerce events for a checkout funnel (begin_checkout, add_shipping_info, add_payment_info and purchase), plus add_to_cart for the cart rate. On Shopify, the Google & YouTube app sends all of them from Shopify's standard events, according to Google's Shopify event reference, but add_shipping_info only fires in checkouts that use Checkout Extensibility. Google's Checkout journey help page still tells Shopify stores to set up add_shipping_info themselves, so confirm the event is arriving before you trust that step.

    Checkout abandonment: the Checkout journey report

    1. In GA4, open Reports, then the Checkout journey report under Monetization in the Life cycle collection, or under Drive online sales in the Business objectives collection (Google's Checkout journey help).
    2. The funnel is closed: it only includes users who began at the Begin checkout step.
    3. Read the abandonment rate printed under each bar, or compute 1 - (purchase users ÷ begin checkout users) for the whole checkout.

    Google's own example of how to read it: a large drop between Add shipping and Add payment suggests a problem at the shipping step, such as high shipping costs or a login with no guest option.

    Cart abandonment: a funnel exploration

    1. Go to Explore and start the Funnel exploration template (Google's funnel exploration help).
    2. Add three steps: the add_to_cart event, then begin_checkout, then purchase.
    3. Leave Make open funnel off, so users must enter at the first step.
    4. Cart abandonment = 1 - (users at the purchase step ÷ users at the add_to_cart step).

    GA4 counts each user once per date range in a funnel, using their first sequence of steps. That makes GA4 rates user-based, while Shopify's are session-based. Both are valid. Just never divide a GA4 number by a Shopify number.

    Why Shopify and GA4 never match exactly

    Each tool starts counting a checkout at a different moment and counts a different unit, so the same store produces three different checkout numbers.

    ToolWhen a checkout counts as startedUnit
    Shopify AnalyticsUser input during checkout, such as a key press or a clickSessions
    Shopify's abandoned checkout listEmail entered and no order after more than ten minutesCheckouts
    GA4 through the Google & YouTube appbegin_checkout, sent from Shopify's checkout_started event, which on Checkout Extensibility fires each time a customer enters checkoutUsers in a funnel
    Checkout timeline marking where GA4, Shopify Analytics and the abandoned checkout list each start counting a checkout
    GA4 counts users from checkout entry, Shopify Analytics counts sessions from the first input and the abandoned checkout list counts checkouts once an email is entered (sources: Shopify Help Center, Shopify.dev and Google, 2026).

    Pick one tool per question: Shopify Analytics for rates, the abandoned checkout list for follow-up, and GA4 when you need the shipping and payment steps broken out.

    Worked example: one month, two tools

    Example: a store's Shopify Analytics report for last month, with the closed funnel and human sessions only:

    Funnel stepSessions
    All sessions52,000
    Sessions with cart additions3,900
    Sessions that reached checkout1,560
    Sessions that completed checkout1,010
    • Cart abandonment rate: (1 - 1,010 ÷ 3,900) × 100 = 74.1%
    • Checkout abandonment rate: (1 - 1,010 ÷ 1,560) × 100 = 35.3%
    • Carts that never reached checkout: (1 - 1,560 ÷ 3,900) × 100 = 60.0%

    Of the 2,890 abandoned carts, 2,340 never reached checkout. That puts 81% of the problem before checkout, which points at product pages, prices and shipping costs rather than at the checkout form.

    The same month in GA4 shows 3,100 users with add_to_cart, 1,320 with begin_checkout and 905 with purchase: a cart abandonment rate of 70.8% and a checkout abandonment rate of 31.4%. The user-based rates come out lower partly because a shopper who adds to cart on Monday and buys on Tuesday is one converted user in GA4, but can be an abandoned session in Shopify's closed funnel.

    Example: at an $85 average order value, the 550 checkouts abandoned inside checkout hold about $46,750 of cart value. Treat that as the pool your recovery messages can work on, not as lost revenue.

    Data mistakes that inflate or deflate the rate

    A rate that suddenly jumps or drops is often a data problem rather than a shopper problem. These are the common ones, and the direction each one pushes the rate.

    MistakeWhat it does to the rateFix
    Bot sessions in the dataInflates the cart rate, because bots add to cart and never buyFilter to human sessions. Since Shopify's September 21 to 23, 2026 session update, identified bots are filtered out by default, and bot classification only exists for sessions from October 7, 2025
    Comparing periods across that updateMoves the rate either wayShopify advises using data from after the update as a new baseline
    Reading the open funnelDeflates the cart rate, because sessions that reach checkout without a cart step still count as completedUse the closed funnel for the cart rate
    Counting begin_checkout events instead of users or sessionsInflates the checkout denominator: with Checkout Extensibility, checkout_started fires every time a customer enters checkoutCount users or sessions with the event
    Missing purchase eventsInflates the rate in GA4: checkout_completed isn't sent if its page fails to loadCompare GA4 purchases with Shopify orders for the same dates every month
    The same order sent twiceDeflates the rateSend the order number as a unique transaction_id; GA4 deduplicates purchases with the same ID
    An empty transaction_idInflates the rate, because GA4 deduplicates every purchase sent with an empty IDNever send an empty string as the ID
    Dividing a GA4 count by a Shopify countProduces a meaningless numberUse one tool per ratio
    Partial weeks or single daysCreates noisy swingsUse full months, and keep the period length the same across comparisons

    What counts as a good rate?

    There is no official Shopify benchmark. For cart-level context, Baymard's average of 50 studies is 70.22%, and our cart abandonment statistics page has device, region and industry splits.

    A checkout-level rate covers a narrower group of shoppers. Taken from the same closed funnel, it can never be higher than your cart rate, so don't hold it up against cart-level averages.

    The comparison that matters is your own rate over time, with the same filters, the same device mix and the same length of period. When you are ready to move it, start with the fixes ranked by effort and impact.

    Measure recovery separately

    Your abandonment rate and your recovery results are different numbers, and the second is easy to overstate. Shopify's recovered status, covered above, includes shoppers who came back on their own, and any attribution report can credit an order that would have happened anyway.

    If you add calls, Loop Voice ties recovered revenue to the call that caused it; see Loop Voice features. To learn how many recovered orders would have come in without any call or email, hold out a random share of abandoned checkouts and compare order rates. Our holdout test guide walks through the setup, the abandoned cart email guide has benchmarks for the email side, and cart recovery vs buying traffic shows what recovered orders do to your conversion rate.

    Frequently asked questions

    Does a cart that is emptied before leaving still count?

    Yes, in Shopify's session metrics. Sessions with cart additions counts visits in which a visitor added an item to the cart, whether or not the item stayed there. Shoppers who add an item only to see the total and then remove it will raise your cart abandonment rate, which is one more reason to show shipping costs before the cart.

    Do draft orders, POS or marketplace orders affect the rate?

    Not in Shopify's session funnel. The sessions data only covers online store visits, so orders created as draft orders, at a POS location or on third-party channels never show up as completed checkouts there. They do show up in your total order count, which is one more reason never to divide total orders by sessions with cart additions.

    Sources

    1. Behavior reports (Shopify Help Center, 2026)
    2. Build your first query (ShopifyQL) (Shopify.dev, 2026)
    3. ShopifyQL sessions schema (Shopify.dev, 2026)
    4. Recovering abandoned checkouts (Shopify Help Center, 2026)
    5. Shopify event parameters (Google for Developers, 2026)
    6. [GA4] Checkout journey report (Google Analytics Help, 2026)
    7. [GA4] Funnel exploration (Google Analytics Help, 2026)
    8. Changes to sessions and conversion rate in Shopify Analytics (Shopify Help Center, 2026)
    9. checkout_started standard event (Shopify.dev, 2026)
    10. checkout_completed standard event (Shopify.dev, 2026)
    11. Minimize duplicate key events with transaction IDs (Google Analytics Help, 2026)
    12. Cart Abandonment Rate Statistics (Baymard Institute, 2025)

    Hear it before you decide

    Listen to real recovery calls, or see Loop Voice call a test checkout on your own store.