All articles

Cost of goods sold vs. operating expenses

Cost of goods sold is the cost assigned to goods sold during the period. Operating expenses cover other costs of running the business, such as selling and administration. Separating them helps explain profit, but the distinction is not the same as variable versus fixed costs.

In this article

Start with what the cost is for

For a retailer, the cost of goods sold begins with the cost assigned to merchandise sold. For a manufacturer, qualifying costs of making the goods also matter. Inventory can include purchase costs, production labor and allocated production overhead. When the goods are sold, their carrying cost is recognized alongside the related revenue under the applicable accounting rules.

Selling and administration serve a different purpose. Advertising a product and running the office are not the same activity as acquiring or producing inventory. Review what a cost supports rather than choosing an account from the supplier’s name.

Fixed does not automatically mean operating expense. Qualifying factory overhead can enter inventory cost even when it does not change with each unit produced. A selling cost may vary with sales while belonging outside cost of goods sold. Cost behavior and accounting classification answer different questions.

A business selling services may use the label “cost of services” or “cost of revenue.” The activities and reporting policy determine what belongs there. Do not copy a retailer’s categories into a different business without checking their meaning.

See what changes in the profit statement

Suppose a retailer discovers that a cost recorded in operating expenses belongs in cost of goods sold. Assume the related goods have all been sold, the full cost belongs in the same reporting period and no other figures change. Correcting that classification produces this result:

Moving the same cost from operating expenses to cost of goods sold
Net salesUnchanged
The sales recorded for the period have not changed.
Cost of goods soldHigher
The reclassified cost is now included here.
Gross profitLower
Subtracting more cost of goods sold leaves less gross profit.
Operating expensesLower
The same cost is removed from this section, not counted again.
Operating profitUnchanged
Total costs for the period are unchanged. Only their placement has moved.

The gross margin changed; the business did not spend more money. With sales unchanged, gross profit as a percentage of sales also falls. Operating profit stays the same because the expense moved between two parts of the same period’s statement.

That conclusion depends on the assumptions. If some of the cost belongs in unsold inventory instead, the amount recognized as an expense this period can change too. A reclassification between expenses is different from correcting when a cost becomes an expense.

The profit and loss statement guide shows where these subtotals sit. Neither gross profit nor operating profit tells you how much cash is available.

Follow inventory through to the sale

For a simple reseller, assuming net inventory purchases include all qualifying acquisition costs and there are no other inventory adjustments:

Cost of goods sold = beginning inventory + net inventory purchases − ending inventory.

Buying more stock does not make all of it a cost of goods sold immediately. Unsold stock remains part of inventory under this model. Use cost values consistently; the retail selling price is not the inventory cost.

Support the calculation with purchase records, supplier credits and an accurate closing inventory. Include qualifying inbound freight once. Production costs, write-downs, losses and other adjustments need their proper treatment rather than being forced into the short formula. Tax inventory rules and exceptions also need review for the specific business.

For a mixed invoice, identify the goods or services behind each line. Document the classification and any allocation method. Keep the same approach across comparable periods, and correct genuine errors through the approved accounting process. Do not move costs merely to improve a reported margin.

Review uncertain classifications with your accountant. Keep the invoice, receiving records and explanation with the entry. Our ledger article explains that audit trail; the cash and accrual comparison separates reporting dates from payment dates.