Gross margin is the single number that most decisively shapes whether a business model works. A high gross margin gives you room to invest in growth, weather downturns, and reinvest in product. A low gross margin makes everything harder — every marketing dollar has to work harder, every operational mistake hurts more, and the path to profitability requires extreme operating leverage. This guide unpacks what actually goes into COGS, how gross margin behaves across industries, and the practical levers that move it.
The Formulas
COGS = Beginning Inventory + Purchases - Ending Inventory
Gross Profit = Revenue - COGS
Gross Margin (%) = (Revenue - COGS) / Revenue × 100
For service businesses without inventory, COGS is simpler: direct labor + direct third-party costs spent delivering the service that was billed in the period.
What Counts as COGS — and What Doesn't
This is where most small businesses go wrong. COGS should only include costs that scale with units sold. If you sold zero units this month, that cost would be zero or near-zero.
| Cost | Product business | Service business |
|---|---|---|
| Raw materials | COGS | n/a |
| Direct labor (hourly workers on production) | COGS | COGS (billable team time) |
| Packaging | COGS | n/a |
| Freight-in (cost of getting inventory to you) | COGS | n/a |
| Freight-out (shipping to customer) | Usually COGS | n/a |
| Payment processing (when % of revenue) | Often COGS | Often COGS |
| Third-party subcontractors on client work | n/a | COGS |
| Rent | OpEx | OpEx |
| Marketing | OpEx | OpEx |
| Software (general) | OpEx | OpEx |
| Software (delivery-only) | COGS | COGS |
| Salaried staff (admin, sales) | OpEx | OpEx |
Gross Margin Benchmarks by Industry
These are typical small-business ranges — useful as a sanity check but the trend in your own numbers matters more than industry averages.
| Industry | Typical gross margin | What drives the spread |
|---|---|---|
| SaaS / Software | 70–85% | Hosting, support staff, payment processing |
| Professional services (consulting, agencies) | 40–60% | Utilisation rate of billable team |
| Specialty / DTC retail | 50–70% | Supplier negotiation, freight, returns |
| Restaurants | 60–70% food / 70–85% beverage | Menu engineering, waste, food cost |
| Grocery | 20–30% | Volume vs perishable waste |
| Manufacturing | 25–40% | Raw materials, labor efficiency, capacity utilisation |
| E-commerce (marketplace seller) | 20–40% | Marketplace fees, ads, returns |
| Construction / contractors | 15–30% | Material costs, subcontractor management |
Margin vs Markup
Pricing conversations get muddled because retailers and trades typically think in markup while accountants think in margin. The conversion:
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33% |
| 100% | 50% |
| 150% | 60% |
| 200% | 67% |
| 300% | 75% |
Margin = Markup / (1 + Markup). A vendor offering "50% off MSRP" is offering you 50% margin on retail price, which is 100% markup on cost. The same physical discount described two different ways.
The Levers That Move Gross Margin
- Raise prices. Underrated. A 5% price increase with no volume loss adds 5 percentage points of margin directly. Most small businesses underprice and assume customers will revolt — most often, they don't.
- Cut input costs. Negotiate with suppliers. Consolidate vendors for volume discounts. Re-bid annually. Re-engineer the product spec for slightly cheaper inputs without affecting quality.
- Improve mix. Sell more of your high-margin products, less of your low-margin ones. Often a packaging or merchandising change rather than a portfolio change.
- Reduce waste. Inventory shrinkage, food waste in restaurants, defects in manufacturing, scope creep in services. Often 3–10% of revenue hides here.
- Right-size labor. For services, raise billable utilisation. For products, reduce overtime and idle time.
- Reduce returns / refunds. Returns hit COGS twice — the cost of the returned unit plus the cost of processing the return. Better sizing charts, better photography, better expectation-setting can move returns by 30%+.
Common Mistakes That Misstate Gross Margin
- Owner labor not in COGS for services. If you're the one billable, your time has to be in COGS at a market rate. Otherwise your margin looks fake.
- Rent in COGS. Tempting for retail and restaurants but incorrect — rent doesn't scale with units. Keep it in OpEx.
- Inventory accounting wrong. Without proper beginning/ending inventory tracking, COGS is whatever cash you spent on supplies — which can be wildly different from what you actually consumed.
- Counting freight-in as OpEx. Should be capitalised into inventory cost.
- Ignoring shrinkage. Stolen, broken, or expired inventory is real COGS. Pretending it isn't makes margin look better and pricing decisions worse.
Try It Yourself
Calculate gross margin, markup, and profit on any sale with the BizKit profit-margin calculator.
Profit Margin Calculator →