Cost of goods sold is the carrying amount of inventory recognized as expense when the related goods are sold.
Cost of goods sold (COGS) is the carrying amount of inventory recognized as an expense when the related goods are sold. For a retailer, it normally includes the acquisition and other inventory costs assigned to merchandise sold. For a manufacturer, it also includes production costs accumulated in finished goods, such as direct materials, direct labor, and allocated production overhead.
COGS is matched with the related sales to calculate gross profit. It is not simply every cash payment made to produce or buy goods, and it is not limited to costs that are directly traceable to one unit.
For a merchandising business, a common inventory reconciliation is:
Net purchases may include freight-in and other costs needed to bring inventory to its present location and condition, less purchase returns, allowances, and discounts, according to the applicable accounting policy.
For a manufacturer, finished-goods inventory provides the final bridge:
Cost of goods manufactured is itself built from direct materials, direct labor, and manufacturing overhead, adjusted for the change in work-in-process inventory. A complete manufacturing schedule therefore reconciles raw materials, work in process, and finished goods rather than treating purchases as immediate COGS.
The exact boundary depends on the business, accounting framework, and presentation policy.
| Item | Typical treatment | Why judgment is needed |
|---|---|---|
| Merchandise purchase cost | Included in inventory, then COGS when sold | Purchase discounts, rebates, duties, and freight require consistent treatment |
| Direct materials and production labor | Included for manufactured inventory | Only costs relating to production belong in inventory |
| Production overhead | Allocated to inventory under the applicable framework | Allocation should reflect normal capacity and a supportable method |
| Abnormal waste | Generally expensed rather than inventoried | Abnormal loss does not bring inventory to its present condition |
| Storage | Often expensed unless necessary in the production process | Ordinary warehousing after production is not automatically inventoriable |
| Selling and distribution | Usually outside inventory cost | These activities occur after inventory is ready for sale |
| General administration | Usually outside inventory cost | Some production administration may require separate analysis |
| Inventory write-down | Recognized as expense; presentation can vary | It is not the cost of units sold in the ordinary physical-flow sense |
Under IFRS Accounting Standards, IAS 2 includes costs of purchase, conversion, and other costs incurred to bring inventory to its present location and condition. It excludes specified items such as abnormal waste, many storage costs, unrelated administrative overhead, and selling costs. U.S. financial-reporting and tax inventory rules have their own detailed requirements, so a financial-statement COGS amount should not be assumed to equal tax COGS.
A retailer reports the following annual amounts:
| Input | Amount |
|---|---|
| Beginning inventory | $120,000 |
| Purchases | $515,000 |
| Purchase returns and discounts | ($15,000) |
| Freight-in | $20,000 |
| Ending inventory | $140,000 |
| Net sales | $800,000 |
Net purchases plus freight-in are $520,000, so goods available for sale are:
COGS is:
Gross profit and gross margin are:
The calculation is only as reliable as the inventory records. The company still needs evidence that ending inventory exists, is owned by the company, is recorded in the correct period, and is not carried above the amount permitted by its reporting framework.
| Measure | Common use | Main caution |
|---|---|---|
| COGS | Cost assigned to inventory sold, especially for retailers and manufacturers | Companies can use different line-item labels and classifications |
| Cost of revenue | Broader cost directly associated with generating revenue, often used by service, software, or mixed businesses | May include service delivery, hosting, support, or amortization that is not inventory COGS |
| Operating expenses | Costs of operating the business that are presented outside gross profit | Depreciation, labor, and occupancy can appear in different functions depending on their use |
Analysts should read the accounting policy and note disclosures rather than compare labels alone. A software company may report hosting and customer-support costs in cost of revenue, while another entity may classify some similar costs elsewhere. Gross margin comparisons are meaningful only after checking the underlying boundary.
If ending inventory is overstated by $10,000, current-period COGS is understated by $10,000 and gross profit is overstated by $10,000. If the error is not corrected, the overstated ending inventory becomes next period’s overstated beginning inventory, reversing the profit effect in the following period.
This two-period reversal does not make the first-period statements acceptable. The error can distort assets, margins, taxes, covenants, bonuses, forecasts, and trend analysis when decisions are made.
Common causes include:
Start by reconciling the inventory roll-forward to the general ledger and physical or perpetual records. Then review changes in purchase prices, product mix, freight, labor efficiency, production volume, overhead absorption, write-downs, and accounting policy.
A lower COGS percentage is not automatically favorable. It can result from price increases, a shift to higher-margin products, delayed write-downs, capitalization errors, or incomplete accruals. A higher percentage can reflect input inflation, markdowns, mix changes, abnormal waste, or a deliberate investment in product quality. Use gross margin together with unit volumes, selling prices, inventory turnover, and disclosures.
This page is educational and does not provide accounting, audit, tax, legal, or investment advice. Classification and tax treatment depend on the entity’s facts, jurisdiction, and applicable reporting rules.