Every example and amount on this page is illustrative. It shows the method and is not a benchmark, a quote or advice.

What Ecommerce Profitability Actually Measures

Ecommerce profitability is the revenue left after subtracting the costs relevant to the question being asked. Revenue alone tells you what customers paid. Profitability tells you what remains after costs such as product cost, refunds, fulfilment, payment fees, or advertising are included in the chosen view. The result is meaningful only when the revenue and cost scope match.

Profit dollars and profit margin are different measurements. Profit dollars show the amount left: if an order produces $30 after relevant costs, its profit is $30. Profit margin shows that amount relative to revenue: $30 left from $100 of revenue is a 30% margin. Dollars help assess the cash contribution of a product, customer or campaign; margin helps compare efficiency across items with different prices or order values.

The revenue figure must also reflect what actually happened. A cancelled order did not create realized revenue, and a returned order should not remain as if it were a completed sale. ORVX calculates realized revenue from delivered orders only, then reports return rate and refund value against revenue. It can also calculate product cost from a cost model and show gross profit, net profit and their margins.

There is no single profit number that answers every operating question. A product can have attractive gross profit but little left after advertising. A campaign can generate sales while making a weak contribution after ad spend. For product-level analysis, product profitability reporting connects the relevant costs to each item; for acquisition analysis, advertising profitability separates MER, attributed ROAS and contribution. The number is useful when its included costs are explicit, not when a precise-looking figure hides what was excluded.

The Formula, Without the Finance Jargon

Start with the ratio: profit margin = profit ÷ net revenue × 100. If profit is $18,000 and net revenue is $60,000, the margin is 30%. The percentage is only as reliable as the two figures underneath it, so define revenue and costs before doing the division.

Build profit by starting with sales, then subtracting the costs required to make and sell those orders. A practical version is: profit = net revenue − product costs − fulfillment − payment fees − return costs − marketing − overhead. Product costs are the cost of the items sold, often called COGS. Fulfillment includes pick-and-pack, shipping, warehouse handling and other delivery charges. Payment fees cover the transaction fees charged by payment providers.

Returns affect the calculation in two ways. A refund or returned order reduces revenue; return shipping, inspection, restocking or disposal can create an additional cost. Do not subtract the same refund twice. Marketing includes advertising spend when you are measuring profit after acquisition. Overhead includes costs such as software, salaries, rent and finance administration. Include the costs relevant to the decision, and use the same period for revenue and expenses.

For a product-level view, assign product cost, fulfillment, payment fees, returns and allocated marketing consistently across orders or units. That makes it possible to compare products using product profitability analysis, rather than judging performance from sales alone. ORVX calculates cost of goods from a product cost model and reports gross profit, net profit and their margins, while advertising profitability separates advertising spend from store revenue and shows contribution after advertising.

The denominator should be net revenue, not the amount shown in a storefront sales report. Remove cancellations and refunded or returned sales according to the revenue rule being used. ORVX calculates realized revenue from delivered orders only and keeps each merchant’s trading currency separate, so the margin is not diluted by orders that did not become completed sales or by mixed-currency arithmetic.

A Worked Example From Order to Bottom Line

Consider a Shopify merchant selling one product at $75. During the month, 200 orders were placed, but 10 were cancelled before delivery. The 190 delivered orders produced $14,250 in merchandise sales (190 × $75). A 10% discount reduced that by $1,425. Customers also paid $950 for shipping.

The merchandise revenue after discounts is therefore $12,825 ($14,250 − $1,425). Add the $950 shipping collected and the store has $13,775 in realized receipts from delivered orders, assuming shipping is reported as revenue. The 10 cancelled orders contribute nothing to this figure, even though they appeared in the original order count. If one of the delivered orders is later returned, its refund must reduce the relevant revenue measure rather than leaving the original sale untouched.

Now suppose the product cost is $22 per delivered unit. COGS is $4,180 (190 × $22), leaving $9,595 before fulfilment, payment fees, advertising and other operating costs. If fulfilment costs $1,140 and advertising costs $2,400, the amount remaining is $6,055 before payment fees, taxes, overhead and any other costs. Those exclusions matter: calling $6,055 “net profit” would overstate the result. The calculation becomes net profit only after every cost included in the chosen profit layer has been deducted.

The same order file can therefore support several useful views. Product profitability would connect the $13,775 of realized receipts to the product’s COGS and return activity. Contribution after advertising would subtract the $2,400 ad spend and show whether selling this product still leaves money after acquisition cost. A store-level view would also need shared expenses that cannot be assigned cleanly to one product. ORVX can connect Shopify orders with advertising spend, retain the merchant’s trading currency, and show product- and collection-level profitability rather than stopping at the revenue total.

Choose the Profit Layer That Fits the Decision

Choose the layer that matches the decision. Gross margin asks whether the selling price covers the product itself: gross profit = net revenue − cost of goods sold (COGS), and gross margin = gross profit ÷ net revenue. If a product sells for $100 and costs $40 to make or buy, gross profit is $60 and gross margin is 60%. This is the useful layer for pricing floors, supplier costs, product selection and basic unit economics. It does not tell you whether the sale was profitable after advertising, payment fees, fulfilment or overhead.

Contribution margin moves closer to the economics of acquiring and fulfilling a sale. A practical campaign view subtracts COGS and advertising from realized revenue, then divides the remainder by realized revenue. For a $100 delivered order with $40 COGS and $25 ad spend, contribution is $35 and contribution margin is 35%. That figure supports campaign decisions: scale, reduce, test or stop. It is also useful for comparing products or collections when ad spend differs. See the distinction between MER, ROAS and contribution, since attributed ROAS can look healthy while total marketing spend leaves little contribution.

Net profit margin includes the business costs that remain after gross profit and contribution are calculated, such as payroll, software, rent and other operating expenses. If the same $100 of revenue produces $35 after COGS and advertising, but the order’s allocated share of operating costs is $20, net profit is $15 and net margin is 15%. This is the layer for business-level decisions: whether the company is economically sustainable, whether fixed costs fit current sales and whether a growth plan improves the bottom line. Product profitability reporting can keep product comparisons tied to delivered revenue, COGS, returns and ad spend rather than revenue alone.

Use each margin for the decision it can answer
Profit layerCore calculationBest decision useWhat it leaves out
Gross margin(Net revenue − COGS) ÷ net revenuePricing, supplier costs and product economicsAdvertising and operating costs
Contribution margin(Net revenue − COGS − advertising, plus other chosen variable costs) ÷ net revenueCampaign, product and collection investmentMost fixed business overhead
Net profit marginNet profit ÷ net revenueBusiness sustainability and company-level planningNothing material if all relevant costs are recorded

The Mistakes That Distort the Number

The first distortion is treating gross sales as revenue. Suppose 100 orders are placed at $50: gross sales are $5,000. If customers receive $400 in discounts and $600 is refunded, the amount retained from those orders is $4,000, not $5,000. A business with $2,500 of relevant costs would show a 50% margin against gross sales, but only 37.5% against the amount it actually kept. Cancelled orders should not enter the calculation at all.

Timing creates a different error. A cash view records money when it reaches or leaves the bank; an accrual view matches delivered sales with the costs of the products sold. If a merchant pays $20,000 for inventory in June but sells only $5,000 of that inventory, treating the entire purchase as June's product cost makes June look worse and later months look better. The same issue appears when ad spend, fulfilment invoices or software bills arrive after the orders they supported.

The decision also determines which costs belong in the number, but excluding costs without naming the layer makes the result misleading. A product may have positive gross profit while becoming unprofitable after advertising, payment fees, fulfilment, customer support, rent and other overhead. Owner compensation is a cost of operating the business even when no payroll transaction records it. If it is omitted, the reported profit can describe unpaid owner labour rather than a sustainable operating result.

  • Ignoring discounts and returns: subtract discounts from the selling price and returns from realized revenue. Track refunds against the revenue they reverse; a high refund value can make an apparently strong product materially less profitable.
  • Mixing cash and accrual timing: do not compare cash collected this month with costs incurred for a different set of orders. Keep inventory purchases separate from the cost of units sold, and match marketing and fulfilment costs to the period or decision being analysed.
  • Omitting overhead: assigning no share of warehouse, software, management or support costs to a collection can make its contribution look larger than the business actually receives. State whether the figure is contribution, operating profit or profit after allocated overhead.
  • Attributing shared costs inconsistently: allocating all warehouse cost by revenue, for example, penalises expensive products that may be cheap to handle and favours low-priced products that consume more space or labour. Use a stated rule, apply it consistently, and avoid changing the rule between products or months.
  • A defensible view should preserve the order trail and cost logic. Product profitability analysis can include COGS, returns and ad spend; ORVX also reports realized revenue from delivered orders, product and collection profitability, and advertising contribution rather than relying on sales totals alone.

What the ecommerce profitability show actually measures

The ecommerce profitability show is not a single sales total. It measures what the store actually retained from trading: realized revenue from delivered orders, less the costs assigned to those orders and the operating activity being evaluated. Cancelled and returned orders cannot inflate revenue, and refunds need to be visible against the revenue they reduce.

The useful measurement is also dimensional. A store-wide margin can hide a product that loses money, a collection that absorbs too much advertising, or a customer segment that generates repeat revenue but requires expensive acquisition. Product and collection profitability therefore need to be read alongside contribution after advertising. Product profitability analysis is useful when the decision concerns COGS, returns, and ad spend at item level.

Advertising adds another boundary. MER compares total advertising spend with store revenue; attributed ROAS assigns revenue to particular campaigns or channels. They answer different questions and should not be substituted for one another. A $10,000 store revenue figure with $2,000 in total ad spend implies a 5.0 MER, even if platform attribution reports a different return. Advertising profitability reporting keeps those views separate.

The measurement can extend beyond the income statement: customer-level profitability and repeat behaviour, return rate by units and refund value, inventory position, dead stock, and remaining stock value. ORVX connects Shopify orders, products, and customers with advertising accounts, keeps each merchant's trading currency separate, and lets operators question their own figures through Ask ORVX. It reports the evidence; it does not change prices, bids, inventory, fulfilment, refunds, or customer communications.