Free Trial

Cost of Goods Sold (COGS): Formula, Calculation Methods, and Complete Guide 2026

Quick Summary

  • COGS = Opening Inventory + Purchases During the Period - Closing Inventory - the direct cost of producing or acquiring the goods a business sells.
  • COGS includes direct materials, direct labour, and manufacturing overhead - it does not include marketing, admin, R&D, or distribution costs.
  • There are multiple inventory cost assignment methods. For inventories that are ordinarily interchangeable, FIFO and Weighted Average are commonly used. For inventory items that are not ordinarily interchangeable, or goods or services produced and segregated for specific projects, specific identification is used. LIFO is prohibited under IFRS and is not permitted under Ind AS and AS 2.
  • Gross Profit = Revenue - COGS; Gross Profit Margin % = (Gross Profit ÷ Revenue) × 100 - COGS directly determines this key metric.
  • COGS differs by business type: manufacturers use a Cost of Goods Manufactured (COGM) schedule; retailers use the standard formula; service businesses track "Cost of Revenue."

Under the Indian Income Tax Act, Section 145 governs the method of accounting, while Section 145A specifically governs inventory valuation for tax computation. Inventory must be valued at the lower of actual cost or net realisable value in accordance with the notified ICDS. The method should be followed regularly year after year, and changes that materially affect taxable income may attract scrutiny.

Use Recent Stock Rates For Accurate Reports



file_download 40K+ Monthly Downloads
group Trusted by 4 Lakh+ Businesses
smartphone Free Mobile App
star 4.6 Rated on Google

What Is Cost of Goods Sold (COGS)?

Cost of Goods Sold (COGS) - also called Cost of Sales or Cost of Revenue - is the direct cost incurred by a business to produce or acquire the goods it sells during a specific accounting period. It is one of the most important figures on any income statement, sitting directly between revenue and gross profit.

COGS represents only the costs directly tied to producing goods sold - it excludes indirect costs like rent, admin salaries, marketing, or interest. This precision is what makes COGS such a powerful signal of production efficiency and pricing health.

COGS Formula

The standard COGS formula applies to both trading and retail businesses:

COGS = Opening Inventory + Purchases During the Period - Closing Inventory

Variable Meaning
Opening Inventory Value of goods held at the start of the period
Purchases Cost of additional inventory acquired during the period
Closing Inventory Value of unsold goods remaining at the end of the period
Variable Opening Inventory
Meaning Value of goods held at the start of the period
Variable Purchases
Meaning Cost of additional inventory acquired during the period
Variable Closing Inventory
Meaning Value of unsold goods remaining at the end of the period

What Is Included in COGS - The Three Components

COGS is built from three categories of direct costs:

Component 1 - Direct Materials

Raw materials and components that physically become part of the finished product and can be traced directly to individual units.

Examples

  • Steel used in manufacturing
  • Fabric used in garment production
  • Wood used in furniture making
  • Packaging materials for products
  • Electronic components for devices
  • Chemical inputs for pharmaceutical products

Component 2 - Direct Labour

Wages, salaries, and benefits paid to workers who directly handle or produce the goods. Only labour that can be traced to specific production activities qualifies.

Included (Direct Labour) Excluded (Indirect Labour)
Assembly line workers Factory supervisors
Machine operators Quality control managers
Packaging staff Maintenance staff
Sewing machine operators (garments) HR and payroll staff
Included (Direct Labour) Assembly line workers
Excluded (Indirect Labour) Factory supervisors
Included (Direct Labour) Machine operators
Excluded (Indirect Labour) Quality control managers
Included (Direct Labour) Packaging staff
Excluded (Indirect Labour) Maintenance staff
Included (Direct Labour) Sewing machine operators (garments)
Excluded (Indirect Labour) HR and payroll staff

Component 3 - Manufacturing Overhead

Indirect production costs that are necessary for manufacturing but cannot be traced to individual units. These are allocated to products using a predetermined overhead rate .

Type Examples
Variable overhead Electricity powering machines, lubricants, production supplies
Fixed overhead Factory rent, equipment depreciation, production insurance
Other manufacturing costs Factory cleaning, quality testing equipment, production software
Type Variable overhead
Examples Electricity powering machines, lubricants, production supplies
Type Fixed overhead
Examples Factory rent, equipment depreciation, production insurance
Type Other manufacturing costs
Examples Factory cleaning, quality testing equipment, production software

What Is NOT Included in COGS

The following costs are explicitly excluded from COGS and are classified as operating expenses instead:

Cost Type Examples Why Excluded
Selling expenses Sales commissions, advertising, marketing campaigns Not directly tied to producing goods
General & administrative CEO salary, office rent, accounting fees, HR costs Indirect business running costs
Research & Development Product R&D, prototype development Pre-production; no goods sold yet
Distribution costs Outbound shipping to customers in many cases, delivery fleet Post-production; occurs after goods are made
Interest expense Loan interest, finance charges Financing cost, not production cost
Income taxes Corporate tax, advance tax Levied on profit, not production

Note on shipping: Inbound freight, meaning the cost of shipping raw materials or purchased goods to your factory or business location, is typically included in inventory cost. Outbound freight, meaning shipping finished goods to customers, is usually classified as a selling or distribution expense, though treatment can vary depending on the accounting framework and contractual arrangement. Consistency is key.

Cost Type Selling expenses
Examples Sales commissions, advertising, marketing campaigns
Why Excluded Not directly tied to producing goods
Cost Type General & administrative
Examples CEO salary, office rent, accounting fees, HR costs
Why Excluded Indirect business running costs
Cost Type Research & Development
Examples Product R&D, prototype development
Why Excluded Pre-production; no goods sold yet
Cost Type Distribution costs
Examples Outbound shipping to customers in many cases, delivery fleet
Why Excluded Post-production; occurs after goods are made
Cost Type Interest expense
Examples Loan interest, finance charges
Why Excluded Financing cost, not production cost
Cost Type Income taxes
Examples Corporate tax, advance tax
Why Excluded Levied on profit, not production

Where COGS Appears on the Income Statement

Understanding COGS requires knowing its precise position on the income statement :

Revenue (Net Sales) ₹10,00,000
Less: Cost of Goods Sold (COGS) (₹6,00,000)
-----------
Gross Profit ₹4,00,000
Less: Operating Expenses (₹2,50,000)
-----------
Operating Profit (EBIT) ₹1,50,000
Less: Interest Expense (₹20,000)
-----------
Profit Before Tax (PBT) ₹1,30,000
Less: Income Tax (₹39,000)
-----------
Net Profit (PAT) ₹91,000

COGS appears immediately below revenue - before operating expenses, interest, and taxes. It is the first and most direct deduction from revenue, making it the primary driver of gross profit.

How to Calculate COGS - Step-by-Step with Examples

Example 1 - Retail Business (Trading)

A clothing retailer reports for Q1 FY 2026-27:

Item Amount
Opening Inventory (1 April 2026) ₹2,00,000
Purchases during Q1 ₹8,00,000
Closing Inventory (30 June 2026) ₹1,50,000

COGS = ₹2,00,000 + ₹8,00,000 - ₹1,50,000 = ₹8,50,000

Revenue for Q1: ₹12,00,000
Gross Profit = ₹12,00,000 - ₹8,50,000 = ₹3,50,000
Gross Profit Margin = ₹3,50,000 ÷ ₹12,00,000 × 100 = 29.17%

Item Opening Inventory (1 April 2026)
Amount ₹2,00,000
Item Purchases during Q1
Amount ₹8,00,000
Item Closing Inventory (30 June 2026)
Amount ₹1,50,000

Example 2 - Manufacturing Business

A furniture manufacturer reports for FY 2026-27:

Item Amount
Opening Finished Goods Inventory ₹3,00,000
Cost of Goods Manufactured (COGM) ₹15,00,000
Closing Finished Goods Inventory ₹2,50,000

COGS = ₹3,00,000 + ₹15,00,000 - ₹2,50,000 = ₹15,50,000

Item Opening Finished Goods Inventory
Amount ₹3,00,000
Item Cost of Goods Manufactured (COGM)
Amount ₹15,00,000
Item Closing Finished Goods Inventory
Amount ₹2,50,000

The Inventory Valuation Methods - With Worked Examples

When a business holds inventory purchased at different prices at different times, it must decide which cost to assign to goods sold. This is the inventory valuation method choice, and it directly determines the COGS figure.

Scenario for all examples:

A business buys and sells the same product over one month:

Transaction Date Units Unit Cost Total Cost
Opening stock 1 April 100 units ₹10 ₹1,000
Purchase 10 April 200 units ₹12 ₹2,400
Purchase 20 April 150 units ₹14 ₹2,100
Total available 450 units ₹5,500
Units sold 300 units
Closing stock 150 units
Transaction Opening stock
Date 1 April
Units 100 units
Unit Cost ₹10
Total Cost ₹1,000
Transaction Purchase
Date 10 April
Units 200 units
Unit Cost ₹12
Total Cost ₹2,400
Transaction Purchase
Date 20 April
Units 150 units
Unit Cost ₹14
Total Cost ₹2,100
Transaction Total available
Date -
Units 450 units
Unit Cost -
Total Cost ₹5,500
Transaction Units sold
Date -
Units 300 units
Unit Cost -
Total Cost -
Transaction Closing stock
Date -
Units 150 units
Unit Cost -
Total Cost -

a. FIFO - First In, First Out

Assumption: The oldest first-purchased inventory is sold first.

COGS Calculation:
First 100 units from opening stock: 100 × ₹10 = ₹1,000
Next 200 units from April 10 purchase: 200 × ₹12 = ₹2,400
COGS = ₹1,000 + ₹2,400 = ₹3,400

Closing Inventory: 150 units from April 20 purchase: 150 × ₹14 = ₹2,100

Check: ₹3,400 + ₹2,100 = ₹5,500

b. LIFO - Last In, First Out

Assumption: The most recently purchased inventory is sold first.

COGS Calculation:
First 150 units from April 20 purchase: 150 × ₹14 = ₹2,100
Next 150 units from April 10 purchase: 150 × ₹12 = ₹1,800
COGS = ₹2,100 + ₹1,800 = ₹3,900

Closing Inventory: 100 units @ ₹10 + 50 units @ ₹12 = ₹1,000 + ₹600 = ₹1,600

Check: ₹3,900 + ₹1,600 = ₹5,500

LIFO is shown here for conceptual comparison only. It is prohibited under IFRS and is not permitted under Ind AS 2 or AS 2. Indian businesses should not use LIFO in financial reporting under these standards.

c. Weighted Average Method

Assumption: All available inventory is pooled and averaged - each unit carries the same cost.

Weighted Average Unit Cost = Total Cost Available ÷ Total Units Available
= ₹5,500 ÷ 450 units = ₹12.2222 per unit

COGS = 300 units × ₹12.2222 = ₹3,666.67
Rounded presentation: ₹3,667

Closing Inventory = 150 units × ₹12.2222 = ₹1,833.33
Rounded presentation: ₹1,833

Check: ₹3,666.67 + ₹1,833.33 = ₹5,500

d. Specific Identification Method

Assumption: The exact cost of specifically identifiable items is assigned to the exact items sold.

This method is used for inventory items that are not ordinarily interchangeable, or for goods or services produced and segregated for specific projects.

Examples:

  • Luxury cars identified by chassis number
  • Custom machinery
  • Bespoke furniture
  • Project-specific materials

e. Side-by-Side Comparison - Same Data, Different Results

Method COGS Closing Inventory Effect in Rising-Price Environment
FIFO ₹3,400 ₹2,100 Lowest COGS -> Highest Gross Profit
LIFO (India: not permitted) ₹3,900 ₹1,600 Highest COGS -> Lowest Gross Profit
Weighted Average ₹3,667 ₹1,833 Middle ground -> smooths price fluctuations
Specific Identification Depends on actual item sold Depends on actual item remaining Best for unique, non-interchangeable items

With rising input prices, FIFO produces the lowest COGS and highest profit; LIFO would produce the highest COGS and lowest profit where it is permitted; Weighted Average falls in between. Specific identification depends on the actual items sold. This is why method selection has real tax and financial reporting consequences.

Method FIFO
COGS ₹3,400
Closing Inventory ₹2,100
Effect in Rising-Price Environment Lowest COGS -> Highest Gross Profit
Method LIFO (India: not permitted)
COGS ₹3,900
Closing Inventory ₹1,600
Effect in Rising-Price Environment Highest COGS -> Lowest Gross Profit
Method Weighted Average
COGS ₹3,667
Closing Inventory ₹1,833
Effect in Rising-Price Environment Middle ground -> smooths price fluctuations
Method Specific Identification
COGS Depends on actual item sold
Closing Inventory Depends on actual item remaining
Effect in Rising-Price Environment Best for unique, non-interchangeable items

LIFO Banned Under IFRS, Ind AS, and AS 2

The Rule

LIFO is prohibited under:

  • IFRS ( International Financial Reporting Standards ) - specifically IAS 2 Inventories
  • Ind AS 2 Inventories - India's converged standard, adopted for companies following Indian Accounting Standards
  • AS 2 Valuation of Inventories under the Indian GAAP framework

Who This Affects

Category Standard LIFO Permitted?
Listed companies (India) Ind AS No
Large unlisted companies (Ind AS threshold) Ind AS No
SMEs / Companies under ICAI AS AS 2 No
US companies (US GAAP) GAAP Yes, though declining in use
Category Listed companies (India)
Standard Ind AS
LIFO Permitted? No
Category Large unlisted companies (Ind AS threshold)
Standard Ind AS
LIFO Permitted? No
Category SMEs / Companies under ICAI AS
Standard AS 2
LIFO Permitted? No
Category US companies (US GAAP)
Standard GAAP
LIFO Permitted? Yes, though declining in use

Periodic vs Perpetual Inventory Systems

The inventory system a business uses determines when and how COGS is calculated and recorded.

Aspect Periodic System Perpetual System
COGS calculated At end of period only (monthly, quarterly, annually) After every single sale transaction
Inventory balance Updated periodically via physical count Updated in real-time after every movement
Best suited for Small businesses, low transaction volume Larger businesses, high transaction volume
Technology needed Basic bookkeeping Inventory management software / ERP
Accuracy Lower (relies on physical count) Higher (continuous tracking)
COGS formula Opening Stock + Purchases - Closing Stock Running total of cost per unit sold

BUSY's financial accounting software supports perpetual inventory tracking with real-time COGS updates, reducing dependence on period-end physical counts.

Example - Perpetual System COGS Recording

Under a perpetual system using FIFO, every sale is immediately recorded:

Sale of 50 units on 15 April: Dr. COGS ₹500 (50 × ₹10); Cr. Inventory ₹500

Under the periodic system, this entry is made only at period-end after a physical stock count confirms closing inventory.

Many small businesses still use periodic stock determination, while businesses using accounting software or ERP systems often benefit from perpetual records for better real-time visibility.

Aspect COGS calculated
Periodic System At end of period only (monthly, quarterly, annually)
Perpetual System After every single sale transaction
Aspect Inventory balance
Periodic System Updated periodically via physical count
Perpetual System Updated in real-time after every movement
Aspect Best suited for
Periodic System Small businesses, low transaction volume
Perpetual System Larger businesses, high transaction volume
Aspect Technology needed
Periodic System Basic bookkeeping
Perpetual System Inventory management software / ERP
Aspect Accuracy
Periodic System Lower (relies on physical count)
Perpetual System Higher (continuous tracking)
Aspect COGS formula
Periodic System Opening Stock + Purchases - Closing Stock
Perpetual System Running total of cost per unit sold

COGS for Different Business Types

COGS is not calculated identically across all industries. The formula adapts based on the nature of the business.

a. Manufacturing Businesses - The COGM Schedule

Manufacturers do not simply purchase and resell goods - they transform raw materials into finished products. This introduces an intermediate calculation: Cost of Goods Manufactured (COGM).

COGM Formula:

COGM = Opening WIP + Direct Materials Used + Direct Labour + Manufacturing Overhead - Closing WIP

Item Amount
Opening Work-in-Progress (WIP) ₹1,00,000
Raw materials consumed ₹8,00,000
Direct labour ₹3,00,000
Manufacturing overhead ₹2,00,000
Less: Closing WIP (₹80,000)
Cost of Goods Manufactured (COGM) ₹13,20,000

Then COGS for a manufacturer:

COGS = Opening Finished Goods + COGM - Closing Finished Goods
= ₹2,00,000 + ₹13,20,000 - ₹1,50,000 = ₹13,70,000

b. Retail / Trading Businesses

Retailers buy finished goods and resell them. The standard formula applies directly - no production conversion involved.

COGS = Opening Stock + Purchases - Closing Stock

COGS for retailers primarily includes: purchase price of goods, inbound freight, import duties, and any costs to prepare goods for sale, such as labelling or packaging.

Item Opening Work-in-Progress (WIP)
Amount ₹1,00,000
Item Raw materials consumed
Amount ₹8,00,000
Item Direct labour
Amount ₹3,00,000
Item Manufacturing overhead
Amount ₹2,00,000
Item Less: Closing WIP
Amount (₹80,000)
Item Cost of Goods Manufactured (COGM)
Amount ₹13,20,000

c. Service Businesses - Cost of Revenue

Pure service businesses (consultants, law firms, IT services) do not always hold inventory in the traditional sense - but they still incur direct costs of delivering services, often called "Cost of Revenue" or "Cost of Services".

Service Type Included in Cost of Revenue
IT services / software firm Developer salaries, cloud hosting, software licences
Consulting firm Consultant salaries, travel costs for client projects
Law firm Attorney fees, paralegal time, court filing costs
Staffing agency Subcontractor payments, placement costs
Catering business Food ingredients, kitchen staff wages, equipment hire

Not all service businesses report a "COGS" line - some may show only operating expenses. However, separating direct service delivery costs from overhead costs gives management clearer insight into service-level profitability.

Service Type IT services / software firm
Included in Cost of Revenue Developer salaries, cloud hosting, software licences
Service Type Consulting firm
Included in Cost of Revenue Consultant salaries, travel costs for client projects
Service Type Law firm
Included in Cost of Revenue Attorney fees, paralegal time, court filing costs
Service Type Staffing agency
Included in Cost of Revenue Subcontractor payments, placement costs
Service Type Catering business
Included in Cost of Revenue Food ingredients, kitchen staff wages, equipment hire

Gross Profit and Gross Profit Margin - Formulas and Examples

COGS is the direct input to two of the most important financial metrics in business.

Gross Profit

Item Amount
Revenue ₹20,00,000
Less: COGS (₹12,00,000)
Gross Profit ₹8,00,000

Gross Profit Margin (%)

Gross Profit Margin = (Gross Profit ÷ Revenue) × 100
= (₹8,00,000 ÷ ₹20,00,000) × 100 = 40%

What this means: For every ₹100 of revenue, the business retains ₹40 after covering the direct cost of producing what it sold - before paying rent, salaries, taxes, or any other overhead.

Item Revenue
Amount ₹20,00,000
Item Less: COGS
Amount (₹12,00,000)
Item Gross Profit
Amount ₹8,00,000

How Inventory Method Affects Gross Profit Margin

Using the earlier example (300 units sold, rising prices):

Method COGS Revenue (300 units × ₹20) Gross Profit Gross Margin %
FIFO ₹3,400 ₹6,000 ₹2,600 43.3%
Weighted Average ₹3,667 ₹6,000 ₹2,333 38.9%
LIFO (India: not permitted) ₹3,900 ₹6,000 ₹2,100 35.0%

The same business, same sales, same purchases, can report gross margins ranging from 35.0% to 43.3% purely based on the inventory method choice. This is why auditors and analysts scrutinise inventory method disclosures carefully.

Method FIFO
COGS ₹3,400
Revenue (300 units × ₹20) ₹6,000
Gross Profit ₹2,600
Gross Margin % 43.3%
Method Weighted Average
COGS ₹3,667
Revenue (300 units × ₹20) ₹6,000
Gross Profit ₹2,333
Gross Margin % 38.9%
Method LIFO (India: not permitted)
COGS ₹3,900
Revenue (300 units × ₹20) ₹6,000
Gross Profit ₹2,100
Gross Margin % 35.0%

COGS Margin - What Percentage Should It Be?

The COGS margin, also called COGS ratio or cost ratio , measures what proportion of revenue is consumed by COGS:

COGS Margin % = (COGS ÷ Revenue) × 100

Note: COGS Margin % + Gross Profit Margin % = 100%

Industry Average COGS Margins (Approximate)

Industry Typical COGS Margin Typical Gross Margin
Grocery / FMCG retail 70-80% 20-30%
Manufacturing (heavy) 60-75% 25-40%
Pharmaceuticals 25-40% 60-75%
Software / SaaS 10-30% 70-90%
Apparel / Fashion 40-55% 45-60%
Food & Beverage 55-70% 30-45%
E-commerce 60-75% 25-40%
Automotive 75-85% 15-25%

Compare your COGS margin against industry peers and your own historical trend. These ranges are broad directional benchmarks, not fixed rules. A rising COGS margin, and falling gross margin, over time can signal input cost inflation, inefficient purchasing, or production waste - each requiring different corrective action.

Industry Grocery / FMCG retail
Typical COGS Margin 70-80%
Typical Gross Margin 20-30%
Industry Manufacturing (heavy)
Typical COGS Margin 60-75%
Typical Gross Margin 25-40%
Industry Pharmaceuticals
Typical COGS Margin 25-40%
Typical Gross Margin 60-75%
Industry Software / SaaS
Typical COGS Margin 10-30%
Typical Gross Margin 70-90%
Industry Apparel / Fashion
Typical COGS Margin 40-55%
Typical Gross Margin 45-60%
Industry Food & Beverage
Typical COGS Margin 55-70%
Typical Gross Margin 30-45%
Industry E-commerce
Typical COGS Margin 60-75%
Typical Gross Margin 25-40%
Industry Automotive
Typical COGS Margin 75-85%
Typical Gross Margin 15-25%

COGS vs Operating Expenses

Aspect COGS Operating Expenses (OPEX)
Nature Direct costs of producing/acquiring goods sold Indirect costs of running the business
Position on P&L Subtracted from Revenue -> yields Gross Profit Subtracted from Gross Profit -> yields Operating Profit
Varies with? Production / sales volume - rises when more is made/sold Relatively fixed or semi-fixed (rent, admin salaries)
Examples Raw materials, direct labour, factory overhead Office rent, marketing, HR salaries, IT subscriptions
Controls Production efficiency, supplier negotiation Headcount management, overhead control

Why the Distinction Matters

A business can have excellent gross margins (low COGS) but still make losses if operating expenses are too high. Conversely, a business with thin gross margins can still be profitable if overheads are lean. Separating COGS from OPEX reveals where the profitability problem, or opportunity, lies.

Aspect Nature
COGS Direct costs of producing/acquiring goods sold
Operating Expenses (OPEX) Indirect costs of running the business
Aspect Position on P&L
COGS Subtracted from Revenue -> yields Gross Profit
Operating Expenses (OPEX) Subtracted from Gross Profit -> yields Operating Profit
Aspect Varies with?
COGS Production / sales volume - rises when more is made/sold
Operating Expenses (OPEX) Relatively fixed or semi-fixed (rent, admin salaries)
Aspect Examples
COGS Raw materials, direct labour, factory overhead
Operating Expenses (OPEX) Office rent, marketing, HR salaries, IT subscriptions
Aspect Controls
COGS Production efficiency, supplier negotiation
Operating Expenses (OPEX) Headcount management, overhead control

COGS vs Production Costs vs Cost of Sales

Term Scope Key Difference
Production Costs All costs of manufacturing goods - both sold and unsold Broader than COGS; includes value of closing stock
COGS Only the costs of goods actually sold in the period Excludes cost of unsold inventory
Cost of Sales Often used interchangeably with COGS In some contexts, may include additional selling-related costs

Example:

A manufacturer produces 1,000 units at ₹10 each = Production Costs: ₹10,000
800 units are sold; 200 remain in closing stock
COGS = 800 × ₹10 = ₹8,000

The remaining ₹2,000 stays on the balance sheet as inventory (current asset).

Term Production Costs
Scope All costs of manufacturing goods - both sold and unsold
Key Difference Broader than COGS; includes value of closing stock
Term COGS
Scope Only the costs of goods actually sold in the period
Key Difference Excludes cost of unsold inventory
Term Cost of Sales
Scope Often used interchangeably with COGS
Key Difference In some contexts, may include additional selling-related costs

Are Salaries Included in COGS?

The answer depends on the role of the employee.

Employee Type Salary in COGS? Examples
Direct production workers Yes Factory floor workers, assembly staff, machine operators
Production supervisors Often through overhead allocation Foremen, production line managers
Warehouse staff (inbound) Often included if directly attributable Staff receiving and storing raw materials
Office / admin staff No - OPEX HR, finance, legal, IT support
Sales team No - OPEX Sales executives, account managers
Marketing staff No - OPEX Marketing managers, social media team
R&D staff Usually No - OPEX / separate R&D expense Product developers, scientists
Employee Type Direct production workers
Salary in COGS? Yes
Examples Factory floor workers, assembly staff, machine operators
Employee Type Production supervisors
Salary in COGS? Often through overhead allocation
Examples Foremen, production line managers
Employee Type Warehouse staff (inbound)
Salary in COGS? Often included if directly attributable
Examples Staff receiving and storing raw materials
Employee Type Office / admin staff
Salary in COGS? No - OPEX
Examples HR, finance, legal, IT support
Employee Type Sales team
Salary in COGS? No - OPEX
Examples Sales executives, account managers
Employee Type Marketing staff
Salary in COGS? No - OPEX
Examples Marketing managers, social media team
Employee Type R&D staff
Salary in COGS? Usually No - OPEX / separate R&D expense
Examples Product developers, scientists

How Inventory Levels Affect COGS

Since Closing Inventory is subtracted in the COGS formula, inventory levels have a direct and often counterintuitive impact:

Closing Inventory Level Effect on COGS Effect on Gross Profit
Higher closing inventory Lower COGS Higher Gross Profit
Lower closing inventory Higher COGS Lower Gross Profit
Overvalued closing stock COGS understated Gross Profit overstated
Undervalued closing stock COGS overstated Gross Profit understated

Audit risk: Deliberately inflating closing inventory to reduce COGS and boost reported profits is a common accounting manipulation. External auditors and tax assessors scrutinise stock valuations closely - especially at year-end.

Closing Inventory Level Higher closing inventory
Effect on COGS Lower COGS
Effect on Gross Profit Higher Gross Profit
Closing Inventory Level Lower closing inventory
Effect on COGS Higher COGS
Effect on Gross Profit Lower Gross Profit
Closing Inventory Level Overvalued closing stock
Effect on COGS COGS understated
Effect on Gross Profit Gross Profit overstated
Closing Inventory Level Undervalued closing stock
Effect on COGS COGS overstated
Effect on Gross Profit Gross Profit understated

COGS and Income Tax - Section 145, Section 145A, and ICDS II (India)

The choice of inventory valuation method is not just an accounting decision in India - it also has income-tax implications under the Income Tax Act, 1961 .

Section 145 - Method of Accounting

Under Section 145, a taxpayer must compute income under the relevant heads using either:

This section governs the method of accounting regularly employed by the assessee, subject to notified standards.

Section 145A - Inventory Valuation

For inventory valuation specifically, Section 145A is the more relevant provision. It states that inventory shall be valued at the lower of actual cost or net realisable value computed in accordance with the Income Computation and Disclosure Standards (ICDS) notified under Section 145(2).

Section 145A also deals with the treatment of tax, duty, cess, or fee as specified in the law.

ICDS II - Valuation of Inventories

ICDS II provides the detailed tax computation rules for inventory valuation. It states that inventories shall be valued at cost or NRV, whichever is lower.

For cost assignment, ICDS II recognises:

  • Specific Identification Method
  • First-In, First-Out (FIFO) Method
  • Weighted Average Cost Method

It also states that cost of inventory includes cost of purchase, cost of services, cost of conversion, and other costs incurred in bringing the inventories to their present location and condition. It excludes items such as abnormal waste, storage costs not necessary in the production process, administrative overheads that do not contribute to location and condition, and selling costs.

Practical Interpretation

For Indian income-tax purposes, the inventory valuation approach should be followed regularly. Any material change should be properly disclosed and consistently applied. A change that materially affects taxable income may attract scrutiny by the Assessing Officer.

It is more accurate to say this than to state that every change in inventory valuation method automatically requires prior tax authority approval.

AS 2 / Ind AS 2 - Inventory Valuation Standard

Indian accounting standards also require inventory to be valued at the lower of cost or net realisable value.

For inventories that are ordinarily interchangeable, accepted cost formulas are FIFO and Weighted Average.

For items that are not ordinarily interchangeable, or goods or services produced and segregated for specific projects, specific identification applies.

LIFO is not permitted.

Losing money on slow-moving items? Track every unit in BUSY!



file_download 40K+ Monthly Downloads
group Trusted by 4 Lakh+ Businesses
smartphone Free Mobile App
star 4.6 Rated on Google

Industry Average COGS Benchmarks

How to use benchmarks for your business:

  • Calculate your COGS margin for the last 3 financial years
  • Compare against the industry average for your sector
  • If your COGS margin is significantly higher than peers, investigate supplier pricing, production waste, process inefficiency, or shrinkage
  • If your COGS margin is lower than peers, you may have a genuine cost advantage - or you may be under-investing in quality or under-allocating certain costs
  • Track the trend - a steadily rising COGS margin is a warning signal even if the absolute number seems acceptable

Strategies to Reduce COGS

Strategy How It Reduces COGS Implementation
Negotiate better supplier pricing Lower raw material costs Volume commitments, long-term contracts, multiple supplier quotes
Bulk purchasing Lower per-unit cost through economies of scale Coordinate with cash flow management to avoid excess stock
Reduce material waste Fewer inputs consumed per unit produced Lean manufacturing, Six Sigma, waste tracking
Automate production processes Lower direct labour cost per unit over time Invest in machinery, robotics, or software for repetitive tasks
Optimise inventory management Reduce obsolescence write-offs and carrying costs Perpetual inventory system, ABC analysis, JIT purchasing
Source alternative suppliers Access lower-cost or higher-quality inputs Domestic sourcing, import substitution, supplier diversification
Improve production scheduling Reduce overtime labour and idle time ERP-based production planning
Energy efficiency Lower manufacturing overhead LED lighting, energy-efficient machinery, solar panels
Strategy Negotiate better supplier pricing
How It Reduces COGS Lower raw material costs
Implementation Volume commitments, long-term contracts, multiple supplier quotes
Strategy Bulk purchasing
How It Reduces COGS Lower per-unit cost through economies of scale
Implementation Coordinate with cash flow management to avoid excess stock
Strategy Reduce material waste
How It Reduces COGS Fewer inputs consumed per unit produced
Implementation Lean manufacturing, Six Sigma, waste tracking
Strategy Automate production processes
How It Reduces COGS Lower direct labour cost per unit over time
Implementation Invest in machinery, robotics, or software for repetitive tasks
Strategy Optimise inventory management
How It Reduces COGS Reduce obsolescence write-offs and carrying costs
Implementation Perpetual inventory system, ABC analysis, JIT purchasing
Strategy Source alternative suppliers
How It Reduces COGS Access lower-cost or higher-quality inputs
Implementation Domestic sourcing, import substitution, supplier diversification
Strategy Improve production scheduling
How It Reduces COGS Reduce overtime labour and idle time
Implementation ERP-based production planning
Strategy Energy efficiency
How It Reduces COGS Lower manufacturing overhead
Implementation LED lighting, energy-efficient machinery, solar panels

Limitations of COGS as a Metric

COGS is essential - but relying on it alone has important limitations every financial analyst and business owner should understand.

Limitation 1 - Inventory Method Dependency

As demonstrated in Section 7, the same business can report very different COGS figures based solely on the valuation method chosen. COGS comparisons across companies are only meaningful if they use comparable inventory methods.

Limitation 2 - Snapshot, Not Flow

COGS for a period depends on both the opening and closing inventory values. A one-time distortion in either, such as a year-end write-down or delayed stocktake, can significantly skew the figure without reflecting true operational performance.

Limitation 3 - No Quality Information

COGS tells you the cost of what was sold - it says nothing about the quality of those goods, customer returns, defect rates, or warranty costs, which may appear elsewhere in the financials.

Limitation 4 - Not Applicable to Pure Service Businesses in the Traditional Sense

For businesses that sell only services, traditional inventory-based COGS may not exist or may be replaced by "Cost of Revenue" - making cross-industry COGS comparisons less meaningful.

Limitation 5 - Timing Differences (Periodic System)

Under periodic inventory systems, COGS is only calculated at period-end. Intra-period management decisions - like mid-quarter pricing changes or production cost spikes - are not visible until after the fact.

Limitation 6 - Does Not Capture Overhead Allocation Accuracy

Manufacturing overhead is allocated using predetermined or systematic rates. If actual overhead differs significantly from the allocated rate, COGS may be misstated until year-end adjustments are made.

Conclusion

Cost of Goods Sold is far more than an accounting entry - it is the single most direct measure of how efficiently a business produces or acquires what it sells. Every rupee of COGS is a rupee that never reaches gross profit , making its management one of the highest-leverage activities in any product-based business.

Track your COGS margin relative to industry benchmarks, analyse its trend over time, and use the reduction strategies in this guide to systematically lower input costs without compromising quality. A 5 percentage point reduction in COGS margin on ₹1 crore of revenue creates ₹5,00,000 of additional gross profit - before a single rupee of new revenue is earned.

Frequently Asked Questions

What is the COGS formula?

COGS = Opening Inventory + Purchases During the Period - Closing Inventory. For manufacturers, "Purchases" is effectively replaced by the Cost of Goods Manufactured (COGM), which includes raw materials, direct labour, and manufacturing overhead, adjusted for opening and closing work-in-progress.

Is LIFO allowed in India?

No. LIFO is prohibited under IFRS and is not permitted under Ind AS 2 and AS 2. For inventories that are ordinarily interchangeable, Indian businesses generally use FIFO or Weighted Average. For inventory items that are not ordinarily interchangeable, specific identification may be used.

What is the difference between COGS and operating expenses?

COGS covers direct costs tied to producing or acquiring goods sold - raw materials, direct labour, manufacturing overhead. Operating expenses are indirect costs of running the business - rent, admin salaries, marketing, IT. COGS determines gross profit; operating expenses determine operating profit.

Are salaries included in COGS?

Only salaries of employees directly involved in production qualify as COGS - factory workers, machine operators, assembly staff. Administrative, sales, HR, and marketing salaries are operating expenses and are excluded. Production supervision may be included through overhead allocation.

How does inventory valuation method affect COGS?

Different methods produce different COGS from identical data. In an inflationary rising-price environment: FIFO gives the lowest COGS, Weighted Average gives a middle result, and LIFO where permitted gives the highest COGS. Higher COGS means lower gross profit and lower taxable income, all else equal.

hat is the difference between COGS and production costs?

Production costs cover all manufacturing costs - for both goods sold and goods remaining unsold in inventory. COGS includes only the cost of goods actually sold in the period. Unsold goods remain on the balance sheet as inventory until sold in a future period.

Can service businesses have COGS?

Yes, though it is often called "Cost of Revenue" or "Cost of Services." For an IT firm, this includes developer salaries, server costs, and software licences directly used for client projects. For a consulting firm, it includes consultant compensation and project-related travel. Pure service businesses may not have traditional inventory but still incur direct service delivery costs.

What is the gross profit margin formula?

Gross Profit Margin = [(Revenue - COGS) ÷ Revenue] × 100. For example, if Revenue = ₹10,00,000 and COGS = ₹6,00,000, Gross Profit = ₹4,00,000 and Gross Profit Margin = 40%. This means 40 paise of every rupee of revenue is retained after covering direct production costs.