A Guide to Cost of Goods Sold (2024)

Cost of goods sold (COGS) may be one of the most important accounting terms for businessleaders to know. COGS includes all of the direct costs involved in manufacturing products.Understanding COGS, and managing its components, can mean the difference between running abusiness profitably and spinning on the proverbial hamster wheel to nowhere.

What is Cost of Goods Sold (COGS)?

If revenue represents the total sales of a company’s products and services, then COGSis theaccumulated cost of creating or acquiring those products.

COGS is an accounting term with a specific definition under U.S. Generally Accepted AccountingPrinciples (GAAP) that requires product companies to apply inventory costingprinciples. That definition provides guidelines for which costs to include and an associatedformula for calculating COGS. Most importantly, COGS is a key component of determining twocritical business metrics: a company’s gross profit and its grossmargin.

Gross profit is obtained by subtracting COGS from revenue, while gross margin is gross profitdivided by revenue. The higher a company’s COGS, the lower its gross profit. So, COGSis animportant concept to grasp.

COGS, sometimes called “cost of sales,” is reported on a company’s incomestatement, rightbeneath the revenue line.

Key Takeaways

  • Understanding and managing COGS helps leaders run their companies more efficiently andmore profitably.
  • COGS includes all direct costs needed to produce a product for sale.
  • Different inventory-valuation methods can significantly impact COGS and gross profit.
  • Tax rules allow an expanded version of COGS, which can reduce tax liability.

Video: What Is COGS?

What Is Included in Cost of Goods Sold?

COGS includes all direct costs incurred to create the products a company offers. Most ofthese are the variable costs of making the product—for example, materials andlabor—whileothers can be fixed costs, such as factory overhead.

A good litmus test to determine whether something should be included in COGS is to ask: Wouldthe cost exist if no products were produced? If the answer is no, then the cost is likelyincluded in COGS.

Examples of costs generally considered COGS include:

  • Raw materials
  • Items purchased for resale
  • Freight-in costs
  • Purchase returns and allowances
  • Trade or cash discounts
  • Factory labor
  • Parts used in production
  • Storage costs
  • Factory overhead

Exclusions From COGS

On the flip side, items that are excluded from COGS include selling,general and administrative expenses such as distribution costs to customers,office rents, advertising, accounting and legal fees, and management salaries. Logically,all nonoperating costs, such as interest and capitalexpenditures, are excluded from COGS, too.

Also excluded from COGS are the costs for products that remain unsold at the end of a givenperiod. Instead, these are reflected in the inventory on hand at the end of the period.

How to Calculate the Cost of Goods Sold (COGS)

Every accountant worth her spreadsheet should be able to rattle off the basic COGS formulain her sleep. On the surface, it’s simple, comprising just three variables: beginninginventory, purchases and ending inventory. However, layers of complexity underlie eachcomponent, requiring several steps to determine their value.

Basic COGS Formula

Here’s the general formula for calculating cost of goods sold:

(Beginning Inventory + Purchases) EndingInventory = COGS

4 Steps to Calculate COGS

Diving a level deeper into the COGS formula requires five steps. Typically, these aretackled by accounting and tax experts, often with the help of powerful software. But thesefour steps are something all managers should have an appreciation for:

  1. Identify the beginning inventory of raw materials, then work in process and finishedgoods, based on the prior year’s ending inventory amounts.
  2. Determine the cost of purchases of raw materials that were made during the period,taking into account freight in, trade and cash discounts.
  3. Determine the ending inventory balance. Typically, it’s based on physical cyclecountsand is done in accordance with the company’s inventory-valuation method of choice.
  4. Ensure that any other direct costs of production are included in the valuation ofinventory.

COGS and Inventory

As evidenced by the COGS formula, COGS and inventory go hand-in-hand. For this reason, thedifferent methods for identifying and valuing the beginning and ending inventory can have asignificant impact on COGS. Most companies do periodic physical countsof inventory to true up inventory quantity on hand at the end of a period. This physicalcount is a double check on “book” inventory records. It also helps companiesidentifydamaged, obsolete and missing (“shrinkage”) inventory.

Once a company knows what inventory it has, leaders determine its value to calculate thefinal inventory account balance using an accounting method that complies with GAAP.

Companies’ beginning inventory for the current period equals their ending inventory fortheprior period, and under GAAP, purchases during each year must be recorded using accrual basis accounting.

Periodic physical inventory and valuation are performed to calculate ending inventory.

Choosing an Accounting Method for COGS

There are many different methods for valuing inventory under GAAP. Different accountingmethods will yield different inventory values, and these can have a significant impact on COGS andprofitability.

Here are three of the most commonly used methods for valuing inventory under GAAP:

First-in-First-Out (FIFO)

The FIFO method assumes that the oldest inventory units are sold first. It’s anorder-of-production approach. This means that the inventory remaining at the end of anaccounting period would be the units that were most recently produced. During periods wherecosts for raw materials or labor are increasing, the FIFO method would yield a higherper-unit valuation of inventory for those items still on hand, compared with those that weresold earlier in the period. In this case, FIFO would cause COGS to be lower.

Last-in-First-Out (LIFO)

LIFO inventory valuation is a reverse-production-order approach. It assumes that the endinginventory on hand are the oldest units produced, and that the newest units produced havealready been sold. During periods when costs for raw materials or labor are increasing, LIFOyields a lower per-unit valuation of inventory for those items still on hand, because theywere produced earlier in the period. In this case, LIFO would cause COGS to be higher.

Average Cost Method

ACM values inventory using an average cost for the period. It blends costs from throughoutthe period and smooths out price fluctuations. Total costs to create products are divided bytotal units created over the entire period.

Examples of COGS

Consider this simplified example of COGS:

Décor.com sells high-end kitchen tables to consumers. On Jan. 1, 2019, it held fivetablesin inventory, each valued at $1,000. Then, during the year, Décor purchased 10additionaltables from its supplier. On Dec. 31, 2019, Décor counted three unsold tables in itswarehouse.

Here’s how the company would calculate its costs:

(Beginning Inventory + Purchases)EndingInventory = COGS

So, in Décor’s case:

Beginning Inventory$5,000
+ Purchases10,000
- Ending Inventory 3,000
= Cost of Goods Sold $12,000

How Is COGS Different From Cost of Revenue and Operating Expenses

Several other accounting concepts are similar to COGS, but each is different in its own way.Two of the most commonly confused terms are “cost of revenue” and“operating expenses.”

Here’s how they differ:

Cost of revenue vs. COGS:

Cost of revenue is most often used by service businesses, although some manufacturers andretailers use it as well. Cost of revenue is more expansive than COGS; it includes not onlyall the COGS components, but also direct costs in the sales function, such as salescommissions, sales discounts, distribution and marketing. Similar to COGS, cost of revenueexcludes any indirect costs, such as manager salaries, that are not attributed to a sale.

Operating expenses vs. COGS:

“Operating expenses” is a catchall term that can be thought of as the oppositeof COGS. Itdeals with the costs of running a business, but not necessarily the costs of producing aproduct. Operating expensesinclude selling, general and administrative (SG&A) expenses such as insurance, legal andaccounting fees, travel, taxes and office supplies. Excluded from operating expenses areCOGS items as well as nonoperating expenses, such as interest and currency exchange costs.

What Does Cost of Goods Sold Tell You, and Why is it Important?

Subtracting COGS from revenue gives gross profit, which reveals the core essence of businessviability: What are my costs to make a product, and how much do I sell it for?

How to Use Cost of Goods Sold for Your Business

Properly calculating COGS shows a business manager the true cost of the products sold. Thisis critical when setting customer pricing to ensure an adequate profit margin.

In addition, COGS is used to calculate several other important business managementmetrics. For example, inventory turnover—a sales productivity metricsindicating howfrequently a company replaces its inventory—relies on COGS. This metric is useful tomanagers looking to optimize inventory levels and/or increase salesforce sell-through oftheir products.

COGS is also used to determine gross profit, which is another metric that managers, investorsand lenders may use to gauge the efficiency of a company’s production processes.

Drawbacks and Limitations of COGS

Because a COGS calculation has so many moving parts, it can be prone to errors and subject tomanipulation. An incorrect COGS calculation can obscure the true results of abusiness’operations. It can also result in misstated net income and tax liability.

At the very least, this can lead to wasted time and lost opportunities. At worst, there canbe ethical and legal implications.

Cost of Goods Sold and Tax Returns

So far, this discussion of COGS has focused on GAAP requirements, but COGS also plays a rolein tax accounting. Businesses that hold physical inventory—such as manufacturers,retailersand distributors—are required to calculate COGS when determining their taxable income.

This tax calculation of COGS includes both direct costs and parts of the indirect costs forcertain production or resale activities as defined by the uniform capitalization rules.Indirect costs to be included for tax purposes include rent, interest, taxes, storage,purchasing, processing, repackaging, handling and administration. For detailed worksheets,see IRS Publication334; for most managers, however, it’s sufficient to understand that thisexpandedcalculation of COGS typically decreases the total tax bill.

For businesses with under $25 million in gross receipts ($26 million for 2020), there aresome exceptions to the rules for inventory, accrual accounting and, by extension, COGS.

Plan & Forecast
More Accurately

Free ProductTour

Cost of Goods Sold and Accounting Software

Calculating COGS can be challenging. It requires a company to keep complete and accuraterecords for the GAAP calculations reported on financial statements and, separately, tosupport a tax return. A company’s inventory management, from both the physical andvaluationperspectives, must be precise. Purchases and production costs must be tracked during theyear.

And regardless of which inventory-valuation method a company uses—FIFO, LIFO or averagecost—much detail is involved.

All of the above can become exponentially more complicated when volumes and product linesincrease. For companies with many SKUs, the best approach to calculating COGS will be a robust accounting system that’s tied toinventory management.

However you manage it, knowing your COGS is critical to achieving and sustainingprofitability, so it’s important to understand its components and calculate itcorrectly.COGS also reveals the true cost of a company’s products, which is important whensettingpricing to yield strong unit margins.

Calculating COGS can be challenging, especially as the business becomes more complex; an accounting system integrated with inventorymanagement software can reduce the effort required and ensure accuracy.

A Guide to Cost of Goods Sold (2024)

References

Top Articles
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6380

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.