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 110,000+ businesses just like yours getting the Swoop newsletter.

Free. No spam. Opt out whenever you like.

Disclaimer: Swoop Funding LLC (“Swoop”) is a financial technology platform and commercial finance broker, not a lender. Swoop does not provide loans or make credit decisions. We match US-based firms with third-party lenders, equity funds, and grant agencies. All financing is subject to lender credit approval and the specific terms and conditions of the funding provider.

Broker Compensation Disclosure: Swoop provides its platform and matching services to applicants at no direct cost. We receive compensation in the form of a commission or referral fee from the finance providers in our network upon successful placement. This compensation may vary by provider and product. In certain instances, the commission paid to Swoop may influence the interest rate or terms offered by the lender, which can affect the total amount payable under your agreement.

Credit Authorization & FCRA Notice: By submitting an application or registering an account, you provide “written instructions” to Swoop under the Fair Credit Reporting Act (FCRA) to obtain your personal and/or business credit profile from consumer reporting agencies. This information is used solely to evaluate your eligibility for financing and to match you with appropriate lenders in our network.

State-Specific Disclosures:

Florida & Utah: Swoop complies with state commercial financing disclosure laws regarding the transparency of terms for non-real estate secured commercial transactions.

Entity Information: Swoop Funding LLC is a Delaware limited liability company. US Headquarters: 43 W 23rd St, New York, NY 10010, United States. Contact: hello@swoopfunding.com

General Terms: Applicants must be 18 years of age or older. All firms must be registered and operating within the United States. SBA loans are issued by private lenders and guaranteed by the U.S. Small Business Administration; Swoop is not a government agency. Please review our Terms of Use and Privacy Policy for full details.

If you have a complaint, please refer to our Complaints Policy.

© Swoop 2026

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