MANAGERIAL ACCOUNTING • COSTING SYSTEMS

Cost of Goods Manufactured & Sold — Compute cost of goods manufactured and cost of goods sold (intro)

Trace manufacturing costs from the factory floor through the income statement.

Historical Context & Motivation

Understanding how much it truly costs to manufacture a product has been a central challenge for business managers since the dawn of industrialization. Before the factory system, most goods were produced by skilled artisans who could easily estimate the cost of their materials and labor. As production shifted to large-scale manufacturing, the interplay among raw materials, labor, and overhead costs grew far more complex. Managers needed a systematic framework to track costs as they flowed through the production process—from raw materials sitting in a warehouse to finished goods ready for sale. The concepts of cost of goods manufactured (COGM) and cost of goods sold (COGS) emerged to answer a deceptively simple question: what did it cost to make and sell our products this period?

1770s–1830s
Industrial Revolution Begins
Factories replaced cottage industries, creating a need to allocate shared costs (rent, machinery, supervision) across large product runs for the first time.
1880s–1910s
Rise of Cost Accounting
Engineers and accountants such as Alexander Hamilton Church developed systematic methods for assigning overhead costs to products, laying the groundwork for modern costing systems.
1920s
Standard Costing Frameworks
General Motors and DuPont adopted standard cost systems, formalizing the three-element cost model—direct materials, direct labor, and manufacturing overhead—that underpins COGM calculations today.
1950s–1970s
Integration with Financial Reporting
GAAP and IFRS standards mandated that manufacturers report COGS on the income statement using absorption costing, tying internal cost data to external financial disclosures.
2000s–Present
ERP & Real-Time Costing
Enterprise resource planning systems like SAP and Oracle automate the COGM-to-COGS pipeline, giving managers real-time visibility into cost flows across global supply chains.

The fundamental question these developments sought to answer remains unchanged: how do we measure the total cost of converting raw inputs into finished output during a given period, and how do we then determine the portion of that cost attributable to the goods actually sold to customers? Mastering these two computations is the gateway to virtually every topic in managerial accounting—from pricing decisions and budgeting to variance analysis and profitability reporting.

Core Principles & Definitions

Before diving into formulas, it is essential to understand the building blocks of manufacturing cost flow. A manufacturing firm maintains three distinct inventory accounts—each representing a different stage of production—and three categories of production cost that feed into those accounts. These concepts form the foundation upon which COGM and COGS are built.

1

Direct Materials (DM)

Raw materials that become an integral, physically traceable part of the finished product. Examples include steel in an automobile or flour in a bakery. DM costs are directly traceable to each unit produced.
2

Direct Labor (DL)

Wages and benefits paid to workers who physically convert raw materials into finished goods—assembly line workers, machine operators, welders. DL can be directly traced to specific units or batches.
3

Manufacturing Overhead (MOH)

All other factory costs that cannot be directly traced to specific products: factory rent, depreciation on equipment, utilities, indirect materials, and indirect labor. MOH must be allocated to products using a predetermined rate.
4

Three Inventory Accounts

Manufacturers carry Raw Materials Inventory (unused inputs), Work-in-Process Inventory (partially completed goods), and Finished Goods Inventory (completed goods awaiting sale).
5

Period vs. Product Costs

Only manufacturing costs (DM + DL + MOH) are product costs that attach to inventory. Selling and administrative expenses are period costs expensed immediately on the income statement.
KEY TAKEAWAY
Think of a manufacturing firm like a kitchen preparing a catering order. Raw Materials Inventory is the pantry stocked with ingredients. Work-in-Process is the food currently on the stove—partially cooked. Finished Goods Inventory is the plated dishes waiting in the serving window. COGM tells you the total cost of every dish that left the kitchen this shift; COGS tells you the cost of every dish that was actually delivered to paying customers.

Visual Explanation — The Manufacturing Cost Flow

The diagram below illustrates how costs flow through the three inventory accounts of a manufacturing firm. Costs enter on the left as raw material purchases, labor, and overhead. They accumulate in Work-in-Process as production occurs, transfer to Finished Goods when production is complete, and finally appear as Cost of Goods Sold when products are shipped to customers. Understanding this pipeline is the key to computing both COGM and COGS.

The cost flow pipeline shows how direct materials, direct labor, and manufacturing overhead enter Work-in-Process. Once goods are completed, their costs transfer to Finished Goods as COGM. When those finished goods are sold, their costs become COGS on the income statement.

Notice that every arrow in the diagram represents a cost transfer that adjusts two inventory accounts simultaneously. When raw materials are requisitioned for production, Raw Materials Inventory decreases and Work-in-Process Inventory increases by the same amount. When production is complete, WIP decreases and Finished Goods increases by the amount of COGM. Finally, when products are sold, Finished Goods decreases and COGS—an expense—appears on the income statement. This chain of transfers is what accountants refer to as the cost flow assumption in a manufacturing environment, and it mirrors the physical flow of goods through the factory.

Mathematical Framework

The computations for COGM and COGS follow a logical sequence. You must first determine how much raw material was consumed, then compute total manufacturing costs added during the period, and finally adjust for beginning and ending work-in-process inventories. Once COGM is known, COGS is obtained by adjusting for beginning and ending finished goods inventories.

DIRECT MATERIALS USED
DM Used = Beg RM Inventory + Purchases − End RM Inventory
Where Beg RM Inventory is the dollar value of raw materials on hand at the start of the period, Purchases represents all raw material acquisitions during the period, and End RM Inventory is the raw materials remaining unused at period end.
TOTAL MANUFACTURING COSTS
Total Mfg Costs = DM Used + Direct Labor + Manufacturing Overhead Applied
This represents the total cost of all production inputs introduced into the factory during the period. These three elements—direct materials, direct labor, and manufacturing overhead—are sometimes collectively called product costs or inventoriable costs.
COST OF GOODS MANUFACTURED (COGM)
COGM = Beg WIP Inventory + Total Mfg Costs − End WIP Inventory
COGM captures the cost of all goods completed during the period. Adding beginning WIP brings forward costs from prior periods; subtracting ending WIP removes costs of goods still in production.
COST OF GOODS SOLD (COGS)
COGS = Beg FG Inventory + COGM − End FG Inventory
COGS is the cost of goods actually delivered to customers during the period. Beginning finished goods that were carried over from last period may now be sold; ending finished goods that were completed but not yet sold are excluded.
⚠️ Common Pitfall
Students often confuse Total Manufacturing Costs with COGM. Remember: Total Manufacturing Costs measures inputs added this period, while COGM measures the cost of goods finished this period. The WIP inventory adjustment bridges the gap between inputs used and outputs completed.

The Schedule of Cost of Goods Manufactured

In practice, manufacturers prepare a formal supporting schedule called the Schedule of Cost of Goods Manufactured. This internal report organizes the four equations from Section 4 into a single, easy-to-read document that feeds directly into the COGS section of the income statement. Although its exact format varies by company, the standard structure follows a top-down flow: compute DM used, add DL and MOH to get total manufacturing costs, adjust for WIP changes, and arrive at COGM. The schedule below presents a template with placeholder data that mirrors what you will encounter in textbook problems and CPA exam simulations.

This schedule follows the standard format found in most managerial accounting textbooks. The top section computes direct materials used, adds direct labor and manufacturing overhead to yield total manufacturing costs. After WIP adjustments, we arrive at COGM of $430,000, which flows into the COGS calculation yielding COGS of $420,000.

A helpful way to read this schedule is from the bottom up: COGM of $430,000 means the company completed $430,000 worth of products during the year. This figure includes not only the $425,000 of new manufacturing costs incurred this year but also $40,000 of costs carried forward from last year's unfinished goods (beginning WIP), minus $35,000 of costs that remain in unfinished goods at year-end (ending WIP). The net effect of the WIP adjustment is to add $5,000 (= $40,000 − $35,000), reflecting the fact that the company finished slightly more work than it started this period.

Worked Example — Apex Furniture Co.

Apex Furniture Co. manufactures wooden desks. The following data pertain to its operations for the year ended December 31, 20X6. Use these figures to compute (a) direct materials used, (b) total manufacturing costs, (c) cost of goods manufactured, and (d) cost of goods sold.

Apex Furniture Co. — Manufacturing Cost Data for 20X6
ItemAmount
Beginning Raw Materials Inventory$18,000
Purchases of Raw Materials$92,000
Ending Raw Materials Inventory$14,000
Direct Labor$75,000
Manufacturing Overhead Applied$60,000
Beginning Work-in-Process Inventory$22,000
Ending Work-in-Process Inventory$28,000
Beginning Finished Goods Inventory$35,000
Ending Finished Goods Inventory$40,000
Apex Furniture Co. — Full COGM & COGS Computation
1
Step 1 — Compute Direct Materials UsedDM Used = Beg RM Inv + Purchases − End RM Inv = $18,000 + $92,000 − $14,000
DM Used = $96,000
2
Step 2 — Compute Total Manufacturing CostsTotal Mfg Costs = DM Used + Direct Labor + MOH Applied = $96,000 + $75,000 + $60,000
Total Manufacturing Costs = $231,000
3
Step 3 — Compute Cost of Goods ManufacturedCOGM = Beg WIP Inv + Total Mfg Costs − End WIP Inv = $22,000 + $231,000 − $28,000
COGM = $225,000
4
Step 4 — Compute Cost of Goods SoldCOGS = Beg FG Inv + COGM − End FG Inv = $35,000 + $225,000 − $40,000
COGS = $220,000
💡 Interpretation Check
Apex incurred $231,000 in new manufacturing costs during 20X6, but only $225,000 worth of desks were completed (COGM). The $6,000 difference ($28,000 ending WIP − $22,000 beginning WIP) represents a net increase in partially finished desks still on the factory floor. Meanwhile, COGS of $220,000 is $5,000 less than COGM because finished goods inventory grew—Apex completed more desks than it sold this year.

Manufacturing vs. Merchandising vs. Service Firms

Not every business needs a COGM schedule. The COGM computation is unique to manufacturing firms because only manufacturers transform raw inputs into finished products. Understanding how manufacturers differ from merchandisers and service companies sharpens your appreciation of why the COGM framework exists and where it does—and does not—apply.

Key Differences Among Business Types
CharacteristicManufacturerMerchandiserService Firm
Inventory accountsRM, WIP, FG (three)Merchandise Inventory (one)None (or minimal supplies)
COGM schedule needed?YesNoNo
COGS formulaBeg FG + COGM − End FGBeg Merch Inv + Purchases − End Merch InvN/A (expenses recognized as incurred)
Product cost elementsDM + DL + MOHPurchase price + freight-inN/A
ExampleToyota, BoeingWalmart, TargetDeloitte, McKinsey
KEY TAKEAWAY
A merchandiser is like a relay runner who simply passes a baton (finished product) from a supplier to a customer. A manufacturer is the baton factory—it sources raw wood, shapes and paints the baton, and only then hands it off. The COGM schedule captures all the costs of that shaping and painting process. If a company doesn't transform inputs, it doesn't need a COGM schedule.

Connection to Job-Order & Process Costing

The COGM and COGS framework you have learned is a general template. In practice, the method used to track costs through WIP depends on the nature of the production process. Two primary costing systems build upon this foundation: job-order costing and process costing. Understanding the introductory COGM/COGS framework positions you to tackle either system with confidence, as both systems ultimately produce the same two outputs: a COGM figure and a COGS figure.

From Introductory Framework to Advanced Costing Systems
FeatureIntroductory COGM/COGSJob-Order CostingProcess Costing
Cost objectEntire factory for the periodIndividual job or batchDepartment or process
WIP trackingSingle aggregate WIP accountSeparate job cost sheetsDepartmental production reports
Overhead allocationPredetermined rate (single)Predetermined rate per jobDepartmental rate
Typical industriesSimplified textbook modelsConstruction, consulting, filmOil refining, food processing, chemicals
OutputAggregate COGM & COGSPer-job cost → summed to COGMEquivalent-unit cost → COGM

As you advance in managerial accounting, you will also encounter activity-based costing (ABC), which refines overhead allocation by identifying specific activities (e.g., machine setups, quality inspections) that drive costs. Additionally, variable costing presents an alternative income statement format that excludes fixed manufacturing overhead from product costs, creating a different COGS figure used for internal decision-making. In every case, however, the fundamental logic—costs flow from inputs, through production, to goods sold—remains anchored in the COGM and COGS framework introduced here.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why Total Manufacturing Costs and Cost of Goods Manufactured are generally not equal. Under what specific circumstance would the two amounts be identical?
PROBLEM 2BASIC CALCULATION
Cedar Manufacturing reports the following for March: Beginning RM Inventory $12,000; Purchases $58,000; Ending RM Inventory $10,000; Direct Labor $45,000; MOH Applied $30,000; Beginning WIP $15,000; Ending WIP $18,000. Compute COGM.
PROBLEM 3INTERMEDIATE
Using the Cedar Manufacturing data from Problem 2, suppose Beginning Finished Goods Inventory is $20,000 and Ending Finished Goods Inventory is $25,000. Compute COGS. If Cedar's revenue for March was $200,000, what is its gross profit and gross profit margin (as a percentage)?
PROBLEM 4APPLIED
Pinnacle Electronics has a COGS target of $500,000 for Q4. Management forecasts: Beg RM Inv $20,000; Purchases $210,000; End RM Inv $15,000; DL $160,000; MOH Applied $120,000; Beg WIP $30,000; End WIP $25,000; Beg FG Inv $45,000. What is the maximum Ending Finished Goods Inventory Pinnacle can carry while still meeting its COGS target?
PROBLEM 5CRITICAL THINKING
A division manager at a manufacturing firm accelerates production in December, intentionally building up Ending Finished Goods Inventory. Revenue and all cost inputs remain constant. Explain how this strategy affects reported COGS and operating income under absorption costing, and discuss the ethical implications of using inventory build-up to manage earnings.

Lesson Summary

Manufacturing firms track costs through three sequential inventory accounts: Raw Materials, Work-in-Process, and Finished Goods. The three elements of product cost—direct materials, direct labor, and manufacturing overhead—combine to form Total Manufacturing Costs. After adjusting for the change in Work-in-Process inventory, we obtain Cost of Goods Manufactured (COGM)—the cost of all goods completed during the period.

COGM then flows into the Cost of Goods Sold (COGS) computation, where it is adjusted for the change in Finished Goods Inventory. COGS appears on the income statement and is subtracted from revenue to determine gross profit. This cost flow framework—from raw inputs through production to the income statement—is the foundation for more advanced costing systems such as job-order costing, process costing, and activity-based costing. Mastering these introductory computations ensures you can trace any manufacturing cost from the factory floor to the financial statements.

Varsity Tutors • Managerial Accounting • Cost of Goods Manufactured & Sold