Cost of goods sold is an expense account that tracks what you paid to make or buy the products you sell
Cost of goods sold (COGS) is not a bank account at all — it is an expense account in your accounting records. It lives in your income statement, not your balance sheet. COGS tracks the direct costs of producing or purchasing inventory that you then sold to customers: materials, labor to make the product, and freight to get it to you. When you sell that inventory, the cost moves from your balance sheet (where inventory sits) into COGS on your income statement.
The confusion arises because money does flow out of your bank account to pay for these costs, but the bank account itself is separate from the COGS account. Your bank account is where cash lives. COGS is where you record the expense of the goods that generated your revenue. They are connected — money leaves the bank to buy inventory, then inventory becomes COGS when sold — but they are different types of accounts serving different purposes.
Key Takeaways
- COGS is an expense account on your income statement, not a bank account or asset account.
- COGS includes only the direct costs to produce or purchase goods you sold: materials, direct labor, and freight in.
- When you buy inventory, the money leaves your bank account but the cost goes to inventory (an asset) until the goods are sold.
- Once inventory is sold, its cost moves from inventory to COGS, which reduces your profit on the income statement.
- COGS does not include overhead, salaries, rent, utilities, or other operating expenses — those are separate expense accounts.
How money flows from your bank account to COGS
The path is always the same. You write a check or transfer funds from your bank account to pay a supplier for raw materials or finished goods. That money leaves your bank account immediately. But it does not go directly to COGS. Instead, it goes to an inventory account on your balance sheet, where it sits as an asset until you sell the goods.
When a customer buys those goods from you, the cost of those specific items moves from inventory to COGS. Your revenue increases (money in), and COGS increases (cost out), and the difference is your gross profit. This is why COGS appears on your income statement alongside revenue — they are matched together to show what you earned after paying for the goods themselves.
Your bank account shows the cash outflow when you paid the supplier. Your COGS account shows the expense when you sold the goods. The timing is different, and that difference matters for tax and accounting purposes.
What belongs in COGS and what does not
COGS includes only costs directly tied to making or acquiring the product you sold. For a manufacturer, this means raw materials, wages for production workers, and the cost of power or fuel used in the production process. For a retailer, it means the wholesale cost of the goods you bought to resell. For a service business, COGS might include materials used on a job or subcontractor fees directly tied to delivering that service.
COGS does not include your salary, your office rent, your accounting software, insurance, utilities, marketing, or delivery to the customer. Those are operating expenses and go into separate accounts. The distinction matters because COGS is subtracted from revenue to calculate gross profit, while operating expenses are subtracted separately to calculate net profit. Lenders and investors look at both numbers to understand how efficiently you run the business.
Why COGS matters for taxes and financial statements
The IRS requires you to track COGS separately because it directly affects your taxable income. The higher your COGS, the lower your gross profit, and the lower your taxes. This is why accurate COGS tracking is audited closely — there is a financial incentive to overstate it. You must be able to prove that the costs you claimed actually went into goods you sold, not into personal expenses or inventory you still own.
On your financial statements, COGS appears on the income statement right below revenue. Lenders and investors use the ratio of COGS to revenue (called gross margin) to judge how profitable your core business is before overhead. A retailer with 40% COGS and 60% gross margin is doing better than one with 70% COGS and 30% gross margin, all else equal. Tracking COGS accurately lets you see whether your pricing is sustainable and whether your production costs are rising.
The difference between COGS and inventory accounts
Inventory is an asset account on your balance sheet. It represents goods you own but have not yet sold. COGS is an expense account on your income statement. It represents the cost of goods you have already sold. When you buy $10,000 of inventory, your inventory account increases by $10,000 and your bank account decreases by $10,000. When you sell $6,000 of that inventory, your inventory account decreases by $6,000 and your COGS account increases by $6,000.
At the end of the year, any inventory you still own stays on the balance sheet as an asset. Any inventory you sold during the year has moved to COGS and reduced your profit. This is why taking a physical inventory count matters — it tells you how much inventory you actually have left, which lets you calculate how much you sold and therefore how much to record in COGS.
How to track COGS in your accounting system
Most accounting software (QuickBooks, Xero, FreshBooks) has a built-in COGS account. When you record a purchase from a supplier, you assign it to the inventory account, not COGS. When you record a sale, the software automatically moves the cost of those items from inventory to COGS if you set it up correctly. This requires linking each sale to the inventory items sold, which is why point-of-sale systems and inventory management matter.
If you do not use inventory tracking, you can record COGS manually at the end of each period using the formula: Beginning Inventory + Purchases − Ending Inventory = COGS. You count what you have left, subtract it from what you started with plus what you bought, and the remainder is what you sold. This method is slower and more error-prone, but it works for small businesses with simple inventory.
Common mistakes in COGS accounting
The most common mistake is mixing COGS with operating expenses. Shipping supplies to a customer should go to shipping expense, not COGS. Salaries for office staff should go to payroll expense, not COGS. Only the cost of the goods themselves belongs in COGS. Another mistake is forgetting to account for inventory shrinkage — theft, damage, or waste — which should reduce inventory and increase COGS or a separate shrinkage expense account.
A third mistake is not updating inventory records when goods are damaged or obsolete. If you have $5,000 of inventory that will never sell, it should be written off as a loss, not left sitting on the books as an asset. This overstates your assets and understates your expenses. Keeping COGS accurate requires discipline: track purchases to inventory, match sales to inventory costs, and count inventory regularly to catch discrepancies.
Frequently Asked Questions
Is COGS the same as cost of revenue?
In most cases, yes. COGS and cost of revenue are used interchangeably and both appear on the income statement. Some companies use "cost of revenue" for service businesses and "COGS" for product businesses, but the accounting treatment is the same: direct costs of delivering what you sold, subtracted from revenue to calculate gross profit.
Can I deduct COGS on my tax return?
Yes. COGS is deducted from gross revenue to calculate gross profit, which is then used to calculate taxable income. You must track COGS accurately and be able to prove it with receipts and inventory records. The IRS may disallow COGS if you cannot document that the costs went into goods you actually sold.
What if I have inventory left over at the end of the year?
Inventory you still own does not go into COGS. It stays on your balance sheet as an asset. Only the cost of inventory you sold during the year goes into COGS. This is why taking a physical count at year-end is important — it tells you how much inventory remains and therefore how much you sold.
Do I need a separate bank account for COGS?
No. COGS is an accounting account, not a bank account. All your business expenses (including purchases that become COGS) flow through the same bank account. Your accounting software tracks which expenses are COGS and which are operating expenses.
How do I know if my COGS is too high?
Compare your COGS as a percentage of revenue to your industry average and to your own history. If your COGS is rising while your prices stay the same, your supplier costs may have increased or your production is becoming less efficient. If your COGS is higher than competitors, you may need to renegotiate supplier contracts or improve your production process.