Understanding Cost of Goods Sold
Cost of goods sold (COGS) is the total expenditure required to produce goods that a company actually sells during a specific accounting period. Unlike operating expenses—which cover administration, marketing, and distribution—COGS captures only costs directly linked to manufacturing.
Three main components make up COGS:
- Raw materials: Unprocessed inputs transformed into finished products, such as steel in automotive manufacturing or fabric in textile production.
- Direct labour: Wages, salaries, and benefits paid to factory workers and production staff whose efforts are traceable to specific goods.
- Manufacturing overhead: Indirect production costs including equipment depreciation, factory utilities, maintenance, and quality control—items essential to manufacturing but not easily assigned to individual units.
COGS excludes sales commissions, shipping costs, and administrative salaries because these occur after production or support the overall business rather than specific products.
The COGS Formula
The standard COGS calculation accounts for inventory movement throughout an accounting period. Beginning inventory represents goods available at the start, purchases add newly acquired stock, and ending inventory reflects unsold units remaining on hand.
COGS = Beginning Inventory + Purchases − Ending Inventory
Beginning Inventory— The cost value of goods in stock at the start of the accounting periodPurchases— The total cost of raw materials and inventory acquired during the periodEnding Inventory— The cost value of unsold goods remaining in stock at the period's end
Step-by-Step Calculation Example
Consider a furniture manufacturer closing its quarterly review. Here's how COGS flows through the formula:
- Beginning inventory: $45,000 (desks, chairs, and materials on hand January 1)
- Purchases: $120,000 (wood, hardware, and labour costs added during Q1)
- Ending inventory: $38,000 (unsold units valued at cost on March 31)
Applying the formula: COGS = $45,000 + $120,000 − $38,000 = $127,000
This $127,000 represents the direct cost of furniture sold during the quarter. The difference between revenue and COGS yields gross profit, which funds operating expenses and profit margins.
Why COGS Matters for Business Decision-Making
Profitability assessment: COGS directly influences gross profit margin—the percentage of revenue remaining after production costs. A lower COGS ratio indicates efficient manufacturing and stronger financial health. Comparing COGS across periods reveals whether production efficiency is improving or deteriorating.
Pricing strategy: Understanding true production costs prevents underselling. If COGS is $50 per unit, pricing at $55 destroys profitability. Knowing COGS allows you to set margins that cover operating expenses and generate sustainable returns.
Inventory management: Monitoring ending inventory signals whether stock levels are optimal. Excess inventory ties up capital and risks obsolescence; insufficient inventory sacrifices sales opportunities. COGS calculations help identify when restocking or clearance is needed.
Tax implications: COGS is deductible as a business expense, directly reducing taxable income. Accurate tracking ensures you claim every legitimate production cost and avoid underreporting.
Common Pitfalls and Best Practices
Avoid these frequent mistakes when calculating and managing COGS.
- Misclassifying operating expenses as COGS — Delivery fees to customers, sales commissions, and office rent are operating expenses, not production costs. Including them inflates COGS and distorts your true manufacturing efficiency. Separate these carefully in your accounting system.
- Ignoring inventory valuation methods — FIFO (first-in, first-out) and weighted-average cost produce different COGS figures during inflation. Choose a method consistent with your business model and apply it uniformly. Changing methods mid-year creates confusion and complicates year-on-year comparison.
- Forgetting indirect manufacturing overhead — Factory electricity, equipment maintenance, and quality inspections are part of COGS even though they're not labour or materials. Underestimating overhead artificially lowers COGS and masks true production costs.
- Allowing inventory shrinkage to slip through — Theft, damage, and spoilage reduce inventory without generating sales. If not documented, ending inventory overstates actual goods on hand, understating COGS and distorting profitability.