Wauvel
Finance 101

Gross margin: what belongs in COGS (and what doesn't)

← All posts
By Blake EkelundAugust 12, 2026 · 8 min read

Two bakeries did $480,000 last year. Same city, same product, same costs to the dollar. One reports a 35% gross margin. The other reports 71%. Neither is lying, and neither made a single different business decision. The only thing that differs is where their bookkeepers filed the flour, the delivery driver, and the card processing fees.

Gross margin is the most quoted number in small-business finance and the most casually assembled. It drives your pricing, your break-even point, and every benchmark you compare yourself against — and it is entirely at the mercy of one judgment call: what counts as cost of goods sold. Get that line in the right place and the number tells you something. Get it wrong and you are comparing yourself to an industry average that uses a different definition of the word.

What COGS actually means

Forget the account names for a second. One question settles almost every case: if you sold one fewer unit — one fewer cake, one fewer job, one fewer subscription — would this cost go away? If yes, it is cost of goods sold. If the cost shows up whether you sell a hundred units or zero, it is an operating expense.

Flour goes away. Rent does not. The baker's hourly wage goes away if there is nothing to bake; the bookkeeper's retainer does not. That single test — does this cost follow the sale — separates the two halves of your income statement, and it is the reason gross margin means anything at all. Gross profit is what is left to run the company after you have paid for the thing you actually sold.

Revenue

$480k

what customers paid

Cost of goods sold

$312k

costs that follow the sale

Gross margin

35%

$168k to cover everything else

The four costs almost everyone misclassifies

Most of the confusion collapses onto the same handful of line items. Here is where each one belongs, and why:

  • Shipping you pay to deliver. Freight out is COGS — no order, no shipping label. Freight in (what you paid to get inventory into your warehouse) is COGS too, but it belongs inside the cost of the inventory itself, not as its own expense.
  • Payment processing fees.The 2.9% + 30¢ a processor takes only exists because a sale happened. It is COGS. Parking it in "bank fees" under operating expenses is the most common margin distortion in online businesses.
  • Payroll — but only some of it. Split it. The people who make the thing or deliver the service are direct labor and belong in COGS. The people who run the company — admin, sales, finance, you — are operating expenses. One payroll account for everyone makes gross margin meaningless.
  • Software. Ask the test. Your hosting bill scales with customers, so it is COGS. Your accounting software costs the same at zero customers, so it is opex. Plenty of software businesses get this backwards and report a margin ten points off.
Same business · two chart-of-accounts choices
Classified properlyAll costs in opex
Revenue$480,000$480,000
Ingredients and packaging$204,000—
Bakers' wages$84,000—
Card processing fees$14,000—
Delivery and freight out$10,000—
= Gross profit$168,000$480,000
Gross margin35%100%
Operating expenses$139,000$451,000
= Net income$29,000$29,000
Nothing changed except which side of the gross profit line each cost landed on. Net income is identical both ways - but the left column describes a 35% margin business and the right describes a 100% one. Only one of those can be compared to an industry benchmark.

Why the line matters more than the number

A wrong gross margin does not just look bad on a report. It feeds four decisions you make with real money:

  • Pricing. If you think you keep 71 cents on the dollar, a 10% discount feels cheap. If you actually keep 35 cents, that same discount just gave away 29% of your gross profit.
  • Break-even. Break-even is fixed costs divided by contribution margin. Inflate the margin and you will calculate a break-even point you are nowhere near hitting.
  • Benchmarking."Restaurants run 65–70% gross margin" assumes food and kitchen labor are both in COGS. Compare your food-only number against it and you will conclude you are a genius.
  • Hiring and spending. Gross profit is the pool every fixed cost gets paid from. Overstate it and every affordability question you ask gets the wrong answer.

Draw the line once, then stop moving it

There is no universal right answer for every edge case, and accountants genuinely disagree about a few of them. What matters far more than picking the theoretically perfect classification is picking one and holding it. A margin defined slightly unconventionally but measured the same way every month still tells you the truth about direction. A margin whose definition quietly drifts as costs get filed by whoever is doing the books that week tells you nothing at all.

Write your rule down. Two sentences is enough: what goes in COGS, what does not, and how payroll splits. Then check your last three months against it — misfiled costs tend to repeat, so one pass usually fixes the pattern rather than a single entry.

Want to see what your real margin does to your economics? The unit economics calculator takes your contribution margin and shows what each sale actually contributes — pick your business model and it does the arithmetic.

See what a report like this looks like on your own numbers.

Meet your AI CFO →

Prefer to run the numbers yourself? Try the free Unit Economics Calculator — no signup needed.

Keep reading

Finance 101September 5, 2026 · 8 min read

Can you service the loan? DSCR and covenants in plain English

Before a bank lends you anything it computes one ratio, and you can compute it yourself in about five minutes. Here's what DSCR is, what number you need, and what the covenants buried in your loan agreement can actually do to you.

Read it →
Finance 101September 1, 2026 · 7 min read

Payroll as a percentage of revenue: what's normal?

Payroll is the largest cost in most small businesses and the one owners are least sure about. Here's how to measure it so the number means something, what the ranges look like by business type, and the two ratios that matter more than the headline percentage.

Read it →
Finance 101August 30, 2026 · 7 min read

Prepaid, accrued, deferred: the three entries that fix your P&L

If your monthly profit lurches around for no reason you can name, the cause is almost always timing: costs and revenue landing in the month the money moved instead of the month they belong to. Three adjusting entries fix nearly all of it.

Read it →
Finance 101August 28, 2026 · 8 min read

Raising prices without losing customers

A 10% price increase is worth more than a 10% sales increase, and it costs nothing to deliver. Here's the arithmetic of how many customers you can afford to lose, and the mechanics of actually raising a price without a bad month.

Read it →
Finance 101August 26, 2026 · 8 min read

Which customers actually make you money

Your biggest customer is probably not your most profitable one, and one of them may be costing you money outright. Here's how to push costs down to the customer level without a costing system - and what to do with the answer.

Read it →
Finance 101August 22, 2026 · 8 min read

How much should you pay yourself?

Most owners pay themselves whatever is left, which makes their P&L a work of fiction and their business impossible to value. Here's how to set an owner's wage that tells the truth about your margins - and what the draw-versus-salary decision actually turns on.

Read it →
Finance 101August 20, 2026 · 8 min read

CapEx vs. OpEx: why the truck isn't an expense

You spent $48,000 on a truck and your P&L barely moved. That is not an error - it is the difference between buying an asset and incurring an expense. Here's what capitalizing actually does to your three statements, and why the cash and the deduction never line up.

Read it →
Finance 101August 18, 2026 · 7 min read

Your chart of accounts is a reporting decision

Nobody sits down to design a chart of accounts - it accretes, one ad-hoc account at a time, until the P&L has ninety rows and answers nothing. Here's how to build one that makes your monthly report readable, and the four rules that keep it that way.

Read it →
Finance 101August 16, 2026 · 8 min read

Where the money actually goes: reading operating expenses like a CFO

Revenue gets all the attention, but operating expenses are where the decisions live - and where the surprises hide. Here's how to read the opex block of your P&L: what moved, what it costs you as a share of revenue, and which line items are actually worth touching.

Read it →