Cost of Goods Sold Detail Calculator

Enter beginning inventory, line-item purchases, and ending inventory to compute total Cost of Goods Sold with a detailed breakdown.

Purchases & Direct Costs
No items yet — click "Add Item" to begin.

Fill in the inputs and click Calculate COGS to see your results.

Summary

Enter beginning inventory, line-item purchases, and ending inventory to compute total Cost of Goods Sold with a detailed breakdown.

How it works

  1. Enter your beginning inventory value for the period.
  2. Add each purchase or direct cost as a line item with a description and amount.
  3. Enter the ending inventory value counted at the close of the period.
  4. The calculator applies the formula: COGS = Beginning Inventory + Total Purchases − Ending Inventory.
  5. Review the itemized breakdown table and the final COGS total.
  6. Copy the results or use the values in your income statement.

Use cases

  • Prepare the COGS section of a monthly or annual income statement.
  • Break down manufacturing costs into materials, freight, and labor components.
  • Verify that your accounting software COGS figure matches a manual calculation.
  • Estimate gross profit margin by comparing COGS against revenue.
  • Teach students the COGS formula with a live, interactive example.
  • Track cost trends across periods by recalculating with updated inventory values.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu