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 measures the money left after the costs required to generate and fulfill a sale. It is not the value of orders placed, gross sales, or cash collected before refunds. A useful operating view starts with realized revenue from delivered orders, then accounts for the product, transaction, fulfillment, return and acquisition costs that made those sales possible.

That distinction matters because a product can produce substantial revenue while leaving little profit. A $100 order is not a $100 contribution if the product cost is $35, delivery and payment costs are $12, the return allowance is $8 and advertising costs are $25. The remaining amount is what the business can use to cover overhead and produce profit. The exact cost boundary should be stated, so two reports are not quietly measuring different things.

There are several valid levels of the measure. Gross profit shows what remains after product cost. Contribution after advertising shows what remains after the costs of selling and acquiring the order. Net profit goes further by including the operating costs assigned to the business. These numbers answer different decisions; none should be labelled simply “profit” without its cost scope.

The measure becomes more useful when it can be viewed by product, collection and customer rather than only for the whole store. A store-level margin may hide a product that loses money after ads or a customer segment that becomes profitable only on repeat purchases. Product profitability analysis covers the cost logic behind that view, while ORVX reports product, collection and customer profitability using the merchant’s own trading currency. It also keeps realized revenue separate from cancelled and returned orders, so the reported remainder reflects sales that actually stayed delivered.

The Formula, Stated Plainly

The practical formula is:

Contribution profit = realized revenue − cost of goods sold − variable selling and fulfillment costs − advertising spend.

Each input has a specific meaning. Realized revenue is the value of delivered orders after cancellations and returns are removed, rather than every order placed in Shopify. Cost of goods sold (COGS) is the product cost attached to those delivered units. Variable selling and fulfillment costs include costs that rise when you sell and ship another order, such as payment processing, pick-and-pack, shipping subsidies, marketplace fees and return handling. Advertising spend is the media cost used to generate the sale. Fixed overhead, such as salaries, rent and software subscriptions, is normally assessed separately because it does not change directly with one order.

This gives you the money a sale contributes before fixed operating costs. A positive contribution profit can help cover overhead; a negative one means additional sales make the shortfall larger. The percentage version is contribution margin: contribution profit divided by realized revenue.

Revenue alone cannot answer that question. A store can report $100,000 in sales while discounts, refunds, product costs, shipping and ads consume nearly all of it. Gross margin is more useful, but it stops after COGS. A product with a 70% gross margin can still lose money if it needs expensive acquisition, has high payment fees or generates costly returns.

For product and collection decisions, the inputs must be assigned at the same level as the result. ORVX calculates COGS from a product cost model and reports contribution after advertising by product and collection, alongside product profitability. That keeps a high-revenue item from hiding a weak contribution.

  • Realized revenue: delivered-order revenue after cancellations and returns.
  • COGS: the product cost of the units sold.
  • Variable costs: sale- and order-linked costs such as fees, fulfillment, shipping support and return handling.
  • Advertising spend: media cost attributed or allocated to the sale.
  • Contribution margin: contribution profit ÷ realized revenue.

A Worked Example From Order to Profit

Take a Shopify order for two products priced at $60 each. Gross merchandise sales are $60 × 2 = $120. The customer receives a 10% discount, or $12, so discounted merchandise revenue is $120 − $12 = $108. Add an $8 shipping charge and the original payment captured is $116.

One product is returned. Allocate half the discount to that unit: its selling price is $60 − $6 = $54. The realized revenue is therefore $116 − $54 refund = $62. That $62 includes the $54 delivered product and the $8 shipping charge retained. The returned item is not counted as delivered revenue.

Assume product cost is $18 per unit. Because only one unit remains sold, product cost is $18, not $36. Fulfillment costs $9 for the original shipment, and the return label costs another $6. Payment processing is 2.9% of $116 plus a $0.30 fixed fee: ($116 × 0.029) + $0.30 = $3.66. Customer acquisition cost is $24.

The order-level profit calculation is: $62 realized revenue − $18 product cost − $9 fulfillment − $6 return handling − $3.66 payment fee − $24 acquisition cost = $1.34 profit. Profit margin is $1.34 ÷ $62 = 2.2%. A report using the original $108 merchandise figure would hide the refund and present a materially stronger result. This is why product profitability must follow the delivered, returned and paid economics of the order—not just its checkout value.

Worked order-level profit calculation
Line itemCalculationAmount
Realized revenue$120 − $12 discount + $8 shipping − $54 refund$62.00
Product cost1 delivered unit × $18−$18.00
FulfillmentOutbound shipping and handling−$9.00
Return handling1 return label−$6.00
Payment fee($116 × 2.9%) + $0.30−$3.66
Acquisition costAttributed customer acquisition cost−$24.00
Profit$62 − $18 − $9 − $6 − $3.66 − $24$1.34

The Costs That Quietly Break the Number

Discounts and shipping subsidies often disappear between the order report and the profit report. A $100 order with a $15 promotion is not $100 of realized revenue. If the merchant also pays $8 toward delivery, the order has $77 left before product cost and acquisition spend: $100 − $15 − $8. Treating the discount as marketing expense, or treating subsidized shipping as a separate overhead line, makes product and campaign economics look better than they are.

Returns create a second distortion. A returned order may appear in gross sales while the refund, return shipping, payment fees and handling cost arrive elsewhere—or in a later period. For illustration only, a $60 sale refunded in full does not provide $60 of revenue to absorb a $25 product cost and $12 acquisition cost. It provides zero realized revenue, while the business may still carry $37 of cost. Return rate by units and refund value against revenue should be visible alongside profitability, not buried in an adjustment at month end. See how to calculate product profitability after COGS, returns and ad spend.

Inventory losses are easy to exclude because they are not tied to one checkout. A product bought for $20 and later marked down to recover $6 creates a $14 write-down. If 100 units are affected, that is $1,400 of economic cost. Dead stock and remaining stock value belong in the period’s financial view even when no new order exposes the problem; otherwise slow-moving products can look profitable while consuming cash and storage capacity.

Acquisition spend also gets misclassified when only platform-attributed conversions are used. Suppose Meta reports $4,000 attributed spend and Google reports $2,000, while total advertising spend is $6,000. Allocate that $6,000 against the store’s realized revenue when judging overall economics; do not add platform ROAS figures and call the result blended performance. MER answers a different question from attributed ROAS. A profitability view should show both, then report contribution after advertising by product and collection so blended spend does not hide products that cannot carry it.

Costs commonly omitted from ecommerce profitability
Cost or adjustmentWhat goes wrongCorrect treatment
DiscountsGross sales are treated as money collectedReduce revenue by the customer discount
Shipping subsidyDelivery support is excluded from order economicsInclude the merchant-funded portion as fulfillment cost
Returns and refundsReturned orders remain in sales while costs remain elsewhereUse delivered orders and show refund value and return costs
Stock write-downsUnsold or devalued inventory is treated as cost-freeRecord the reduction in inventory value
Blended acquisition spendAttributed platform revenue hides total ad costCompare realized revenue with total spend; keep MER separate from attributed ROAS

Why Two Profitability Reports Disagree

Two profitability reports can both be internally correct and still disagree because they answer different accounting questions. Start with the period: one report may include orders placed in March, while another includes only orders delivered or paid in March. A $100 order placed on March 31 and delivered in April belongs to different reporting periods under those definitions.

Channel attribution creates another gap. Shopify revenue is store-level; an advertising report may assign the same sale to a campaign using last-click, while another report uses first-click or a different lookback window. Adding attributed channel revenue together can count one order more than once. This is why MER and attributed ROAS should be read as separate measures, not interchangeable profitability figures.

Cash and accrual treatment move costs between periods. A supplier invoice or annual software payment can reduce cash in one month even though the related inventory or service supports sales across several months. Conversely, a report can show sales before the cash is collected. Unless the report labels its basis, the comparison is not like for like.

Averages can hide the order mix. Suppose one order produces $90 of profit and nine orders each lose $10. Total profit is $0, and average profit is also $0—but the average does not show that 10% of orders generated all the positive economics while 90% destroyed it. Product-level, collection-level and customer-level views expose that distribution instead of letting profitable and unprofitable orders cancel each other out.

What to Do With the Answer

Use the result as a decision constraint, not a universal target margin. A product earning $18 after fulfillment and marketing can support more acquisition spend than one earning $4, even if both have similar revenue. Start with product profitability and compare contribution by product and collection before changing the storefront.

For pricing and promotions, calculate the volume required to replace lost contribution. If 100 orders produce $18 each, total contribution is $1,800. A $10 discount that reduces contribution to $8 means you need 225 orders to produce the same dollars. That may be a sensible trade if the promotion has a measured reason; it is not sensible when the required volume is merely assumed. ORVX can identify where a price experiment is worth running, but it cannot estimate elasticity or predict how demand will respond.

For acquisition, set bids against the contribution available after advertising, not revenue or attributed ROAS alone. If contribution before ads is $22 per order, $22 is the arithmetic break-even ceiling for acquisition cost; your operating ceiling depends on cash needs, repeat behaviour and risk tolerance. Review MER alongside attributed ROAS because they answer different questions. Then use product and collection profitability, customer profitability, return rates and inventory position together: reduce spend on products that cannot carry it, fix economics before scaling, and avoid pushing inventory that is already becoming dead stock. Ecommerce financial analytics keeps those decisions tied to the merchant’s own numbers.

  • Price: test only where the existing contribution leaves room for a measurable hypothesis.
  • Promotion: compare incremental contribution, not order count or gross sales.
  • Acquisition: bid within the contribution available after advertising, with repeat behaviour considered separately.
  • Product mix: shift attention toward profitable products and collections, while checking remaining stock value before committing more spend.

A credible ecommerce profitability number is not the margin shown in a storefront report. It is the amount left after the costs that actually make each sale happen. Calculate it consistently, audit the inputs, and use it to decide which products, channels, and customers deserve more investment.