What Is Included in COGS: Materials, Labor, Overhead, and Freight

Cost of Goods Sold captures the direct costs of the products your business sold during the year: the raw materials and components in each item, the wages of the workers who made or handled them, the overhead of the facility where production happened, and the freight to bring materials in. Selling costs, office salaries, and outbound shipping to customers stay out. On a federal return, what’s included in COGS is subtracted from gross receipts to produce gross profit, so the boundary between a production cost and an operating expense has a direct effect on taxable income.

COGS applies to businesses that produce, purchase, or resell merchandise. Pure service businesses generally don’t have a COGS figure. A service business that also sells physical items — an auto shop billing for parts alongside labor, for instance — calculates COGS on the goods portion.

Direct Materials

Raw materials are the physical building blocks of what you sell. Lumber and hardware for a furniture maker. Fabric, thread, and zippers for a clothing manufacturer. Anything you buy to transform into a finished product, or to resell as-is, is a direct material cost inside COGS.

Smaller consumables used up during production belong here too, as long as they’re necessary to get the product to its final form. Lubricants for machinery, sandpaper, adhesives. You record these at the invoice price you paid, less any trade discounts or supplier rebates. That net figure becomes the inventory value carried on the balance sheet until the item sells.

Normal Spoilage Stays In, Abnormal Spoilage Comes Out

Some waste is unavoidable. A bakery loses a share of dough. A machine shop generates metal shavings. When spoilage sits within the range your production process treats as normal, its cost stays in COGS and gets spread across the units that were produced successfully. Abnormal spoilage — waste beyond the expected level, from a defective batch of materials or a machine failure — is pulled out of inventory costs and treated as a separate expense on the income statement.

Direct Production Labor

Wages paid to workers who physically make your goods are direct labor and belong in COGS. That covers hourly pay, overtime, and production bonuses for assembly-line workers, machine operators, and craftspeople. Payroll taxes and employee benefits for those same production workers (health insurance, pension contributions, workers’ compensation) are also part of the calculation.1Internal Revenue Service. Form 1125-A (Rev. November 2024) – Cost of Goods Sold

Salaries for employees who don’t turn raw materials into finished goods stay out. Salespeople, office administrators, and HR staff are general operating expenses, not COGS. The test is physical involvement in production.

Split-Time Workers and Supervisors

Plenty of employees don’t fall cleanly on one side of that line. A worker who spends half the day on the assembly line and half handling general maintenance contributes only the production half to COGS. Businesses typically allocate the wages based on the ratio of production hours to total hours worked. The same logic applies to floor supervisors and quality-control staff: the share of their pay tied to overseeing manufacturing goes into COGS, and the share tied to general administration doesn’t.

Manufacturing Overhead

Production requires more than materials and labor. Rent on the manufacturing facility, electricity powering the equipment, insurance on the building, and property taxes are all costs the factory generates even though nothing about them physically becomes part of a product. They belong in COGS through an overhead allocation.

Federal law requires these indirect costs to be capitalized into inventory rather than deducted as they’re incurred. Under the uniform capitalization rules — commonly called UNICAP — you allocate a share of production-related overhead to each unit produced, and that overhead is only deducted through COGS when the inventory actually sells.2Office of the Law Revision Counsel. 26 USC 263A – Capitalization and Inclusion in Inventory Costs of Certain Expenses The rule covers both direct costs of the property and its proper share of allocable indirect costs.

Depreciation on Production Equipment

Manufacturing equipment loses value over time, and that depreciation is part of overhead. Under the Modified Accelerated Cost Recovery System (MACRS), most production machinery is depreciated over five or seven years depending on its classification.3Internal Revenue Service. Publication 946 (2024), How To Depreciate Property The annual depreciation on equipment used in production is allocated to inventory under UNICAP the same way rent and utilities are.

Simplified Allocation

Assigning every indirect cost to every unit individually is unworkable for most producers. The UNICAP regulations allow a simplified production method that uses a formula: calculate the ratio of additional capitalizable costs to total production costs, then apply that ratio to ending inventory and work-in-progress balances.4eCFR. 26 CFR 1.263A-1 – Uniform Capitalization of Costs Businesses with average annual gross receipts of $50 million or less over the prior three tax years can elect to include certain negative adjustments within this method.

Freight and Storage

Freight is one of the areas where COGS is most often miscoded, because the direction of the shipment changes the answer.

Inbound Freight Is In

Transportation to get raw materials or purchased inventory to your facility — freight-in — is added to the cost of the inventory. Pay $500 to ship $10,000 worth of steel to your factory, and the inventory value of that steel becomes $10,500. Each item ends up carrying the true cost of getting it to a usable state.

Storage Depends on Location

Costs for storing raw materials or finished goods before they sell may need to be capitalized into inventory under UNICAP. Off-site storage and warehousing are specifically listed among the costs businesses using the simplified resale method must consider for capitalization.1Internal Revenue Service. Form 1125-A (Rev. November 2024) – Cost of Goods Sold On-site storage inside your production facility is generally picked up already, through the factory overhead allocation.

Outbound Freight Is Out

Shipping finished products to customers — freight-out — is a selling expense, not a COGS item. It appears below the gross profit line on the income statement. Keeping inbound and outbound freight in separate accounts matters, because misclassifying outbound freight into COGS inflates inventory cost and distorts gross profit.

How the Pieces Come Together

Federal law requires businesses to take inventories when doing so is necessary to clearly reflect income.5Office of the Law Revision Counsel. 26 USC 471 – General Rule for Inventories The cost buckets described above feed into a standard calculation:

  • Beginning inventory (value of goods on hand at the start of the year)
  • Plus purchases of raw materials, components, or finished goods during the year
  • Plus direct production labor and related payroll costs
  • Plus manufacturing overhead and other Section 263A capitalized costs
  • Minus ending inventory (value of goods still on hand at year-end)
  • Equals COGS

The ending inventory figure is what actually determines which of the year’s costs stay on the balance sheet and which flow through as this year’s COGS deduction. Estimates of shrinkage during the year are allowed, but they have to be confirmed by a physical count after year-end and adjusted for any difference.5Office of the Law Revision Counsel. 26 USC 471 – General Rule for Inventories

What Small Businesses Can Skip

Much of the UNICAP machinery doesn’t apply to smaller businesses. If your average annual gross receipts over the three preceding tax years are $32 million or less (the threshold for tax years beginning in 2026, adjusted annually for inflation), you qualify as a small business taxpayer.6Internal Revenue Service. Rev. Proc. 2025-32

Qualifying businesses get two significant breaks. First, they’re exempt from the standard inventory rules and can instead use one of two simplified alternatives: treat inventory items as non-incidental materials and supplies, deducting the cost when the items are used or sold, or follow the inventory method reflected in their applicable financial statement (or in their internal books and records if they have no applicable financial statement).5Office of the Law Revision Counsel. 26 USC 471 – General Rule for Inventories Second, qualifying small businesses are exempt from UNICAP entirely and don’t have to capitalize indirect production costs into inventory.2Office of the Law Revision Counsel. 26 USC 263A – Capitalization and Inclusion in Inventory Costs of Certain Expenses Tax shelters are excluded from both exemptions regardless of their gross receipts.