Cost of Goods Sold (COGS)

If you sell a pastry for $1, COGS is the direct cost—batter, filling, and baking heat—needed to make the pastry itself.

Definition The direct, core cost incurred to manufacture goods or deliver services sold to customers. It includes only expenses tied directly to producing finished products, such as raw materials and factory labor.

The Secret of Cost: A Pastry Stand Example

Imagine running a street food stall selling fish-shaped pastries for $1.00 each. Baking a single pastry requires flour batter, sweet red bean filling, and the fuel used to heat the grill. If making one pastry directly costs $0.40, that $0.40 is its direct cost—known as Cost of Goods Sold (COGS).

There is a crucial accounting rule here: even if you bought enough ingredients today to make 100 pastries, if you only sell 60 by closing time, you only count the ingredient costs of those 60 pastries as COGS. Only the share for products actually sold is matched against that day's revenue and recognized as an expense.

What happens to the leftover ingredients for the unsold 40 pastries? They aren't counted as an expense yet. Instead, they sit neatly on the balance sheet as valuable inventory assets in storage, ready to be sold tomorrow.

Bungeoppang Price & COGS Breakdown 1 Fish Bread Price ₩1,000 COGS ₩400 Batter · Beans · Gas Margin ₩600 Shop Profit

Don't Confuse COGS with Operating Expenses

Running a business requires spending money on far more than just raw materials. You might print promotional flyers, pay delivery app fees, and cover monthly store rent or cashier wages. Do all these expenses count toward the cost of making the product?

The answer is no. These expenses do not go directly into crafting the product itself; instead, they promote sales and keep the business running. Accounting labels them Selling, General, and Administrative expenses (SG&A), drawing a strict line between the cost of the item and the cost of keeping the company alive.

When you earn $1.00 and subtract $0.40 in COGS, you are left with $0.60 in gross profit. Only after you deduct another $0.30 in SG&A expenses (such as rent) do you find the pure operating profit of $0.30 that the owner truly takes home.

Waterfall chart: Revenue minus COGS and SG&A yields Operating Income Sales ₩1,000 COGS -₩400 Gross Prof ₩600 SG&A -₩300 Op. Inc. ₩300

A Closer Look at the Formula

In corporate financial statements, COGS is calculated with a precise formula: Beginning Inventory + Purchases/Production - Ending Inventory. It sounds technical, but the logic is straightforward once you picture the warehouse.

You start with whatever stock was sitting in the warehouse at the beginning of the month, add everything newly produced or purchased during the month, and then subtract the stock left unsold at month-end. What remains is the exact cost of the inventory actually sold that month.

If products manufactured by a factory sit unsold in a warehouse, they remain assets rather than turning into COGS. Consequently, if a company ramps up factory production to pile up inventory without actually selling it, unit costs can appear artificially lower, temporarily creating the illusion of higher profits.

🤔 Common misconceptions

✕ Myth

All the raw materials bought this month count as this month's Cost of Goods Sold.

✓ Fact

Unsold materials stored in the warehouse are recorded as 'inventory assets,' not expenses. Only the cost of materials tied to goods actually sold becomes COGS.

🧺 Where you meet it

1 The cost of coffee beans, a paper cup, and a straw used to serve an iced Americano at a café.
2 The cost of semiconductor chips and display panels assembled into a single smartphone by an electronics maker.
💡 In one sentence

Cost of Goods Sold (COGS) is the direct cost required to produce only the items that were actually sold.