Cost of goods sold

Definition

Cost of goods sold (COGS) is a key accounting metric that represents the direct costs incurred by a company in the production or purchase of the goods or services it sells during a specific period.

What is the cost of goods sold?

COGS is a key component in calculating a company’s gross profit, and is a crucial figure in the income statement as it is deducted from revenue to calculate gross profit.

Calculation of COGS:

COGS = Opening inventory + Purchases or production costs − Closing inventory

Different industries may have different methods for calculating and presenting COGS. For example, a manufacturing company’s COGS will include costs like raw materials and direct labour, while a retail company’s COGS may include the cost of purchasing goods for resale.

COGS is a deductible expense when calculating taxable income. The lower the COGS, the higher the potential taxable income and tax liability.

Example of cost of goods sold

Suppose ABC Electronics is a company that manufactures smartphones. Here’s how you might calculate COGS for a specific period, such as a quarter:

  • Opening inventory (Beginning of the quarter): ABC Electronics had $500,000 worth of smartphones in inventory at the beginning of the quarter.
  • Purchases or production costs (During the quarter): During the quarter, ABC Electronics incurred direct costs associated with manufacturing smartphones, including raw materials, labour, and manufacturing overhead. Let’s say these costs amounted to $1,000,000.
  • Closing Inventory (End of the quarter): At the end of the quarter, ABC Electronics had $300,000 worth of smartphones still in inventory.

Now, COGS can be calculated:

COGS = $500,000 + $1,000,000 – $300,000 = $1,200,000

In this example, ABC Electronics incurred $1,200,000 in costs directly associated with producing or purchasing smartphones for sale during the quarter.

Ready to grow your business?

Clever finance tips and the latest news

Delivered to your inbox monthly

Join the 95,000+ businesses just like yours getting the Swoop newsletter.

Free. No spam. Opt out whenever you like.

Our offices:

Disclaimer: Swoop Finance Ltd (Swoop) helps US firms access business finance, working directly with businesses and their trusted advisors. We are a credit broker and do not provide loans or other finance products ourselves. All finance and quotes are subject to status and income. Applicants must be aged 18 and over and terms and conditions apply. Guarantees and Indemnities may be required. Swoop can introduce applicants to a number of providers based on the applicants’ circumstances and creditworthiness. Swoop may receive a commission or finder’s fee for effecting such introductions. If you feel you have a complaint, please read our complaints section highlighted above and also contained within our terms and conditions.
How Swoop makes money: In order to provide services free of charge, Swoop generates revenue through commission from companies featured on our platform. The commission we receive does not impact the cost of the product, service, or policy, and your payments remain unaffected by our commission structure.

© Swoop 2025

Looks like you're in . Go to our site to find relevant products for your country. Go to Swoop