Calculate Cost of Goods Sold for inventory management and product pricing decisions.
Enter Your Inventory & Cost Data
$
Value of inventory at the start of the period
$
Cost of goods purchased for resale or production
$
Wages for workers directly involved in production
$
Raw materials used in manufacturing products
$
Shipping and delivery costs for incoming inventory
$
Value of unsold inventory at end of the period
Please fill in at least Beginning Inventory, Purchases, and Ending Inventory.
Results
Cost of Goods Sold
$0.00
Total Cost of Goods Available
$0.00
Beginning Inventory$0.00
+ Purchases$0.00
+ Direct Labor$0.00
+ Direct Materials$0.00
+ Freight-In$0.00
= Goods Available for Sale$0.00
− Ending Inventory$0.00
COGS$0.00
How It Works
The Cost of Goods Sold (COGS) formula calculates the total direct costs incurred to produce or acquire goods that were sold during a specific period. It starts with your beginning inventory value, adds all purchases made during the period along with direct labor, direct materials, and freight-in costs to determine the total goods available for sale. Then, subtract the ending inventory — the unsold goods remaining — to arrive at COGS. This figure is essential for determining gross profit, setting product prices, and filing accurate tax returns. Our calculator handles all arithmetic instantly so you can focus on decisions.
Frequently Asked Questions
What is included in Cost of Goods Sold (COGS)?
COGS includes all direct costs attributable to the production of goods sold by a company. This covers raw materials, direct labor, freight-in costs, manufacturing overhead directly tied to production, and the cost of finished goods purchased for resale. It excludes indirect expenses such as marketing, administrative salaries, and general distribution costs.
How do you calculate COGS?
COGS is calculated using the formula: Beginning Inventory + Net Purchases (including direct labor, materials, and freight) − Ending Inventory = COGS. The beginning inventory is the value of goods at the start of the period, net purchases include all costs to acquire or produce goods, and ending inventory is the unsold goods remaining at period end.
Why is COGS important for pricing decisions?
COGS is critical for pricing because it represents your baseline production cost per unit. Knowing your accurate COGS allows you to set prices that cover costs and generate profit. It also directly impacts your gross margin, tax liability, and financial reporting. Underestimating COGS leads to underpricing and lost revenue, while overestimating it can make your products uncompetitive.