Gross vs net margin: the difference, and why both matter
A 60% gross margin and a 5% net margin can describe the same business. Knowing which number to use, and when, is the difference between accurate pricing and self-deception.
The difference, in one breath
Gross margin subtracts only the direct cost of producing the thing you sold. Net margin subtracts everything else too — overhead, marketing, salaries, taxes, the lot. Same revenue, different cost stack, very different percentages.
Worked example. A consultancy bills $200,000 in a year. Direct project costs (subcontractors, travel, software for client work) total $60,000.
- Gross profit: $140,000
- Gross margin: 70%
Now subtract: $40,000 in salary to the owner, $12,000 in office rent, $8,000 in marketing, $6,000 in software, $4,000 in accounting and legal, $20,000 in taxes. Net profit: $50,000. Net margin: 25%.
Same business. 70% looks fantastic; 25% is the truth.
What goes in gross vs net
| Cost type | Gross | Net |
|---|---|---|
| Materials / wholesale cost | Yes | Yes |
| Direct labor on the product | Yes | Yes |
| Direct shipping & packaging | Yes | Yes |
| Payment processing | Depends | Yes |
| Platform fees (Etsy, Amazon, Shopify) | Depends | Yes |
| Marketing & ads | No | Yes |
| Office / store rent | No | Yes |
| Salaries (non-production) | No | Yes |
| Software subscriptions | No | Yes |
| Taxes | No | Yes |
The "depends" rows are where reasonable people disagree. Most ecommerce sellers count payment processing and platform fees in gross because they're per-transaction and unavoidable. Most accountants leave them in operating expenses. Either way, just be consistent.
Why both numbers matter
Gross and net measure different things. You need both.
Gross margin tells you whether the product is profitable. If your gross margin is negative, you're losing money on every sale — no amount of volume saves you. If your gross margin is single digits, you're vulnerable to any cost shock.
Net margin tells you whether the business is profitable. You can have great gross margins and lose money overall if your overhead is too high.
Classic patterns:
- High gross, low net: SaaS startup (80% gross, 0% or negative net while growing). Real business model; overhead is mostly variable in cost-of-growth.
- Low gross, high net: Costco or other volume retailers. 14% gross margin policy, but huge volume and low overhead means net margin is still profitable.
- High gross, high net: Mature software (Microsoft, Adobe). The dream state.
- Low gross, low net: Commodity retail. Survival depends on volume and operational efficiency.
Contribution margin: the third number
Most businesses also track a middle number: contribution margin. It subtracts all variable costs (per-unit), but no fixed costs.
For an ecommerce product:
- Gross margin: revenue − COGS
- Contribution margin: revenue − COGS − payment processing − shipping − ad cost − returns
- Net margin: contribution margin − rent − salaries − software − taxes (across all units)
Contribution margin is the right metric for unit-level decisions. "Can I afford to spend $5 on ads to acquire this customer?" only makes sense if you know your contribution margin per sale.
The classic ecommerce trap
A Shopify seller looks at their dashboard. Revenue: $30,000 this month. Cost of goods: $12,000. Gross profit: $18,000, gross margin 60%. They feel rich.
Then the real numbers:
- Shopify + payment fees: $1,200
- Shipping (net, after customer charges): $1,800
- Ad spend: $7,000
- Returns and refunds: $1,500
- Inventory write-down: $400
- Software (Shopify apps, Klaviyo, etc.): $300
- Owner draw: $4,500
- Estimated taxes: $1,000
Total: $17,700. Net profit: $300. Net margin: 1%.
The 60% gross was honest math. The 1% net is the business. Both are correct.
Practical rules
- For pricing a single product: contribution margin.
- For industry benchmarking: gross margin.
- For tax planning, investor pitches, and "is this business actually profitable": net margin.
- When discussing margins out loud: say which one. Always.