COGM (Cost of Goods Manufactured) — What It Means and How to Calculate It
COGM (Cost of Goods Manufactured) is the total cost to produce finished goods in a period. Here's what it means, the formula, and how it differs from COGS.

Confused about the difference between Cost of Goods Sold (COGS) and Cost of Goods Manufactured (COGM)? You’re not alone. The two terms look almost identical on the surface, and plenty of accounting guides use them interchangeably. They aren’t the same thing, though. And if you’re running a small-batch manufacturing business, understanding the distinction is genuinely useful for pricing, profitability, and tax reporting.
This guide breaks both terms down clearly, walks through a real example with a candle producer, and shows you how each figure fits into your business picture.
Last updated: September 2026
Stop calculating COGS by hand
Try Stocksmith — inventory and manufacturing software built for small-batch product businesses. Track materials and finished goods, get weighted-average cost per unit, and pull a COGS total for any period without summing spreadsheet rows.
Start your free 14-day trial.
What is COGS?
COGS stands for Cost of Goods Sold. It’s the total direct cost of the goods you’ve actually sold to customers during a given period.
COGS typically includes:
- Direct materials used in the products you sold
- Direct labor tied to producing those specific products
- Shipping costs directly attributed to sold orders (in some accounting treatments)
What it does not include: overhead expenses like advertising, warehouse rent, or general admin costs. Those go elsewhere on your income statement.
Your COGS figure is what hits your income statement. It sits directly below revenue, and the gap between the two is your gross profit. Get this number wrong and your profit margins will be off, which means your pricing will be off too.
Learn more: How to Calculate your Cost of Goods Sold (COGS) →
What is COGM?
COGM (Cost of Goods Manufactured) is the total cost to produce finished goods in a period, covering direct materials, direct labour, and manufacturing overhead.
COGM includes:
- Direct materials consumed in production
- Direct labor (wages, contractor fees tied to making things)
- Manufacturing overhead (equipment depreciation, workshop rent, utilities for your workspace)
- Work-in-progress adjustments (what was half-finished at the start of the period, minus what’s still half-finished at the end)
That last point is important. COGM accounts for the flow of production, not just the final output. If you started the month with partially finished stock and ended with some too, COGM factors that in.
The COGM formula
Opening work in progress (WIP)
+ Direct materials used
+ Direct labor costs
+ Manufacturing overhead
− Closing work in progress (WIP)
= Cost of Goods Manufactured (COGM)
COGM feeds into your inventory calculations. Once goods are manufactured, they move to your finished goods inventory. When they sell, that’s when COGS kicks in.
COGM vs. COGS — the key difference
Here’s the clearest way to think about it:
- COGM = what it cost you to make everything during a period
- COGS = what it cost you to produce the portion that sold during a period
They can look identical if you sell everything you make (zero leftover finished inventory). But most product businesses carry some finished stock from one period to the next, which is exactly where the two figures diverge.
Quick comparison table
| COGM | COGS | |
|---|---|---|
| What it measures | Total production cost | Cost of goods actually sold |
| Includes overhead? | Yes | No (usually) |
| Includes unsold stock? | Yes | No |
| Where it appears | Internal manufacturing reports | Income statement |
| Used for | Production efficiency analysis | Pricing, tax reporting, gross profit |
| When the figures match | When all manufactured goods are sold in the same period | Same |
A worked example — 48 candles
Let’s say you produce candles. In January you run a batch of 48. Here’s what that costs you:
Materials:
- Soy wax: $28
- Fragrance oils: $18
- Wicks, jars, lids: $22
- Labels and packaging: $12
- Total materials: $80
Labor: You spend 4 hours on the batch at $20/hr = $80
Overhead: You allocate $40/month of your workshop costs to this batch = $40
COGM for the batch: $200 (or about $4.17 per candle)
Now, you start January with 6 unsold candles from December in your finished goods inventory. You sell 38 candles during January, leaving you with 16 in stock at month end.
COGS for January:
Opening finished goods inventory (6 candles × $4.00*)
+ COGM for January ($200)
− Closing finished goods inventory (16 candles × $4.17)
= COGS
(Using $4.00/candle as December’s unit cost for simplicity)
$24 + $200 − $66.72 = $157.28
So your COGM was $200 (everything you made) but your COGS was $157.28 (the cost of what you actually sold). The difference lives in your finished goods inventory: the cost of the 16 candles still sitting on your shelf.
This matters for your income statement. You only deduct $157.28 against your January revenue, not the full $200.
Why the difference matters for your business
Pricing
COGS is your floor. If you sell a candle for less than what it cost to make and sell it, you’re losing money on every transaction. Knowing your per-unit COGS (including a sensible overhead allocation) keeps you from making that mistake.
Plenty of product businesses price based on what competitors charge without ever checking whether that price covers their actual costs. COGS is what grounds you in reality. Pricing software that calculates your per-unit costs automatically makes it much harder to underprice by accident.
See also: Pricing Psychology for Success →
Tax reporting
COGS directly reduces your taxable income. It’s a significant deduction for product-based businesses, and it shows up on Schedule C (for sole proprietors) under “Cost of goods sold.” Get this wrong and you either overpay tax or create problems with your accounting records.
Stocksmith’s COGS reports pull these figures automatically. You get a ready-to-use COGS total for any period without manually summing spreadsheet rows at tax time. For the full walkthrough, see our Schedule C guide for product businesses →
Production efficiency
COGM tells a different story. It’s more useful for looking inward at your manufacturing process. If your COGM keeps rising even though your material costs haven’t changed, that points to a labor or overhead problem. Maybe you’re taking longer to make things, or your utilities costs have crept up.
Tracking COGM over time gives you early warning signals that pure sales figures won’t catch.
Inventory health
Running out of stock is expensive. Knowing your COGM helps you understand exactly how much capital is tied up in each production run, and whether your stocking levels make sense for your sales velocity. To quantify the real impact, use our stockout cost calculator to determine how much a single stock-out event actually costs your business.
How to track your COGS (and stop doing it in spreadsheets)
Small manufacturers have a few options. A spreadsheet works well enough in the early days: you know your material costs, you track your sales, and you do the maths manually at the end of the quarter. But it breaks down fast once you’re running multiple products, sourcing from different suppliers, or selling across more than one channel.
The problems with inventory spreadsheets: they’re time-consuming and error-prone, and nothing recalculates itself. Change your supplier for one ingredient and you’re manually recalculating costs across every product that uses it.
Dedicated software like Stocksmith’s COGS tracking software handles this for you. You add your materials, set up your bills of materials (what goes into each product), and Stocksmith maintains a weighted-average cost per unit that updates as you record new material purchases. When a manufacture completes, the materials come out of stock automatically against the BOM. No manual recalculation required.
Want to see how the underlying costing method works? Read FIFO, LIFO and weighted average cost methods →
Frequently Asked Questions
What's the simplest way to remember the difference between COGM and COGS?
COGM is what it cost you to make everything during a period. COGS is what it cost you to produce the portion that actually sold. They're equal only if you sell every single thing you manufacture, which most product businesses don't. The gap between them is the cost sitting in your finished goods inventory.
Does COGS include overhead costs for a small manufacturing business?
Traditional COGS excludes overhead; it covers direct materials and direct labor only. But plenty of small manufacturers choose to factor overheads into their per-unit cost when setting prices. That's actually COGM thinking applied to pricing, and it gives you a truer picture of what each product costs to produce. Just be consistent: use the same method across all your products.
How do I calculate COGS if I make products in batches?
Divide your total batch cost by the number of units produced to get a per-unit cost, then multiply by the number of units sold. Take the simplest case, where you carry no finished stock into the period: a batch of 48 candles costing $200 works out to about $4.17 per candle, so selling 38 of them gives a COGS of roughly $158. If you do carry stock across periods, use the full opening-plus-COGM-minus-closing calculation in the worked example above, which is why that section arrives at $157.28 rather than a flat per-unit figure.
Does COGM matter for small-batch and direct-to-consumer producers?
COGM is most useful if you're carrying meaningful finished goods inventory between accounting periods. If you make-to-order and sell everything you produce, COGM and COGS will be nearly identical. But if you batch-produce and hold stock, which most small manufacturers do, tracking COGM helps you understand how much capital is tied up in unsold inventory and whether your production runs are profitable before a single item ships.
Where does COGS appear on my tax return?
For US sole proprietors, COGS is reported on Schedule C (Part III) of your federal tax return. It reduces your gross receipts to give you gross profit, which then feeds your net profit calculation. Accurate COGS tracking is a significant deduction for product-based businesses. Undercounting it means overpaying tax.
Stocksmith — COGS and manufacturing cost tracking for small manufacturers
Stocksmith COGS software is built specifically for small-batch manufacturers. You add your materials and bills of materials, connect your sales channels, and Stocksmith handles the rest: weighted-average cost per product, inventory deducted automatically against the BOM as each batch is manufactured, and the reports you need at tax time.
No spreadsheet gymnastics. No recalculating when supplier prices change. Just accurate numbers, whenever you need them.