Okay, let’s talk about something that sounds terrifyingly boring but is actually kind of a secret superpower: the Cost of Goods Sold. Or, as your accountant calls it, COGS (pronounced like “cogs,” which is cute, right?). I promise, this isn’t a math lecture. Think of it as detective work for your money.

Why do you care? Because COGS tells you exactly how much it costs to make or buy the stuff you sell. Without it, you’re basically flying blind while holding a handful of receipts and a confused expression. It’s the difference between thinking you’re rich and actually being rich.

So, What Even Is COGS?

In the simplest terms, COGS is the direct cost of creating your product. The raw materials. The labor to build it. The plastic packaging that makes it look fancy on a shelf. It does not include marketing, rent, or that fancy coffee you bought for the team. (Sorry, barista money doesn’t count.)

Think of it this way: if you’re a bakery, COGS is the flour, eggs, sugar, and the baker’s hourly wage. It is not the sign outside that says “Best Croissants in Town.” Got it? Good. Now let’s do the math. Don’t worry, I’ll hold your hand.

The Magic Formula (It’s Actually Super Simple)

Here’s the secret that everyone acts like is complicated: Beginning Inventory + Purchases – Ending Inventory = COGS. That’s it. That’s the whole enchilada. Breathe. You already know this from counting Halloween candy as a kid.

Let’s break it down. Beginning Inventory is what you had at the start of the month (or quarter or year). It’s the stuff sitting in your garage, closet, or warehouse gathering dust. Purchases are all the new stuff you bought to sell or make more stuff.

Ending Inventory is the stuff you didn’t sell. The lonely leftovers. Subtract that from the total of what you could have sold, and voilà—you know exactly what you did sell, cost-wise. It’s like a magic trick, but with fewer rabbits and more spreadsheets.

Calculating Cost of Goods Sold for Ecommerce | GlewCalculating Cost of Goods Sold for Ecommerce | Glew

Let’s Get Practical, Like, Really Practical

Imagine you run a candle business called “Burn Notice” (fictional, but awesome name). At the start of January, you have 100 pounds of wax worth $200. That’s your Beginning Inventory. You buy 50 more pounds for $100. That’s your Purchases. Now you have $300 worth of wax available.

At the end of January, you have 30 pounds of wax left. That’s your Ending Inventory. (You’ve been busy making “I Really Need Coffee” candles.) So, $300 total wax – $30 of leftover wax = $270. That means your COGS for the month is $270. High-five yourself. You just did accounting.

But wait—do you actually count every single candle? Heck no. You use a system. Most people use FIFO (First In, First Out, like selling the oldest milk first) or LIFO (Last In, First Out, which is weird but legal). Pick one and stick with it, or your brain will implode.

Where People Trip and Fall

The biggest mistake is forgetting things. Did you buy a special label maker? That’s a supply, not inventory. Did you pay someone to glue the labels on? That is direct labor, so it counts. Did you buy a pizza for the team on a late night? Tempting, but nope—that’s a business lunch, not COGS.

Cost Of Goods Sold Formula How To Calculate Cost Of Goods Sold: EasyCost Of Goods Sold Formula How To Calculate Cost Of Goods Sold: Easy

Another trap: inventory shrinkage. Stuff gets stolen. Stuff gets damaged. Stuff gets eaten by the office dog. You need to adjust your ending inventory for these sad truths. Otherwise, your COGS will be wrong, and you’ll blame the dog.

Here’s the punchline: COGS is not about punishment. It’s about power. When you know this number, you can price your products like a boss. You can see if your margins are healthy or if you’re basically working for free. (Spoiler: you don’t want to work for free.)

One Last Tip (Because I Care)

Track your COGS monthly, not yearly. Yes, it’s a pain. Yes, you’ll hate me. But doing it often catches problems early—like a material price spike or a lazy supplier. It’s the difference between a small fire and a raging inferno in your cash flow.

And if you use accounting software? Let it do the heavy lifting. Tools like QuickBooks or Xero calculate COGS automatically if you set up inventory right. Just double-check that it’s not counting your office snacks. (Those are emotional support inventory.)

So, go forth. Calculate your COGS. Feel like a financial wizard. And if you mess up? It’s fine. You can always fix it next month. Now, pour yourself another coffee—you earned it.