DICTIONARY > ACCOUNTING & VALUATION > COST OF GOODS SOLD (COGS)
Accounting & Valuation

What Is Cost of Goods Sold (COGS)?

The Quick Answer

Cost of goods sold (COGS) is the direct cost of making the products a company actually sells - the raw materials, the factory labor, the parts. It's the first expense subtracted from revenue on the income statement, so it reveals how efficiently a company turns its products into profit.

5 min read Updated: June 2026 Difficulty:
Author: Kiril Koparanov

Here's how it works

Running a business isn't just about how much money comes in - it's about how much it costs to make the thing you're selling. On a company's income statement, the very first hurdle its revenue has to clear is COGS: the direct cost of the materials, parts, and factory labor that go into each product. Master it and you can tell an efficient profit machine from a bloated, cash-burning operation.

The Analogy

The Bakery Ingredients
Imagine you own a local bakery. To bake a single loaf of artisanal sourdough bread, you have to buy flour, water, yeast, and salt. You also have to pay a baker to mix the dough, and pay for the electricity to run the commercial oven.

All of those expenses are Cost of Goods Sold (COGS). They are directly tied to that loaf of bread. If you don't bake any bread tomorrow, your COGS drops to exactly zero. However, your bakery's monthly storefront rent and your advertising flyers are not part of COGS - you have to pay those bills regardless of whether you sell a single loaf of bread or not.

What Expenses Are Included in COGS?

To quickly separate a company's direct production expenses from its general operating costs, accountants divide corporate bills into two distinct categories:

Expenses Included in COGS (Direct Costs)Expenses Excluded from COGS (Indirect Costs)
Raw Materials: Plastic, steel, microchips, or fabric.Marketing & Advertising: Social media ads and billboards.
Direct Labor: Wages for factory workers or assembly lines.Corporate Overhead: Rent and utilities for office buildings.
Factory Operations: Electricity used to run manufacturing machinery.Executive Salaries: Paychecks for the CEO, CFO, and HR teams.
Shipping & Freight: The cost to bring raw parts into the factory.Distribution Logistics: Shipping final products to a retail store.

What this means for you as an investor is that COGS handles the creation of the asset, while Operating Expenses (OpEx) handle the management and marketing of the overall business.

How Do You Calculate Cost of Goods Sold?

To calculate the Cost of Goods Sold, you don't just add up random receipts throughout the year. Instead, corporate accountants link COGS directly to how the value of their inventory shifts between the beginning and the end of a financial period.

The standard accounting formula looks like this:

$$\text{COGS} = \text{Beginning Inventory} + \text{Purchases During the Period} - \text{Ending Inventory}$$

Imagine a retail clothing company starts the year with $50,000 worth of jeans sitting in its warehouses (Beginning Inventory). Over the next twelve months, they spend $100,000 buying more jeans from their suppliers (Purchases). By the final day of the year, they count the remaining stock and find they have $30,000 worth of jeans left over (Ending Inventory).

$$\$50,000 + \$100,000 - \$30,000 = \$120,000$$

Their official Cost of Goods Sold for that year is $120,000. This is the exact value of the inventory that actually left the warehouse and was delivered to customers.

Why Does COGS Matter to Investors?

COGS matters to investors because it is the secret ingredient used to calculate a company's Gross Profit and its Gross Margin. By subtracting COGS from total revenue, you find out how much raw markup a company commands in the open market.

$$\text{Gross Profit} = \text{Revenue} - \text{COGS}$$

If a company has a low COGS relative to its sales, it possesses a massive competitive advantage. It means they can keep their retail prices low to crush competitors, or keep their prices high to generate massive cash piles that can be used to fund strategic acquisitions or pay out a dividend.

Red Flags & Pitfalls

The Inventory Bloating Trap
Because the COGS formula subtracts Ending Inventory, dishonest or desperate management teams can manipulate this number to mask a dying business model. If a company overproduces goods and lets millions of dollars worth of unsold products sit indefinitely in a warehouse, their Ending Inventory number balloons.

Mathematically, a higher Ending Inventory forces the reported COGS to look smaller. This tricks the public by making the company's paper profits look artificially high on their current brokerage app, even though the business is actually drowning in unsold, dusty merchandise. Always verify that inventory growth matches real sales growth.

A Real-World Example of a COGS Strategy Shift

Real-World Example

The Netflix Streaming Pivot
To understand how a fundamental shift in COGS can completely rewrite a company's financial destiny, look at the evolution of Netflix. In its early days, Netflix operated as a physical DVD-by-mail rental service. Their Cost of Goods Sold was heavily anchored to physical logistics: they had to buy millions of plastic discs, pay for massive distribution warehouses, and handle constant postal shipping fees.

As broadband internet scaled, management aggressively pivoted toward digital streaming. By shifting from physical distribution to digital infrastructure, Netflix structurally transformed its business model. While buying and producing digital content requires massive upfront capital, the digital COGS to stream a movie to an additional subscriber is virtually zero.¹ This massive drop in structural production costs allowed Netflix to scale to hundreds of millions of global users while rapidly expanding its profit margins, turning a localized logistics business into a global digital empire.

The TL;DR for Cost of Goods Sold (COGS)

At a Glance

  • The Core Concept: Cost of Goods Sold (COGS) tracks the direct costs required to create, manufacture, or purchase the specific products a company sells.
  • The Inclusions: It includes direct raw materials, factory assembly labor, and manufacturing utilities, but completely excludes indirect costs like corporate marketing and executive salaries.
  • The Core Formula: It is calculated by taking the starting inventory, adding new production purchases, and subtracting the unsold inventory left in the warehouse at the end of the period.
  • The Investor Value: Tracking COGS allows investors to isolate a company's raw manufacturing efficiency, exposing whether its core products generate strong profit margins or suffer from escalating input costs.
Share Jargon
Link Copied!
Important Legal Notice: The content on Semino is for educational and informational purposes only and does not constitute professional financial, investment, legal, or tax advice. Investing involves risk, including the loss of principal. Please read our Full Disclaimer, Privacy Policy and Terms of Service for more information.