What is Cost of Goods Sold?
Definition of Cost of Goods Sold
Cost of Goods Sold (COGS) is the direct cost incurred by a company to produce or purchase the goods that were sold during a specific accounting period. It represents the accumulated costs of materials, labor, and overhead expenses directly attributable to the manufacturing or acquisition of products that have been delivered to customers. COGS includes direct raw materials, direct labor costs, and manufacturing overhead such as factory utilities and equipment depreciation, but excludes indirect expenses like sales and administrative costs.
Cost of Goods Sold (COGS) Formula
COGS = Beginning Inventory + Purchases - Ending Inventory
This fundamental formula consists of three key components:
- Beginning Inventory: The value of unsold goods carried over from the previous period, establishing the starting point for the calculation
- Purchases: All costs associated with acquiring additional inventory during the current period, including purchase price, freight-in, and other direct costs necessary to bring goods to a sellable condition
- Ending Inventory: The value of goods that remain unsold at the end of the period, which must be subtracted because these items were not actually sold and should not be included in the cost of goods sold
By adding the beginning inventory to new purchases and then subtracting what remains unsold, this formula accurately captures only the cost of inventory that was actually converted into sales revenue during the specific accounting period.
Calculating COGS Based on Inventory Valuation Methods
Different inventory valuation methods can significantly impact COGS calculations, especially during periods of changing prices:
1. First-In, First-Out (FIFO)
This method assumes that the oldest inventory items are sold first, meaning COGS consists of costs from the earliest purchases.
Example: If 100 units sold and oldest 100 units cost $10 each, COGS = $1,000
2. Last-In, First-Out (LIFO)
Under this approach, the newest inventory items are assumed to be sold first, so COGS reflects the costs from the most recent purchases.
Example: If 100 units sold and newest 100 units cost $15 each, COGS = $1,500
3. Weighted Average Cost
This method calculates an average cost for all inventory items available for sale during the period.
Formula: COGS = Units Sold × Average Cost per Unit
4. Specific Identification
This method tracks the actual cost of each individual item sold, making COGS equal to the sum of the specific costs of the actual items that were sold.
Formula: COGS = Sum of actual costs of specific items sold
Impact on Financial Statements
Different methods produce different COGS amounts, which affects gross profit, net income, and inventory valuation. The choice of method depends on company policy, tax considerations, and economic conditions.
COGS in Perpetual and Periodic Inventory Systems
Perpetual Inventory System
Under the perpetual system, COGS is calculated and recorded continuously with each sale transaction. The system maintains real-time inventory records, automatically updating both inventory levels and COGS whenever a sale occurs. When goods are sold, the system immediately transfers the cost from inventory to COGS, providing up-to-date information at any point in time. This method requires sophisticated inventory tracking systems but offers better control and more accurate financial reporting throughout the period.
Periodic Inventory System
In the periodic system, COGS is calculated only at the end of the accounting period using physical inventory counts. During the period, purchases are recorded in a separate purchases account, and no entries are made to COGS until period-end. This method is simpler and less expensive to maintain but provides no real-time inventory information and may result in less accurate interim financial statements.
Where COGS Appears in Financial Statements
COGS appears in several places within financial statements:
1. Income Statement
The primary and most important place for COGS to appear, where it is displayed immediately after revenues as a deduction to calculate gross profit. COGS represents the direct costs of producing or purchasing the goods that were sold during the period and is essential for determining gross margin.
2. Cash Flow Statement
COGS appears within the cash flows from operating activities section, either as cash paid to suppliers and for inventory (direct method) or as part of net income adjustments along with changes in inventory and accounts payable (indirect method).
3. Statement of Financial Position
The effects of COGS appear indirectly through inventory accounts (representing goods not yet sold) and accounts payable (amounts owed to suppliers for goods purchased). The relationship between these accounts and COGS is reflected in the basic COGS formula: Beginning Inventory + Purchases - Ending Inventory.
Difference Between COGS and Operating Expenses
The main difference between COGS and operating expenses is that COGS represents the direct costs of producing or purchasing goods that were sold, such as raw materials and direct labor, while operating expenses are indirect costs of running the business like rent, marketing, and administrative salaries. COGS varies with production volume and is deducted from revenue to calculate gross profit, whereas operating expenses are typically fixed costs deducted from gross profit to determine operating income.