Report

Help us improve this tool

Cost of Goods Sold Calculator

Calculate Cost of Goods Sold (COGS), gross profit, gross profit margin, and inventory turnover.

O M T

Understanding Cost of Goods Sold (COGS)

Cost of Goods Sold (COGS) represents the direct costs attributable to the production or acquisition of goods sold by a business during a specific accounting period. COGS includes expenses such as raw materials, direct labor, and manufacturing overhead, but excludes indirect operational expenses such as distribution costs, sales team commissions, and administrative overhead.

Basic COGS Formula

The standard accounting formula for Cost of Goods Sold calculates the net change between starting inventory, additions, and ending inventory:

$$\text{COGS} = \text{Beginning Inventory} + \text{Purchases \& Direct Costs} - \text{Ending Inventory}$$

Extended COGS Breakdown for Manufacturers

For manufacturing companies, direct costs are expanded to include direct labor and factory overhead:

$$\text{Total Goods Available for Sale} = \text{Beginning Inv.} + \text{Materials} + \text{Direct Labor} + \text{Overhead}$$

$$\text{COGS} = \text{Total Goods Available for Sale} - \text{Ending Inventory}$$

Gross Profit & Inventory Turnover Metrics

Once COGS is determined, it feeds into key profitability and efficiency metrics:

  • Gross Profit: $\text{Revenue} - \text{COGS}$
  • Gross Profit Margin: $\left( \frac{\text{Gross Profit}}{\text{Revenue}} \right) \times 100\%$
  • Inventory Turnover Ratio: $\frac{\text{COGS}}{\text{Average Inventory}}$ where $\text{Average Inventory} = \frac{\text{Beginning Inv.} + \text{Ending Inv.}}{2}$

Frequently Asked Questions

What items are included in Cost of Goods Sold?

COGS includes direct materials, raw ingredients, freight-in charges, direct labor costs for production workers, and factory overhead directly tied to manufacturing.

What expenses are excluded from COGS?

COGS excludes operating expenses (OPEX) such as rent for headquarters, administrative salaries, sales commissions, marketing spend, legal fees, and research and development (R&D).

Why is COGS important on the income statement?

COGS is subtracted directly from Total Revenue to determine Gross Profit. A lower COGS relative to revenue indicates higher production efficiency and healthier profit margins.

How does inventory valuation method (FIFO vs LIFO) affect COGS?

During inflationary periods, FIFO (First-In, First-Out) results in lower COGS and higher gross profit because older, cheaper inventory is sold first. LIFO (Last-In, First-Out) yields higher COGS and lower taxable income.