Glossary
What is cost of goods sold (COGS)?
Cost of goods sold (COGS) is the direct cost of the inventory a business sold during a period, calculated from beginning inventory plus purchases minus ending inventory.
Definition
Formula
COGS = Beginning Inventory + Purchases - Ending Inventory
Example
A parts distributor starts the quarter with $200,000 of inventory, purchases $350,000, and ends with $180,000. COGS = 200,000 + 350,000 - 180,000 = $370,000 against $520,000 of revenue, a 28.8% gross margin.
By Cameron Priest · Co-founder, Order3
Cameron Priest builds inventory and order management software for people who run physical stock.
Updated 2026-06-16
Related terms
Where this lives in Order3