Savvy Nickel LogoSavvy Nickel
Ctrl+K

COGS

Financial Statements
Share:

COGS (Cost of Goods Sold)

Quick Definition

Cost of Goods Sold (COGS) is the direct cost attributable to the production of the goods or services a company sold during a period. It is the first expense subtracted from revenue on the income statement, and its relationship to revenue determines gross margin and gross profit.

Gross Profit = Revenue minus COGS Gross Margin = Gross Profit / Revenue

What It Means

COGS captures what it actually costs to produce what was sold. Not overhead, not administrative salaries, not marketing. Just the direct production costs: raw materials, direct labor, and manufacturing overhead directly tied to production.

Understanding COGS is essential for evaluating business quality. A company with a high gross margin (low COGS relative to revenue) has pricing power or a scalable business model. A company with thin gross margins has little room to absorb cost increases or competitive price pressure.

For tax purposes, COGS is one of the largest deductions available to businesses that sell physical products. The IRS requires businesses to match the cost of inventory to the year in which it is actually sold, not the year in which it was purchased. This matching principle means that inventory costs sit on the balance sheet until the product sells, at which point they flow through COGS and reduce taxable income. Getting this wrong means either overpaying tax or handing the IRS an audit thread to pull.

What COGS Includes

COGS ComponentDescriptionExamples
Direct materialsRaw materials and components in the finished productSteel in cars, flour in bread, screens in phones
Direct laborWages of workers directly producing the goodsAssembly workers, machinists, chefs
Manufacturing overheadIndirect costs tied to productionFactory rent, utilities, equipment depreciation
Inbound freightShipping costs to receive materialsDelivery to the factory
Inventory write-downsLoss from obsolete or damaged inventoryExpired food, discontinued products

What COGS Does NOT Include

Excluded ItemWhere It Goes
Selling expenses (commissions, ads)SG&A, below gross profit
Administrative salariesSG&A, below gross profit
R&D spendingR&D expense, below gross profit
Interest paymentsBelow operating income
Outbound shipping to customersSometimes in COGS, sometimes in SG&A (varies by company)

COGS Calculation Methods

For companies that carry inventory, the method used to cost that inventory affects COGS and profit:

MethodDescriptionCOGS in Rising Price EnvironmentTax Implication
FIFO (First In, First Out)Oldest inventory sold firstLower COGS; higher profitHigher taxes
LIFO (Last In, First Out)Newest inventory sold firstHigher COGS; lower profitLower taxes (allowed for U.S. tax, not IFRS)
Weighted Average CostAverage cost of all inventoryBetween FIFO and LIFOBetween the two
Specific IdentificationTracks each item individuallyMatches actual costUsed for high-value unique items

Companies using LIFO disclose the "LIFO reserve," the difference between LIFO and FIFO inventory values, so analysts can compare across methods. Switching methods requires IRS Form 3115 approval and a Section 481(a) adjustment to prevent double-counting or omitting costs.

The 2026 Tax Outlook for COGS

Several tax changes in 2026 affect how businesses calculate and report COGS:

UNICAP (Section 263A) Updates

In May 2026, the IRS finalized updated guidance under IRC Section 263A, the Uniform Capitalization rules, specifically addressing how ecommerce merchants must capitalize warehousing, fulfillment, and last-mile costs into inventory cost basis. The change took effect for fiscal years beginning after January 1, 2026, and is forcing many mid-market direct-to-consumer brands to restate prior-period financials.

Previously, many ecommerce operators were expensing the bulk of their third-party logistics fees as period costs. The new rules require a larger share of those fees, including inbound receiving fees, pick-and-pack labor, climate-controlled storage surcharges, and certain returns processing costs, to be capitalized into ending inventory value rather than deducted immediately. According to accounting advisors, the average affected client is looking at a 12 to 18% increase in capitalized inventory value, which directly reduces the COGS deduction in the period and raises taxable income.

Small Business Exemption

For 2026, the small business gross receipts threshold rose to $31 million (up from $30 million in 2025). Businesses with average annual gross receipts at or below this threshold are exempt from UNICAP requirements and can use simpler accounting methods under IRC Section 471(c). This means many small businesses can treat inventory as non-incidental materials and supplies, deducting the cost in the year the item is sold rather than maintaining formal inventory accounting.

Bonus Depreciation and Section 179

The One Big Beautiful Bill Act, signed July 4, 2025, made 100% bonus depreciation permanent. Businesses can now deduct the full cost of qualified equipment in the year of purchase rather than depreciating it over time. The Section 179 expensing limit is approximately $2.5 million for 2026. While these deductions do not flow through COGS directly, they affect the depreciation component of manufacturing overhead, which is part of COGS for producers.

COGS Examples by Industry

IndustryMajor COGS ComponentsTypical COGS as % of Revenue
Grocery retailFood products, packaging70-75%
Automotive manufacturingSteel, parts, direct labor75-85%
SemiconductorRaw materials, fab costs35-50%
Software (SaaS)Hosting, support, licensing15-30%
RestaurantFood, beverages, kitchen staff25-35%
PharmaceuticalAPI, packaging, manufacturing20-35%
Fast fashion retailGarments, sourcing40-55%

Software companies have among the lowest COGS ratios because their products can be distributed digitally with near-zero marginal cost once developed. This is why software businesses command higher valuation multiples than manufacturing businesses with similar revenue.

The COGS-Inventory Connection

COGS = Beginning Inventory + Purchases - Ending Inventory

This formula links the income statement (COGS) to the balance sheet (inventory):

Amount
Beginning inventory (Jan 1)$50,000
+ Purchases during year$300,000
= Goods available for sale$350,000
- Ending inventory (Dec 31)$60,000
= COGS$290,000

If the company sold $500,000 of goods: Gross Profit = $500,000 minus $290,000 = $210,000 (42% gross margin)

For sole proprietors filing Schedule C, Part III (Lines 33-42) walks through this exact calculation. The COGS result flows to Line 4 and reduces gross income, which in turn lowers both income tax and the 15.3% self-employment tax. This makes accurate COGS calculation doubly valuable: it reduces income tax and self-employment tax simultaneously.

Gross Margin Analysis: Why It Matters

Gross margin is the most direct measure of a business's pricing power and cost efficiency:

CompanyRevenueCOGSGross ProfitGross Margin
Apple$383B$214B$169B44%
Microsoft$212B$65B$147B69%
Amazon (product)$255B$237B$18B7%
Nvidia$61B$17B$44B72%
General Motors$172B$150B$22B13%

Nvidia's 72% gross margin reflects proprietary chips with minimal competition and strong pricing power. GM's 13% margin reflects commodity manufacturing with thin pricing power and high input costs. Investors use gross margin as a first filter: businesses with gross margins below 15% rarely generate enough surplus to fund growth, service debt, and return capital to shareholders.

COGS and Economies of Scale

One of the most important dynamics in business is how COGS behaves as volume increases. For many businesses:

  • Fixed production overhead (factory lease, equipment) stays constant while revenue grows
  • Variable costs (materials, direct labor) scale with volume
  • As revenue grows, fixed costs spread over more units, reducing per-unit COGS

Example: A manufacturer with $1M in fixed overhead and $5/unit variable cost:

Units SoldVariable CostFixed CostTotal COGSRevenue ($20/unit)Gross Margin
100,000$500K$1,000K$1,500K$2,000K25%
200,000$1,000K$1,000K$2,000K$4,000K50%
500,000$2,500K$1,000K$3,500K$10,000K65%

Gross margin expands dramatically as volume grows, because fixed overhead gets spread more thinly. This is operating leverage, a core value driver for scalable businesses.

Key Points to Remember

  • COGS equals the direct costs of producing what was sold: materials, direct labor, and manufacturing overhead
  • Gross Profit = Revenue minus COGS; Gross Margin = Gross Profit / Revenue
  • The inventory costing method (FIFO, LIFO, weighted average) directly affects reported COGS and taxable income
  • Low COGS as a percentage of revenue signals pricing power, a scalable business model, or proprietary products
  • Software and digital businesses have extremely low COGS because marginal reproduction cost is near zero
  • COGS trends over time reveal whether input cost inflation or production efficiency is improving or worsening
  • For 2026, the UNICAP small business exemption threshold is $31 million in average gross receipts

Common Mistakes to Avoid

  • Confusing COGS with operating expenses: SG&A, R&D, and marketing are below the gross profit line, not part of COGS. Mixing them in inflates the COGS deduction and creates problems if the IRS takes a closer look.
  • Ignoring inventory method when comparing companies: A company using LIFO in a rising-cost environment reports higher COGS and lower profits than an identical company using FIFO. Always check the LIFO reserve to make an apples-to-apples comparison.
  • Overlooking COGS trends: Revenue growth with expanding COGS (falling gross margins) is a red flag. The business may be losing pricing power or facing input cost inflation.
  • Expensing costs that must be capitalized: Under the 2026 UNICAP updates, ecommerce sellers who continue expensing 3PL fees that should be capitalized into inventory are at risk of restatements and penalties.
  • Forgetting that COGS reduces self-employment tax: For sole proprietors, COGS lowers gross income on Schedule C, which reduces both income tax and the 15.3% SE tax. Accurate COGS reporting has a double benefit.

Frequently Asked Questions

Q: What is the difference between COGS and operating expenses? A: COGS includes only direct production costs. Operating expenses (SG&A, R&D) are indirect costs not tied to production. Together, COGS plus operating expenses equal total operating costs. The dividing line between the two determines gross margin.

Q: Do service companies have COGS? A: Service companies often use "Cost of Revenue" or "Cost of Services" instead of COGS, which includes direct labor and other costs directly tied to delivering the service. The concept is identical: direct service delivery costs that determine gross margin.

Q: How does inflation affect COGS? A: Rising input costs (materials, energy, labor) increase COGS directly. Companies with strong pricing power can pass these cost increases to customers, maintaining gross margins. Companies without pricing power absorb the increases, compressing gross margins. Gross margin trends are the clearest signal of pricing power in inflationary periods.

Q: What is UNICAP and does it apply to my business? A: UNICAP (Uniform Capitalization, IRC Section 263A) requires certain businesses to capitalize indirect costs into inventory rather than expensing them immediately. For 2026, businesses with average annual gross receipts of $31 million or less are exempt. Larger businesses, particularly ecommerce operators, should review the May 2026 IRS guidance on warehousing and fulfillment cost capitalization. Consult IRS Publication 538 for detailed rules on accounting periods and methods.

Related Articles

Renters Insurance: Why It Costs Less Than a Netflix Subscription and Why You Need It

Renters insurance costs about $14 a month and covers scenarios most renters don't realize they're exposed to. Here is exactly what it covers, what it doesn't, and how to buy it right.

2026-06-19Protecting Your Money
Renters Insurance: Why It Costs Less Than a Netflix Subscription and Why You Need It

Can a Teenager Start a Business? What You Need to Know

Teenagers can legally run a business in the U.S. but there are real legal, tax, and practical rules to understand first. Here is the honest guide to starting a business before 18.

2026-02-21Teen Money
Can a Teenager Start a Business? What You Need to Know

Remote Work and Geographic Arbitrage: Earn a City Salary While Living Cheaply

Geographic arbitrage can be equivalent to a $20,000-$50,000 annual raise. Keep your San Francisco salary, pay Phoenix rent. Move from New York to Florida and eliminate state income tax. Here is the math and the strategy for 2026.

2026-07-11Real Life Money
Remote Work and Geographic Arbitrage: Earn a City Salary While Living Cheaply

How to Choose a Career Based on Lifetime Earning Potential, Not Just Starting Salary

Starting salary is a snapshot. Lifetime earnings is the movie. A nurse starting at $81,000 and a teacher starting at $67,000 differ by $430,000 over 30 years. Here is how to evaluate careers based on lifetime earning potential.

2026-07-08Real Life Money
How to Choose a Career Based on Lifetime Earning Potential, Not Just Starting Salary

The True Cost of Owning a Home That Nobody Puts in the Brochure

The mortgage is just the beginning. Property taxes, insurance, maintenance, HOA fees, and closing costs add an average of $21,400 per year on top of your mortgage. Here is the true cost of owning a home in 2026.

2026-07-05Real Life Money
The True Cost of Owning a Home That Nobody Puts in the Brochure
Back to Glossary
Financial Term DefinitionFinancial Statements