Glossary
Cost of Goods Sold (COGS)

Cost of Goods Sold (COGS)

Published

April 22, 2026

Last updated

April 22, 2026

Definition

Cost of Goods Sold (COGS), also known as the cost of sales, encompasses all direct costs incurred in manufacturing or acquiring the products a company sells during a period. These costs typically include raw materials, direct labor, and any factory overhead costs directly tied to production, such as utilities for the manufacturing plant.

COGS is a crucial metric on the Profit and Loss (P&L) statement. By subtracting COGS from total revenue, a business calculates its gross margin, a key indicator of production efficiency and pricing strategy effectiveness. A lower COGS relative to revenue indicates higher efficiency and profitability on each unit sold.

Understanding and managing COGS is fundamental to financial planning and analysis. It is distinct from Operating Expenses (OPEX), which include indirect costs like marketing, sales, and administrative salaries that are not directly tied to production. Accurate COGS calculation is essential for tax purposes, inventory valuation, and strategic decision-making.

Frequently Asked Questions

What expenses are not included in COGS?

COGS excludes all indirect costs, which are classified as Operating Expenses (OPEX). This includes expenses like sales, marketing, research and development (R&D), and general and administrative (G&A) costs.

What's the simplest COGS formula?

The simplest COGS formula for a given period is: Beginning Inventory + Purchases – Ending Inventory. This calculation determines the direct cost of the inventory that was sold during that period.

What category do COGS fall under?

Cost of Goods Sold is an expense account reported on the income statement. It represents the direct costs incurred to produce the goods sold during a specific period.

See Pigment in action

The fastest way to understand Pigment is to see it in action. Sign up today and explore how agentic AI can transform the way you plan.

Three colleagues focused on an iMac screen in a bright office with plants and modern artwork.

From 8 days to 4 min

Update P&L actuals & financial forecasting

80%

Time cut on data aggregation

12 hours

Saved per month on executive reporting

6 days faster

For scenarios creation and analysis