Gross margin subtracts product or landed cost from net revenue. Contribution margin goes further and subtracts every variable cost caused by an order, such as fulfillment, payment fees, expected returns and acquisition. For ecommerce pricing and advertising decisions, contribution margin is usually the more useful guardrail because it shows how much one additional order actually contributes before fixed overhead.
The word “margin” is often used as though it describes one universal number. It does not. A product can show a healthy gross margin and still lose money after shipping, fees, returns and advertising. The practical fix is to label each layer clearly and use it for the decision it was designed to support.
The three profit layers
1. Gross profit
Gross profit = net revenue − product or landed costGross profit answers a narrow merchandising question: after the cost of the item itself, how much revenue remains? It is useful for comparing products when the rest of the operating model is similar, but it does not show the full cost of delivering and acquiring an order.
2. Contribution profit
Contribution profit = net revenue − all variable order costsVariable order costs normally include the product, outbound shipping, pick-and-pack, transaction fees, expected return losses and customer acquisition cost. The exact list depends on your business. The test is simple: would this cost materially change if you fulfilled one more order?
3. Operating profit
Operating profit = total contribution profit − fixed operating costsFixed operating costs may include salaries, software subscriptions, warehouse rent, insurance and professional services. Allocating these costs to one order can be useful for planning, but the allocation method is a management choice rather than a property of the order itself.
Worked example: one illustrative $60 order
Assume the following order. These numbers are illustrative and exclude sales tax collected on behalf of a tax authority.
| Line item | Amount | Classification |
|---|---|---|
| Net order revenue | $60.00 | Revenue |
| Product cost | $18.00 | Product / landed cost |
| Outbound shipping | $6.00 | Variable order cost |
| Fulfillment | $3.00 | Variable order cost |
| Payment fee | $2.10 | Variable order cost |
| Expected return loss | $1.44 | Variable order cost |
| Customer acquisition | $10.00 | Variable order cost |
| Illustrative fixed-cost allocation | $8.00 | Operating layer |
Gross layer
$60.00 − $18.00 = $42.00$42.00 ÷ $60.00 = 70.0%A 70% gross margin sounds strong, but it says nothing about the $22.54 of additional variable costs in this example.
Contribution layer
$18.00 + $6.00 + $3.00 + $2.10 + $1.44 + $10.00 = $40.54$60.00 − $40.54 = $19.46$19.46 ÷ $60.00 = 32.4%Operating layer
$19.46 − $8.00 = $11.46$11.46 ÷ $60.00 = 19.1%The same order can therefore be described as 70.0% gross margin, 32.4% contribution margin or 19.1% operating margin. None of those figures is automatically wrong; the danger is using one layer to answer a question that belongs to another.
Which margin belongs in which decision?
Product sourcing
Use gross profit to compare product economics before order-level selling costs, especially when fulfillment and channel costs are similar.
Pricing
Use contribution profit. A price can cover the item and still fail to cover payment fees, shipping, expected returns or acquisition.
Maximum CPA and ROAS
Use pre-ad contribution: net revenue minus every non-ad variable cost. That amount is the maximum acquisition spend at break-even.
Monthly planning
Use total contribution profit against fixed operating costs. This shows the order volume required to cover the operating base.
A useful operating habit is to keep two contribution figures: pre-ad contribution for acquisition decisions and post-ad contribution for evaluating the realized order.
Common classification errors
- Using sales revenue instead of net revenue. Refunds, discounts and taxes collected for authorities can distort the denominator.
- Treating shipping revenue as free margin. Customer-paid shipping is revenue, but carrier and fulfillment costs still need to be included.
- Ignoring expected returns. A return rate becomes an order-level cost when converted into an expected loss per placed order.
- Mixing fixed and variable software costs. A flat monthly subscription belongs in fixed overhead; a per-order charge belongs in contribution.
- Using blended acquisition cost for every cohort. New customers, returning customers and organic orders can have very different economics.
- Allocating overhead too precisely. A fixed-cost allocation can help planning, but it should not be mistaken for a directly observed order cost.
How to reconcile the model with real orders
- Choose a recent period with stable operations and export order-level net revenue.
- Match product cost to the items sold, not merely the inventory purchased during the period.
- Import actual carrier, fulfillment and payment charges where possible.
- Estimate expected return loss from a sufficiently long cohort so delayed returns are included.
- Separate paid acquisition by customer type or campaign when the data is reliable.
- Compare modeled contribution profit with the relevant lines in your accounting report and explain every material difference.
Do not force the calculator to mirror an accounting statement line by line. The calculator is a decision model; the reconciliation process exists to ensure its assumptions remain grounded in realized data.
Limitations
- Cash flow timing, inventory purchases and accounting profit are not the same thing as order-level contribution.
- Return losses may vary substantially by category, season and customer cohort.
- Taxes, duties and marketplace charges require treatment appropriate to your jurisdiction and contract.
- Customer lifetime value can justify a lower first-order contribution only when repeat behavior is measured and sufficiently reliable.
- Capacity constraints can make an “additional” order less incremental than the simple variable-cost model assumes.
Frequently asked questions
Is contribution margin the same as net profit?
No. Contribution margin is calculated before fixed operating costs, financing, tax and other items outside the variable economics of the order.
Should ad spend be included in contribution margin?
Keep both versions. Pre-ad contribution is useful for setting maximum CPA. Post-ad contribution shows what the order actually contributed after acquisition.
Is fulfillment part of cost of goods sold?
Accounting classifications differ. For an operating decision, the critical point is that fulfillment is included somewhere in the variable cost stack and not omitted.
Can a high gross-margin product lose money?
Yes. Shipping, payment fees, returns, discounts and acquisition can exceed the gross profit remaining after product cost.