Cost of Goods Sold: What It Is & How To Calculate It | Fit Small Business

Cost of Goods Sold: What It Is & How To Calculate It

Cost of goods sold (COGS) represent the total costs in making or purchasing a product. In simpler words, COGS is the amount you paid when you produced or purchased the products that were sold during the period. Selling costs like commissions are not part of COGS. Rather, these are recorded as part of operating costs….

Apr 12, 2023
4 minute read

Cost of goods sold (COGS) represent the total costs in making or purchasing a product. In simpler words, COGS is the amount you paid when you produced or purchased the products that were sold during the period. Selling costs like commissions are not part of COGS. Rather, these are recorded as part of operating costs.

Calculating COGS depends on the kind of inventory system you use. Under the perpetual inventory system, COGS are computed automatically every time there is a sale to customers. In the periodic inventory system, you count the beginning and ending inventory manually and then compute COGS using the formula below:

Beginning inventoryxxx
Add: Purchases or Productionxxx
Cost of goods available for salexxx
Less: Ending inventoryxxx
Cost of goods soldxxx

What Is the Purpose of COGS?

Cost of goods sold is an important line item in the income statement—manufacturers and retailers should present COGS as a deduction to gross sales to arrive at the gross profit:

  • Determines gross profit: COGS is an important metric that affects your business’ overall profitability, and the level of COGS affects your gross profit margin. To help you determine gross profit, you can check out our gross profit method guide, which also includes a calculator for computing estimated ending inventory.
  • Assesses level of costs: Since most costs included in COGS are direct costs, businesses can control and reduce these costs to increase gross profit. For example, buying raw materials at a lower price from another supplier can reduce COGS and increase profitability.
  • Assesses resource efficiency: Knowing your business’ COGS is one way of assessing if you’ve been efficient and effective in using business resources to generate revenue. Higher COGS without increase in revenues might indicate inefficient use of resources.
  • Determines inventory turnover: COGS is also an essential component of the inventory turnover ratio. You use it to analyze business activity and its relationship with overall profitability. Read our article on what inventory turnover ratio is for more information. Moreover, if you have a low inventory turnover, it’s possible that COGS are also low. You may want to generate an inventory aging report to investigate why COGS are low. Learn what inventory aging report is and why it’s important to businesses.

What Costs Are Included in COGS?

There are specific costs that can be included in cost of goods sold, and they depend on the type of business. Check the table below to see the common costs included in COGS for merchandising and manufacturing businesses:

MerchandisingManufacturing
  • Cost of products purchased
  • Shipping or freight-in costs
  • Import duties and taxes
  • Handling costs like usage of special containers or cooling apparatus
  • Insurance costs to cover possible breakage or loss of goods while in transit
  • Cost of raw materials used
  • Direct labor costs
  • Machine hours used to manufacture product
  • Overhead costs, like utilities and depreciation of manufacturing equipment

COGS is an important aspect of inventory management. Our bookkeeping guide discusses in greater detail why determining COGS is an important bookkeeping responsibility.

Advertisement

COGS Computation Example

For this example, let’s assume that we have $500 worth of beginning inventory. During the month, we purchased inventory for $2,000. At the end of the month, the remaining inventory on hand is $600. The cost of goods sold during the month is calculated below:

Beginning inventory$500
Add: Purchases or Production$2,000
Cost of goods available for sale$2,500
Less: Ending inventory$600
Cost of goods sold$1,900

COGS vs Operating Expenses

Both cost of goods sold and operating expenses are amounts that reduce net income. However, these two have different functions. COGS are expenses that are directly related or tied to the manufacturing or purchase of goods for sale. Meanwhile, operating expenses are expenses not directly related to products sold.

Examples of operating expenses include rent, office supplies, accounting and bookkeeping, and payroll. These expenses can’t be traced to the main products, but the whole business benefits from these costs.

Additional Resources:

Advertisement

Frequently Asked Questions (FAQs)

In general, salaries are part of operating expenses. However, salaries and wages that are directly related to products can be included in the cost of goods sold. For instance, the salary of a production supervisor can be part of COGS since the line of work is directly related to the production of goods. In contrast, the salary of accounting supervisors or vice presidents of the company cannot be part of COGS.

Yes. The terms are interchangeable because they pertain to the cost to produce a good or perform a service.

Bottom Line

Knowing the cost of goods sold is crucial accounting knowledge, especially for decision-making. The behavior of COGS in the business can help you determine whether it’s possible to lower costs to boost gross profit or stimulate sales. Moreover, being familiar with the composition of COGS can provide insights into specific areas that contribute to a high COGS.

Eric Gerard Ruiz, CPA

Eric Gerard Ruiz, a licensed CPA in the Philippines, specializes in financial accounting and reporting (IFRS), managerial accounting, and cost accounting. He has tested and review accounting software like QuickBooks and Xero, along with other small business tools. Eric also creates free accounting resources, including manuals, spreadsheet trackers, and templates, to support small business owners.

Fit Small Business Logo

Our mission is to provide small business owners with the information you need to succeed. Learn how to start, market, run, and grow your business today!

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.