📦 Cost of Goods Sold (COGS) Calculator
Calculate the cost of goods sold (COGS) for your business over an accounting period.
$
$
$
What is cost of goods sold?
Cost of Goods Sold (COGS) represents the direct costs of producing or purchasing the goods a business sold during a period. It’s a key figure for calculating gross profit on an income statement.
How this calculator works
Enter your beginning inventory value, inventory purchased during the period, and ending inventory value. COGS is calculated using the standard formula: Beginning Inventory + Purchases – Ending Inventory.
This calculation assumes inventory values are recorded consistently (e.g. at cost). For general accounting and planning purposes — always reconcile with your actual books or an accountant for official financial statements.
Last reviewed August 2026