01 / 20

Cost of Goods
Manufactured & Sold

Learn how to trace manufacturing costs from raw materials through production to the income statement: the essential skill for managerial accounting.

Managerial Accounting

Why Manufacturing Costs Matter

Every product a company manufactures carries a cost. Understanding that cost is critical because it directly determines gross profit on the income statement and influences pricing, budgeting, and performance evaluation.

The Three Manufacturing Cost Elements

Direct Materials
Raw materials that become a physical part of the finished product and can be traced to it (e.g., steel in a car).
Direct Labor
Wages of workers who physically transform materials into finished goods (e.g., assembly-line workers).
Manufacturing Overhead
All other factory costs: indirect materials, indirect labor, utilities, depreciation on factory equipment.

Three Inventory Accounts

Raw Materials Inventory Work in Process Inventory Finished Goods Inventory PURCHASED IN PRODUCTION COMPLETED Materials Used COGM

Costs flow from Raw Materials into Work in Process (WIP), where labor and overhead are added. Completed units move to Finished Goods, and when sold they become Cost of Goods Sold on the income statement.

The COGM Formula

1
Total Manufacturing Costs: sum of direct materials used, direct labor, and manufacturing overhead incurred during the period.
2
Add Beginning WIP: units already partially complete at the start carry costs forward.
3
Subtract Ending WIP: units still in production at period-end are not yet "manufactured."

The COGS Formula

COGS represents the cost of units that were actually delivered to customers. It appears on the income statement and is subtracted from Sales Revenue to compute Gross Profit.

The Complete Cost Flow

Direct Materials Direct Labor Mfg Overhead Total Mfg Costs
\(\text{DM} + \text{DL} + \text{MOH}\)
+ Beg WIP - End WIP COGM Goods completed + Beg FG - End FG COGS Goods sold Income Statement

COGM vs. COGS

COGM COGS
Measures Cost to complete production Cost of units sold
Inventory Adjusted Work in Process (WIP) Finished Goods (FG)
Appears On Schedule (internal) Income Statement
Formula Focus \(\text{TMC} + \text{Beg WIP} - \text{End WIP}\) \(\text{Beg FG} + \text{COGM} - \text{End FG}\)

Computing Direct Materials Used

Before you can calculate Total Manufacturing Costs, you need to figure out how much raw material was actually sent into production (not just purchased).

1
Start with Beginning Raw Materials on hand at the start of the period.
2
Add Purchases of raw materials during the period.
3
Subtract Ending Raw Materials still in the warehouse.

Step-by-Step Approach

1
Compute DM Used: \(\text{Beg RM} + \text{Purchases} - \text{End RM}\)
2
Compute Total Mfg Costs: \(\text{DM Used} + \text{DL} + \text{MOH}\)
3
Compute COGM: \(\text{TMC} + \text{Beg WIP} - \text{End WIP}\)
4
Compute COGS: \(\text{Beg FG} + \text{COGM} - \text{End FG}\)
5
Compute Gross Profit: \(\text{Sales} - \text{COGS}\)

Example 1: Finding COGM

DM Used
\(\$40{,}000\)
Direct Labor
\(\$25{,}000\)
MOH
\(\$15{,}000\)

Example 2: Finding COGS

Using COGM = \(\$82{,}000\) from Example 1. Additional data: Beg. Finished Goods = \(\$12{,}000\), End. Finished Goods = \(\$7{,}000\).

Example 3: Full Calculation

Beg. RM
\(\$6{,}000\)
Purchases
\(\$30{,}000\)
End. RM
\(\$4{,}000\)
1
DM Used = \(\$6{,}000 + \$30{,}000 - \$4{,}000 = \$32{,}000\)
2
TMC = \(\$32{,}000 + \$20{,}000 + \$18{,}000 = \$70{,}000\)
3
COGM = \(\$70{,}000 + \$9{,}000 - \$5{,}000 = \$74{,}000\)
4
COGS = \(\$11{,}000 + \$74{,}000 - \$6{,}000 =\) \(\$79{,}000\)

Common Mistakes to Avoid

✕ Mixing Up WIP and FG
COGM adjusts for WIP inventory. COGS adjusts for Finished Goods. Using the wrong inventory account gives the wrong answer.
✕ Forgetting DM Used
Students often use RM purchases instead of DM Used. Remember: you must adjust purchases for beginning and ending raw materials.
✕ Adding Instead of Subtracting
Ending inventory is always subtracted. Beginning inventory is always added. Reversing these flips your answer.

Summary of Formulas

Calculation Formula
DM Used \(\text{Beg RM} + \text{Purchases} - \text{End RM}\)
Total Mfg Costs \(\text{DM Used} + \text{DL} + \text{MOH}\)
COGM \(\text{TMC} + \text{Beg WIP} - \text{End WIP}\)
COGS \(\text{Beg FG} + \text{COGM} - \text{End FG}\)
Gross Profit \(\text{Sales} - \text{COGS}\)

Question 1 of 5

A company has DM Used = \(\$50{,}000\), DL = \(\$30{,}000\), MOH = \(\$20{,}000\), Beg. WIP = \(\$8{,}000\), and End. WIP = \(\$12{,}000\). What is COGM?

Question 2 of 5

Beg. RM = \(\$5{,}000\), RM Purchases = \(\$22{,}000\), End. RM = \(\$3{,}000\). What is Direct Materials Used?

Question 3 of 5

COGM = \(\$74{,}000\), Beg. FG = \(\$15{,}000\), End. FG = \(\$9{,}000\). What is COGS?

Question 4 of 5

Which inventory account does the COGM formula adjust for?

Question 5 of 5

A firm's Total Manufacturing Costs are \(\$60{,}000\). Beg. WIP is \(\$7{,}000\) and End. WIP is \(\$7{,}000\). COGM equals: