Cost of Goods Sold Calculator
Calculate your COGS using the inventory method. See gross profit, margins, and inventory turnover to understand your true cost structure.
COGS Analysis
Enter your inventory data for an instant COGS calculation
Input your beginning inventory, purchases, and ending inventory to calculate Cost of Goods Sold. Add revenue to see gross profit and margin analysis.
Inventory & Cost Details
Value of inventory at the start of the period
Total inventory purchased or manufactured during the period
Value of inventory remaining at end of the period
Enter revenue to see gross profit and COGS as % of revenue
* COGS = Beginning Inventory + Purchases - Ending Inventory
Enter inventory details to calculate COGS
Understanding COGS
How Cost of Goods Sold works
Track Inventory
Start with the value of inventory on hand at the beginning of the accounting period.
Add Purchases
Include all inventory purchased or manufactured during the period, including freight and direct labor.
Subtract Ending Inventory
Count and value remaining inventory at period end. The difference is your Cost of Goods Sold.
Analyze Margins
Compare COGS to revenue to determine gross profit and identify opportunities to improve profitability.