---
title: "Cost of Goods Sold (COGS) Calculation for Indian Businesses"
description: "COGS cost of goods sold calculation for Indian SMBs — opening stock + purchases - closing stock formula and inventory valuation impact."
canonical_url: "https://billbabu.com/blog/cogs-cost-of-goods-sold-calculation"
markdown_url: "https://billbabu.com/blog/cogs-cost-of-goods-sold-calculation.md"
type: "blog-post"
language: "en-IN"
published: "2026-05-16"
last_updated: "2026-10-08"
author: "BillBabu Team"
category: "Accounting"
tags: ["cogs", "inventory", "costing", "gross margin"]
site: "BillBabu (https://billbabu.com)"
---
# Cost of Goods Sold (COGS) Calculation for Indian Businesses

By BillBabu Team · Published 16 May 2026 · Updated 8 October 2026 · Category: Accounting

COGS cost of goods sold calculation for Indian SMBs — opening stock + purchases - closing stock formula and inventory valuation impact.

## What COGS Is and Why It Matters

Cost of Goods Sold (COGS) is the direct cost of producing or purchasing the goods that you actually sold during a period. For a trader it is opening stock plus purchases minus closing stock; for a manufacturer it also includes raw material consumption, factory labour, and factory overheads. COGS sits between Sales and Gross Profit on the P&L — every rupee of inaccuracy in COGS is a rupee of error in your gross margin, your taxable income and your inventory on the balance sheet. Banks examining your statements always check the Gross Margin trend, so consistent COGS calculation matters as much for credit as it does for tax.

## The Standard COGS Formula

COGS = Opening Stock + Net Purchases + Direct Expenses - Closing Stock. Net Purchases = Gross Purchases + Freight Inward + Customs Duty - Purchase Returns - Discount Received. Direct Expenses for manufacturers include factory wages, power and fuel, consumable stores, and factory rent. For a trading business with opening stock Rs. 3 lakh, purchases Rs. 20 lakh, freight inward Rs. 50,000 and closing stock Rs. 4 lakh — COGS = 3 + 20 + 0.5 - 4 = Rs. 19.5 lakh. If sales were Rs. 25 lakh, the gross profit is Rs. 5.5 lakh and the gross margin 22%.

## Inventory Valuation Method — FIFO vs Weighted Average

How you value closing stock directly changes COGS. FIFO (First-In-First-Out) assumes the oldest stock is sold first, so closing stock reflects the most recent purchase prices — in an inflationary market, FIFO understates COGS and inflates profit. Weighted Average smooths cost over the period and is the most common method for SMBs. AS 2 / Ind AS 2 allow only FIFO or Weighted Average; LIFO is not permitted in Indian GAAP. Once you pick a method, stick with it — switching requires disclosure and adjustment of the opening balance.

## Lower of Cost or Net Realisable Value

Indian standards require closing stock to be valued at the lower of cost and Net Realisable Value (NRV). NRV is the estimated selling price minus expected costs of completion and sale. If stock has become obsolete, damaged, or its market price has fallen below cost, you must write it down — the write-down is charged to COGS in that period. Many SMBs miss this and end up with overstated inventory on the balance sheet for years; a clean stock audit at year-end catches this.

## Get COGS and Margin Tracking on Autopilot with BillBabu

BillBabu maintains a perpetual inventory system — every purchase increases stock at its weighted average cost, every sale reduces it, and the system can show you cost-of-sale and gross margin on every invoice in real time. The year-end Closing Stock report is broken down by item, location and ageing, with a flag for items whose market price has fallen below cost. COGS in your P&L reconciles to the last rupee with your inventory register — auditors typically clear stock testing in a single visit instead of two days of reconciliation.

**Built for Indian small businesses.** BillBabu is GST-compliant billing software that helps you create invoices, manage estimates, track payments and stay audit-ready — from your phone. [Learn more about BillBabu](https://billbabu.com/) or [download the app](https://play.google.com/store/apps/details?id=com.billbabu.app).

## Related guides

- [Export Realization Delays & EDPMS Caution Listing: RBI Extension Rules, Write-Off Limits, and e-BRC](https://billbabu.com/blog/export-realization-edpms-caution-listing-write-off-rules): Protect your business from RBI EDPMS caution listing. Master the 9-month export realization deadline, AD bank extensions (Form ETX), 5% & 10% write-offs, e-BRC, and forex accounting.
- [GST on Payment Gateway MDR & Daily UPI Settlements: Journal Entries, ITC, and Reconciliation Guide](https://billbabu.com/blog/gst-on-payment-gateway-mdr-accounting-entries): Master the accounting treatment for payment gateway MDR under SAC 9971, 18% GST ITC claiming in GSTR-2B, Section 194-O TDS, double-entry vouchers, and 3-way reconciliation.
- [Fixed Assets Register: Format, Contents and Depreciation Schedule](https://billbabu.com/blog/fixed-assets-register-india-format): Fixed assets register India format — required contents, depreciation schedule and disposal accounting for compliant SMB record-keeping.

---

This is the Markdown version of https://billbabu.com/blog/cogs-cost-of-goods-sold-calculation for AI assistants. Product summary and every page: https://billbabu.com/llms.txt
