Cost of Goods Sold: Definition and COGS Meaning
Glossary definition of cost of goods sold, its components, and why service vendor invoices inside it are rarely audited. Not every one does.
Cost of goods sold, or COGS, is the direct cost of producing whatever a company sells: raw materials, direct labor on the production line, and the manufacturing overhead required to make the product. \n\nFor a manufacturer or distributor, COGS is also where a large share of vendor invoices live: freight bringing materials in, contract labor on the floor, and equipment maintenance keeping the line running. Each of those invoices is supposed to match a contract. Not every one does.
1. What counts as cost of goods sold?
Cost of goods sold includes every cost directly tied to producing what a company sells: raw materials, components, direct production labor, and the manufacturing overhead, utilities, equipment depreciation, plant maintenance, allocated to the production process. It excludes costs incurred after production, such as outbound shipping to the customer, sales commissions, and corporate overhead, which are reported as operating expense instead.
The dividing line is whether a cost attaches to the product before it is finished and ready for sale, or after.
Direct materials are the components and raw inputs that become part of the finished product: steel, resin, packaging. Direct labor is the wages of workers physically producing it, including contract labor working directly on production on a fabrication or assembly line. Both post to COGS as units move through production.
Overhead covers costs that support production without being traceable to a single unit: plant utilities, equipment maintenance and repair, calibration, and depreciation on production equipment. These are allocated across output rather than tracked per unit, which is also what makes an overcharge inside them harder to spot on a single invoice.
2. Where does COGS sit on the income statement?
Revenue minus cost of goods sold equals gross profit, the first profitability measure on the income statement. Operating expenses, selling, general and administrative costs, are subtracted from gross profit to reach operating income. COGS is reported before any of the costs of running sales, marketing, or corporate functions, which is why a change in COGS moves gross margin directly and immediately.
Gross margin, COGS measured against revenue, is the metric most finance teams watch first when performance shifts.
Because COGS is usually reported as one aggregated line, an invoice-level problem inside it does not appear as its own item. It shows up only as a lower gross margin percentage, and a lower gross margin has many plausible explanations: input cost inflation, product mix, volume. A single incorrect vendor invoice rarely gets isolated from that noise without someone deliberately checking it.
3. Why is COGS harder to audit than operating expense?
COGS is built from a much higher volume of vendor invoices than most operating expense categories, spanning freight, MRO, contract labor, and maintenance, each governed by its own contract with its own rate card, volume tier, or NTE cap. Operating expense invoices are fewer and more visible individually. COGS invoices are numerous, contractually varied, and easy to post without anyone checking the invoice against the underlying agreement.
A controller reviewing a handful of monthly software subscriptions in operating expense can reasonably eyeball each one.
A controller reviewing freight, contract labor, and maintenance and repair invoices inside COGS is looking at a high volume of line items a month, each one needing to be checked against a rate card, a volume tier, or a contract's not-to-exceed cap. Three-way matching in an ERP checks the invoice against a purchase order and receipt. It does not test whether a surcharge on that invoice matches the accessorial rate the contract actually specifies.
4. How does an incorrect COGS invoice affect reported margin?
Every dollar an incorrect invoice overstates inside cost of goods sold is a dollar of gross margin the company never had. Unlike a one-time write-off, this kind of drift compounds silently month over month because the same contract term keeps being misapplied on every subsequent invoice, and gross margin reporting has no mechanism to isolate it from legitimate cost movement.
A vendor billing an expired volume discount rate, or applying a surcharge outside its contractual trigger condition, does not generate an alert. It generates a slightly lower gross margin, repeated on every invoice cycle until someone checks the underlying contract terms.
That is a distinct problem from a legitimate price increase, where a vendor is charging exactly what its contract now allows and the correct response is to accept the new cost basis, not flag it. Telling the two apart requires checking the invoice against the contract clause it claims to be following.
For the wider pattern this sits inside, start with the margin drift guide.
5. Frequently Asked Questions (People Also Ask)
What is cost of goods sold?
Cost of goods sold, or COGS, is the direct cost of producing what a company sells: materials, direct labor, and the manufacturing overhead tied to production. It sits on the income statement above gross profit and excludes selling, general, and administrative expense.
Does COGS include freight?
Inbound freight to bring raw materials to a plant is typically capitalized into COGS as part of inventory cost. Outbound freight to ship finished goods to a customer is usually a selling expense, not COGS. The line an invoice lands on depends on which leg of the shipment it covers.
Is contract labor part of COGS?
Contract labor working directly on production, a temp operator on a fabrication line, for example, is a COGS item. Contract labor supporting administrative or sales functions is not. The distinction is about what the labor touches, not who employs the worker.
Why does margin drift hide inside COGS instead of showing up as an expense line?
COGS is reported as a single aggregated figure on most income statements. A vendor invoice with an overcharge does not appear as its own line; it is absorbed into the total and shows up only as a slightly lower gross margin, which is easy to attribute to volume or mix instead.
How is COGS different from operating expense for audit purposes?
Operating expense invoices tend to be reviewed individually because there are fewer of them. COGS is built from a high volume of vendor invoices across freight, MRO, and contract labor, each matched against its own contract terms, which is exactly the volume and complexity where invoice-to-contract matching finds discrepancies.
Can a rising COGS percentage be a legitimate price increase rather than an error?
Yes. Input costs move, and a vendor is entitled to raise prices under the terms it agreed to. The question is whether the increase matches what the contract actually authorizes, not whether COGS moved at all.
What service categories inside COGS are worth checking first?
Freight and 3PL, contract labor and staffing, and maintenance and repair are the categories most directly tied to production and most likely to carry a rate card, a volume tier, or an NTE cap that an invoice can violate without anyone noticing.
Does an ERP system verify that a COGS invoice matches its contract?
An ERP records the invoice and can flag a mismatch against a purchase order or receipt. It does not typically interpret a rate card, a volume tier threshold, or a rebate clause written into a separate contract document, so a contractually incorrect invoice can still post cleanly.
1. What counts as cost of goods sold?
2. Where does COGS sit on the income statement?
3. Why is COGS harder to audit than operating expense?
4. How does an incorrect COGS invoice affect reported margin?
Questions & Answers
What is cost of goods sold?
Cost of goods sold, or COGS, is the direct cost of producing what a company sells: materials, direct labor, and the manufacturing overhead tied to production. It sits on the income statement above gross profit and excludes selling, general, and administrative expense.
Does COGS include freight?
Inbound freight to bring raw materials to a plant is typically capitalized into COGS as part of inventory cost. Outbound freight to ship finished goods to a customer is usually a selling expense, not COGS. The line an invoice lands on depends on which leg of the shipment it covers.
Is contract labor part of COGS?
Contract labor working directly on production, a temp operator on a fabrication line, for example, is a COGS item. Contract labor supporting administrative or sales functions is not. The distinction is about what the labor touches, not who employs the worker.
Why does margin drift hide inside COGS instead of showing up as an expense line?
COGS is reported as a single aggregated figure on most income statements. A vendor invoice with an overcharge does not appear as its own line; it is absorbed into the total and shows up only as a slightly lower gross margin, which is easy to attribute to volume or mix instead.
How is COGS different from operating expense for audit purposes?
Operating expense invoices tend to be reviewed individually because there are fewer of them. COGS is built from a high volume of vendor invoices across freight, MRO, and contract labor, each matched against its own contract terms, which is exactly the volume and complexity where invoice-to-contract matching finds discrepancies.
Margin Drift Resources
- GuideWhat Is Margin Drift? The Definitive Guide for Manufacturers Margin drift is the gap between vendor contract terms and actual invoices. Manufacturers l…
- GuideThe Complete Guide to Margin Drift and Spend Leakage in Services Procurement Margin drift costs mid-market companies 1–3% of services spend annually. This guide covers…
- Why AP Automation Doesn’t Solve Margin Drift in Manufacturing AP automation platforms streamline processing but don’t validate contract terms. Why margi…
- Margin Drift: The Silent Erosion Most Finance Teams Miss How cumulative operational gaps quietly destroy profitability before the numbers catch up…
- Margin Drift in Industrial Distribution: The $1.2M Problem Hiding in Your Vendor Invoices For a $75M industrial distributor on 22–26% gross margins, a 1.5-point margin drift equals…
- Spend Analysis vs. Margin Drift — Why Knowing What You Spent Is Not Enough Spend analysis shows what you paid. Margin drift analysis shows what you overpaid. The dif…
- What Is Margin Drift in Procurement? Margin drift is the gradual erosion of profit margins through undetected invoice errors, r…
- How to Enforce Contract Terms on Vendor Invoices: Prevent Margin Leakage Before Payment (2026 Guide) Learn how to enforce contract terms on vendor invoices using contract validation, invoice …
- Vendor Contract Non-Compliance Billing Recovery: Recover Hidden Margin Leakage from Supplier Invoices (2026 Guide) Learn how vendor contract non-compliance billing recovery helps organizations identify ove…
- Hidden Cost Leakage in Houston Manufacturing: How to Stop Losing Money You've Already Spent Houston manufacturers are losing thousands to hidden billing errors, freight overcharges, …
- Reducing Operational Costs Through Vendor Billing Accuracy in Texas Manufacturing (2026 Guide)
- Hidden Cost Leakage in Houston Manufacturing Operations: Identify and Recover Lost Profit Before It Impacts EBITDA (2026 Guide) Discover how Houston manufacturers can identify hidden cost leakage, reduce operational wa…
- Why Approved Invoices Don't Equal Accurate Invoices: The Hidden Cost of Invoice Validation Gaps (2026 Guide)
- Freight Billing Audit for 3PL Manufacturers: Reduce Logistics Cost Leakage in Texas (2026 Guide)
- Contract Labor Billing Accuracy for Dallas Manufacturing Plants: Prevent Cost Leakage & Improve Workforce Spend Control (2026 Guide) Learn how Dallas manufacturing plants improve contract labor billing accuracy, reduce work…
- Vendor Spend Governance Software for Houston Manufacturers: Improve Cost Control & Prevent Margin Leakage (2026 Guide) Discover how vendor spend governance software helps Houston manufacturers improve supplier…
- Spend Visibility vs. Spend Control: What's the Difference for Texas Manufacturers? (2026 Guide) Learn the difference between spend visibility and spend control for Texas manufacturers. D…
- Why Manufacturers Keep Paying the Same Vendor Billing Errors Twice: The Hidden Structural Flaw Behind Margin Leakage (2026 Guide) Manufacturers are unknowingly paying the exact same vendor billing error, month after mont…
- Contract Intelligence Platform for Procurement Teams: Improve Supplier Compliance & Reduce Cost Leakage (2026 Guide)
- Why Manufacturing CFOs in Texas Are Prioritizing Invoice Intelligence Over Spend Analytics (2026 Guide)
- Cost Reduction vs. Cost Leakage Prevention: Which Delivers Better EBITDA for Houston Manufacturers? (2026 Guide)
- The Hidden Cost of Auto-Approved Vendor Invoices: How Houston Manufacturers Increase Margin Leakage with Faster Payments (2026 Guide)
- Why Vendor Performance Should Include Invoice Accuracy: A Better KPI for Houston Manufacturers (2026 Guide) Discover why Houston manufacturers should include invoice accuracy in vendor performance m…
- The Hidden Cost of Auto-Approved Vendor Invoices: When Faster Payments Increase Margin Leakage Learn why procurement savings often fail to appear on the P&L for Houston manufacturers an…
- Why Your ERP Knows What You Paid, But Not Whether You Should Have Paid It: ERP Invoice Validation Limitations for Texas Manufacturers (2026 Guide) Discover the limitations of ERP invoice validation and why Houston manufacturers need cont…
- The CFO's Blind Spot: Why Indirect Spend Creates Hidden Margin Leakage for Houston Manufacturers (2026 Guide) Learn why indirect spend governance is critical for Houston manufacturers. Discover how hi…
- Every Invoice Tells a Story: Using Supplier Billing Data to Improve Financial Control for Houston Manufacturers (2026 Guide) Discover how supplier invoice analytics helps Houston manufacturers uncover billing patter…
- Why Procurement, Finance, and Accounts Payable Need a Shared Vendor Dashboard for Houston Manufacturers (2026 Guide) Learn why Houston manufacturers should use a shared vendor spend dashboard to align procur…
- The Hidden ROI of Reading the Fine Print in Supplier Contracts: A Supplier Contract Compliance Guide for Houston Manufacturers (2026) Discover how supplier contract compliance helps Houston manufacturers enforce pricing, reb…
- Why Finance Teams Should Audit Contract Changes, Not Just Supplier Invoices: Contract Amendment Management for Houston Manufacturers (2026 Guide)