Costs of Goods Sold. Definition | Calculation | Example

Updated February 28, 2026 by Sianna Shah

Costs of Goods Sold

Cost of Goods Sold (COGS) is the direct cost of producing or acquiring the goods and services sold by a company; This includes the cost of materials, labour, and overhead. To calculate COGS, you need to know how much it costs your business to produce each unit of product or service. In this blog post, we will discuss what COGS is and how to calculate it for your business.

What is the Cost of Goods Sold?

Every business makes something or provides a service to customers (or both). The direct costs associated with this activity are recorded in your income statement's 

The cost of goods sold (COGS) is the direct cost of producing a good or service. COGS measures a company's "direct hit" on its bottom line when it produces goods or services. 

By extension, COGS also encompasses the business' BOM (bill of materials), work in progress (WIP), and finished goods inventory levels at any given time. 

COGS includes the cost of materials and labour directly expended on creating a product. It excludes indirect expenses, such as shipping and administration. 

In simple terms, COGS is calculated by taking the beginning inventory levels, adding purchases made during a period and reducing closing inventory levels.

The purpose of calculating COGS is to evaluate the profitability of a company's product. By subtracting COGS from revenue, you can calculate gross profit. You can refine your calculation by factoring in other expenses to determine net profit. 

For a retailer, COGS is the cost of buying and acquiring the goods it sells to its customers. For a manufacturer, COGS is the cost of purchasing the raw materials and manufacturing its finished products. COGS is also a key feature on an income tax return and an essential consideration in computing income taxes.

Why is the cost of goods sold important?

  • COGS is used to calculate a company's gross profit. Gross profit is an essential measure of a company's financial performance. It is calculated by subtracting the cost of goods sold from the company's revenue. This measure tells us how much money the company has earned after accounting for the costs associated with producing its products or services.
  • In addition, the cost of goods sold is used to assess a company's pricing strategy and whether or not the prices for the company's products align with the costs of producing those products.

How is the Cost of Goods Sold calculated?

The cost of goods sold is calculated by taking the beginning Inventory of products, plus the acquisitions of new products during the period, minus the ending Inventory. It's important to note that COGS does not include marketing or administrative costs.

Cost of Goods sold formula.

COGS = Opening Inventory + Purchases - Closing Inventory

For example, if a company begins the year with $10,000 worth of products and buys an additional $15,000 worth of products during the year, but ends up with $8,000 value of products at the end of the year, then:

COGS = 

$10,000 (beginning inventory) + $15,000 (acquisitions) - $8,000 (ending inventory) = $17,000 (cost of goods sold)

Is the cost of goods sold the same as gross profit?

The cost of goods sold (COGS) is not the same as gross profit. COGS reflects the direct costs incurred in producing the goods or services sold during a period. In contrast, gross profit reflects a company's total revenue minus its COGS. Thus, gross profit represents the portion of a company's sales that exceeds its direct production costs and provides a better indication of pure profit margins.

Is it true that EBITDA = Revenue - Cost of goods sold?

There are a few different formulas that can be used to calculate EBITDA, but the most common is Revenue - Cost of goods sold - Expenses. This particular formula is often used when calculating a company's earnings before interest, taxes, depreciation, and amortization.

EBITDA is an important measure for companies because it represents their true operating performance without the impact of these four factors. By stripping out the effects of interest, taxes, depreciation, and amortization, EBITDA provides a more accurate depiction of a company's profitability.

Presentation of COGS in Financial statements in USGAAP

Both U.S. GAAP and IFRS contain neither a formal definition of cost of goods sold (COGS) nor a requirement that companies separately present COGS on their financial statements. 

Companies following Generally accepted accounting principles GAAP must comply with accounting and disclosure guidance under ASC Section 705, Cost of Sales and Services (Financial Accounting Standards Board [FASB] 2015d), and ASC 330, Inventory. Although the primary basis of accounting for Inventory is cost with complete absorption of fixed overhead, GAAP permits companies many variations when reporting COGS. For example, a company may include outbound shipping and handling costs in COGS (FASB 2015c, Revenue Recognition, ASC 605-45-50-2), or a company may choose to exclude not only shipping and handling charges but also depreciation and amortization costs. The flexibility allowed in reporting COGS makes the inter-company and inter-industry comparison of COGS challenging.

Heres an example of YoY disclosure of Cost of Goods sold in an annual income statement

Cost of Goos sold GAAP disclosure

Why do we not include selling expenses in COGS?

The cost of goods sold (COGS) is the total cost of purchasing and producing the Inventory that a company sells during a given period. On the other hand, selling expenses are all the costs associated with running the sales and marketing side of the business. Because selling expenses are not directly related to producing or acquiring Inventory, they are not included in COGS. 

Selling expenses like advertising, commissions, and shipping fees are deducted from gross sales to get net sales.

Summary: 

COGS is an essential metric for business owners to understand because it represents the direct cost of producing or acquiring the goods and services sold by a company. To calculate COGS, you need to know how much it costs your business to produce each unit of product or service. We hope this blog post has helped you better understand what COGS is and how to calculate it for your business. Please read our other blog posts in this series for more information on accounting basics.


Leave a comment

Please note, comments must be approved before they are published

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.


Popular posts

Ace Your Accounting Interview with these 20+ essential questions - Eduyush
Updated Mar 25, 2026 ·
Top 50 Accounting Interview Questions and Answers [2026 Guide]
Wondering how to prepare for your accounting interview? We've got you covered with expert tips & advice from our team at Eduyush. From questions to research, we'll help...
Read article →

Popular posts

Accrual Concept in Accounting: Definition & Examples
Updated Feb 28, 2026 ·
Accrual Concept in Accounting: Definition & Examples
Accrual Concept in Accounting: Definition, Examples, and IFRS Treatment The accrual concept in accounting requires recording Revenue when it is earned and expenses when they are incurred—regardless of...
Read article →

Popular posts

What is trial balance in accounting? Types | Differences - Eduyush
Updated May 01, 2026 ·
Trial Balance in Accounting: Definition, Types, Format & Examples
📋 Reviewed by Ritika Nath — Chartered Accountant | 12+ Years Teaching Accounting | Senior Faculty at Eduyush Last updated: May 2026. This guide covers the trial balance...
Read article →

Popular posts

Current Liabilities: Making Sense of the Money You Owe Now - Eduyush
Updated Feb 07, 2026 ·
Current Liabilities: Making Sense of the Money You Owe Now
Current Liabilities You're trying to understand current liabilities, but it isn't evident. Whenever you think you have it figured out, something new comes up. Ready to finally understand?...
Read article →

Popular posts

Conceptual Framework for financial reporting. Summary and video explanation - Eduyush
IFRS Updated Feb 07, 2026 ·
IFRS Conceptual Framework: Complete Guide for 2026
Master the IFRS Conceptual Framework with chapter-by-chapter breakdown, exam tips and practical insights from CA Vicky Sarin, IFRS trainer with 25+ years experience.
Read article →
Cloud Computing Interview Prep: Questions, Answers & Scenarios
cybersecurity Updated Apr 04, 2026 ·
Top Cybersecurity Analyst Interview Questions and Answers (2026 Guide)
Cloud Computing Interview Prep: Questions, Answers & Scenarios Cybersecurity analyst interview questions test your knowledge of threat detection, vulnerability assessment, network security, incident response, and compliance frameworks. Use...
Read article →

Latest posts

Top Data Warehouse Interview Questions and Answers (2026 Guide)
BI analyst Updated Apr 04, 2026 ·
Top Data Warehouse Interview Questions and Answers (2026 Guide)
Top Data Warehouse Interview Questions (Freshers to Experienced) Data warehouse interview questions test your knowledge of ETL pipelines, dimensional modelling (star and snowflake schemas), OLAP vs OLTP, slowly...
Read article →
Top Cloud Computing Interview Questions (AWS, Azure, GCP + Answers)
AWS Updated Apr 04, 2026 ·
Top Cloud Computing Interview Questions and Answers (2026 Guide)
Top Cloud Computing Interview Questions (AWS, Azure, GCP + Answers) Cloud computing interview questions typically cover cloud models, architecture, security, scalability, and real-world implementation scenarios. Use the questions...
Read article →
Tax Preparer Interview Questions & Answers: 40+ Expert Examples
EA Updated Mar 31, 2026 ·
Tax Preparer Interview Questions & Answers: 40+ Expert Examples [2026]
Ace Your Tax Preparer Interview (40+ Questions + Expert Answers) Landing a tax preparer role requires more than just knowing your way around a 1040. Hiring managers want to...
Read article →
Tax Associate Interview Questions & Answers: 35+ Expert Guide
EA Updated Apr 06, 2026 ·
Tax Associate Interview Questions & Answers: 35+ Expert Guide [2026]
Big 4 Tax Associate Interview Questions & Expert Answers The tax associate role is one of the most sought-after positions in public accounting and corporate tax departments. Whether you're...
Read article →