Cost of Sales vs. Cost of Goods Sold: What's the Difference?

By Markets & Investing DeskUpdated Nov 10, 2026

Cost of Sales vs. Cost of Goods Sold
Illustration · Fintrev

Definition

COGS is the direct cost of the physical products a company sold. Cost of sales is broader, covering the direct cost of delivering goods, services or both.

Key takeaways

  • COGS equals beginning inventory plus purchases or production costs minus ending inventory.
  • Service costs such as technician wages and client travel are expensed as work is performed, not run through inventory.
  • Selling expenses like commissions, advertising and sales staff salaries stay out of COGS and sit in operating expenses.
  • LIFO is permitted under US GAAP but not under IFRS, so COGS can differ across borders for the same sales.

Cost of goods sold (COGS) is the direct cost of producing or buying the physical products a company sold during a period. Cost of sales (also called cost of revenue) is the broader direct cost of delivering whatever the company sold, whether goods, services or both. For a business that only sells products, the two figures can be the same number under different names. For a business that sells services, cost of sales covers costs that COGS, strictly read, would not: consultant salaries, technician labor, travel to client sites and other expenses incurred to deliver the service.

Both figures do the same job on the income statement: they are subtracted from revenue to arrive at gross profit. A company that sells both goods and services may show both lines, or a single cost of sales line that combines them.

Cost of Sales vs. Cost of Goods Sold: Key Differences

Feature Cost of goods sold (COGS) Cost of sales
Typical users Manufacturers, industrial and trading companies Service businesses, retailers, mixed goods-and-services companies
What it covers Direct materials, direct labor and production costs of goods sold Direct costs of goods and services delivered
Typical items Raw materials, factory wages, purchased merchandise Service staff salaries, client travel, delivery costs, plus product costs if goods are sold
Inventory link Calculated from inventory movements Partly from inventory (if any), partly from period service costs

The labels are not perfectly standardized. Accounting rules require companies to report the expense, but they leave the exact caption to the company. A retailer may call its merchandise cost “cost of sales,” and a software company may call its hosting and support costs “cost of revenue.” The caption alone does not tell you what is inside the number; the accounting policy notes in the financial statements do.

How It Works

Calculating COGS

COGS is built from inventory. The standard periodic formula is:

COGS = Beginning inventory + Purchases (or production costs) during the period − Ending inventory

The logic is that everything available for sale either was sold or is still on the shelf. Whatever is no longer in inventory at period end is treated as sold, and its cost moves from the balance sheet, where unsold inventory sits as an asset, to the income statement as an expense.

For a manufacturer, “purchases” includes the full production cost of goods: direct materials, direct labor and manufacturing overhead such as factory utilities and equipment depreciation. Selling, marketing, distribution to customers and head-office costs stay out of COGS. A toy maker, for example, would include plastic, paint, packaging inside the box and the wages of assembly-line workers, but not its advertising budget. Inventory costing is covered in the full guide to COGS.

Building cost of sales

Cost of sales starts with COGS (if the company sells goods) and adds the direct costs of services delivered in the period. Service costs usually do not pass through inventory; they are expensed as the work is performed. Typical items include:

  • Salaries and benefits of staff who deliver the service (consultants, engineers, technicians)
  • Travel and on-site expenses incurred for clients
  • Subcontractor fees when outside contractors perform part of the delivered work
  • Materials consumed in delivering a service

Real filings show how wide the definition can be. Ford Motor Company, which both manufactures vehicles and provides financing through Ford Credit, reports a cost of sales line rather than COGS. Its annual report describes that line as including material and commodity costs, freight, warranty and product recall costs, labor and other development and production costs, and depreciation and amortization, while excluding selling and administrative expenses.

Example

Hypothetical company: Northbay Equipment sells industrial pumps and also provides installation and maintenance services. All figures are for one fiscal year and are illustrative.

Product side (COGS):

  • Beginning inventory: $60,000
  • Purchases and production costs: $280,000
  • Ending inventory: $70,000
  • COGS = $60,000 + $280,000 − $70,000 = $270,000

Service side:

  • Technician wages: $90,000
  • Travel to customer sites: $10,000
  • Direct service cost = $100,000

Income statement view:

Line Amount
Product revenue $500,000
Service revenue $200,000
Total revenue $700,000
Cost of sales (COGS $270,000 + service costs $100,000) $370,000
Gross profit $330,000

Gross margin is gross profit divided by revenue: $330,000 / $700,000 ≈ 47.1%. Split by segment, products earn ($500,000 − $270,000) / $500,000 = 46%, and services earn ($200,000 − $100,000) / $200,000 = 50%.

If Northbay reported only COGS and pushed technician wages into operating expenses, gross profit would show $430,000 and gross margin about 61.4%. Operating income would be unchanged, because the same costs are still deducted, just lower on the statement. This is why classification matters when comparing companies.

Why It Matters

Cost of sales and COGS sit at the top of the income statement, directly under revenue. Subtracting them yields gross profit, the first measure of whether the core business makes money before overhead, interest and taxes.

Profitability analysis. When direct costs rise faster than revenue, gross margin shrinks. That can reflect higher input prices, production inefficiency, or pricing that has not kept up with costs. When direct costs fall as a share of revenue, the company keeps more of each sales dollar to cover operating expenses.

Pricing. A company that knows its direct cost per unit or per service hour can set prices that cover those costs with room for overhead and profit. If costs climb and prices stay fixed, margins compress.

Inventory management. Because COGS is derived from inventory, inventory practices affect it. Approaches such as just-in-time purchasing aim to reduce stock sitting unsold. Overstocking raises the risk that goods become obsolete or damaged, and write-downs of such inventory are commonly recorded in COGS, raising the expense in that period.

Limitations

  • Inconsistent captions and contents. Two companies in the same industry may draw the line between cost of sales and operating expenses differently. One may include shipping to customers or depreciation in cost of sales; another may report them separately. Gross margins are only comparable after checking the notes.
  • Inventory method changes the number. Under FIFO, LIFO or weighted-average costing, the same physical sales can produce different COGS when purchase prices change. LIFO is permitted under US GAAP but not under IFRS, which adds another source of difference across borders.
  • Gross profit is not net profit. A high gross margin can coexist with losses if selling, administrative, research or interest costs are large.
  • Depreciation placement. When depreciation is included in cost of sales, gross profit is lower than for a peer that reports it below gross profit. Measures that add depreciation back, such as EBITDA, remove that difference but also remove a real cost.

Distinctions Readers Confuse

Sales vs. cost of sales. Sales (revenue) is what customers paid. Cost of sales is what it cost the company to deliver what was sold, and it is subtracted from sales.

Cost price vs. selling price. Cost price is what one unit cost to buy or make, which feeds COGS. Selling price is what the customer pays for that unit. COGS per unit is not the selling price per unit; the gap between them is gross profit per unit.

COGS vs. selling expenses. Commissions, advertising and sales staff salaries are selling expenses and appear in operating expenses, not in COGS. They relate to winning the sale, not producing what was sold.

Purchases vs. COGS. Purchases are not automatically cost of sales. Only purchased goods that were sold in the period become COGS; unsold purchases remain in ending inventory.

FAQs

Can I find sales if I know cost of sales and gross profit?

Yes. Revenue equals cost of sales plus gross profit. If you know cost of sales and gross margin instead, revenue equals cost of sales divided by (1 − gross margin), assuming the margin is calculated on the same revenue figure.

Is cost of goods sold the same as cost of materials consumed?

No. Cost of materials consumed covers only raw materials used in production. COGS also includes direct labor and production overhead, and it reflects changes in finished-goods inventory, so it is usually larger than materials consumed alone.

The Bottom Line

Investors and analysts comparing gross margins need to know what each company puts inside its cost line. The caption alone does not settle it, because companies choose their own labels and draw the line with operating expenses differently. Moving costs like service wages or depreciation can shift gross margin while leaving operating income unchanged, so the accounting policy notes are the place to confirm what the number includes.

About this page

Written by Markets & Investing Desk

The Markets & Investing Desk covers investing guides, the financial dictionary, companies, people, economics and market data.

Published
Last updated

Spotted an error? Tell the editors. This page is general information, not financial advice.