Talk to an Expert
Talk to an Expert ✆ +91 945 945 6700
Accounting Glossary · Fundamentals

Cost of Goods Sold

Cost of Goods Sold: Definition

Cost of goods sold is the direct cost of producing or buying the goods a business actually sold in a period — the materials, labour and inward costs tied to those units. It is deducted from revenue on the profit and loss statement to give gross profit. It matters because it isolates what each sale truly costs, so a business can see whether its pricing leaves enough margin to cover overheads.

What Is Cost of Goods Sold?

Cost of goods sold, or COGS, captures only the costs directly attributable to the goods a business has sold, not everything it spent. For a trader it is the purchase cost of the stock sold; for a manufacturer it adds raw materials, direct labour and factory costs consumed in making those units. Crucially, it follows the goods that left the shelf — stock still unsold sits in inventory, not in COGS.

A Pune furniture maker meets COGS every time it prices a product or reviews its margin. If the timber, hardware and workshop wages behind a sold table are not correctly gathered, the gross profit will be wrong and the pricing decision built on it will be flawed. Because COGS moves with inventory valuation, the method used to value stock — weighted average or FIFO under AS 2 — directly shapes the reported cost and profit.

Key terms

  • Depreciation — Factory depreciation can form part of manufacturing COGS.
  • Fixed Assets — Plant used to make goods, distinct from the goods themselves.
  • Current Assets — Inventory sits here until it is sold and becomes COGS.

What Goes Into Cost of Goods Sold

COGS gathers the direct costs of goods sold and deliberately leaves out indirect ones:

  • Opening stock — Inventory carried in from the previous period, available to sell.
  • Purchases and direct materials — Raw materials and goods bought during the period, net of returns.
  • Direct labour — Wages of workers directly making the goods, in a manufacturing business.
  • Inward freight and duties — Carriage, customs and other costs of bringing goods in.
  • Excluded — indirect costs — Selling, admin and distribution overheads sit below gross profit, not in COGS.

How Cost of Goods Sold Works in the Books

COGS is built from inventory movement across a period in a set sequence:

  1. 1Value opening stock

    The prior period's closing inventory becomes this period's opening stock at its carried cost.

  2. 2Add purchases and direct costs

    Materials bought, inward freight and direct labour are accumulated during the period.

  3. 3Count and value closing stock

    A physical count, valued under AS 2 (weighted average or FIFO), fixes unsold inventory.

  4. 4Derive COGS

    Opening stock plus purchases less closing stock gives the cost of what was actually sold.

  5. 5Charge to the P&L

    COGS is deducted from revenue to produce gross profit for the period.

How to Calculate Cost of Goods Sold

COGS = Opening stock + Purchases (and direct costs) − Closing stock
InputWhere it comes fromSample value (INR)
Opening stockPrior period's closing inventory10,00,000
Purchases + direct materialsPurchase ledger, net of returns42,00,000
Direct labour and inward freightWage sheet and freight bills6,00,000
Closing stockPhysical count valued under AS 212,00,000

COGS = 10,00,000 + 42,00,000 + 6,00,000 − 12,00,000 = ₹46,00,000 charged against revenue for the period.

Cost of Goods Sold: A Practical Example

ParticularsAmount (INR)Treatment
Revenue from operations70,00,000Top line
Opening stock10,00,000Add to compute COGS
Purchases + direct costs48,00,000Add to compute COGS
Closing stock12,00,000Deduct to compute COGS
COGS46,00,000Charged against revenue
Gross profit24,00,000Revenue less COGS

A Pune furniture manufacturer records ₹70,00,000 of sales. Starting with ₹10,00,000 of opening stock, adding ₹48,00,000 of purchases and direct costs and deducting ₹12,00,000 of closing stock gives COGS of ₹46,00,000. Gross profit is therefore ₹24,00,000, a gross margin of about 34%. If closing stock were miscounted at ₹9,00,000, COGS would jump to ₹49,00,000 and gross profit fall to ₹21,00,000 — showing how stock valuation drives the result.

!
Common error

Mixing overheads into COGS: Loading selling and admin costs into COGS understates gross profit → keep only direct costs in COGS.

Cost of Goods Sold Under Indian Accounting Rules

Indian financial statements do not show a single 'COGS' line. Schedule III of the Companies Act 2013 presents expenses by nature — 'Cost of materials consumed', 'Purchases of stock-in-trade' and 'Changes in inventories' — so gross profit and COGS are derived rather than printed. The valuation of the inventory that drives COGS follows AS 2 (Valuation of Inventories) or Ind AS 2, which require the lower of cost and net realisable value using FIFO or weighted-average cost.

  • Schedule III, Companies Act 2013 — Presents cost by nature; COGS and gross profit are derived, not mandated lines.
  • AS 2 / Ind AS 2 — Value inventory at lower of cost and net realisable value, FIFO or weighted average.
  • No LIFO — The last-in-first-out method is not permitted under Indian standards.

Common Mistakes With Cost of Goods Sold

COGS errors flow straight into a wrong gross profit:

  • Mixing overheads into COGS — Loading selling and admin costs into COGS understates gross profit → keep only direct costs in COGS.
  • Misvaluing closing stock — A wrong stock count or valuation swings COGS both ways → count physically and value under AS 2.
  • Ignoring inward freight — Leaving carriage and duty out understates the true cost of goods → include inward costs in COGS.
  • Forgetting purchase returns — Counting returned goods as purchases overstates COGS → net purchases of returns and rebates.
Quick summary

Cost of goods sold is the direct cost of producing or buying the goods a business actually sold in a period — the materials, labour and inward costs tied to those units. It is deducted from revenue on the profit and loss statement to give gross profit. It matters because it isolates what each sale truly costs, so a business can see whether its pricing leaves enough margin to cover overheads.

Need help with Cost of Goods Sold?

Cost of Goods Sold sits inside your day-to-day books. Patron's CA-led team keeps them accurate, compliant and audit-ready.

Is cost of goods sold a debit or a credit?

Cost of goods sold is a debit, because it is an expense that reduces profit. When goods costing Rs 2 lakh are sold, the entry debits Cost of Goods Sold Rs 2 lakh and credits Inventory Rs 2 lakh. It carries a credit only when a sale is reversed or stock is returned, which pushes the balance back down.

What is the difference between cost of goods sold and operating expenses?

Cost of goods sold covers costs tied directly to the goods sold, such as raw material, purchase freight and factory labour, while operating expenses cover running the business, such as rent, salaries of office staff and marketing. Gross profit is sales minus cost of goods sold; operating profit is gross profit minus operating expenses, so the split changes both ratios.

Does GST form part of cost of goods sold in India?

GST does not form part of cost of goods sold where input tax credit is available, because the tax is recorded in the input credit ledger and recovered against output GST. Purchases are booked net of GST. Where credit is blocked, for example on goods used for personal consumption, the GST paid is added to purchase cost and does hit cost of goods sold.

Reviewed by the CA & CS Team, Patron Accounting LLP
ICAI & ICSI registered  ·  Reviewed by CA Sundram Gupta (FCA)  ·  Last reviewed 22 Jul 2026  ·  Next review 22 Jan 2027
Official sources: ICAIMCA

Applicable framework: AS 2 / Ind AS 2 (Inventories), Companies Act 2013 (Schedule III). For general information only, not professional advice. Verify the current position for your entity before acting.