Cost of Goods Sold Calculator
Calculate COGS from beginning inventory, purchases, ending inventory, and optional freight-in. Optional gross profit if revenue provided.
Use the Cost of Goods Sold Calculator
Enter beginning inventory, purchases, ending inventory. Optionally add freight-in and revenue for gross profit.
Inventory & purchases
Beginning inventory, purchases, ending inventory. Optional: freight-in.
Results
COGS = Beginning inventory + Purchases + Freight-in − Ending inventory. Only direct costs of goods sold; exclude operating expenses.
What this metric means
COGS is the direct cost of the products or services you sold. Revenue minus COGS is gross profit; the rest of the P&L is operating expenses and below.
How to interpret
Use COGS and gross margin to see product profitability. Compare with prior periods and benchmarks to spot trends and inefficiencies.
FAQs
What belongs in COGS?▾
Why ending inventory?▾
What is freight-in?▾
Related tools
Browse all calculators on NetGrow.