info@accountor.ca +1-416-646-2580
1000 Finch Ave W Suite 401, North York, ON M3J 2V5 | CANADA
Ask a Question Schedule a Call
Financial terms: A glossary of useful terminology Financial Terms Explained: A Comprehensive Glossary

Cost of Goods Sold (COGS)

Definition of Cost of Goods Sold

Cost of goods sold (COGS) represents the costs assigned to inventory that a business sold during an accounting period. Depending on the business, these costs may include direct materials, direct labor, and applicable production overhead.

COGS is deducted from revenue to calculate gross profit.

For example, a bakery may include ingredients, production labor, and applicable bakery production overhead in inventory costs. When the finished products are sold, the related inventory cost is recognized as COGS.

Purpose of COGS in Financial Management

COGS helps businesses:

  • Calculate gross profit and gross margin.
  • Measure and monitor product costs.
  • Track the cost of inventory sold during an accounting period.
  • Support pricing and profitability analysis.
  • Determine taxable income when applicable under federal tax rules.

How to Calculate Cost of Goods Sold

COGS Formula

A commonly used inventory-based formula is:

COGS = Beginning Inventory + Purchases − Ending Inventory

For manufacturers, the calculation can be more detailed because production costs and changes in work-in-process and finished goods inventory may also need to be considered.

Example Calculation

  • Beginning inventory: $20,000
  • Purchases: $50,000
  • Ending inventory: $15,000

COGS = $20,000 + $50,000 − $15,000 = $55,000

The business therefore recognizes $55,000 of COGS for the period under this simplified example.

Components of COGS

Direct Materials

Materials that become part of the products being manufactured or sold, such as wood used to manufacture furniture or flour used to produce baked goods.

Direct Labor

Certain labor costs associated directly with manufacturing or producing goods may be included in inventory costs and subsequently recognized in COGS when the related goods are sold.

Manufacturing Overhead

Applicable production overhead may also be included in inventory costs. Examples can include factory depreciation, utilities, and other costs associated with manufacturing operations.

The exact treatment depends on the nature of the cost and applicable accounting and tax rules.

Cost of Goods Sold vs. Operating Expenses

FeatureCost of Goods SoldOperating Expenses

Definition

Costs associated with inventory sold

Costs associated with operating the business outside COGS

Examples

Materials, production labor, manufacturing overhead

Marketing, administrative salaries, office expenses

Impact

Used to calculate gross profit

Reduces operating income

For example, the cost of materials incorporated into a manufactured product may ultimately become COGS, while the company's advertising expenses are generally treated separately as operating expenses.

Advantages and Disadvantages of Tracking COGS

Advantages

  • Provides insight into product costs and gross profitability.
  • Supports inventory and pricing decisions.
  • Helps calculate gross profit and gross margin.
  • Supports accurate financial and tax reporting.

Disadvantages

  • Can become complex for businesses with significant inventory or manufacturing operations.
  • Requires consistent inventory records and cost allocation.
  • Changes in input prices can cause COGS to fluctuate.
  • Incorrect inventory valuation can distort COGS and reported profit.
  • Gross Profit – Revenue minus COGS.
  • Gross Margin – Gross profit expressed relative to revenue.
  • Inventory – Goods held for sale or used in producing goods for sale.
  • Inventory Turnover – Measures how frequently inventory is sold and replaced over a period.
  • Cost of Revenue – A broader term sometimes used by service, technology, and other businesses for costs directly associated with generating revenue.

Interesting Fact

For U.S. federal tax purposes, inventory accounting and COGS are closely connected. Businesses that maintain inventory generally use inventory records to determine the cost attributable to goods sold, although special rules and exceptions apply to certain small businesses.

Statistic

A 2026 SEC filing from CrowdStrike illustrates how high the cost of revenue can be even for a service-oriented technology company. For the fiscal year ended January 31, 2026, the company reported $4.81 billion in total revenue and $1.22 billion in total cost of revenue, resulting in approximately $3.59 billion in gross profit.

Frequently Asked Questions (FAQ)

1. What costs are excluded from COGS?

Selling, general, and administrative costs that are not properly attributable to inventory are generally excluded from COGS. Examples can include advertising and many corporate administrative expenses.

2. How does COGS affect business profitability?

Because:

Gross Profit = Revenue − COGS

an increase in COGS reduces gross profit when revenue remains unchanged. However, changes in COGS should be evaluated together with sales volume, pricing, and other factors.

3. Can service businesses have COGS?

Service businesses often use terms such as cost of services or cost of revenue rather than COGS. These costs can include labor and other expenses directly associated with providing services. The terminology and classification depend on the business and its accounting policies.

4. What inventory methods can affect COGS?

Under U.S. accounting and tax rules, inventory cost-flow methods can include FIFO (First-In, First-Out) and LIFO (Last-In, First-Out) where permitted. Different methods can produce different COGS and ending inventory amounts when costs change.

5. Is COGS deductible for U.S. federal tax purposes?

COGS generally reduces gross receipts in determining gross income from the sale of merchandise. Its calculation must follow applicable federal tax inventory and capitalization rules rather than simply treating every production-related payment as an immediate deductible expense.

The information provided on the page is intended to provide general information. Each person should consult his or her own attorney, business advisor, or tax advisor with respect to matters referenced in this post. Accountor Inc. assumes no liability for actions taken in reliance upon the information contained herein. Moreover, the hyperlinks in this article may redirect to external websites not administered by Accountor Inc. The company cannot be held liable for the content of external websites or any damages caused by their use.

Accountor CPA – Accountor Inc., 1000 FINCH AVE W SUITE 401, NORTH YORK, ON M3J 2V5.

Contact number +1 (416) 646-2580 or toll-free +1 (800) 801-9931.

Please click here if you would like to contact us via email or contact form.

Copyright © Accountor Inc.

Related pages to the "Cost of Goods Sold (COGS)" term

ECommerce Page

Amazon Services

Industry Page

Healthcare Industry