About the Cost of Goods Sold Calculator
What is the Cost of Goods Sold Calculator?
Cost of goods sold (COGS) is what the goods you actually sold cost you. It is worked out from inventory: what you had at the start, plus what you bought and spent to make or bring in goods, minus what is left at the end.
Enter the figures for the period, and add revenue to see gross profit, gross margin and inventory turnover.
How to use the Cost of Goods Sold Calculator
- Opening Inventory (₹) (sample: 8,00,000)
- Purchases During the Period (₹) (sample: 35,00,000)
- Direct Costs – freight-in, direct labour, factory expenses (₹) (sample: 4,00,000)
- Closing Inventory (₹) (sample: 9,00,000)
- Revenue for the Period (₹, optional) (sample: 55,00,000)
- Press Calculate COGS (results also refresh as you type). The result card shows the Cost of Goods Sold, along with Goods available for sale, Gross profit, Gross margin and Inventory turnover.
Formula used
COGS = Opening inventory + Purchases + Direct costs − Closing inventory
- Direct costs = freight-in, customs duty, direct labour and factory expenses
- Purchases = excluding input GST that you can claim as credit
Value inventory consistently (FIFO or weighted average) – the Income Tax Act follows AS-2 / ICDS II.
Worked example
These are the sample values already filled in the calculator above, and the result it returns for them:
| Input | Sample value |
|---|---|
| Opening Inventory (₹) | 8,00,000 |
| Purchases During the Period (₹) | 35,00,000 |
| Direct Costs – freight-in, direct labour, factory expenses (₹) | 4,00,000 |
| Closing Inventory (₹) | 9,00,000 |
| Revenue for the Period (₹, optional) | 55,00,000 |
| Result | Value |
|---|---|
| Cost of Goods Sold | ₹38,00,000 |
| Goods available for sale | ₹47,00,000 |
| Gross profit | ₹17,00,000 |
| Gross margin | 30.91% |
| Inventory turnover | 4.47× |
Tips for using the Cost of Goods Sold Calculator
- Physical stock counts at year end prevent COGS errors from shrinkage or damaged goods.
- Do not include selling, marketing or office expenses in COGS.
