How to Calculate Cost of Goods Sold in Accounting
Understand and accurately calculate Cost of Goods Sold to gain crucial insights into your business's financial health and profitability.
Understand and accurately calculate Cost of Goods Sold to gain crucial insights into your business's financial health and profitability.
Cost of Goods Sold (COGS) is a fundamental accounting metric that represents the direct costs involved in producing the goods a company sells during a specific period. This figure is crucial for businesses as it directly impacts profitability analysis, providing insight into how efficiently a company manages its production or acquisition of goods. By subtracting COGS from revenue, businesses determine their gross profit, a key indicator of financial health and operational efficiency.
Cost of Goods Sold includes direct costs tied to creating or acquiring products for sale. These costs are categorized into direct materials, direct labor, and manufacturing overhead for production-oriented businesses. For companies that purchase finished goods for resale, the cost of purchases is a primary component.
Direct materials are raw materials and components that become an integral part of the finished product. For instance, the wood used to build furniture or the fabric for clothing are considered direct materials. Their cost is directly traceable to each unit produced.
Direct labor refers to wages and benefits paid to employees directly involved in manufacturing, like assembly line workers or craftspeople who physically transform raw materials into finished goods.
Manufacturing overhead includes all indirect costs associated with the production process that cannot be directly linked to individual products. Examples include factory rent, utilities for the production facility, depreciation of manufacturing equipment, and the salaries of production supervisors. These costs are necessary for production but are not part of the direct materials or direct labor for each unit.
For businesses acquiring finished goods for resale, such as retailers, the cost of purchases is the primary COGS component. This includes the purchase price of the goods, along with any additional costs incurred to bring the goods to their present location and condition, like freight-in charges.
Businesses use different inventory accounting systems to track the flow of goods and determine Cost of Goods Sold. The two primary systems are the Perpetual Inventory System and the Periodic Inventory System.
The Perpetual Inventory System provides a continuous, real-time record of inventory levels and costs. Under this system, inventory accounts are updated immediately after every purchase and sale. When a sale occurs, two entries are typically made: one to record the revenue and another to simultaneously record the Cost of Goods Sold and reduce the inventory balance. This real-time updating allows businesses to know their inventory levels and COGS at any given moment, which is beneficial for managing stock efficiently and making informed decisions.
In contrast, the Periodic Inventory System does not continuously track inventory. Instead, inventory and COGS are determined only at the end of an accounting period, such as a month, quarter, or year. Businesses using this system record purchases in a temporary account, and COGS is calculated based on a physical count of inventory at the end of the period. The calculation for COGS under the periodic system involves the beginning inventory, net purchases during the period, and the ending inventory determined by the physical count. This system is often simpler and more cost-effective for smaller businesses or those with low inventory turnover.
When inventory items are interchangeable, businesses employ cost flow assumptions to assign a cost to the goods sold and the remaining inventory. The three common methods are First-In, First-Out (FIFO), Last-In, First-Out (LIFO), and Weighted-Average Cost. The choice of method significantly influences the reported Cost of Goods Sold and, consequently, net income. These methods are permitted under U.S. Generally Accepted Accounting Principles (GAAP), though LIFO is not allowed under International Financial Reporting Standards (IFRS).
The First-In, First-Out (FIFO) method assumes that the first goods purchased or produced are the first ones sold. This approach aligns with the physical flow of perishable goods, like those in a grocery store, where older items are sold before newer ones. Under FIFO, the Cost of Goods Sold reflects the cost of the oldest inventory, while the ending inventory is valued at the most recent costs. In periods of rising prices, FIFO generally results in a lower COGS and a higher reported net income, as it matches older, lower costs against current revenues.
The Last-In, First-Out (LIFO) method assumes the most recently purchased or produced goods are the first sold. COGS is based on the cost of the latest inventory acquisitions, leaving older costs in ending inventory. LIFO is primarily used in the United States and can be advantageous during inflationary periods, assigning higher, more recent costs to COGS, which leads to lower taxable income. However, LIFO can result in an ending inventory value that does not reflect current market prices.
The Weighted-Average Cost method calculates an average cost for all goods available for sale. This average cost applies to both units sold (COGS) and remaining ending inventory. This method smooths price fluctuations, providing a consistent cost per unit. To determine the weighted-average cost, divide the total cost of goods available for sale by the total units available. This approach is used when inventory items are indistinguishable or tracking individual costs is impractical.
The formula for calculating Cost of Goods Sold is: Beginning Inventory + Purchases (or Cost of Goods Manufactured) – Ending Inventory = Cost of Goods Sold. Each component plays a specific role in determining the total direct cost of goods sold during an accounting period.
Beginning Inventory represents the value of goods a business had on hand at the start of the accounting period. Purchases refer to the cost of new inventory acquired during the period, including any freight charges for bringing the goods in. For manufacturing entities, “Purchases” is replaced by “Cost of Goods Manufactured,” which encompasses direct materials, direct labor, and manufacturing overhead incurred to produce goods ready for sale. Ending Inventory is the value of unsold goods remaining at the end of the accounting period, typically determined by a physical count.
For example, using the periodic inventory system and FIFO: A business had Beginning Inventory of $10,000. Purchases totaled $50,000. Ending Inventory was $15,000. Applying the formula: $10,000 (Beginning Inventory) + $50,000 (Purchases) – $15,000 (Ending Inventory) = $45,000. This $45,000 is the direct cost for goods sold during that period.