Is the estimated sales price of damaged goods minus the cost of making the sale

It’s important to keep track of all your inventory at the start and end of each year. Your inventory doesn’t simply include the finished products in stock and ready for resale, but also all the raw materials you have, any items that have been started but not completed, and other supplies.

For accounting and reporting purposes, it’s imperative that both your beginning inventory and your ending inventory (from the previous fiscal year) match up exactly—otherwise, a detailed explanation needs to be included.

Further, whatever items and inventory are purchased throughout the year that don’t fall under the beginning or ending inventory must be accounted for as well. These are the cost of purchases and include all items, shipments, manufacturing, etc. As with your personal taxes, you need to keep all paperwork to show these items were purchased during the correct fiscal year.

Determine ending inventory

At the end of the year, it’s important to take stock of all the inventory that remains. This means all products that remain and have not been sold. As we’ve discussed, this information will be used in the current COGS calculation, but will also be required for the following year’s calculations as well.

All inventory can be categorized as resale ready, damaged (requires the estimated value of the items damaged), worthless products (evidence of destruction must be provided), and obsolete items (evidence of devaluation needed). For the latter, these products can be donated to charities for a little extra goodwill.

Accounting methods for COGS

The value of COGS depends on the costing method chosen by a business. Here are four different accounting methods you could use to value inventory: 

  • Weighted average cost
  • First in, first out
  • Last in, first out
  • Special identification method

Weighted average cost

Inventory weighted average, or weighted average cost, is one of the four most common inventory valuation methods. It uses a weighted average to figure out the amount of money that goes into COGS and inventory. 

In this method, the average price of all products in stock is used to value the goods sold, regardless of purchase date. It’s an ideal method for mass-produced items, such as water bottles or nails. 

Take the following inventory buys for example:

  • 200 units at $5 each
  • 100 units at $6 each
  • 150 units at $5.50 each

Your total inventory would be $2,425. Your average cost per unit would be the total inventory ($2,425) divided by the total number of units (450). That’s $5.39 per unit. 

To find the weighted average cost COGS, multiple the units sold by the average cost. If you sell 100 units, your weighted average cost would be $539. 

First in, first out (FIFO)

First in, first out, also known as FIFO, is an assessment management method where assets produced or purchased first are sold first. This method is best for perishables and products with a short shelf life. 

For example, say you bought units X, Y, Z and got two orders for one unit each. Using FIFO, your first order is $5 because you bought unit X first. Assuming the first order depletes unit X, the COGS on your second order is $6 because that’s the next unit you bought. 

When prices are rising, the goods with higher costs are sold first and the closing inventory will be higher. This results in higher net income over time. When prices are decreasing, the opposite is true. 

Last in, first out (LIFO)

LIFO is the opposite of FIFO. It assumes the goods you purchased or produced last are the first items you sold. When prices are rising, goods with higher costs are sold first and closing inventory is lower. This results in a decreasing net income. 

Using the example above, your LIFO COGS for the first order would be $5.50 because you bought unit Z last. The COGS on your second order is $6 because the next unit you bought was Y. 

During times of inflation, LIFO leads to a higher reported COGS on your financial statements and lower taxable income. 

Special identification method

The special identification method tracks the specific cost of each unit of goods to determine ending COGS and inventory for each accounting period. A business knows exactly which items were sold and the exact cost. 

For example, if unit Z costs you $7.50 and you sell it, the COGS would be $7.50. This method is used for selling unique items such as rare jewels, cars, real estate, and other luxury items.

Cost of goods sold example

Let’s say your company has the following information for recording the inventory for the calendar year ending on December 31, 2022.

Your inventory at the beginning of the year, recorded on January 1, 2022, is $20,000. At the end of the year, on December 31, 2022, your ending inventory is $6,000. During the year, your company made $8,000 worth of purchases. 

Let’s calculate COGS using the formula above: (Beginning Inventory + Purchase) - Ending Inventory.

COGS = ($20,000 + $8,000) - $6,000
COGS = $22,000

Having this information lets you calculate the trust cost of goods sold in the calendar year. COGS helps you evaluate the cost and profits but also helps plan out purchases for the next year.

💡 PRO TIP: Shopify makes it easy to find your cost of goods sold at the end of your calendar year—no manual calculations or formulas required. To get started, go to the Finances summary report from your Shopify Admin and select the time period you want the report to reflect.

Using COGS for your retail store

Whether you’re opening your first retail store or your fifth, the accounting process is tough. Business owners can’t control the price of each other’s suppliers. But what you can control is the accounting methods you use to track metrics like COGS. 

Be thorough in your accounting practices. Partnering with a good accountant can change your small business for the better. Not just by taking the headache out of tax preparation, but by providing financial advice that improves your bottom line. 

Try Shopify POS for omnichannel selling

Bring your in-store and online sales together with Shopify POS. Gain insights about your business from one view so you can work smarter, move faster, and think bigger.

Email addressStart free trial

COGS FAQ

How do you calculate the COGS?

Cost of goods sold (COGS) is calculated by using the COGS formula, which is represented as: (Beginning Inventory + Purchases) – Ending Inventory = COGS.

Does labor go into COGS?

Yes, labor is included in cost of goods sold. This includes the parts and supplies required to create the product as well as the people who assemble or build the product.

Are COGS an expense?

Yes, since cost of goods sold is deemed to be a cost of doing business, COGS is recorded on income statements as an expense.

What are examples of cost of sales?

Some examples of cost of sales or COGS include, manufacturing parts, shipping costs, and labor associated with building or assembling products.

What overhead is included in COGS?

The overhead that is included in COGS is any overhead related to labor, materials, and operations that are directly tied to producing a product or service.

Photo of Michael KeenanPhoto of Michael Keenan

About the author

Michael Keenan

Michael is a SaaS Marketer and SEO and founder of Peak Freelance. He’s inspired by learning people’s stories, climbing mountains, and traveling with his partner and two Xoloitzcuintles.

  • Email
  • Pinterest
  • Facebook
  • Twitter
  • LinkedIn

Topics:

Profitability

Grow your retail business

Get exclusive behind-the-scenes merchant stories, industry trends, and tips for creating standout brick-and-mortar experiences.

What is the formula for cost of sales?

The cost of sales is calculated as beginning inventory + purchases - ending inventory. The cost of sales does not include any general and administrative expenses.

Is cost of sales the same as cost of goods sold?

Cost of Goods Sold is also known as “cost of sales” or its acronym “COGS.” COGS refers to the cost of goods that are either manufactured or purchased and then sold. COGS counts as a business expense and affects how much profit a company makes on its products.

What is the formula to compute for the net realizable value?

It is found by determining the expected selling price of an asset and all the costs associated with the eventual sale of the asset, and then calculating the difference between these two. To put it in formulaic terms, NRV = Expected selling price - Total production and selling costs.

Which of the following cost is included in cost of goods sold?

Cost of goods sold (COGS) refers to the direct costs of producing the goods sold by a company. This amount includes the cost of the materials and labor directly used to create the good. It excludes indirect expenses, such as distribution costs and sales force costs.