How Do You Calculate Cost Of Goods Sold

7 min read

You ever look at your profit number and think, "Wait, where did it all go?" Most people blame slow sales. But half the time, the real leak is hiding in something called cost of goods sold And it works..

If you run a business — even a tiny one — and you don't actually know how to calculate cost of goods sold, you're flying blind. Plus, you might be "profitable" on paper and broke in your bank account. That's not a typo. It happens constantly Nothing fancy..

What Is Cost of Goods Sold

Cost of goods sold is just the direct cost of making or buying the stuff you sold. That's it. Not your rent. Not your logo redesign. Not the coffee you drank while packing orders. It's the materials, the labor that touched the product, and the shipping you paid to get inventory in the door.

Think of it like this: if you sell candles, your cost of goods sold is the wax, the wicks, the jars, and the person (maybe you) pouring them. If you sell software? It gets murky, but it can include server costs tied to delivery and contractor hours building the feature people bought.

The short version is — COGS is the money you spent so the sale could exist at all.

COGS vs Operating Expenses

Here's what most people miss. Operating expenses (OpEx) are the costs of running the business around the product. Marketing, software subscriptions, office space, your accountant. Which means those are not COGS. They matter for taxes and budgeting, but they don't show up in this calculation Most people skip this — try not to..

Why does the split matter? Because gross profit = revenue minus COGS. Practically speaking, if you lump your rent into COGS, your gross margin lies. And a lying margin leads to dumb pricing.

For Product vs Service Businesses

Product businesses have it clearer. Service businesses struggle. This leads to a therapist's COGS is basically nothing unless they buy worksheets in bulk. You buy or make a thing, you sell the thing. A consultant's COGS might be subcontractor pay and software used per client. Turns out, the line is fuzzier than the textbooks admit.

Why People Care About Calculating It

Because without it, you don't know if you're making money per sale. Also, you know that feeling when a product "sells well" but you never seem to get ahead? Plus, that's usually a COGS problem. You priced for the sticker, not the real cost Not complicated — just consistent. And it works..

Not the most exciting part, but easily the most useful.

In practice, calculating cost of goods sold correctly changes three things: your pricing, your taxes, and your sanity. Day to day, your bank wants it right if you ever need a loan. Which means the IRS wants it right. And you want it right so you stop guessing.

Look, I know it sounds simple — but it's easy to miss the small costs. That bubble mailer isn't free. The tape isn't free. At volume, that stuff eats you alive.

How To Calculate Cost Of Goods Sold

Here's the actual formula. It's older than spreadsheets:

Beginning Inventory + Purchases During Period – Ending Inventory = COGS

That's the whole skeleton. But the devil's in the details, and most tutorials skip the details on purpose.

Step 1: Know Your Beginning Inventory

This is what you had on your shelves (or in your garage) at the start of the period. Use the same number you ended with last period. Now, if you're just starting? Zero. Don't invent numbers.

Step 2: Add Purchases and Direct Costs

Add everything you bought to resell or make products during the window. Wholesale units. Raw materials. In real terms, freight-in (shipping to you). Direct labor — the person on the line, not the CEO. If it touched the product and you can defend it, in it goes Simple, but easy to overlook..

Real talk: most small sellers forget freight-in. Consider this: they treat it as a shipping expense. But it's part of getting the goods, so it belongs in COGS. Worth knowing.

Step 3: Count Ending Inventory

At period end, what's left? Practically speaking, guessing "probably half" is not a method. In real terms, you have to actually count or estimate reliably. Do a physical count or use a system that tracks it.

Step 4: Do The Math

Subtract ending from the sum of beginning and purchases. The result is your cost of goods sold for that window.

Example: You started with $2,000 inventory. Worth adding: bought $8,000 more. But ended with $3,000. COGS = 2,000 + 8,000 – 3,000 = $7,000. You spent seven grand to make those sales happen.

Inventory Methods Change The Number

Here's where it gets spicy. How you value inventory changes your COGS. Three common ways:

  • FIFO (first in, first out): you assume oldest stock sells first. In inflation, this lowers COGS and raises tax.
  • LIFO (last in, first out): opposite. Lowers taxable income but banned under IFRS. US only.
  • Average cost: smooths it out. Good for mixed batches.

Pick one and stick with it. Switching yearly without reason triggers audits and headaches Turns out it matters..

Periodic vs Perpetual

Small businesses often use periodic — count at month end, calculate. So perpetual tracks every sale and restock live via software. If you're on Shopify or similar, you're probably already perpetual and didn't know the term Not complicated — just consistent..

Common Mistakes People Make

Honestly, this is the part most guides get wrong. Think about it: they list the formula and bounce. But the errors are where the money leaks And that's really what it comes down to. That alone is useful..

First mistake: including overhead. Throwing rent into COGS because "it's a business cost.Worth adding: " No. That distorts gross margin and makes your product look worse or better than it is.

Second: forgetting returns. If a customer sends it back, your COGS calculation from that sale needs adjusting. Otherwise you double-count the cost Easy to understand, harder to ignore..

Third: bad inventory counts. Which means if ending inventory is wrong, COGS is wrong. Which means garbage in, garbage out. I've seen businesses "lose" twenty grand of profit because someone miscounted mugs.

And fourth — mixing personal and business. Bought supplies with your personal card? If it's not recorded as a purchase, your COGS is understated and your profit looks fake-high Worth keeping that in mind..

Practical Tips That Actually Work

Use software if you sell more than 20 things a month. Even so, spreadsheets lie when you're tired. QuickBooks, Xero, even Square's built-in stuff handles COGS if you set items up right Worth knowing..

Set a monthly count ritual. On top of that, first Saturday, count the shelf. Day to day, ten minutes. You'll catch shrink and mistakes early.

Track freight-in separately in your books so you don't "forget" it later. Label it. Make it loud That's the whole idea..

Price with COGS plus a target margin, not "what competitors charge." If your cost is higher, undercutting kills you. Here's the thing — a 30% margin on paper means nothing if COGS is wrong That's the part that actually makes a difference..

For makers: log your time at a real wage. Even if you don't pay yourself, assign a rate. Otherwise your "handmade" business runs on invisible labor and you'll burn out confused.

FAQ

What is not included in cost of goods sold? Marketing, rent, utilities not tied to production, salaries of admin staff, and software not used in making the product. Those are operating expenses.

Can cost of goods sold be negative? Not normally. If ending inventory somehow exceeds beginning plus purchases, math breaks or data's wrong. Investigate before filing anything Simple, but easy to overlook. Turns out it matters..

Do service businesses have COGS? They can, but it's small. Direct contractor pay and per-client delivery costs qualify. Many service businesses report near-zero COGS and that's fine.

How often should I calculate COGS? Monthly at minimum. Quarterly for taxes. Weekly if margins are thin and volume is high.

Is COGS the same as cost of sales? Basically yes. "Cost of sales" is common for service firms; "COGS" for product firms. Same idea, different label.

Getting your cost of goods sold right won't fix a bad product or a dead market — but it'll stop you from celebrating fake wins and pricing like the costs don't exist. Do the count, run the formula, trust the number even when it's ugly. That's how you stay in business instead of wondering where the money went.

Newest Stuff

Published Recently

Branching Out from Here

Others Found Helpful

Thank you for reading about How Do You Calculate Cost Of Goods Sold. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home