Skip to content
Taxvation

What is Cost of Goods Sold?

Cost of goods sold is the direct cost of the products a business sold during a period.

Laptop, calculator and open notepad on a wooden desk, seen from above

Cost of goods sold, or COGS, is the cost of the inventory you sold, plus direct costs of producing or acquiring it. It is subtracted from revenue to calculate gross profit.

What it includes

For resellers: purchase price of goods sold, freight-in, duties and other costs to get goods ready for sale. For manufacturers: materials, direct labor and allocated production overhead. For some service businesses, direct costs such as subcontractors are shown in a similar "cost of sales" section.

The basic formula

Beginning inventory + purchases − ending inventory = cost of goods sold

This is how COGS is figured on Schedule C and business returns, as the IRS explains in Publication 334. A reliable ending inventory figure is essential.

Why it matters

COGS determines gross margin, which shows whether pricing covers direct costs. Errors are common:

  • Expensing all inventory purchases immediately, which inflates COGS in buying months
  • Leaving freight-in in a shipping expense account
  • Ignoring shrink and damaged stock

COGS vs operating expenses

Rent, marketing, office salaries and software are generally operating expenses, not COGS. Keeping them separate makes gross margin meaningful.

See inventory accounting basics, FIFO and LIFO and landed cost.

Related terms

  • Gross Profit: Gross profit is revenue minus cost of goods sold, before operating expenses.
  • Operating Expenses: Operating expenses are the costs of running a business that are not directly tied to producing the goods or services sold.
  • FIFO and LIFO: FIFO and LIFO are inventory costing methods that decide which purchase costs are assigned to the goods you sold.
  • Landed Cost: Landed cost is the total cost of getting a product to your location ready for sale, including purchase price, freight, duties and fees.

Browse more definitions in the small business glossary.

FAQs

Frequently asked questions

Is shipping to customers part of COGS?

Usually not. Shipping goods to customers is generally a selling expense, while freight to bring inventory in is part of inventory cost.

Ready to get your books in order?

Tell us about your business and we will follow up to schedule a consultation.

Take the stress out of your books.

Tell us what you need and we'll follow up to schedule a free consultation.

Call now Book Free Consultation