Imagine you open a small boutique selling graphic t-shirts. At the start of the month, you have 50 shirts stacked neatly on the shelves. During the month, you order 100 more shirts from your supplier. By the time the month ends, you count your remaining stock and see that 30 shirts are still sitting on the racks. How much did the shirts you actually sold cost you to acquire?
In business accounting, finding the exact wholesale cost of the items you sold to customers is called calculating the Cost of Goods Sold, or COGS. By testing your inventory numbers on Calcsolver, retail store owners and online sellers can accurately measure their true product costs, file taxes properly, and know their exact gross profit.
Mastering COGS is the foundation of smart inventory management and profitable retail pricing for any business owner.
What is Cost of Goods Sold and How Do You Calculate It
Cost of Goods Sold represents the direct costs attributable to the production or acquisition of the goods sold by a company during a specific accounting period. It includes the raw materials, factory parts, and direct labor used to create products, but excludes indirect overhead like office rent and advertising.
The universal baseline accounting formula for COGS is:
COGS = Beginning Inventory + Net Purchases - Ending Inventory
Where the components represent:
- Beginning Inventory: The total monetary value of all unsold stock on hand at day one of the accounting period.
- Net Purchases: The total cost of additional merchandise or raw materials purchased during the period, including incoming freight shipping.
- Ending Inventory: The audited physical valuation of all unsold stock remaining on shelves at the close of the period.
Also read: Operating Profit Margin Formula How to Measure Core Business Health
You may also like: Payback Period Formula How to Calculate Investment Recovery Time
What Counts as Direct Costs Versus Operating Overhead
A frequent error made by new entrepreneurs is stuffing unrelated business expenses into COGS. Under formal accounting standards, costs must tie directly to product creation or wholesale acquisition.
Qualifying direct costs include wholesale purchase costs from manufacturers, raw fabric and dyes, packaging containers, assembly line labor wages, and inbound freight delivery charges.
Disallowed expenses include sales representative commissions, corporate office utility bills, retail store lease rent, accounting fees, website hosting, and national marketing campaigns. These non-production expenses are categorized separately as operating expenses (OPEX).
Step by Step Worked Retail Sporting Goods Example
Let us look at a realistic retail sporting goods store calculation for the month of November.
On November 1, the store owner conducts an inventory audit and determines that the store holds 45,000 dollars worth of unsold sporting gear (Beginning Inventory).
During November, the store purchases 60,000 dollars in new athletic footwear and pays 3,000 dollars in freight shipping charges to deliver the goods to the warehouse (Purchases equal 63,000 dollars).
On November 30, the closing inventory count reveals that 38,000 dollars in merchandise remains on warehouse shelves (Ending Inventory).
Step one: Add beginning inventory to purchases to find goods available for sale: 45,000 + 63,000 equals 108,000 dollars.
Step two: Subtract the ending inventory balance: 108,000 dollars minus 38,000 dollars equals 70,000 dollars.
Step three: State the final figure. The store Cost of Goods Sold for November equals 70,000 dollars.
| Inventory Valuation Element | Dollar Amount | Accounting Treatment | Cumulative Goods Total |
|---|---|---|---|
| Beginning Stock (Nov 1) | 45,000 dollars | Carried forward asset | 45,000 dollars baseline |
| New Wholesale Invoices | 60,000 dollars | Direct supplier acquisition | 105,000 dollars available |
| Inbound Freight Delivery | 3,000 dollars | Direct transport cost | 108,000 dollars total stock |
| Closing Stock (Nov 30) | -38,000 dollars | Unsold balance on shelves | Subtracted from goods total |
| Total Month COGS | 70,000 dollars | Income statement deduction | Direct revenue offset |
Inventory Accounting Methods FIFO versus LIFO
The value assigned to ending inventory depends heavily on which cost flow assumption your business uses. Under FIFO (First-In, First-Out), the oldest inventory acquired is assumed to be sold first. In times of inflation, FIFO results in lower COGS and higher reported net profits.
Under LIFO (Last-In, First-Out), the most recently purchased, higher-priced inventory is assumed to be sold first. LIFO increases reported COGS, which reduces taxable business income during inflationary economic cycles.
Frequently Asked Questions About Cost of Goods Sold
Do Service Businesses Have a Cost of Goods Sold
Pure service companies like law firms or digital marketing agencies typically do not have physical goods to sell. Instead of COGS, they report Cost of Services, which includes direct billable consultant wages.
Why Does a High COGS Hurt Business Value
A high COGS leaves less gross profit available to cover corporate rent, software, and administrative staff, making the business vulnerable to small dips in consumer demand.
How Does Damaged or Stolen Inventory Affect COGS
Inventory shrinkage from damage or theft reduces ending inventory. Because ending inventory is subtracted in the COGS equation, shrinkage naturally increases the total calculated cost of goods sold.