What is Cost of Goods Sold (COGS)?
Cost of Goods Sold (COGS) is the direct cost of producing or acquiring the products a company sells, including materials, manufacturing, and inbound shipping. It excludes indirect costs like marketing, rent, or administrative salaries, which are accounted for separately.
TL;DR
Cost of Goods Sold is the direct cost of the products a business actually sold, including materials and inbound shipping, and it is the number subtracted from revenue to get gross profit.
Formula
COGS = Beginning Inventory + Purchases - Ending Inventory
Why It Matters
Cost of Goods Sold matters because it is the foundation every other profitability metric is built on top of. Gross margin, contribution margin, and net profit margin all start from revenue minus COGS, so an inaccurate COGS figure quietly distorts every downstream number a business relies on to judge whether it is actually making money on what it sells. It also directly affects pricing decisions, since a business that underestimates its true cost per unit risks setting prices that look profitable on paper but erode margin in reality. Because COGS ties revenue to real inventory movement rather than just cash spent, it is also one of the numbers accountants and lenders scrutinize most closely when evaluating a company's financial health.
Example
A retailer starts the quarter with $50,000 in inventory, purchases $200,000 more stock during the quarter, and ends the quarter with $70,000 worth of inventory remaining. COGS is $50,000 plus $200,000, minus $70,000, which equals $180,000. Subtracting that $180,000 from quarterly revenue gives gross profit, the starting point for calculating gross margin, which is why COGS is one of the first numbers any retail or ecommerce business needs to get right before any other profitability metric can be trusted.
Frequently Asked Questions
Related Terms