What counts as COGS depends on the industry. Retailers and wholesalers count the purchase price of the goods they resell plus inbound freight; restaurants count ingredients, packaging and spoilage; service businesses report cost of service (direct labor, subcontractors and materials); manufacturers add raw materials, direct production labor and factory overhead. Rent, marketing and admin wages are operating expenses in every case. To work out the number itself, see how to calculate cost of goods sold.
Ask a retailer, a consultant, and a small manufacturer what belongs in cost of goods sold, and you'll get three different answers — and all three would be right for their own business. The underlying formula, opening inventory plus purchases minus closing inventory, never changes. What changes is which costs actually flow into that formula, because a retailer, a restaurant, and a manufacturer each add value to what they sell in completely different ways.
Key takeaways
- COGS is always the direct cost of what was sold, but "direct" means something different in every industry.
- Retail and wholesale COGS is almost entirely the purchase cost of goods bought for resale, plus inbound freight.
- F&B COGS is ingredients, packaging, and spoilage — not kitchen wages, which are an operating expense.
- Manufacturing COGS adds raw materials, direct production labor, and factory overhead — three components, not one.
- Most service businesses carry no inventory, so they report "cost of service" instead — direct labor and materials tied to delivery.
- Comparing your gross margin to a different business type's benchmark, without first checking the COGS components line up, will mislead you.
Why the same formula produces such different numbers
Cost of goods sold is the cost of whatever you sold this period — not everything you spent running the business. That single rule holds everywhere. But what qualifies as "directly tied to what was sold" depends entirely on how a business creates and delivers what it sells. A retailer adds almost nothing to a product beyond buying and reselling it; a manufacturer transforms raw materials into something new; a service business often has nothing physical to hold in inventory at all. Each of those realities changes what belongs on the COGS line.
Retail and wholesale: the purchase-cost model
Retail and wholesale businesses buy finished goods and resell them largely unchanged. Their COGS is close to the textbook formula with almost no adjustment:
COGS = Opening Inventory + Purchases + Inbound Freight − Closing Inventory
Retail / wholesale COGS
The only real judgment call is inbound freight — the cost of getting stock to your shelves counts as part of what the product cost you, even though it isn't the purchase price itself. Outbound shipping to a customer, by contrast, is a selling expense, not COGS. Wholesale runs the identical calculation; the difference between retail and wholesale is who the customer is, not how the cost is computed.
Food & beverage: ingredients, not the kitchen
A restaurant, café, or food stall's COGS is the ingredients and packaging actually used to prepare what was sold that period — never kitchen staff wages, rent, or equipment, all of which are operating expenses that show up further down the income statement.
COGS = Opening Food/Beverage Stock + Purchases − Closing Food/Beverage Stock
F&B COGS
Sunrise Kitchen, a small food stall, sells 3,600 servings a month at $25 each — $90,000 in revenue — with ingredient and packaging cost of $36,000 for the month, exactly $10 per serving. That's a 60% gross margin, comfortably inside the typical range for F&B. Spoilage and waste belong in COGS too, since a spoiled ingredient was a real cost incurred to attempt to produce what was sold — it's just an inefficient one.
Kitchen staff wages feel closely tied to production, which is why they get miscounted as COGS more often in food service than almost anywhere else. Keep them in operating expenses — mixing them into COGS makes gross margin look artificially thin and operating margin look artificially strong, distorting both numbers at once.
Services: cost of service, not cost of goods
Most service businesses hold no physical inventory, so a traditional COGS line doesn't really apply. Instead, they report cost of service — the direct labor, subcontractor fees, and materials tied specifically to delivering the service, sitting in the same place on the income statement that COGS would otherwise occupy.
Cost of Service = Direct Labor + Subcontractor Fees + Materials Used in Delivery
Cost of service
An accounting firm's cost of service is largely the billable hours of the staff who did the work. A contractor who hires a subcontractor to complete part of a job counts that subcontractor's fee as cost of service too — it's a direct cost of delivering what was sold, even though someone else performed it. What doesn't belong here: office rent, marketing, and admin salaries not tied to any specific client engagement — those stay in operating expenses.
Manufacturing: three components, not one
Small manufacturing has the most complex COGS of the five, because it has to capture the full cost of transforming raw materials into a finished product.
COGS = Raw Materials Used + Direct Production Labor + Factory Overhead
Manufacturing COGS
Factory overhead covers costs that support production without being tied to one specific unit — machine depreciation, factory utilities, and production-line supervision, for example. Selling and admin costs stay out entirely: a factory's front-office salaries and marketing spend are operating expenses, not COGS, no matter how essential they are to selling what gets made.
Side-by-side: components and typical share of revenue
| Business type | Main COGS components | COGS per $100 of revenue |
|---|---|---|
| Retail / trading | Purchase cost of merchandise + inbound freight | $65 – $80 |
| Wholesale | Purchase cost of goods for resale + inbound freight | $65 – $80 |
| Food & beverage | Ingredients, packaging, spoilage | $35 – $45 |
| Services | Direct labor + subcontractor fees (cost of service) | $30 – $50 |
| Small manufacturing | Raw materials + direct labor + factory overhead | $60 – $75 |
| Online / reseller | Purchase cost of product + shipping + platform fees | $70 – $85 |
Read this table alongside the gross margin benchmarks by business type — the two are mirror images of each other. A business with $40 of COGS per $100 of revenue is running a 60% gross margin; the two numbers are the same fact stated two different ways.
A service business with a 65% gross margin isn't automatically outperforming a retailer running 30% — they carry entirely different cost structures by design. Before comparing your margin to any benchmark, confirm the components going into COGS actually match; comparing across business types without checking that is one of the fastest ways to draw the wrong conclusion from a correct calculation.
What operating expenses look like once COGS is removed
Once the industry-specific COGS is pulled out correctly, what's left as operating expenses looks fairly similar across business types — rent, admin salaries, marketing, insurance, utilities not tied to production. That consistency is actually useful: if operating expenses seem unusually high or low compared to similar businesses, it's often a sign that something that belongs in COGS got misclassified as overhead, or vice versa, rather than a sign of genuinely different operating costs.
Reyuko's Product module assigns every item to one of its product and service types — Merchandise, Raw Materials, Service, and others — each mapped to its own cost account by default, so a retailer's inventory cost and a service business's cost-of-service line post to the correct place without manual account selection on every sale.
Service items specifically post to a dedicated Cost of Service account rather than an inventory-based COGS account, matching exactly the distinction this article draws between goods-based and service-based businesses. A small manufacturer using the Production module tracks raw materials and labor through a Work in Progress account before they become finished-goods cost, so factory-stage costs don't leak into overhead by default. All of this — product types, the Production module, and the underlying Chart of Accounts — is part of the free edition.
Check your own COGS classification
Go through last month's expense list and ask, for each line:
- Would this cost still exist if you sold zero units this month? If yes, it's an operating expense, not COGS.
- Is it tied to a specific unit, batch, or client engagement? If yes, it likely belongs in COGS or cost of service.
- Does the COGS total, divided by revenue, land near the typical range for your business type in the table above?
Show a quick classification example
A café's flour, milk, and takeaway cups: COGS — they disappear with the specific drinks and food sold. A café's barista wages and rent: operating expenses — they exist whether the café sells one coffee or two hundred that day.
Reyuko