CalculatorCast

COGS Calculator

Calculate cost of goods sold from inventory and purchases.

Introduction

COGS Calculator — Calculate cost of goods sold from inventory and purchases. Enter Beginning inventory, Purchases, Ending inventory to get an instant, accurate result.

Formula

COGS = Beginning Inventory + Purchases − Ending Inventory.

Step-by-step

  1. Enter the Beginning inventory.
  2. Enter the Purchases.
  3. Enter the Ending inventory.
  4. Click Calculate to see your result instantly.

Real-world example

Example: With Beginning inventory = 5000, Purchases = 20000, Ending inventory = 8000, the COGS Calculator gives a result of 17000.

Frequently Asked Questions

What counts as "purchases"?
The total cost of inventory/materials bought or produced during the period, valued at cost — not selling price.
Why does ending inventory get subtracted?
Because ending inventory represents goods bought but not yet sold — the formula isolates the cost of only the goods that were actually sold during the period.
What inputs does the COGS Calculator need?
You'll need to provide: Beginning inventory, Purchases, Ending inventory. All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the COGS Calculator?
The COGS Calculator applies the formula exactly as calculated — COGS = Beginning Inventory + Purchases − Ending Inventory. — so results are precise for the inputs you provide. Accuracy depends on entering correct, realistic input values.
Is the COGS Calculator free to use?
Yes, the COGS Calculator is completely free, requires no signup, and runs instantly in your browser.

About the COGS Calculator

The COGS Calculator uses a real, verifiable formula — COGS = Beginning Inventory + Purchases − Ending Inventory. — so results are accurate every time, not an approximation.