In this article

Ecommerce Metrics: Every Number to Track, With Formulas

13
mins read
Luca banner: Ecommerce Metrics: Every Number to Track, With Formulas

TL;DR

  • Ecommerce metrics fall into seven groups: traffic, conversion, order value, acquisition cost, retention, margin, and fulfilment and returns.
  • The five that decide profit are conversion rate, net AOV, new-customer CAC, repeat purchase rate, and contribution margin.
  • Calculate AOV on net sales and conversion rate on sessions, or both numbers look better than they are.
  • Blended CAC hides acquisition cost; new-customer CAC and MER show what growth really costs.
  • A 72% gross margin product can lose money once shipping, returns, support, and ads are counted.
  • Pick one trusted source per metric: Shopify for orders and sales, GA4 for sessions, and ad platforms for spend.

Picture Monday, 9:40 am. An operator selling ceramic homeware on Shopify opens three tabs to answer one question: did last week make money? Shopify says $38,200 in sales. GA4 says $41,900 in revenue. Meta Ads Manager says its ads drove $29,500 in purchases. None of the three tools is broken. Each is counting a different thing and calling it by a similar name.

That is the real reason most people search for ecommerce metrics. The formulas are easy to find. What is hard is knowing which version of each number to trust, where it lives, and what it leaves out. As one ecommerce operator put it, there are "too many metrics to look at," and when you open the reports "it just looks like a jumble of numbers."

This guide lists every number worth tracking, grouped into seven families, with the formula, the tool that should own it, and the label trap to watch for. It sits inside Luca AI's wider ecommerce analytics guide, which covers how the reporting stack fits together. Here, the job is narrower: one clean definition per metric, so the Monday tab-juggling stops.

What are ecommerce metrics, and which ones matter most?

Ecommerce metrics are the numbers that describe how a store attracts visitors, converts them, earns per order, pays to acquire customers, keeps them, and profits after every variable cost. They fall into seven groups: traffic, conversion, order value, acquisition cost, retention, margin, and fulfilment and returns. If you track only five, track conversion rate, net AOV, new-customer CAC, repeat purchase rate, and contribution margin.

⭐ The seven groups at a glance

The seven groups at a glance
GroupWhat it answersExample metrics
Traffic and discoveryWho arrives, and from where?Sessions, CTR, CPM
ConversionHow many visitors buy?Conversion rate, add-to-cart rate
Order valueHow much is each order worth?Net AOV, units per order
Acquisition costWhat does a new customer cost?New-customer CAC, MER
Retention and loyaltyDo customers come back?Repeat purchase rate, CLV
Margin and profitDoes each order make money?Gross margin, contribution margin
Fulfilment and returnsWhat does delivery and reversal cost?Return rate, fulfilment cost per order

✅ The five numbers that decide profit

These are the most important ecommerce metrics, and the core DTC metrics for any Shopify brand, because together they describe one sale from click to cash:

Luca AI's read, after watching operators work through their own reports, is that most stores track the first two closely and guess the last three. The rest of this guide gives every metric a formula and a home, starting with the distinction that confuses most dashboards.

What is the difference between an ecommerce metric and a KPI?

A metric is any number you can measure, such as sessions, refund rate, or CPM. A KPI (key performance indicator) is a metric you have tied to a goal and a target, and that one person owns. Every KPI is a metric. Most metrics never become KPIs. This page covers the metrics and their formulas; choosing which ones become KPIs is a separate decision.

✅ One metric, two jobs

Take return rate. As a metric, it is simply returned orders divided by shipped orders, say 11% last month. It becomes a KPI when your operations lead owns it, it has a target, and someone reviews it every week.

The number is identical in both cases. What changes is accountability. A KPI has an owner and a consequence. A metric is information you keep in reserve until you need it.

⚠️ Why the line matters for your dashboard

Most dashboards turn every metric into a KPI tile. Forty tiles with equal weight is how the "jumble of numbers" happens. The reader cannot tell which tile should change a decision this week.

Luca AI's view is that a store needs a wide metric library and a short KPI list. You should be able to pull any metric in this guide when a question comes up. You should only be reviewing a handful every week.

✅ Where to go next

If you are deciding which numbers to promote, how to set targets, or how to diagnose a fall, read Luca AI's guide on which KPIs to track. This article stays a reference: what each number means, how to calculate it, and which tool should own it.

Which traffic and discovery metrics should you track, and how are they calculated?

Traffic metrics count who arrives and from where: sessions, sessions by source, new versus returning visitors, click-through rate (clicks divided by impressions), CPM (spend divided by impressions, times 1,000), CPC (spend divided by clicks), engagement or bounce rate, and email sign-up rate. Shopify and GA4 count sessions differently, so pick one tool as the session source and never mix the two inside one conversion rate.

⭐ Sessions and sessions by source

Formula: a session is one visit, a period of activity that ends after a stretch of inactivity. Sessions by source groups those visits by where they came from (paid social, search, email, direct).

Shopify's Analytics dashboard reports online store sessions by device, location, and traffic source [2]. GA4 reports its own sessions, tracked by its own tag. The two rarely match. Ad blockers, consent banners, and tag setup all change what GA4 sees [4].

One G2 reviewer was blunt about the label itself:

"What is a session? Its a completely made up term that is not consistent with any other metrics."
Verified User in Marketing and Advertising, Google Analytics - G2 Verified Review (2/5, July 2018)

✅ New versus returning visitors

Formula: new visitor share = sessions from first-time visitors divided by all sessions.

This tells you how much of your traffic is discovery and how much is people coming back. It depends on cookies, so it undercounts returning visitors who switch devices or clear their browser. Read it as a trend, not an exact count.

💰 CTR, CPM, and CPC

These three come from ad platforms and tell you what attention costs.

  • CTR (click-through rate) = clicks / impressions × 100
  • CPM (cost per mille) = spend / impressions × 1,000
  • CPC (cost per click) = spend / clicks

Worked example (illustrative): a Meta campaign spends $3,000, earns 200,000 impressions, and gets 2,400 link clicks.

CTR, CPM, and CPC
MetricCalculationResult
CPM$3,000 / 200,000 × 1,000$15.00
CTR2,400 / 200,000 × 1001.2%
CPC$3,000 / 2,400$1.25

⚠️ The label trap in ad platforms

Meta reports both "Clicks (all)" and "Link clicks." The first counts likes, profile taps, and expands. The second counts visits toward your site. Use link clicks for CTR and CPC, or the ad will look far better than it is.

✅ Engagement rate, bounce rate, and email sign-up rate

  • Engagement rate (GA4) = engaged sessions / sessions. GA4 counts a session as engaged if it lasts longer than 10 seconds, includes a key event, or has two or more page views.
  • Bounce rate (GA4) = 1 − engagement rate. This is not the old Universal Analytics bounce rate, so do not compare the two.
  • Email sign-up rate = new subscribers / sessions × 100. This tells you whether visitors who are not ready to buy stay reachable.

💸 Why traffic alone never decides anything

Traffic is the least decision-useful group when you read it alone. A source with cheap CPM and high CTR can still send visitors who never buy. That is why some operators call CTR "meaningless" when it is judged on its own.

Read every traffic metric next to the conversion rate and order value for that same source. A source earns more budget only when the whole chain holds up.

Luca AI connects Shopify, GA4, and the ad platforms in one place, so you can ask which source's sessions dropped last week and get the answer with the conversion rate beside it. It is also set to alert you when a source's traffic moves outside its usual pattern.

How do you calculate ecommerce conversion metrics?

Conversion rate is orders divided by sessions, times 100. Around it sit add-to-cart rate, checkout reach rate, checkout completion rate (orders divided by checkouts started), and cart abandonment rate (1 minus orders divided by carts created). Shopify reports the share of sessions that ended in an order; GA4 divides purchases by its own sessions. Calculate on sessions, not users, or the rate looks better than it is.

💰 Conversion rate

Formula: conversion rate = orders / sessions × 100.

Shopify describes online store conversion rate as purchases divided by total sessions, times 100 [3]. It is a sessions-based number. One shopper who visits four times and buys once is one order across four sessions, which is a 25% rate for that shopper, not 100%.

That is why the hard-won rule is to calculate conversion on sessions, not unique users. Dividing by users makes the rate look higher and breaks comparisons across months.

⚠️ The funnel rates around it

  • Add-to-cart rate = sessions with an add to cart / sessions × 100
  • Checkout reach rate = sessions that reached checkout / sessions × 100
  • Checkout completion rate = orders / checkouts started × 100
  • Checkout abandonment rate = 1 − checkout completion rate
  • Cart abandonment rate = 1 − (orders / carts created)

Shopify's conversion report shows these steps as a funnel. Each rate tells you where shoppers leave. A fall in add-to-cart points at the product page. A fall in checkout completion points at shipping cost, payment options, or a checkout bug.

⭐ Worked example: one week, one store (illustrative)

Worked example: one week, one store (illustrative)
StepCountRate
Sessions10,000100%
Sessions with add to cart8008.0% add-to-cart rate
Sessions reaching checkout4004.0% checkout reach rate
Orders2502.5% conversion rate

From the same numbers:

  • Checkout completion = 250 / 400 = 62.5%, so checkout abandonment is 37.5%.
  • Cart abandonment = 1 − (250 / 800) = 68.75%.

If checkout completion dropped from 62.5% to 50% next week, you would lose 50 orders on the same traffic. That is where to look first, before you touch the ads.

⚠️ Why Shopify and GA4 disagree on conversion rate

GA4 counts purchase events against GA4 sessions. Shopify counts orders against Shopify sessions. Different denominators, different numerators, and often a different timezone too [4]. GA4 also loses purchases when the tag fails to fire or a payment gateway sends shoppers through an outside page.

Merchants raise this on the Shopify Community forum regularly, in threads titled "GA4 and Shopify conversions/sales don't match" [5]. A G2 reviewer described the GA4 side of it:

"The change to GA4 has been for the worse... there is data loss, for example, sessions do not match the session_start event. To make decisions based on grounded data, it is really difficult to trust it 100%."
Verified User in Retail, Google Analytics - G2 Verified Review (1.5/5, February 2024)

Another reviewer gave GA4 credit for depth but added the same caveat:

"Finding specific metrics or building custom reports can take time... sampling or data discrepancies can occasionally make analysis less straightforward."
Aman S., Performance Marketing Head, Google Analytics - G2 Verified Review (2/5, December 2025)

The fix is simple: take orders from Shopify, and use GA4 only for the split by source and device.

💰 Email and SMS conversion

Formula: email conversion rate = orders attributed to email / emails delivered × 100 (or / clicks, if you report click-to-order). Klaviyo and similar tools attribute an order to a message within their own window, so these orders also appear in Meta's and GA4's totals. Never add channel-attributed revenue together; it double counts.

💸 A conversion rate is half a number

A 3% conversion rate on a $30 order can lose money while a 1.5% rate on a $110 order prints cash. Never read conversion without AOV and margin beside it.

Luca AI joins Shopify orders with GA4 sessions and ad data, so a conversion drop is traced to the funnel step, device, and traffic source that moved. You ask in plain English, and the answer arrives with the reasoning, not just a chart.

How do you measure average order value without inflating it?

100 orders read as three AOVs: $90.00 on gross sales, $88.00 on total sales, $75.00 net AOV; revenue per session $2.50
Track AOV on net sales, because gross and total sales keep discounts, tax and shipping inside the number.

Average order value is sales divided by orders, but which sales figure you use changes the answer. In Shopify, gross sales are before discounts and returns, net sales subtract them, and total sales add tax, shipping, duties, and fees back on. Use net sales divided by orders for a true AOV. Pair it with units per order and revenue per session, which combines conversion and order value in one number.

⚠️ Three sales numbers, three AOVs

Shopify's sales reports define the terms precisely [1]:

  • Gross sales = product price × quantity, before discounts, returns, taxes, and shipping.
  • Net sales = gross sales − discounts − returns.
  • Total sales = net sales + taxes + duties + shipping charges + fees.

Each one gives you a different AOV. Most "AOV" tiles in third-party dashboards divide total sales or the raw order total by orders. That keeps tax and shipping inside a number that should describe merchandise.

💰 Worked example (illustrative)

A store takes 100 orders in a week from 3,000 sessions.

Worked example (illustrative)
LineAmountAOV (÷ 100 orders)
Gross sales$9,000$90.00
Discounts−$900-
Returns−$600-
Net sales$7,500$75.00
Shipping charged+$700-
Taxes+$600-
Total sales$8,800$88.00

The same week reads as a $90, $88, or $75 AOV depending on the report. Only $75 is money you keep for the product you sold.

✅ The other order value metrics

  • Net AOV = (gross sales − discounts − returns) / orders. Strip shipping and handling charges too.
  • Units per order (UPT) = units sold / orders. It tells you whether bundles and cross-sells work.
  • Revenue per session = net sales / sessions. In the example, $7,500 / 3,000 = $2.50. It equals conversion rate (3.33%) × net AOV ($75), so it shows both levers in one figure.
  • Average discount per order = discounts / orders. Here, $9.00.

💸 The low-AOV trap

A low AOV leaves no room for acquisition cost. Picture a $30 order with $15 of product margin and an $11 cost per acquisition. That leaves $4 per order. When the cost per acquisition rises to $15 as you scale, the $4 is gone.

Luca AI's view is that this is why AOV belongs next to CAC on every report, never on its own. The next section covers what that customer actually costs.

Which acquisition cost metrics show what a customer really costs?

$40,000 month: blended CAC $20.00, new-customer CAC $44.44, MER 4.0 vs 2.5 breakeven, new-customer ROAS 1.6
MER can clear breakeven while first orders still lose money, so watch new-customer ROAS too.

CAC is acquisition spend divided by new customers. Blended CAC divides all spend by all customers and hides the real cost; new-customer CAC divides only by first-time buyers. ROAS is platform-attributed revenue divided by that platform's spend. MER is total revenue divided by total marketing spend. Breakeven ROAS is 1 divided by contribution margin before ads. Report every ROAS with its attribution window.

💰 CAC, blended and new-customer

  • Blended CAC = total marketing spend / all customers who ordered in the period.
  • New-customer CAC = total marketing spend / first-time customers in the period.
  • CPA (cost per acquisition) = platform spend / platform-reported conversions.

Worked example (illustrative): a store spends $40,000 on marketing in a month. 2,000 customers order, and 900 of them are new.

CAC, blended and new-customer
MetricCalculationResult
Blended CAC$40,000 / 2,000$20.00
New-customer CAC$40,000 / 900$44.44

Eightx, a DTC finance firm, makes the same point: blended CAC divides spend across customers you did not pay to acquire [7]. Returning buyers came back on their own or through email. Counting them makes paid acquisition look more than twice as cheap as it is here.

For context, Amp's 2025 DTC Mega Report, built on about $10.1B in sales, put median CAC at $54 [8]. Treat that as one dataset, not a target.

⚠️ ROAS and its attribution window

ROAS (return on ad spend) = platform-attributed revenue / platform spend.

The catch is in "attributed." Meta counts a purchase by default if it happens within 7 days of a click or 1 day of a view [6]. Google, TikTok, and Klaviyo each use their own windows. The same order can sit in all four reports at once.

Triple Whale users on G2 describe the same overlap:

"Some data we still notice discrepancies between platforms, for example, tracking ads, and differences in the reported metrics like revenue."
Triple Whale user, Triple Whale - G2 Verified Review (4/5, April 2023)
"The dashboard part, for some reason the data is not correct, its as if the dont take into account returns or something, on the dashboard I get overestimated sales and ROAS."
Triple Whale user, Triple Whale - G2 Verified Review (4/5, April 2023)

✅ MER and new-customer ROAS

  • MER (marketing efficiency ratio) = total store revenue / total marketing spend.
  • New-customer ROAS (aMER) = revenue from first-time customers / total marketing spend.
  • Breakeven ROAS or MER = 1 / contribution margin before marketing (as a share of revenue).

Example (illustrative, same month): revenue is $160,000, so MER is $160,000 / $40,000 = 4.0. First orders bring in $64,000, so new-customer ROAS is 1.6. If contribution margin before marketing is 40%, breakeven is 1 / 0.40 = 2.5.

That last line is the useful one. MER of 4.0 clears 2.5 comfortably. New-customer ROAS of 1.6 does not, which means first orders lose money and the store depends on repeat purchases to recover it.

⚠️ Where practitioners disagree

This is contested ground, and the disagreement belongs on the page:

  • Media buyers use campaign ROAS to compare ads inside one platform. It works there, and fails across platforms because of overlap.
  • Growth leads use CAC against payback and LTV. It works when it is calculated on new customers, and misleads as a blended average.
  • Finance teams use MER. It survives privacy limits and attribution gaps, but cannot tell you which campaign to cut.

One operator put it bluntly: "ROAS doesn't exist... CTR and ROAS are meaningless." That goes too far for in-platform testing. Luca AI's position is narrower: judge total spend on MER and new-customer CAC, and use platform ROAS only to rank ads against each other.

Luca AI connects Meta, Google, and Shopify, so new-customer CAC is calculated on Shopify first orders rather than platform claims. You can ask for a weekly CAC report by channel with charts and reasoning, and Luca AI pings you when CAC spikes.

Which retention and loyalty metrics show whether customers come back?

12-month CLV: $45 gross profit per order × 1.8 orders = $81, against $135 on revenue; LTV:CAC is $81 ÷ $44.44 = 1.82
Revenue-based CLV flatters every channel by 67% here, so calculate CLV on gross profit.

Repeat purchase rate is customers with two or more orders divided by all customers in the period. Returning customer rate is the share of a period's buyers who had bought before. Purchase frequency is orders divided by customers. CLV is gross profit per customer over a set window, not revenue. LTV:CAC compares that profit to new-customer CAC, and payback is the number of months it takes to recover CAC.

✅ Repeat purchase rate and returning customer rate

  • Repeat purchase rate = customers with 2+ orders / total unique customers × 100.
  • Returning customer rate = customers in the period who had ordered before / all customers in the period × 100.
  • Purchase frequency = orders / unique customers.

They sound alike and answer different questions. Repeat purchase rate looks at a customer base over time. Returning customer rate looks at who bought this month. A big acquisition push lowers returning customer rate even if loyalty is unchanged, because the month fills with new buyers.

⏰ Cohort retention

Formula: 90-day repurchase rate = first-time buyers from a given month who order again within 90 days / all first-time buyers that month × 100.

Cohorts fix the distortion above. They compare customers acquired in the same month, so a big promo in March cannot hide a weak January. Amp's 2025 DTC Mega Report put the median 90-day repurchase rate for new customers at 14.7% [8].

Churn (subscriptions) = subscribers who cancelled in the period / subscribers at the start of the period × 100. For one-off purchase brands, "churn" is a guess; use cohort repurchase instead.

💰 CLV on gross profit, not revenue

Formula: 12-month CLV = gross profit per order × average orders per customer in 12 months.

Worked example (illustrative): net AOV is $75 and gross margin is 60%, so each order earns $45 of gross profit. Customers place 1.8 orders in their first year. CLV = $45 × 1.8 = $81.

Revenue-based CLV would say $135 ($75 × 1.8). That version flatters every channel by 67%, which is why Luca AI calculates CLV on profit.

💸 LTV:CAC and payback

  • LTV:CAC = 12-month gross-profit CLV / new-customer CAC. In the example, $81 / $44.44 = 1.82.
  • CAC payback (months) = months until cumulative contribution per customer equals CAC.

Say contribution per customer is $30 on the first order and builds to $34, $38, $42, then $46 over the next four months. Against a $44.44 CAC, payback lands in month 4.

Amp's dataset put median LTV:CAC at 2.4x [8], though its definition may differ from this one. Check how a benchmark defines LTV before you compare.

⭐ What actually moves CLV

Anthony Mink, who runs the men's grooming brand Live Bearded, ran cohort analyses on his Shopify and Klaviyo data with Claude Code. The result surprised him:

"I would have never thought product category diversity was the leading driver of lifetime value... anybody who buys body care ultimately jumps up about 50 to 100% in LTV."

He had spent a year tuning ads, landing pages, and conversion rate. The answer sat in which categories customers bought across. That changed his post-purchase emails, not his ad budget.

Luca AI watches cohorts without anyone building a cohort dashboard. Ask it to send a monthly report on 90-day repurchase by first product bought, and it flags when a cohort falls behind the ones before it.

Which margin and profit metrics show whether an order actually makes money?

Gross margin is net sales minus COGS, divided by net sales. It only covers making the product. Contribution margin keeps going: subtract shipping, fulfilment, payment fees, returns, and support to get CM2, then marketing to get CM3. Breakeven MER is 1 divided by CM2 as a share of revenue. A product with a 72% gross margin can lose money on every unit once all eight variable costs are counted.

⚠️ Why gross margin misleads

Gross margin = (net sales − COGS) / net sales × 100.

It tells you what it costs to make the product. It says nothing about what it costs to sell and deliver it. One operator put it in five words: "COGS is chapter one." The rest of the book is shipping, warehouse fees, returns, and ads.

💸 One SKU, eight costs (case study)

In one case study, a $2.3M homeware brand sold a ceramic knife set at $49.99. The factory price (FOB) was $14.00, a 72% gross margin. The founder called it her hero product. Then she costed every line:

One SKU, eight costs (case study)
Cost linePer unit
Landed COGS (FOB $14.00 + freight $2.40 + duties 7.5% $1.05 + brokerage $0.30)$17.75
Warehouse storage (47-day average stay)$0.65
Pick, pack, fragile handling, and box$4.10
Outbound shipping (3 lb, dimensional weight)$8.40
Payment processing (2.9% + $0.30)$1.75
Returns (18% return rate, $34 per return, spread over all units)$6.20
Customer service (42% of tickets traced to this SKU)$1.45
Contribution before ads$9.69
Ad spend per unit$31.00
Contribution after ads−$21.31

Every unit lost $21.31. The fix came in four moves: a $59.99 price, a usage video that cut returns from 18% to 9%, ad budget shifted to higher-margin cutting boards, and packaging that saved $0.80 per unit. Within six months the product ran a positive 23% contribution margin.

✅ CM1, CM2, and CM3

  • CM1 = net sales − landed COGS.
  • CM2 = CM1 − shipping − pick and pack − storage − payment fees − returns − support.
  • CM3 = CM2 − marketing spend.
  • Contribution margin % = CM / net sales × 100.

Definitions vary between firms, so write yours down before comparing to anyone's benchmark [9]. The contested point is whether CAC belongs in SKU economics. Use CM2 to judge operations. Use CM3 before you scale ad spend behind a product. For the full build, see Luca AI's guide to contribution margin.

A Shopify founder who built their own analytics tool described why this is hard to see natively:

"I run a fashion brand on Shopify and built an analytics app after getting frustrated with how hard it is to understand product-level performance, especially once returns and stock risk come into play."
r/ShopifyAppDev Reddit Thread

💰 Breakeven MER, net profit, and cash

  • Breakeven MER = 1 / (CM2 / net sales). At a 30% CM2, breakeven MER is 3.3 [7].
  • Net profit = CM3 − fixed costs (salaries, rent, software).
  • Cash conversion cycle (CCC) = days inventory outstanding + days sales outstanding − days payable outstanding. It counts how long cash sits in stock before it comes back.

Fixed costs hide margin too. In another case, a founder named Mark believed his products ran a 35% margin. When he spread overhead, HR, and admin costs across units, real margin fell to 16%, and several products turned out to lose cash.

Luca AI joins Shopify, ad platforms, accounting, and 3PL data, so contribution margin by SKU or channel is one plain-English question. For the unit-level view, see Luca AI's guide to unit economics.

Which fulfilment and returns metrics quietly eat your margin?

Ten orders: nine ship in 1 day and one waits 14 days, so mean time to ship is 2.3 days while the median is 1 day
Use the median time to ship as your baseline and track the slow tail on its own.

Return rate is returned orders or units divided by those shipped. Average returned value per order divides returned value by all orders, which tells you what every shipped order leaks. Fulfilment cost per order is pick, pack, packaging, storage, and 3PL fees divided by orders. Track median time to ship rather than the mean, and the share of inventory value older than 90 days.

💸 Returns and refunds

  • Return rate = returned orders / orders shipped × 100 (or returned units / units shipped).
  • Refund rate = refunds issued / gross sales × 100.
  • Average returned value per order = value of returned merchandise / all orders placed.

The last one is the useful one. Dividing by every order, not just returned ones, gives the expected leak on each shipment. Example (illustrative): $6,000 of returns across 1,000 orders is $6 per order. That $6 belongs in your contribution margin, as the case study in the previous section showed.

✅ Fulfilment cost and delivery

  • Fulfilment cost per order = (pick and pack + packaging + storage + 3PL fees) / orders shipped.
  • Shipping cost as a share of net sales = outbound shipping cost / net sales × 100.
  • On-time in-full (OTIF) = orders delivered on time and complete / orders delivered × 100.
  • Perfect order rate = orders delivered on time, complete, undamaged, and with correct paperwork / all orders × 100.

⏰ Median beats mean for time to ship

Formula: time to ship = carrier scan time − order time, reported as the median.

Example (illustrative): nine orders ship in 1 day and one waits 14 days. The mean is (9 + 14) / 10 = 2.3 days. The median is 1 day. The mean describes no real customer, and one bad week can swing it. Use the median for the baseline and track the slow tail separately.

⚠️ Inventory age and turnover

  • Inventory turnover = COGS for the period / average inventory value.
  • Share of inventory older than 90 days = value of stock held 90+ days / total inventory value × 100.

If that 90-day share stays flat or climbs month after month, buying decisions are not turning stock back into cash.

Be careful with universal turnover targets. One operator pushed back on the "turn stock six times a year" rule: for a brand doing most of its revenue in a couple of months, with long overseas lead times, it is "impossible to do."

⭐ Returns are not only a loss

Data from one returns platform found that customers who exchanged came back at a higher rate, with exchanges lifting repeat purchase rate by about a third and refunds by over 25%. The worst outcome is a customer who keeps a product they dislike and leaves without a word. Track return rate next to repeat purchase rate, not alone.

Luca AI pulls 3PL and returns data alongside Shopify orders, and it alerts you when inventory falls below a threshold you set.

Where does each ecommerce metric live in Shopify, GA4 and Meta?

Use Shopify for orders, net sales, AOV, customers, and returns. Use GA4 for sessions by source and on-site behaviour. Use Meta and Google Ads for spend, impressions, and clicks, but not as the truth on revenue: Meta counts purchases within a 7-day click and 1-day view window by default. Margin needs COGS, 3PL, and accounting data joined to Shopify.

✅ The source-of-truth map

The source-of-truth map
MetricTrust this sourceWhere to find itLabel trap
SessionsShopify or GA4, pick oneShopify Analytics sessions; GA4 traffic acquisitionEach tool counts its own sessions
Conversion rateShopifyShopify Analytics conversion reportsGA4 divides by GA4 sessions
Orders, net sales, AOVShopifyReports, "Sales over time"Gross, net, and total sales differ
CTR, CPM, CPCAd platformAds Manager columns"Clicks (all)" vs "Link clicks"
ROASAd platform, for ranking ads onlyAds Manager "Purchase ROAS"Attribution window and overlap
New-customer CAC, MERShopify orders + all ad spendJoined in a sheet or toolBlended vs new customers
Repeat rate, cohorts, CLVShopify customers + COGSShopify customer cohort reportReturning customer rate is not repeat rate
Email and SMS revenueKlaviyo or SMS toolAttributed revenueOverlaps with ad platforms
Gross and contribution marginShopify + COGS + 3PL + accountingJoinedShopify needs "cost per item" filled in
Returns, fulfilment costShopify + 3PLReturns reports, 3PL invoicesRefund date vs order date

⚠️ Why the three numbers disagree

Nothing is technically wrong when Shopify, GA4, and Meta disagree. Each sees a slice. The common causes are known [4]:

  • Attribution windows. Meta's default 7-day click, 1-day view window [6] claims orders that Shopify credits elsewhere.
  • Tax and shipping. GA4 revenue often includes them unless the tag is set to exclude them [4].
  • Gross vs net. Shopify's reports can show gross, net, or total sales [1].
  • Timezones. A store set to one timezone and GA4 to another splits days differently [4].
  • Lost tracking. Ad blockers and payment pages outside the store drop GA4 purchases [4].

One Triple Whale user summed up the result: "some stats are not so accurate in pulling in data; they do not tally with shopify" (Triple Whale - G2 Verified Review, 4/5, April 2023).

💰 The formula pack

Every metric in this guide is collected in Luca AI's formula pack below. Pick a metric, enter your own numbers, and it shows the formula, the result with the working, and which tool should own each input. When you want the same numbers on a live report, build them in Google Sheets and Looker Studio.

Luca AI · Free tool

Ecommerce formula pack

Pick any metric from this guide. See its formula, enter your own numbers, and get the result with the working shown. Where the guide has a worked example, its numbers are preloaded.

Metric family

Formula

Estimates only. Based on the formulas in this guide. Definitions vary between tools and firms: write yours down before you compare to anyone's benchmark.

Luca AI connects Shopify, Meta, Google, Klaviyo, accounting, and 3PL data, and normalizes it on ingestion, so each metric has one definition across every report.

Which ecommerce metrics should you look at first at each stage of growth?

Early stores should read conversion rate, net AOV, and contribution margin per order first, because they show whether one sale works. Brands scaling paid ads add new-customer CAC, MER, and payback. Once repeat buyers drive revenue, cohort retention, CLV on gross profit, and LTV:CAC matter most. Targets for each belong to your KPI plan, not this list.

✅ Launch: does one sale work?

  • Conversion rate on sessions
  • Net AOV
  • Contribution margin per order (CM2)

If a single order does not make money before ads, nothing later fixes it. As one operator put it, revenue growth can "mask problems" until the boom runs out.

💰 Scaling paid ads: does growth pay back?

  • New-customer CAC
  • MER against breakeven MER
  • CAC payback in months
  • Fulfilment cost per order, which rises with volume

⭐ Repeat-led: do customers compound?

  • 90-day cohort repurchase rate
  • 12-month CLV on gross profit
  • LTV:CAC
  • Return rate next to repeat purchase rate

The order matters. Many brands study retention dashboards before one order is profitable. Read the groups in sequence, and the right metric for this month is usually obvious. For scorecards that track these groups over time, see Luca AI's guide to ecommerce performance analytics.

Luca AI can send a weekly report on the metrics for your stage, with charts and reasoning, to Slack or email. If a number on this list still confuses you, tell us which one. That is usually where the next fix is.

FAQ's

For most DTC brands, five ecommerce metrics decide whether the business makes money. Luca AI calls these the short list, because together they describe one sale from click to cash:

  • Conversion rate: orders divided by sessions, times 100.
  • Net AOV: sales after discounts and returns, divided by orders.
  • New-customer CAC: marketing spend divided by first-time customers only.
  • Repeat purchase rate: customers with two or more orders divided by all customers.
  • Contribution margin: what is left after COGS, shipping, fulfilment, payment fees, returns, and marketing.

We put these five first because each one can hide a problem the others expose. A strong conversion rate on a low AOV can still lose money. A healthy blended CAC can hide an expensive new customer. A 72% gross margin product can lose money once every variable cost is counted.

The other metric groups, such as traffic, fulfilment, and returns, explain why the five move. Read them when one of the five changes, not every morning. If you are deciding which metrics become targets for your team, our guide on choosing ecommerce KPIs covers that step.

Shopify, GA4, and Meta rarely match because each tool counts a different thing and uses its own rules. Nothing is technically broken. Luca AI sees the same causes again and again when stores connect all three:

  • Attribution windows. Meta counts a purchase within 7 days of a click or 1 day of a view by default, so it claims orders Shopify credits to email or search.
  • Tax and shipping. GA4 revenue often includes them unless the tag excludes them.
  • Gross, net, and total sales. Shopify reports all three, and dashboards often pick the largest.
  • Timezones. A store and a GA4 property set to different timezones split days differently.
  • Lost tracking. Ad blockers, consent banners, and outside payment pages drop GA4 purchases.

The fix is to pick one source per metric and write it down. We use Shopify for orders, net sales, and customers; GA4 for sessions by source; and the ad platforms for spend and clicks. Platform revenue is useful for ranking ads against each other, not for totals. Our Shopify analytics guide shows where each report lives.

ROAS (return on ad spend) is the revenue one ad platform says it drove, divided by what you spent on that platform. MER (marketing efficiency ratio) is your total store revenue divided by your total marketing spend across every channel.

The difference matters because platforms overlap. Meta, Google, TikTok, and Klaviyo can all claim the same order inside their own attribution windows. Add their ROAS figures together and you count some revenue twice. MER cannot double count, because it uses one revenue number from your store and one spend number.

  • Use ROAS to compare ads and campaigns inside one platform.
  • Use MER to judge whether total marketing spend is affordable.
  • Use new-customer ROAS (first-order revenue divided by spend) to see whether acquisition pays on the first order.

Compare MER with your breakeven point: 1 divided by contribution margin before marketing. At a 40% margin, breakeven is 2.5. Luca AI's position is to judge spend on MER and new-customer CAC, and use platform ROAS only to rank ads. We explain why platform numbers drift from profit in platform ROAS vs true profitability.

Calculate customer lifetime value (CLV) on gross profit over a fixed window, not on revenue. The simplest version is:

12-month CLV = gross profit per order × average orders per customer in 12 months.

Here is an illustrative example. Net AOV is $75 and gross margin is 60%, so each order earns $45 of gross profit. Customers place 1.8 orders in their first year. CLV is $45 × 1.8 = $81. A revenue-based CLV would say $135, which flatters every channel by about two thirds.

  • Pick a window. Twelve months is easier to act on than "lifetime."
  • Use cohorts. Group customers by the month of their first order, so a big promotion does not distort the average.
  • Compare with new-customer CAC. LTV:CAC is CLV divided by what a first-time buyer cost.

Luca AI calculates CLV on profit and tracks it by cohort, so a weaker cohort shows up before it drags down the average. We cover the full method, including payback, in our guide to ecommerce customer lifetime value.

Gross margin tells you what it costs to make a product. Contribution margin tells you what is left after it is sold and delivered.

  • Gross margin = (net sales minus COGS) / net sales × 100.
  • CM2 subtracts shipping, pick and pack, storage, payment fees, returns, and support.
  • CM3 also subtracts marketing spend.

The gap can be large. In a case study from Luca AI's research, a $49.99 ceramic knife set had a 72% gross margin on its $14 factory price. After landed freight and duties, storage, fragile packing, heavy shipping, payment fees, an 18% return rate, support tickets, and $31 of ad spend per unit, it lost $21.31 on every sale.

We use CM2 to judge operations and CM3 before scaling ad spend behind a product. Definitions vary between firms, so write yours down before you compare against anyone else's numbers. Luca AI joins Shopify, ad, 3PL, and accounting data, so contribution margin by product or channel is one question away. For the full comparison, see contribution margin vs gross margin.

Enjoyed the read? Join our team for a quick 15-minute chat — no pitch, just a real conversation on how we’re rethinking Ecommerce with AI - Luca

Loading Schedule...

Your AI Co-Founder is here.

Here’s why:
Shopify, Meta, Xero - one brain.
"Should I scale?" Answered with real data.
Growth capital. No applications. One click.
Thank you! Your submission has been received! Please book a time slot for the Meeting
Oops! Something went wrong while submitting the form.