Ecommerce profitability is not a single number. Gross margin, contribution profit, CAC, LTV, refunds, shipping, discounts, payment fees, and inventory costs all answer different operating questions. This glossary defines common ecommerce profit metrics with formulas, aggregation notes, and caveats for comparing storefront, ad platform, finance, and warehouse data.
Profit needs cost rulesCOGS, shipping, payment fees, fulfillment, discounts, and returns need consistent assignment rules.
Date basis mattersOrder date, refund date, return received date, and cost effective date can produce different answers.
Percentages need totalsMargin, refund rate, CAC, LTV, and ROAS should be recomputed from governed inputs.
Sales and returns
Revenue inputs that shape profit
Profit reporting starts with a clear sales basis. Gross sales, net sales, returns, refunds, and cancellations answer different questions and should not be collapsed into one unlabelled revenue number.
Gross Sales
Total product sales before discounts, refunds, taxes, and shipping adjustments.
FormulaSum of item list price x quantity.
GrainUsually line-item grain; additive over orders and time.
PitfallTreating gross sales as revenue available to the business.
Net SalesDiscountsRefunds
Net Sales
Sales after discounts and returns, excluding pass-through items such as tax.
FormulaGross Sales - Discounts - Returns.
GrainAdditive when return timing is handled consistently.
PitfallMixing order-date sales with refund-date returns without labeling the basis.
Gross SalesRefund Rate
Discounts
Price reductions from promotions, codes, automatic discounts, or markdowns.
FormulaGross Sales - Discounted Sales.
GrainBest tracked at line item or order level.
PitfallCounting discounts twice when both line and order discounts exist.
Net SalesGross Margin
Returns
Value of refunded or returned merchandise.
FormulaSum of refunded product value.
GrainCan be recorded by order date, refund date, or return received date.
PitfallComparing periods without knowing which return date basis is used.
Refund RateNet Sales
Refund Rate
Share of sales refunded.
FormulaRefunds / Gross Sales or Refunds / Net Sales.
GrainDefine denominator and date basis before comparing.
PitfallUsing refund rate without separating partial refunds, cancellations, and returns.
ReturnsNet Sales
Cancellations
Orders canceled before fulfillment or revenue recognition.
FormulaCount or value of canceled orders.
GrainOrder-level metric; usually not equivalent to returns.
PitfallCombining cancellations with post-purchase returns.
OrdersReturns
Costs
Variable costs that should be explicit
Commerce profit changes when costs are missing, allocated differently, or applied with the wrong effective date. Cost rules should say which cost types are included and where each cost belongs.
Cost of Goods Sold
Direct product cost associated with sold items.
FormulaUnit Cost x Quantity Sold.
GrainBest at line-item grain; cost rules must be versioned or dated.
PitfallUsing current product cost for historical orders when costs changed.
Gross ProfitGross Margin
Shipping Revenue
Amount charged to customers for shipping.
FormulaSum of customer shipping charges.
GrainUsually order-level; may need allocation to lines for product analysis.
PitfallCalculating payback from revenue instead of profit.
CACProfit LTV
Inventory
Inventory costs and product availability
Inventory metrics often rely on estimates and operational assumptions. They should be labeled as modeled when exact lost demand, carrying cost, or stockout impact is not directly observed.
Inventory Carrying Cost
Cost of holding inventory over time.
FormulaAverage Inventory Value x Carrying Cost Rate.
GrainInventory and time grain; often modeled or estimated.
PitfallIgnoring storage, capital, shrinkage, and obsolescence costs.
Inventory TurnoverStockout Cost
Inventory Turnover
How often inventory sells through during a period.
FormulaCOGS / Average Inventory Value.
GrainPeriod and product grain.
PitfallUsing sales revenue instead of COGS in the numerator.
Carrying CostSell-Through
Sell-Through Rate
Share of available inventory sold during a defined period.
FormulaUnits Sold / Units Available.
GrainProduct, SKU, location, and period grain.
PitfallComparing products with different launch dates or replenishment patterns.
Inventory TurnoverUnits Sold
Stockout Cost
Estimated lost profit from unavailable inventory.
FormulaLost Units x Estimated Profit per Unit.
GrainModeled estimate; not directly observed in most systems.
PitfallPresenting stockout cost as exact without demand assumptions.
Inventory ForecastGross Profit
Commerce modeling
Profit metrics need explicit assumptions
Commerce Intelligence should make cost assumptions visible instead of hiding them inside a dashboard total.
Separate revenue from profit
ROAS, MER, and sales growth can improve while contribution profit declines. Keep revenue, cost, and profit fields visible.
Use dated cost rules
Product costs, payment rates, shipping fees, and marketplace fees change. Historical orders should use the rule that applied at the time.
Label modeled metrics
Stockout cost, forecasted demand, modeled LTV, and attributed profit require assumptions. Label them differently from observed transactions.
FAQ
Ecommerce profit questions
The common reporting failures are missing costs, mismatched timing, unclear attribution, and averaged percentages.
What is the difference between gross profit and contribution profit?
Gross profit subtracts product cost from revenue. Contribution profit subtracts additional variable costs such as shipping, fulfillment, payment fees, and marketplace fees.
Why can revenue increase while profit decreases?
Discounts, higher shipping cost, lower product margin, returns, payment fees, or inefficient acquisition spend can reduce profit even when sales grow.
Should CAC be compared to revenue or profit?
For payback and sustainability, CAC should usually be compared to gross profit or contribution profit, not only revenue.
Is ROAS the same as profitability?
No. ROAS is attributed revenue divided by ad spend. Profitability depends on product cost, discounts, returns, shipping, fees, and other included costs.
How should shipping costs be allocated?
For order profit, shipping can stay at order grain. For SKU or product profit, shipping needs a documented allocation rule, such as by weight, revenue share, or item count.
Why should margin percentages be recomputed?
Margin percentages are ratios. Aggregated margin should use summed profit divided by summed revenue, not an average of row-level margins.
Need general marketing definitions too?
Use the marketing metrics glossary for spend, impressions, clicks, CTR, CPC, CPA, ROAS, MER, CAC, retention, LTV, and aggregation caveats.