Cost of Goods Sold Formula: A Step-by-Step Guide - Deepstash
Cost of Goods Sold Formula: A Step-by-Step Guide

Cost of Goods Sold Formula: A Step-by-Step Guide

Keep reading for FREE

Cost Of Goods Sold: A Primer

As a company selling products, you need to know the costs of creating those products. That’s where the cost of goods sold (COGS) formula comes in. Beyond calculating the costs to produce a good, the COGS formula can also unveil profits for an accounting period, if price changes are necessary, or whether you need to cut down on production costs.

Whether you fancy yourself as a business owner or a consumer or both, understanding how to calculate the cost of goods sold can help you feel more informed about the products you’re purchasing — or producing.

6

18 reads

Defining COGS

Cost of goods sold is the cost of producing the goods sold by a company. It includes the cost of materials and labor directly related to that good. However, it excludes indirect expenses such as distribution and sales force costs.

6

8 reads

The Formula

When selling a product, you need to understand the production costs associated with it in a given period, ​​which could be a month, quarter, or year. You can do that by using the cost of goods sold formula. It’s a straightforward calculation that accounts for the beginning and ending inventory, and purchases during the accounting period. Here is a simple breakdown of the cost of goods sold formula:

COGS = beginning inventory + purchases during the period – ending inventory

6

5 reads

Calculate Cost of Goods Sold

To calculate cost of goods sold, you have to determine your beginning inventory — meaning your merchandise, including raw materials and supplies, for instance — at the beginning of your accounting period. Then add in the new inventory purchased during that period and subtract the ending inventory — meaning the inventory leftover at the end for your accounting period. The extended COGS formula also accounts for returns, allowances, discounts, and freight charges, but we’re sticking to the basics in this explanation.

6

5 reads

The Steps: Identify Direct and Indirect Costs

Direct Costs

Direct costs are the costs tied to the production or purchase of a product.

  • Direct labor
  • Direct materials
  • Manufacturing supplies
  • Fuel consumption
  • Power consumption
  • Production staff wages

Indirect Costs

Indirect costs go beyond costs tied to the production of a product. They include the costs involved in maintaining and running the company.

  • Utilities
  • Marketing campaigns
  • Office supplies
  • Accounting and payroll services
  • Insurance costs
  • Employee benefits and perks

6

6 reads

The Steps: Determine Beginning Inventory

The beginning inventory will be the amount of inventory leftover from the previous time period, which could be a month, quarter, or year. Beginning inventory is your merchandise, including raw materials, supplies, and finished and unfinished products that were not sold in the previous period.

Keep in mind that your beginning inventory cost for that time period should be exactly the same as the ending inventory from the previous period.

6

5 reads

The Steps: Tally Up Items Added to Your Inventory

After determining your beginning inventory, you also have to account for any inventory purchases throughout the period. It’s important to keep track of the cost of shipment and manufacturing for each product, which adds to the inventory costs during the period.

6

5 reads

The Steps: Determine Ending Inventory

The ending inventory is the cost of merchandise leftover in the current period. It can be determined by taking a physical inventory of products or estimating that amount. The ending inventory costs can also be reduced if any inventory is damaged, obsolete, or worthless.

6

3 reads

Final Step: Plug the Info Into the Cost of Goods Sold Equation

Now that you have all the information to calculate cost of goods sold, all there’s left to do is plug it into the COGS formula.

6

3 reads

Accounting for Cost of Goods Sold

FIFO: First In, First Out

The first in, first out method, also known as FIFO, is when the earliest goods that were purchased are sold first. Since merchandise prices have a tendency of going up, by using the FIFO method, the company would be selling the least expensive item first.

LIFO: Last In, First Out

The last in, first out method, also known as LIFO, is when the most recent goods added to the inventory are sold first.

Average Cost Method

The average cost method is when a company uses the average price of all goods in stock to calculate the beginning and ending inventory costs.

6

3 reads

Considerations for Cost of Goods Sold: COGS vs. Operating Expenses

Business owners are likely familiar with the term “operating expenses.” However, this shouldn’t be confused with the cost of goods sold. Although they are both company expenditures, operating expenses are not directly tied to the production of goods.

Operating expenses are indirect costs that keep a company up and running, and can include rent, equipment, insurance, salaries, marketing, and office supplies.

6

3 reads

COGS and Inventory

The COGS calculation focuses on the inventory of your business. Inventory can be items purchased or made yourself, which is why manufacturing costs are only sometimes considered in the direct costs associated with your COGS.

6

3 reads

Cost of Revenue vs. COGS

Another thing to consider when calculating COGS is that it’s not the same as cost of revenue. Cost of revenue takes into consideration some of the indirect costs associated with sales, such as marketing and distribution, while COGS does not take any indirect costs into consideration.

6

4 reads

Exclusions From COGS Deduction

Since service companies do not have an inventory to sell and COGS accounts for the cost of inventory, they can’t use COGS because they don’t sell a product — they would instead calculate the cost of services. Examples of service companies are accounting firms, law offices, consultants, and real estate appraisers.

6

4 reads

CURATED BY

jenna_wow

"Yeah, I'm a thrill seeker, but crikey, education's the most important thing. " ~ Steve Irwin

MORE LIKE THIS

Opportunity Cost: What It Is and How to Account for It

Opportunity Cost: What It Is and How to Account for It

The Price Is Right: Strategies for Finding the Ideal Price for Your Products

The Price Is Right: Strategies for Finding the Ideal Price for Your Products

Risk: Seeing around the corners

Risk: Seeing around the corners

Ready for the next level?

Read Like a Pro

stash-superman-illustration

Explore the World’s

Best Ideas

200,000+ ideas on pretty much any topic. Created by the smartest people around & well-organized so you can explore at will.

An Idea for Everything

Explore the biggest library of insights. And we've infused it with powerful filtering tools so you can easily find what you need.

Knowledge Library

Powerful Saving & Organizational Tools

Save ideas for later reading, for personalized stashes, or for remembering it later.

# Personal Growth

Take Your Ideas

Anywhere

Organize your ideas & listen on the go. And with Pro, there are no limits.

Listen on the go

Just press play and we take care of the words.

Never worry about spotty connections

No Internet access? No problem. Within the mobile app, all your ideas are available, even when offline.

Get Organized with Stashes

Ideas for your next work project? Quotes that inspire you? Put them in the right place so you never lose them.

Join

2 Million Stashers

4.8

Stars

5,740 Reviews

App Store

4.7

Stars

72,690 Reviews

Google Play

samz905

Don’t look further if you love learning new things. A refreshing concept that provides quick ideas for busy thought leaders.

Shankul Varada

Best app ever! You heard it right. This app has helped me get back on my quest to get things done while equipping myself with knowledge everyday.

Ashley Anthony

This app is LOADED with RELEVANT, HELPFUL, AND EDUCATIONAL material. It is creatively intellectual, yet minimal enough to not overstimulate and create a learning block. I am exceptionally impressed with this app!

Sean Green

Great interesting short snippets of informative articles. Highly recommended to anyone who loves information and lacks patience.

Jamyson Haug

Great for quick bits of information and interesting ideas around whatever topics you are interested in. Visually, it looks great as well.

Laetitia Berton

I have only been using it for a few days now, but I have found answers to questions I had never consciously formulated, or to problems I face everyday at work or at home. I wish I had found this earlier, highly recommended!

Giovanna Scalzone

Brilliant. It feels fresh and encouraging. So many interesting pieces of information that are just enough to absorb and apply. So happy I found this.

Ghazala Begum

Even five minutes a day will improve your thinking. I've come across new ideas and learnt to improve existing ways to become more motivated, confident and happier.

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

FAQ

Claim Your Limited Offer

Get Deepstash Pro

BLACK FRIDAY

75% OFF | 1-Year Pro Subscription

Claim Offer