Cost of Goods Sold (COGS): Calculation Methods, Formula, and How to Calculate with Example

Learn about the Cost of Goods Sold (COGS), its calculation, significance for financial health, and its role in pricing and tax planning.
Business Loan
4 min
02 December 2025

The Cost of Goods Sold (COGS) is a critical financial metric that directly affects a company’s profitability and financial performance. It represents the direct costs involved in producing goods, including raw materials, direct labour, and manufacturing overheads. A clear understanding of COGS is essential for calculating gross profit, setting effective pricing strategies, and controlling production costs. This guide explains how to calculate COGS, common errors to avoid, and its role in tax planning and financial reporting. It also outlines the differences between COGS, operating expenses, and the cost of revenue to help businesses improve financial management and make informed decisions.

What is the Cost of Goods Sold (COGS)?

Cost of Goods Sold (COGS) refers to the direct expenses involved in producing the goods or delivering the services a company sells. It reflects the cost required to bring an item to its saleable condition.

  • These direct costs typically include raw materials, direct labour, and production-related overheads such as utilities or equipment depreciation.
  • Indian accounting context: In India, COGS is calculated while preparing the Statement of Profit and Loss under the Companies Act, 2013, and is an essential component for tax reporting under the Income Tax Act, 1961. It is deducted from Revenue from Operations to determine Gross Profit.

Importance of Cost of Goods Sold (COGS)

The Cost of Goods Sold plays a significant role in determining a business’s financial performance. Below are the key reasons why COGS is important:

  • Gross profit calculation: COGS is subtracted from revenue to determine the gross profit, indicating a business’s profitability
  • Pricing strategy: Understanding COGS helps businesses set competitive prices while ensuring sufficient profit margins
  • Financial planning: It aids in budgeting and forecasting by providing insights into production costs
  • Tax benefits: COGS can be deducted from taxable income, reducing overall tax liabilities
  • Operational efficiency: Analysing COGS helps identify cost-saving opportunities and improve operational processes

What does the Cost of Goods Sold (COGS) include?

COGS includes all direct expenses involved in manufacturing a product or delivering a service. These can be grouped into the categories below:

Cost Category

Description

India-Specific Examples and Considerations

Raw Materials

Costs incurred in procuring materials required for production.

Purchase of steel for fabrication units, or cotton for textile manufacturing.

Direct Labour

Wages paid to workers directly engaged in the production process.

Salaries of assembly line workers, excluding administrative or managerial staff.

Factory Overheads

Indirect expenses linked to operating the production facility.

Electricity and water used on the factory floor, depreciation on manufacturing equipment.

Freight-In Costs

Transport expenses incurred to bring raw materials to the production site.

Freight charges on domestic procurement or import duties on imported inputs.

Packaging Costs

Costs of materials used for packaging finished goods.

Product-specific packing required before dispatch or sale.

GST Input Tax Credit (ITC)

Net cost after adjusting eligible GST paid on inputs directly used in manufacturing.

ITC claimed on raw materials and production-related services, reducing the effective purchase cost for COGS.


Different accounting methods for COGS

Since inventory costs fluctuate over time, different valuation methods are used to determine which cost is applied to the goods sold.

  • First-In, First-Out (FIFO): Assumes the earliest purchased inventory is sold first. In periods of rising prices, this usually leads to a lower COGS and higher reported profit. For example, a pharmaceutical distributor may use FIFO so that older batches of medicines are cleared before expiry.
  • Last-In, First-Out (LIFO): Assumes the most recently purchased inventory is sold first. This results in a higher COGS and lower profit when prices are increasing. However, LIFO is not permitted under Indian Accounting Standards (Ind AS) or IFRS.
  • Weighted Average Cost (WAC): Determines the average cost of all units available for sale during the period. This method helps smooth out price fluctuations. For instance, cement manufacturers dealing with uniform, high-volume materials commonly use the WAC approach.
  • Specific Identification: Assigns the actual cost of each item sold. This method is used for unique, high-value items. For example, a jeweller records the specific purchase cost of each diamond or gold ornament.

Formula of Cost of Goods Sold (COGS)

The formula for calculating COGS is straightforward and essential for financial analysis. Below is the step-by-step process:

  • Opening inventory: Determine the value of inventory at the beginning of the period
  • Add purchases: Include all purchases made during the period for production
  • Subtract closing inventory: Deduct the value of unsold inventory at the end of the period
  • COGS formula: Opening Inventory + Purchases - Closing Inventory

This formula provides a clear picture of the direct costs associated with production.

How to calculate the cost of goods sold (COGS)?

Accurate calculation of COGS is vital for financial management. Follow these steps to calculate COGS:

  • Determine opening inventory: Assess the value of inventory at the start of the period
  • Add direct costs: Include raw materials, labour, and overheads incurred during production
  • Account for purchases: Sum up all additional purchases made during the period
  • Calculate closing inventory: Value the remaining inventory at the end of the period
  • Apply COGS formula: Subtract the closing inventory from the total of opening inventory and purchases

Calculation with example

To understand COGS better, let us consider a practical example:

Scenario 1:
Retail Business (Buying and Selling Goods)

Item

Amount (₹)

Opening Inventory (1st April)

80,000

Purchases During the Year

5,50,000

Closing Inventory (31st March)

1,20,000

COGS

80,000 + ₹5,50,000 - ₹1,20,000 = ₹5,10,000


Scenario 2:
Manufacturing Business (Calculating Cost of Goods Manufactured - COGM)

In manufacturing, COGS calculation is slightly more complex as it first requires calculating the Cost of Goods Manufactured (COGM).

Item

Amount (₹)

Opening Work-in-Progress (WIP)

1,00,000

Raw Material Used

2,50,000

Direct Labour

1,50,000

Manufacturing Overheads

50,000

Total Manufacturing Cost

4,50,000

Less: Closing WIP

-50,000

COGM (Cost of goods completed)

₹5,00,000

Opening Finished Goods Inventory

1,50,000

Closing Finished Goods Inventory

(1,00,000)

COGS

5,00,000 + ₹1,50,000 - ₹1,00,000 = ₹5,50,000


Common mistakes in calculating COGS and how to avoid

Common Mistake

Impact

How to Avoid

Misclassifying expenses

Adding indirect costs such as rent, marketing, or administrative salaries into COGS, which artificially inflates expenses and reduces gross profit.

Maintain separate accounts for Direct Costs (COGS) and Operating Expenses (OpEx). Check whether a cost is directly required to produce the product.

Ignoring or estimating inventory

Incorrect physical counts or failing to match opening and closing inventory leads to distorted COGS figures.

Carry out regular physical inventory audits monthly or quarterly. Ensure the closing inventory of one period becomes the opening inventory of the next.

GST treatment errors

Recording the full GST paid on inputs instead of the net amount after claiming Input Tax Credit (ITC), leading to overstated costs.

Always compute COGS using the purchase cost excluding eligible GST, after applying ITC.

Inconsistent valuation method

Switching between FIFO, WAC, and other methods to influence profit levels results in non-compliance and unreliable reporting.

Select a valuation method suitable for your business and apply it consistently across accounting periods.

Ignoring direct costs

Overlooking essential direct expenses such as freight-in charges, import duties, or packaging affects true cost measurement.

Record and track every expense required to bring inventory to your warehouse and into a saleable condition


Type of companies excluded from a COGS deduction

Certain businesses cannot claim a deduction for COGS due to the nature of their operations. These include:

  • Service-oriented businesses: Companies that provide services instead of physical products, such as consulting firms
  • Financial institutions: Banks and investment firms where direct production costs are not applicable
  • Non-profits: Organisations not engaged in profit-making activities
  • Educational institutions: Schools and universities where services are rendered rather than goods sold
  • Government agencies: Public sector organisations focused on governance and public welfare

What are the limitations of COGS?

While COGS is a vital metric, it has certain limitations, particularly for small Indian businesses:

  • Excludes indirect costs: COGS accounts only for direct production expenses and leaves out key overheads such as marketing, administrative salaries, rent, and head-office utilities, all of which influence overall profitability.
  • Prone to manipulation: Businesses may overstate or understate inventory levels to alter COGS and gross profit for tax or reporting advantages.
  • Complex inventory tracking: Accurate valuation requires detailed records, which can be difficult for MSMEs that rely on informal bookkeeping. Errors in inventory counts can lead to misleading COGS figures.
  • Method-based variations: The chosen inventory valuation method (FIFO, WAC) can materially impact the COGS value and the profit reported.

How COGS affects tax planning and financial reporting

COGS is more than a routine expense. It plays a central role in financial management:

  • Tax planning: A higher but correctly computed COGS reduces Gross Profit and therefore lowers taxable income. This is a legitimate tax-minimisation approach, provided all supporting costs are accurately recorded and verifiable under the Income Tax Act.
  • Financial reporting and compliance: Accurate presentation of COGS in the Profit and Loss Statement is mandatory under Indian Accounting Standards (Ind AS) and for Income Tax compliance. Errors or deliberate misstatements can trigger audits and attract penalties.
  • Lender confidence: Banks and financial institutions, including Bajaj Finance, closely examine Gross Margin (Gross Profit divided by Net Sales) to evaluate business health. A well-controlled COGS signals operational efficiency and strengthens the chances of obtaining finance, such as a business loan.

Differences between COGS, OpEx and Cost of Revenue

Feature

Cost of Goods Sold (COGS)

Operating Expenses (OpEx)

Cost of Revenue (COR)

Definition

Represents the direct costs incurred to produce goods or deliver services sold by the business.

Covers the indirect costs required to run and manage day-to-day business operations.

Includes all costs directly linked to generating revenue and is broader in scope than COGS.

Scope

Focused on production and inventory-related expenditure.

Relates to general business functions such as selling, administration, and support activities.

Includes COGS along with other direct revenue-generating expenses such as distribution.

Examples

Raw materials, direct labour, and utilities used in production.

Office rent, marketing and administrative salaries, and professional fees.

For service companies: direct employee costs, hosting expenses, and distribution-related costs.

Financial Impact

Used to calculate Gross Profit.

Used to determine Operating Profit (EBIT).

Applied by both product and service businesses to arrive at gross margin.


Conclusion

Understanding the Cost of Goods Sold (COGS) is crucial for businesses aiming to improve their financial performance. COGS directly impacts revenue, income, and overall profitability. By accurately calculating COGS, businesses can make informed decisions about pricing, budgeting, and cost optimisation. Additionally, understanding the differences between COGS, operating expenses, and cost of revenue is vital for comprehensive financial analysis. For businesses seeking to manage their working capital effectively, considering options like a business loan through Bajaj Finance can provide valuable financial support.

Helpful resources and tips for business loan borrowers

Types of Business Loan

Business Loan Interest Rates

Business Loan Eligibility

Business Loan EMI Calculator

Unsecured Business Loan

How to Apply for Business Loan

Working Capital Loan

MSME Loan

Mudra Loan

Machinery Loan

Personal Loan for Self Employed

Commercial Loan

Frequently asked questions

What is an example of the cost of goods sold?
An example of Cost of Goods Sold (COGS) could include the expenses incurred in producing a piece of furniture. These costs would involve purchasing raw materials like wood, nails, and varnish. Additionally, it would include wages paid to carpenters directly involved in manufacturing, as well as the costs for machinery usage and packaging. By summing up these direct production costs, businesses can calculate their COGS and use the figure to assess gross profit and make strategic pricing decisions.

What are COGS in P&L?
In the Profit and Loss (P&L) statement, Cost of Goods Sold (COGS) refers to the direct costs associated with producing goods or services. It is deducted from total revenue to calculate the gross profit, reflecting a business’s profitability. COGS includes raw materials, labour, and other production-related expenses. By accurately recording COGS in the P&L statement, businesses can evaluate their financial performance, optimise operations, and identify areas where cost reductions can improve overall profitability.

Can COGS be negative?
No, COGS cannot be negative. A negative COGS would imply that the costs incurred for producing or delivering goods are less than zero, which is not feasible. However, businesses might experience zero or low COGS in specific situations, such as when no goods are sold during the accounting period or when products are donated. Accurately calculating COGS ensures transparent financial reporting, enabling businesses to assess gross profit and adjust their cost structures accordingly.

What is the difference between the cost of sales and COGS?
The primary difference between Cost of Sales and Cost of Goods Sold (COGS) lies in their scope and application. Cost of Sales generally refers to all direct and indirect expenses incurred in selling a product or service, while COGS focuses solely on direct production costs. Cost of Sales includes additional expenses like distribution and marketing. Understanding this distinction allows businesses to better analyse their financial performance and develop targeted strategies for cost management and revenue generation.

Show More Show Less

Bajaj Finserv App for All Your Financial Needs and Goals

Trusted by 50 million+ customers in India, Bajaj Finserv App is a one-stop solution for all your financial needs and goals.

You can use the Bajaj Finserv App to:

Apply for loans online, such as Instant Personal Loan, Home Loan, Business Loan, Gold Loan, and more.

  • Explore and apply for co-branded credit cards online.
  • Invest in fixed deposits and mutual funds on the app.
  • Choose from multiple insurance for your health, motor and even pocket insurance, from various insurance providers.
  • Pay and manage your bills and recharges using the BBPS platform. Use Bajaj Pay and Bajaj Wallet for quick and simple money transfers and transactions.
  • Apply for Insta EMI Card and get a pre-approved limit on the app. Explore over 1 million products on the app that can be purchased from a partner store on Easy EMIs.
  • Shop from over 100+ brand partners that offer a diverse range of products and services.
  • Use specialised tools like EMI calculators, SIP Calculators
  • Check your credit score, download loan statements, and even get quick customer support—all on the app.
Download the Bajaj Finserv App today and experience the convenience of managing your finances on one app.

Do more with the Bajaj Finserv App!

UPI, Wallet, Loans, Investments, Cards, Shopping and more

Disclaimer

1. Bajaj Finance Limited (“BFL”) is a Non-Banking Finance Company (NBFC) and Prepaid Payment Instrument Issuer offering financial services viz., loans, deposits, Bajaj Pay Wallet, Bajaj Pay UPI, bill payments and third-party wealth management products. The details mentioned in the respective product/ service document shall prevail in case of any inconsistency with respect to the information referring to BFL products and services on this page.

2. All other information, such as, the images, facts, statistics etc. (“information”) that are in addition to the details mentioned in the BFL’s product/ service document and which are being displayed on this page only depicts the summary of the information sourced from the public domain. The said information is neither owned by BFL nor it is to the exclusive knowledge of BFL. There may be inadvertent inaccuracies or typographical errors or delays in updating the said information. Hence, users are advised to independently exercise diligence by verifying complete information, including by consulting experts, if any. Users shall be the sole owner of the decision taken, if any, about suitability of the same.
For customer support, call Personal Loan IVR: 7757 000 000