Sub topic 4
Cost of Goods Sold: The Direct Cost of What You Sold
This chapter assumes you know what revenue is and can do basic arithmetic with percentages. It covers cost of goods sold (COGS), the first expense line below revenue on an income statement.
What COGS includes
Cost of goods sold is the direct cost of producing the goods or services a company sold during the period. "Direct" means the cost can be traced to specific products. Typical items are:
- Raw materials and purchased merchandise
- Direct labor, meaning wages of workers who make the product
- Factory costs tied to production, such as freight-in and production-line supplies
Service companies often call the same line "cost of revenue" or "cost of services." It then includes costs such as the wages of billable staff.
COGS does not include selling, administrative, or research costs. Those are operating expenses, covered in a later chapter.
Sold, not bought
COGS counts only the goods that were sold in the period. Goods still on the shelf stay on the balance sheet as inventory. They become COGS only when they are sold. This follows the accrual basis: the cost is recorded in the same period as the revenue it helped earn.
The basic formula is:
COGS = beginning inventory + purchases during the period − ending inventory
beginning_inventory = 120_000
purchases = 640_000
ending_inventory = 160_000
cogs = beginning_inventory + purchases - ending_inventory
print(f"COGS: {cogs:,.0f}")This prints COGS: 600,000. The company had 760,000 of goods available to sell. It still held 160,000 at the end of the period, so 600,000 was sold.
Why the inventory method matters
When purchase prices change during the year, the company must choose which costs count as sold. Common methods are:
| Method | Assumption | Effect when prices rise |
|---|---|---|
| FIFO (first in, first out) | Oldest costs are sold first | Lower COGS, higher profit |
| LIFO (last in, first out) | Newest costs are sold first | Higher COGS, lower profit |
| Weighted average | Costs are averaged | Between the two |
The physical goods are the same under each method. Only the reported profit changes. Check the company's notes to find which method it uses before comparing it with a competitor. LIFO is allowed under US GAAP but not under IFRS.
From COGS to gross profit
Subtracting COGS from revenue gives gross profit. With revenue of 1,000,000 and COGS of 600,000, gross profit is 400,000, or 40% of revenue. A rising COGS percentage means direct costs are growing faster than sales. Possible causes are higher input prices or discounting.
Exercise
A retailer starts the year with 50,000 of inventory, buys 300,000 more during the year, and ends the year with 70,000 of inventory. Revenue is 500,000. What are COGS and gross profit?
Show answer
COGS = 50,000 + 300,000 − 70,000 = 280,000. Gross profit = 500,000 − 280,000 = 220,000, which is 44% of revenue.