Cost Of Goods Sold | Optiwise
Learn Cost of Goods Sold meaning, formula, manufacturing examples, COGS vs expenses, and how AICAN Optiwise helps SMEs improve inventory and cost visibility.
Cost of Goods Sold: Meaning, Formula, Examples, and Manufacturing Use
A business can grow sales and still lose margin quietly.
The reason often sits inside Cost of Goods Sold, or COGS. Material prices rise, production wastage increases, finished goods valuation is wrong, closing stock is inaccurate, and purchase rates change. Sales revenue may look healthy, but the cost behind those sales may be moving faster.
For manufacturers, COGS is not just an accounting line. It is a reflection of inventory discipline, purchase control, production efficiency, costing accuracy, and stock valuation.
AICAN Optiwise helps manufacturing SMEs connect inventory, purchase, production, sales, dispatch, and reporting so COGS conversations are grounded in real operating data.
What Is Cost of Goods Sold?
Cost of Goods Sold is the direct cost of goods that were sold during a period.
For a trading business, it usually includes purchase cost of the goods sold.
For a manufacturing business, it may include:
- Direct material consumed
- Direct labour
- Manufacturing overhead allocated to goods sold
- Production costs related to finished goods
- Adjustments based on opening and closing stock
COGS is deducted from revenue to calculate gross profit.
Gross Profit = Revenue - Cost of Goods Sold
COGS Formula
A simple formula is:
COGS = Opening Inventory + Purchases or Production Cost - Closing Inventory
For manufacturing, the formula may need to account for raw material, WIP, finished goods, and conversion costs.
A simplified manufacturing view:
COGS = Opening Finished Goods + Cost of Goods Manufactured - Closing Finished Goods
Where Cost of Goods Manufactured includes material, labour, and overhead used to produce finished goods.
Simple COGS Example
Assume a manufacturer has:
- Opening finished goods inventory: Rs. 5 lakh
- Cost of goods manufactured during the month: Rs. 25 lakh
- Closing finished goods inventory: Rs. 7 lakh
COGS = Rs. 5 lakh + Rs. 25 lakh - Rs. 7 lakh
COGS = Rs. 23 lakh
If revenue is Rs. 35 lakh:
Gross profit = Rs. 35 lakh - Rs. 23 lakh = Rs. 12 lakh
Gross margin = 34.3 percent approximately
This margin is only useful if the inventory and production cost data behind it is accurate.
Why COGS Matters
COGS matters because it directly affects gross profit.
If COGS is understated, profit looks better than reality. If COGS is overstated, profit looks worse than reality. Either way, management decisions become weak.
COGS helps answer:
- Are material costs rising?
- Are purchase rates changing?
- Is wastage increasing?
- Are production overheads too high?
- Are product margins healthy?
- Is closing stock accurate?
- Are sales prices covering true cost?
For SMEs, COGS is one of the clearest ways to connect operations and finance.
COGS vs Operating Expenses
COGS includes direct costs related to goods sold.
Operating expenses are costs required to run the business but not directly tied to producing goods sold.
Examples of operating expenses include:
- Office salaries
- Marketing
- Rent for corporate office
- Administrative expenses
- Sales team expenses
- General software subscriptions
Manufacturing overhead may be part of production cost depending on accounting treatment, while office overhead is usually operating expense.
Businesses should work with their accountant for final classification.
What Affects COGS in Manufacturing?
Material Price Changes
Raw material inflation directly increases COGS unless pricing is adjusted.
BOM Accuracy
If BOMs are wrong, expected material cost will not match actual consumption.
Wastage and Scrap
Process loss, scrap, rejection, and rework increase cost.
Labour Productivity
Higher labour time per unit increases cost.
Overhead Allocation
Power, maintenance, depreciation, and factory supervision must be allocated consistently.
Inventory Valuation
Wrong closing stock affects COGS and profit.
Purchase Discipline
Emergency purchases, poor negotiation, and supplier issues can increase direct cost.
Common COGS Mistakes
Treating COGS as only an accounts number
COGS is shaped by purchase, inventory, production, quality, and dispatch.
Using inaccurate closing stock
Wrong stock valuation distorts gross profit.
Ignoring WIP
Work-in-progress can hide cost if not tracked properly.
Not reviewing product-wise margins
Total COGS may look acceptable while some products lose money.
Not updating standard costs
Old rates create false margin confidence.
How to Improve COGS Control
- Keep item masters clean.
- Maintain accurate BOMs.
- Record material issues properly.
- Track production output and rejection.
- Review purchase rate variation.
- Separate slow-moving and dead stock.
- Review closing stock accuracy.
- Compare actual cost with standard cost.
- Track product-wise gross margin.
- Use ERP reports for regular review.
How Optiwise Helps With COGS Visibility
Optiwise by AICAN helps manufacturers improve the operating data behind COGS.
It supports visibility across:
- Inventory movement
- Purchase orders and material receipts
- BOM and material planning
- Production consumption
- Finished goods stock
- Dispatches
- Stock reports
- Management dashboards
When these workflows are connected, COGS becomes easier to understand and control.
Founder’s Note
At AICAN, we believe gross margin should never be a mystery discovered after month-end. The cost of goods sold is built every day through purchase decisions, stock discipline, production efficiency, and quality control.
With Optiwise, we help SMEs make those daily movements visible so owners can protect margin with facts, not guesswork.
Learn more at About AICAN.
FAQs
What is Cost of Goods Sold?
Cost of Goods Sold is the direct cost of goods sold during a period, including material, labour, and manufacturing costs depending on the business.
What is the COGS formula?
A common formula is opening inventory plus purchases or production cost minus closing inventory.
Is COGS the same as expenses?
No. COGS includes direct costs of goods sold, while operating expenses include general business costs.
Why is COGS important for manufacturers?
It directly affects gross profit and shows whether production, purchase, and inventory costs are under control.
How does Optiwise help?
AICAN Optiwise connects inventory, purchase, production, and reporting data so manufacturers can understand and manage COGS better.
Related Posts
Kanban System | Optiwise
Learn how a Kanban system works in manufacturing, where it helps, where it fails, and how Optiwise connects Kanban signals with inventory, purchase, and production planning.
Erp In Operations Management | Optiwise
Learn how ERP improves operations management by connecting planning, inventory, purchase, production, quality, dispatch, finance, and reporting.
ERP for FMCG Companies in India
A practical guide to ERP for FMCG companies in India, covering distributor orders, batch tracking, expiry, inventory, production, schemes, costing, and reporting.
What's the Difference Between Odoo, Acumatica, and Dynamics 365 for Small Businesses?
Compare Odoo, Acumatica, and Microsoft Dynamics 365 for small businesses across flexibility, cost, implementation, manufacturing fit, ecosystem, and support considerations.

