A quotation goes out on Monday priced from last quarter’s figures, because this month’s cost of goods manufactured is still being rebuilt in a spreadsheet. The order is confirmed, the work order is issued, and only in the third week of the following month does anyone discover the job was priced below what it actually cost to make.
Cost of goods manufactured (COGM) is the total cost of the goods your factory finished producing during a period. It is calculated as:
Beginning Work in Process + Total Manufacturing Cost − Ending Work in Process = Cost of Goods Manufactured
That is the whole idea in one line. The rest of this guide shows you exactly how to calculate it, walks a worked example in taka, and then covers the part most explainers skip: where those four numbers actually come from inside a running factory, and why the answer usually arrives after the decision it was meant to inform.
What Is Cost of Goods Manufactured — and Why It Matters to a Factory, Not Just an Accountant
Cost of goods manufactured is the cost of everything that moved through your production floor and came out as finished goods in a given month or year. It includes the raw materials you issued to production, the wages of the people who made the product, and the factory overhead that kept the line running — adjusted for whatever was half-finished at the start and at the end of the period.
Its real purpose is not reporting. It is pricing. COGM is the number that tells you what a finished unit cost you to make this month, so you can quote next month’s orders with confidence instead of habit.
That is why the timing matters so much. A costing figure that lands six weeks after month-end is technically accurate and commercially useless. By then the quotation is signed, the buyer has agreed a rate, and the only remaining question is whether the margin survives.
For a finance reader, COGM is the bridge between the production floor and the income statement — it is what turns raw material purchases and factory wages into a value for finished stock. For an owner or a factory head, it is simpler than that: COGM is the answer to “did we actually make money on what we just produced?”
The Cost of Goods Manufactured Formula
The cost of goods manufactured formula has three parts. Written out in full:
COGM = Beginning Work in Process + Total Manufacturing Cost − Ending Work in Process
And total manufacturing cost itself breaks down further:
Total Manufacturing Cost = Direct Materials Used + Direct Labour + Manufacturing Overhead
Direct Materials Used = Beginning Raw Materials + Purchases − Ending Raw Materials
So the complete schedule of cost of goods manufactured reads:
| Line | Component | How it is derived |
|---|---|---|
| A | Beginning work in process | Opening WIP balance for the period |
| B | Direct materials used | Beginning raw materials + purchases − ending raw materials |
| C | Direct labour | Wages of workers directly on the product |
| D | Manufacturing overhead | All other factory costs |
| E | Total manufacturing cost | B + C + D |
| F | Ending work in process | Closing WIP balance for the period |
| G | Cost of goods manufactured | A + E − F |
Each line is worth understanding on its own, because each one is a place where a manual costing exercise quietly goes wrong.
Beginning Work in Process
Beginning work in process is the value of everything that was already on the production floor — partly built, not yet finished — on the first day of the period. In practice that is the closing WIP figure from last month, carried forward.
It is the line most often estimated rather than counted. If last month’s WIP was never properly valued, this month’s beginning work in process inherits that error, and so does every COGM figure that follows from it.
Total Manufacturing Cost
Total manufacturing cost is the money your factory spent on production during the period, before any adjustment for what was left unfinished. It is direct materials used, plus direct labour, plus manufacturing overhead.
Read on its own, total manufacturing cost tells you what it costs to run the plant for a month. Read inside the formula, it tells you how much of that spend actually converted into finished goods.
Ending Work in Process
Ending work in process is the value of everything still in progress on the last day of the period — materials issued, labour applied, but the unit not yet complete.
This is the subtraction that makes the formula logical. If you spent money on production but some of it is still sitting half-built on the floor, that portion belongs to next period’s output, not this one’s.
Direct Materials Used, Direct Labour and Manufacturing Overhead
Direct materials used is the raw material that physically went into the product, adjusted for what you started with and what you finished with. It is not your total purchase for the month — buying ahead of a season does not mean the material was consumed.
Direct labour is the wage cost of the people whose work can be traced to the product — line operators, machine hands, finishing staff. Supervisors, storekeepers and factory security are not direct labour; they belong in overhead.
Manufacturing overhead is everything else the factory needs to run: power and utilities, factory rent, depreciation on plant and machinery, indirect materials, maintenance, and factory supervision salaries. Because it cannot be traced to a single unit, it is allocated across production — usually on machine hours, labour hours or output volume.
How to Calculate Cost of Goods Manufactured (Step by Step)
If you want to know how to calculate cost of goods manufactured for your own unit in a given month, work down the schedule in this order.
- Open your beginning work in process. Take the closing WIP value from the previous period. If you have never valued WIP properly, start by counting what is physically on the floor and costing it at material plus applied labour — then keep that discipline every month.
- Calculate direct materials used. Take beginning raw material stock, add purchases received during the period, subtract ending raw material stock. The result is what was actually consumed, not what was bought.
- Add direct labour. Total the wages and benefits of workers directly engaged in production for the period.
- Add manufacturing overhead. Total all other factory costs — power, factory rent, plant depreciation, indirect materials, maintenance, supervision — and apply your allocation basis to charge them to the period.
- Sum steps 2, 3 and 4 to get total manufacturing cost.
- Value your ending work in process. Count what is unfinished on the floor on the closing date and cost it on the same basis you used for the opening balance.
- Apply the formula. Beginning WIP + Total Manufacturing Cost − Ending WIP = Cost of Goods Manufactured.
The two steps that most often break in practice are step 2 and step 6 — purchases treated as consumption, and WIP estimated rather than counted. Both are record-keeping problems, not accounting problems.
Cost of Goods Manufactured Example (Worked Calculation)
Here is a complete cost of goods manufactured example in taka, using a recognisable local context: a small apparel accessories unit in Gazipur producing woven labels and elastic for garment exporters.
The period: one month.
Step 1 — Direct materials used
| Item | Amount (à§³) |
|---|---|
| Beginning raw material stock | 8,00,000 |
| Add: purchases received in the month | 22,00,000 |
| Less: ending raw material stock | 6,00,000 |
| Direct materials used | 24,00,000 |
Step 2 — Total manufacturing cost
| Item | Amount (à§³) |
|---|---|
| Direct materials used | 24,00,000 |
| Direct labour (line operators, finishing) | 9,00,000 |
| Manufacturing overhead (power, factory rent, plant depreciation, indirect materials, supervision) | 6,00,000 |
| Total manufacturing cost | 39,00,000 |
Step 3 — Apply the formula
| Item | Amount (à§³) |
|---|---|
| Beginning work in process | 3,00,000 |
| Add: total manufacturing cost | 39,00,000 |
| Less: ending work in process | 4,00,000 |
| Cost of goods manufactured | 38,00,000 |
The unit finished the month having manufactured à§³38,00,000 worth of goods. If the plant produced 1,90,000 pieces in that period, the cost of goods manufactured per piece is à§³20 — and that is the number the next quotation should be built on, not last quarter’s estimate.
A Cost of Goods Manufactured Sheet You Can Copy
This is the reusable cost-sheet format. Fill the right-hand column with your own figures each month and carry the totals forward — the ending WIP you enter today becomes the beginning WIP you open with next month.
| Line | Description | This Month (à§³) | Last Month (à§³) |
|---|---|---|---|
| 1 | Beginning raw material stock | ||
| 2 | Add: raw material purchases | ||
| 3 | Less: ending raw material stock | ||
| 4 | Direct materials used (1 + 2 − 3) | ||
| 5 | Direct labour | ||
| 6 | Manufacturing overhead | ||
| 7 | Total manufacturing cost (4 + 5 + 6) | ||
| 8 | Beginning work in process | ||
| 9 | Less: ending work in process | ||
| 10 | Cost of goods manufactured (7 + 8 − 9) | ||
| 11 | Units produced | ||
| 12 | COGM per unit (10 ÷ 11) |
Line 10 is your cost of goods manufactured. Line 12 is the figure your sales team should be quoting from.
Cost of Goods Manufactured vs Cost of Goods Sold: What’s the Difference?
Cost of goods manufactured vs cost of goods sold is the confusion that brings most people to this topic, and it is worth resolving properly rather than in one sentence.
COGM is a production figure. It measures what your factory finished making in the period, valued at manufacturing cost.
Cost of goods sold (COGS) is a sales figure. It measures the manufacturing cost of only those units that were actually sold in the period.
Same factory, same month, and the two numbers differ — and they should. Three things sit between them:
- Finished goods inventory. Units manufactured this month but not yet dispatched are not sold, so they are not in COGS.
- Opening finished goods. Units produced in an earlier period and sold this month are in COGS, but not in this month’s COGM.
- Timing. Production and dispatch rarely move at the same pace, so in a growing month COGM runs ahead of COGS, and in a strong sales month it runs behind.
| Cost of Goods Manufactured | Cost of Goods Sold | |
|---|---|---|
| Measures | Cost of goods completed in production | Cost of goods sold to customers |
| Scope | Manufacturing only | Manufacturing cost of units sold |
| Affected by | WIP movement | Finished goods movement |
| Used for | Pricing, production cost control | Gross profit, income statement |
| Formula | Beg. WIP + Total Mfg Cost − End. WIP | Beg. Finished Goods + COGM − End. Finished Goods |
The relationship is direct: COGM is an input to COGS. If your COGM is wrong, your COGS is wrong, your gross profit is wrong, and every margin conversation after that is built on a number nobody can defend.
Why Cost of Goods Manufactured Matters for Bangladeshi Manufacturers
The formula above is the same everywhere. What changes in Bangladesh is how hard the inputs are to assemble on time — and this section is Bangladesh-specific.
Consider the pattern in a typical local factory. Raw material is purchased in bulk ahead of a season, sometimes with partial delivery spread across weeks, so the store ledger and the purchase ledger disagree about what actually arrived. Work in process physically sits on the floor across multiple lines and shifts, and unless the floor is counted on a fixed closing date, ending work in process becomes an estimate. Overhead — generator diesel, gas, factory rent, plant depreciation — lands in accounts on its own schedule, sometimes weeks after the month it belongs to.
None of these are failures of competence. They are the natural result of cost data living in three different places: the store, the floor, and the accounts office. When a costing figure has to be assembled by pulling from all three, it arrives late — and in manufacturing, late is the same as unavailable.
That has a direct commercial cost. Export buyers negotiate rates on a calendar, tender pricing has deadlines, and internal transfer pricing between units needs a defensible number. A cost of goods manufactured figure that is reliable but six weeks old cannot support any of those decisions. The number was never the problem. The cycle time was.
Production Cost, Factory Cost, Manufacturing Cost — the Same Number by Different Names
Depending on who is speaking, you will hear this figure called production cost, factory cost, or manufacturing cost. In most factory conversations in Bangladesh they are being used loosely to mean the same thing: what it cost to make the goods.
It is worth being precise about one distinction. Total manufacturing cost is the sum of direct materials used, direct labour and overhead — the spend for the period, before WIP adjustment. Cost of goods manufactured applies the beginning and ending WIP adjustment to that figure, so it reflects only what was actually completed.
When a factory head says “our production cost went up”, they usually mean total manufacturing cost. When a finance head reports cost of goods manufactured, they mean the completed output. The two are related but not interchangeable, and mixing them in a pricing meeting is how margins get misjudged.
Tracking Cost of Goods Manufactured Without Rebuilding Excel Every Month
The formula is not the hard part. Access is. Every input to COGM already exists in your business on the day it happens — materials are issued at the store, labour is recorded at the line, overhead is posted in accounts, WIP is physically on the floor. The number is late only because those records live in separate systems and get reconciled by hand at month-end.
Closing that gap means connecting the flow: production and work-in-process tracking on the floor, inventory and warehouse records at the store, procurement for purchase timing, and accounts and finance for overhead posting — all feeding one costing view rather than three files that have to be merged.
That is what Managerium ERP is built to do for manufacturing operations. Its Production module records what is being made and where it sits in the process, Inventory & Warehouse tracks material issue and consumption at the store against what was actually purchased, Procurement keeps buying aligned to production requirement, and Accounts & Finance holds the overhead and labour postings in the same system. The result is not a different formula — it is the same cost of goods manufactured calculation, available while the quotation is still open instead of after it has been signed.
For units where the production line feeds a retail counter — an in-house brand selling through its own outlets — the same costing logic continues into Managerium Retail ERP, where counter sales, stock and purchase sit in one operating flow rather than being reconciled afterwards.
If your constraint is not costing but the production schedule that drives it, production planning in garment factories covers how to hold the plan the costing figure is measured against.
To see how the costing, production and inventory views connect in practice, you can schedule a walkthrough with the iBOS team.
Frequently Asked Questions About Cost of Goods Manufactured
What does COGM stand for?
COGM stands for cost of goods manufactured — the total cost of goods your factory completed during a period, including direct materials used, direct labour and manufacturing overhead, adjusted for opening and closing work in process. It is a production figure, not a sales figure, and it feeds directly into cost of goods sold and gross profit.
Is cost of goods manufactured the same as cost of goods sold?
No. Cost of goods manufactured measures what your factory finished making in the period. Cost of goods sold measures the manufacturing cost of only the units actually sold. The difference sits in finished goods inventory — units produced but not yet dispatched are in COGM, while units sold from earlier production are in COGS. COGM is an input to COGS.
Does cost of goods manufactured include depreciation?
Yes, when the depreciation relates to production assets. Depreciation on plant, machinery and factory equipment is a manufacturing overhead cost and forms part of total manufacturing cost. Depreciation on office equipment, vehicles or administrative assets is not a production cost and does not enter the COGM calculation.
Is cost of goods manufactured a debit or credit?
Cost of goods manufactured is a calculation, not a ledger account, so it is neither. It is used to move value out of work in process and into finished goods — work in process is credited and finished goods is debited for the COGM amount. Any remaining WIP balance stays on the balance sheet as an asset.