Skip to content
Business Calculators

Cost of Goods Sold Calculator

Verified formula Updated Jun 2026 Private — runs on your device

Enter details
Verified formula Private

Cost of goods sold

₹27,00,000

Goods available for sale
₹35,00,000

For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.

How to use the Cost of Goods Sold Calculator

The Cost of Goods Sold Calculator works out your cost of goods sold, along with 1 related figure in an instant. Enter opening inventory, purchases during period and closing inventory and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.

  1. Enter the opening inventory.
  2. Enter the purchases during period.
  3. Enter the closing inventory.
  4. Read off your cost of goods sold, together with goods available for sale — the calculator updates automatically, with no button to press.

Formula

The Cost of Goods Sold Calculator uses the formula:

Cost of goods sold = Opening inventory + Purchases during period - Closing inventory

Worked example

For example, with opening inventory of ₹500,000, purchases during period of ₹3,000,000 and closing inventory of ₹800,000, the cost of goods sold is ₹27,00,000.

Inputs used
Opening inventory ₹500,000
Purchases during period ₹3,000,000
Closing inventory ₹800,000
Results
Cost of goods sold ₹27,00,000
Goods available for sale ₹35,00,000

Results are estimates for educational use, not professional advice.

Key terms explained

Cost of goods sold
The direct cost of producing the goods a business sells (COGS).

Frequently asked questions

COGS = opening inventory + purchases − closing inventory. With 5,00,000 opening, 30,00,000 purchases and 8,00,000 closing, COGS is 27,00,000.

COGS is subtracted from revenue to find gross profit, so it directly affects profitability and is needed for tax and pricing decisions.

The direct cost of buying or producing the goods, including raw materials and freight inwards. Indirect costs like marketing are not part of COGS.

It is opening inventory plus purchases — the total stock that could be sold before deducting what remains as closing inventory.

Enter the opening inventory. Enter the purchases during period. Enter the closing inventory. Read off your cost of goods sold, together with goods available for sale — the calculator updates automatically, with no button to press.

Related calculators