Finance

Instant, private, and free

COGS Calculator.

Calculate cost of goods sold from beginning inventory, purchases, and ending inventory.

On-device calculationNo signup
01

Set your values

Results update as you type.

Cost of goods sold: $350.00

Cost of goods sold

$0.00

Results are estimates from the stated formula and inputs; verify assumptions before making financial decisions.

FAQs

How is COGS calculated?

Use consistent valuation and reporting-period definitions.

Use Cases

Financial Reporting

Determine COGS for income statements and tax reporting, ensuring accurate gross profit calculations.

Example: A retailer calculates COGS for the quarter to report in financial statements.

Inventory Management

Track how inventory levels and purchasing affect cost of goods sold, helping with budgeting and pricing decisions.

Example: A business owner reviews COGS to decide on reorder quantities.

Frequently Asked Questions

What is the formula for COGS?
COGS = Beginning Inventory + Purchases - Ending Inventory. This calculator uses that standard formula to determine the cost of goods sold during a period.
What inputs do I need for the COGS calculator?
You need the value of your beginning inventory, total purchases made during the period, and the value of your ending inventory. All values should be in the same currency.
Can I use this calculator for any business type?
Yes, it works for any business that tracks inventory, such as retail, manufacturing, or e-commerce. It calculates the direct cost of goods sold, excluding overhead and labor.

Tips & Common Mistakes

Tips

  • Ensure beginning and ending inventory values are accurate and consistent in valuation method (FIFO, LIFO, or average).
  • Include all costs directly tied to acquiring inventory, such as freight and import duties, in your purchase figure.
  • Use the same accounting period for beginning inventory, purchases, and ending inventory to get a correct COGS.
  • Regularly update your inventory records to reflect shrinkage, returns, or damages.

Common Mistakes to Avoid

  • Forgetting to include all purchases, such as shipping costs, in the purchases field.
  • Using inconsistent valuation methods for beginning and ending inventory, leading to inaccurate COGS.
  • Not adjusting for inventory shrinkage or write-offs before calculating ending inventory.

Last updated: August 13, 2026