Guide · General
Metrics for Ecommerce: What to Track and How to Read Them
Metrics for ecommerce explained: what each KPI measures, how to calculate it, and how to read conversion, margin, CAC, retention and attribution data.
By the Statlyst data desk · Updated November 28, 2026 · 15 min read

A store can increase sales and still lose money on the customers generating them. The useful metrics for ecommerce connect visits and orders to contribution after returns, then establish when that contribution repays acquisition spending. Revenue describes commercial activity. Profitability depends on what remains, who generated it and how long the business waits to collect it.
Table of Contents
- Core Ecommerce Metrics at a Glance
- Market Size and Channel Share Metrics
- Conversion Rate and Order Value Metrics
- Margin, Returns and Fulfillment Costs
- Acquisition Cost and Payback Metrics
- Repeat Purchase and Customer Lifetime Value
- Attribution and Measurement Confidence
- Choose the Five Metrics to Review Each Week
Core Ecommerce Metrics at a Glance
| Metric | Formula | What it tells you | Review frequency |
|---|---|---|---|
| Total ecommerce sales | Sum of completed online sales across the measured market in the period | Market size and growth | Monthly |
| Ecommerce share of retail | Online retail sales divided by total retail sales | Online channel penetration | Quarterly |
| Conversion rate | Orders divided by sessions, multiplied by 100 | Whether visits become purchases | Weekly |
| Average order value | Revenue divided by orders | Revenue per basket | Weekly |
| Revenue per session | Revenue divided by sessions | Combined effect of conversion and basket size | Weekly |
| Customer acquisition cost | Acquisition marketing spend divided by new customers acquired | Cost to win one buyer | Weekly |
| Return on ad spend | Ad-attributed revenue divided by ad spend | Revenue attributed to advertising per unit spent | Weekly |
| Repeat purchase rate | Customers with two or more orders divided by all customers in the cohort | Repeat buying within the observation period | Monthly |
| Customer lifetime value | Average cumulative contribution per customer over the relationship | Contribution available to cover acquisition spend | Quarterly |
| Contribution margin | (Revenue minus variable costs) divided by revenue | Contribution retained per revenue unit | Monthly |
| Return rate | Returned orders divided by shipped orders in the same shipment cohort | Post-sale cost exposure | Monthly |
| Cart abandonment rate | (Carts created minus completed carts) divided by carts created | Share of carts without a completed purchase | Weekly |
These are recommended review frequencies, not reporting standards. Market totals depend on publishers' release schedules; a monthly dashboard can retain the latest observation without presenting it as a new monthly measurement.
Every ratio needs a compatible numerator and denominator. Orders, revenue and sessions should cover the same period and storefront. Customer measures need a consistent population and observation window. Match returns to the shipments that generated them, allowing time for those returns to arrive. Otherwise, recent shipments and older returns can produce a misleading rate.
Define revenue consistently across the dashboard. If average order value uses revenue before returns while contribution uses revenue after returns, label that difference so a larger basket does not conceal weaker retained revenue.
Separate market context from operating performance
Market measures describe the category. Total ecommerce sales establish scale; ecommerce share of retail establishes the online channel's relative importance. The U.S. Census Bureau's quarterly retail ecommerce release measures online retail sales and their share of total retail sales. That denominator is retail sales, rather than all consumer spending.
Statlyst's online shopping statistics collection provides broader context for market comparisons. Record each benchmark's publisher, period and population alongside it.
Operating measures connect to decisions about traffic quality, checkout completion, basket composition, acquisition spending and post-sale costs. Keep five on the weekly decision dashboard, with monthly or quarterly reviews for supporting detail.
Read them together. A higher conversion rate or return on ad spend can accompany weaker contribution if returns and variable costs consume the additional revenue. Compare acquisition cost with contribution after returns, then examine how long that contribution takes to repay acquisition spending. Lifetime value alone does not establish payback timing.
Dashboard rule: A ratio without a defined population is an invitation to compare unlike transactions.
Market Size and Channel Share Metrics
Business-to-business and business-to-consumer ecommerce reached approximately US$27 trillion in 2022 across 43 developed and developing economies, according to UNCTAD's report on business ecommerce sales. That total measures online transactions by businesses, including sales to other businesses as well as consumers. It isn't an estimate of online retail alone.
A merchant therefore shouldn't treat the headline total as an addressable consumer market. A wholesaler selling through an online ordering system and a consumer placing a retail order can both contribute to the wider measure, despite operating with different baskets, purchase cycles and margins.

Read channel share as a comparison
Retail-channel share answers a narrower question: how much of the measured retail market takes place online? An analyst should compare the latest quarterly share with both the previous quarter and the same quarter a year earlier, then examine online sales growth alongside total retail growth.
A rising online share means online sales have increased relative to the measured retail total. It doesn't establish that a particular category, country or merchant has gained customers profitably.
The Census retail series excludes certain categories, including some services, food services, travel and financial products. Its seasonal adjustment also doesn't remove price changes, so sales growth shouldn't automatically be described as growth in purchasing volume.
Before quoting a market figure, the analyst should check:
- Country or geography: A national retail estimate isn't interchangeable with a multi-economy business-sales estimate.
- Data period: The observation year matters more than the date a commentary page was published.
- Transaction population: Business sales, consumer retail sales and shopper surveys answer different questions.
Device-level context requires another distinction. The mobile commerce statistics collection can support investigation of the mobile channel, but mobile activity shouldn't be substituted for total ecommerce without checking the denominator.
A merchant's useful comparison is its own like-for-like channel growth against relevant market growth. The headline market total establishes scale; it doesn't set a sensible revenue target or acquisition budget.
Conversion Rate and Order Value Metrics
Consider an illustrative store, not a benchmark, with 20,000 sessions, 500 orders and US$30,000 in revenue during the same reporting period. Its conversion rate is 2.5%, calculated as 500 divided by 20,000, multiplied by 100. Its average order value is US$60, and its revenue per session is US$1.50.
The arithmetic connects the measures:
Revenue per session = conversion rate expressed as a decimal × average order value
That identity helps an analyst locate the source of a revenue change. More purchasing sessions can lift revenue per session, but so can larger baskets; the business needs to know which occurred before choosing a response.
Match each lever to a measurable problem
A checkout investigation should begin with evidence from the actual purchase path, not a list of fashionable redesigns.
- Mobile page speed: Use PageSpeed Insights and browser performance tools to inspect product and checkout pages. Check whether slow interactions coincide with weaker mobile purchasing.
- Product-page clarity: Test whether shoppers can identify dimensions, variants, availability and return conditions before adding an item.
- Delivery information: Show shipping costs or a usable estimate before the final payment stage, then inspect progression through checkout.
- Payment options: Check failed-payment events and device-specific payment completion before adding or removing methods.
Basket-building tests need a different readout. Bundles should increase contribution, not merely combine products at a discount. Related-product placement should be evaluated against completed purchases rather than cart additions alone.
A free-shipping threshold slightly above the current average order can be tested, but the additional merchandise contribution must cover any shipping subsidy. A higher basket isn't automatically a better order.
Segment before diagnosing
Cart abandonment rate is calculated as one minus orders divided by carts created. The implementation should link orders to their originating carts and allow a defined completion window; otherwise delayed purchases can appear to be abandonment.
Conversion should be split by device and traffic source. A blended rate can conceal mobile checkout problems or a change in the mix of high-intent and exploratory visitors.
Average order value should also be split between new and returning customers. Returning buyers may choose different products or basket sizes, so a change in customer mix can resemble a merchandising improvement.
A successful conversion test increases revenue per session without sacrificing contribution per order.
A team should also inspect total contribution from the tested traffic. Rejecting every reduction in contribution per order would be too rigid if substantially more profitable orders compensate for it.
Margin, Returns and Fulfillment Costs
An illustrative order, not an industry benchmark, shows why revenue can't stand in for acquisition capacity.
| Illustrative order component | Amount |
|---|---|
| Revenue | US$60 |
| Product cost | US$22 |
| Shipping | US$5 |
| Payment fees | US$2 |
| Packaging | US$1 |
| Expected return cost | US$3 |
| Discount | None |
| Contribution before acquisition | US$27 |
The illustrative contribution margin is 45%, calculated as US$27 divided by US$60, multiplied by 100. The general formula is revenue minus variable costs, divided by revenue. Contribution is available to cover acquisition, fixed operating costs and profit; it isn't net profit.
Make returns part of the order economics
Return rate = returned orders ÷ shipped orders. For an order-based measure, a partial return still counts as a returned order, so the dashboard should also retain the refunded value and returned units.
Expected return cost per shipped order can be estimated from the matched shipment cohort's return rate and average economic loss per returned order. That loss should account for return shipping, handling and unrecoverable merchandise costs, with appropriate credit for recoverable stock.
Refunds require consistent accounting. If revenue has already been reduced by refunds, the analyst shouldn't deduct the same refunded revenue again as a variable cost. Recent cohorts should carry a clearly labeled return provision until their return windows mature.
Test shipping and promotions against contribution
A flat shipping fee leaves the customer paying an explicit delivery charge. A free-shipping threshold shifts some or all of that cost to the merchant, potentially changing basket composition.
The test should compare contribution per eligible session and per shipped order, separating customers who added merchandise from those who would have qualified anyway. Otherwise the team may attribute existing large baskets to the threshold.
- Discount rate: Divide promotional reductions by pre-discount merchandise revenue, and label that denominator explicitly.
- Fulfillment cost per order shipped: Include warehouse picking, packing and shipment-related variable charges.
- Delivery time: Measure elapsed time from the chosen starting event to confirmed delivery.
- On-time delivery: Divide orders delivered by the promised date by eligible delivered orders.
A promotion can raise conversion while lowering the money available to acquire customers. Every order type selected for expansion should retain positive contribution after expected returns, before the team decides whether acquisition spending is affordable.
Acquisition Cost and Payback Metrics
Return on ad spend, customer acquisition cost and contribution payback answer different questions. ROAS is ad-attributed revenue divided by ad spend. CAC is marketing spend divided by new customers, while contribution payback is the time or order count required for cumulative customer contribution to exceed acquisition cost.
What each acquisition metric includes and leaves out
| Metric | Includes | Leaves out | Best use |
|---|---|---|---|
| Return on ad spend | Ad-attributed revenue and ad spend | Gross margin, discounts, fulfillment and returns as explicit cost deductions | Comparing campaigns within the same week |
| Customer acquisition cost | Total or paid marketing spend divided by new customers | Profit earned after the first order | Setting a budget per channel |
| Contribution payback period | Cumulative contribution profit per cohort measured against CAC | Customer value after the payback date; unstable estimates from small cohorts | Assessing whether acquisition can repay its cash requirement |
ROAS can reflect discounted transaction values if the revenue feed includes them. Its limitation is that it doesn't explicitly subtract the costs required to generate those sales.

Treat acquisition benchmarks as conditional evidence
LoyaltyLion's ecommerce CAC guide discusses acquisition costs and the importance of repeat purchasing. A benchmark isn't suitable for a budget decision unless its originating publisher, analysis year, sample and cost definition are identifiable.
Without that documentation, a reported industry average or first-customer loss shouldn't become a store target. A range that combines unrelated populations can look precise while offering little guidance about a merchant's own acquisition economics.
For a usable average customer acquisition cost comparison, the analyst should establish whether spending includes only media or also creative production, agency fees and other acquisition costs. The new-customer denominator must exclude returning buyers.
Follow the cohort until repayment
A campaign can generate substantial attributed revenue and still acquire loss-making customers. Product margin, fulfillment, promotional reductions and returns determine how much of that revenue remains available to repay marketing.
The cohort report should contain:
- First-order contribution: Show both the amount per acquired customer and the contribution margin.
- Repeat-purchase rate: Record whether customers return within a consistent observation window.
- Contribution LTV: Separate realized contribution from forecast future contribution.
- CAC payback month: Mark unrepaid cohorts as unrepaid rather than assigning an optimistic date.
- Profitable-cohort share: Identify how many mature cohorts have generated cumulative contribution above CAC.
Payback should be segmented by channel, product, geography and customer type. A channel average can conceal a profitable replenishment product alongside an expensive, rarely repeated purchase.
Acquisition cost should be counted once. If contribution already deducts acquisition spending, comparing it with CAC again would double-count that expense.
Cash-risk test: Favorable ROAS isn't sufficient when repayment depends on purchases beyond the customer's observed repeat window.
Payback also doesn't prove the whole business is cash-positive. Inventory payments, supplier terms and fixed expenses still affect funding needs.
Repeat Purchase and Customer Lifetime Value
Repeat purchase rate measures customers with at least two orders divided by all customers in the same acquisition cohort. A cohort groups buyers by when they first purchased, allowing the analyst to compare customers who have had similar opportunities to return.
An all-customer annual rate mixes recent acquisitions with established buyers. A merchant could acquire many new customers and report a lower blended repeat rate even if customer behavior within comparable cohorts hasn't deteriorated.
Build a retention curve with equal observation windows
A practical cohort sheet places acquisition months in rows and elapsed time since first purchase in columns. For example, a team can inspect repeat purchasing at 30, 90 and 365 days as chosen reporting windows, not industry benchmarks.
The calculation should include only cohorts old enough to complete each window. A recent cohort hasn't failed an annual retention test; it hasn't reached it.
- Cumulative repeat rate: Count customers who have placed another order by the selected elapsed day.
- Interval purchasing: Separately count customers who purchased within a particular interval.
- Realized contribution: Sum contribution generated to date and divide by all customers originally acquired, including those who never returned.
Cumulative and interval rates aren't interchangeable. A buyer who returned early remains in the cumulative measure even if no further purchase occurs.
Separate a forecast from earned customer value
A simplified gross-profit lifetime-value model is:
Average order value × annual purchase frequency × gross margin × expected customer lifespan in years
In an illustrative calculation, a US$60 average order, two orders annually, a 40% gross margin and a three-year lifespan produce US$144 of gross profit per customer. That's a model output, not an observed ecommerce benchmark.
Gross-profit LTV isn't contribution LTV. The merchant must subtract the relevant variable fulfillment, payment and return costs before using the forecast to judge acquisition capacity.
Subscription and replenishment businesses can structure observation around scheduled renewals or expected depletion. Fashion and gift merchants should allow for irregular occasions and use a conservative forecast horizon where repeat behavior remains unproven.
The forecast should be paired with realized contribution at 90 days and 12 months, treated as selected management checkpoints. A model that assumes a long relationship shouldn't override a weak observed purchasing record.
A defensible maximum acquisition cost starts with realized contribution over the chosen annual window, then reserves room for overhead, uncertainty and profit. It shouldn't equal the entire forecast customer value.
Attribution and Measurement Confidence
A campaign can report rising conversions while the orders behind it produce less contribution after returns. Platform counts therefore need a confidence layer before they guide budget. A 2025 academic analysis hosted by UCLA Anderson examines Apple's App Tracking Transparency using first-party Google Analytics ecommerce data, providing a basis for considering both advertising performance and observability.
Click-through evidence requires the same denominator discipline. A click-through-rate finding measures clicks relative to impressions; purchases, returns and conversions the platform cannot observe sit outside that ratio. When missing or unprofitable orders differ by campaign, click and conversion rankings can point budget in the wrong direction.

Distinguish credit allocation from observation
Attribution models allocate credit among interactions the measurement system can see. They do not independently establish that advertising caused the purchase.
- Last-click: Credits the final observed interaction, potentially overlooking earlier discovery.
- First-click: Credits the first observed interaction, potentially overlooking later persuasion.
- Linear: Shares credit across observed interactions without distinguishing their influence.
- Data-driven: Uses a modeled allocation whose usefulness depends on available observations and modeling assumptions.
The shared limitation matters more than the labels. Privacy restrictions remove some behavior from observation, and no attribution model can recover it. Report observed conversions, modeled conversions and unattributed orders as separate lines. Combining them makes ROAS, acquisition cost and payback look more precise than the measurement supports.
Add a measurement-confidence layer
A reconciliation sheet should track the share of orders with a deterministically identified source, the gap between platform conversions and backend orders, and the split between modeled and observed conversions. Define the platform gap on one denominator, such as backend orders in the same reporting window, and keep the formula fixed. Otherwise, a reporting change can masquerade as a performance change.
Blended CAC, calculated from total acquisition spending and total new customers, provides a check that does not require every order to have an attributed channel. Compare it with contribution after returns before increasing spend. If a platform reports strong ROAS while blended CAC rises and repayment stretches, the marginal budget decision needs tighter scrutiny.
Holdout groups, geo-experiments and matched-market tests address a different question: what purchasing would have occurred without the advertising? Their design needs comparable populations and attention to spillovers between groups. Customers in a control area who still see the advertising, or purchase through another location, can distort the measured lift even when the arithmetic is correct.
Each week, align reporting windows, order status and attribution settings before comparing platforms with the backend. Treat a widening discrepancy as a measurement investigation first. Only after cancellations, returns and data definitions are aligned should the analyst interpret the remaining gap as a change in advertising performance.
Choose the Five Metrics to Review Each Week
For a store buying paid traffic, the recommended weekly set is revenue per session, average order value, conversion rate, blended CAC and contribution per order. Contribution margin percentage should sit beside the currency amount so a change in basket size doesn't obscure changing economics.
Revenue per session supplies the combined commercial outcome. Conversion and order value explain its movement, while CAC and contribution establish whether the resulting customers are affordable.
Adjust the selection to the business model
For a subscription or consumables merchant whose immediate operating decision concerns renewal or replenishment, repeat purchase rate can replace CAC in the main weekly view. CAC should remain available in supporting reporting rather than disappear from financial oversight.
Contribution payback belongs in the monthly cohort review. Weekly movements in young cohorts can otherwise be mistaken for durable repayment patterns.
A multichannel seller should add a supporting channel-mix view showing each channel's share of its own sales. That internal denominator differs from published ecommerce share of national retail, so the labels must keep the comparisons separate.
The dashboard owner should complete this checklist before setting targets:
- Write the formula: Specify revenue treatment, cost inclusions and whether the result is a percentage or currency amount.
- Fix the population: Record the storefront, customer cohort, order status and observation window.
- Document benchmarks: Keep the publisher, data year and geographic or sample scope beside each external comparison.
- Assign ownership: Name the person responsible for checking the calculation and investigating changes.
- Preserve revisions: Mark provisional return costs and update mature cohorts without overwriting the reporting basis.
Targets should follow a reconciled baseline, not substitute for one.
For market context, Statlyst's Online Shopping Statistics 2026 page covers ecommerce size and growth in the United States, the United Kingdom, the EU, China and Australia, alongside buyers, holiday shopping, returns, delivery and checkout friction. The page was updated on November 4, 2026.
The next action is to copy the opening formulas into the store dashboard this week, record the first reconciled values and document their definitions. Only then should the team set targets, comparing store growth with a geographically and commercially relevant market growth series while requiring acquisition cohorts to repay their costs.
Questions or corrections: editorial@statlyst.com