Cost of Goods Sold Calculator

Calculate COGS from inventory and purchases.

Cost of goods sold ($) 55,000

Formula: COGS = beginning + purchases − ending

Step-by-step with your numbers:
1. Values used:
2. Beginning inventory = 20,000 $
3. Purchases = 50,000 $
4. Ending inventory = 15,000 $
5.
6. Cost of goods sold = 55,000$
Did we solve your problem today?

COGS is the direct cost of the goods a business sold in a period.

How the Math Works

The Cost of Goods Sold (COGS) calculation uses a straightforward formula: COGS = beginning inventory + purchases - ending inventory. This formula tracks the total cost of all products sold during a specific period. The beginning inventory represents what you started with, purchases are what you acquired during the period, and ending inventory is what remains unsold. By subtracting what's left from what was available, you precisely determine the cost of goods that actually left your inventory and generated revenue.

Practical Applications

To apply this calculation, first gather your inventory records for the period you're analyzing. Obtain the value of inventory at the beginning of the period, add the total cost of all purchases made during that period, then subtract the value of inventory at the end. This is commonly used in accounting when preparing financial statements, calculating gross profit margins, and analyzing business performance. Retailers, manufacturers, and wholesalers all use this calculation monthly, quarterly, or annually to understand their true costs and profitability.

Day-to-Day Use

Understanding your COGS has significant day-to-day impact on your business decisions. It directly affects your gross profit margin, which determines how much money you have left to cover operating expenses and generate profit. By tracking COGS, you can identify which products are most profitable, optimize pricing strategies, and make informed purchasing decisions. For example, if you notice certain items have high COGS relative to their selling price, you might adjust orders or pricing. This calculation also helps with tax planning, as COGS is a deductible business expense that reduces your taxable income.

Worked example

$20k + $50k − $15k → $55k.

FAQ

Includes labor?

Direct production labor and materials, yes; not overhead/admin.