Is Cost of Goods Sold a Debit or Credit?

Is cost of goods sold a debit or credit? It is always a debit, because COGS is an expense account with a normal debit balance. Here's the journal entry.

2 min read time

Copied
is cost of goods sold a debit or credit hairstylist cutting a male client's hair in a modern salon.
Main topics
Resumo do artigo
  • Cost of goods sold (COGS) is always a debit. As an expense account, it carries a normal debit balance that increases with every debit entry.
  • COGS is an expense, not an asset or a liability. It represents the direct cost of the products you sold during a period.
  • Calculate it with one formula: Beginning Inventory + Purchases − Ending Inventory = COGS.
  • The journal entry debits COGS and credits Inventory, keeping your books balanced under double-entry rules.
  • COGS sets your gross profit on the income statement (Revenue − COGS) and lowers inventory value on the balance sheet.
  • Exclude indirect costs like marketing and rent, and adjust for shrinkage or spoilage, or your COGS will be overstated.

Cost of goods sold, or COGS, is the direct cost of the products your business sells. It includes costs tied to making or buying inventory, such as materials, merchandise, and direct labor.

For bookkeeping, the answer is simple: cost of goods sold is normally a debit. According to AccountingCoach, expense accounts normally carry debit balances. Since COGS is an expense, debiting COGS increases the account.

Is cost of goods sold a debit or credit?

Cost of goods sold is always a debit. COGS is an expense account, and expenses carry a normal debit balance under double-entry bookkeeping.

The logic is short:

  • Expenses reduce your net income.

  • Lower net income reduces owner's equity.

  • A decrease in equity is recorded as a debit.

So when your COGS goes up, you debit the account to record the expense. It follows the same rule as every other expense on your books, as covered in Investopedia's guide to cost of goods sold.

What kind of account is cost of goods sold?

Cost of goods sold is an expense account, not an asset or a liability. It records the direct cost of the products you sold to generate revenue.

Because it is an expense, its normal balance is a debit. The balance increases with a debit and decreases with a credit, the opposite of an asset like Inventory.

That classification is why COGS sits on the income statement, not the balance sheet, and why it reduces your profit for the period.

What is the formula for cost of goods sold?

Use one formula: Beginning Inventory + Purchases − Ending Inventory = COGS. It gives the total cost of the products sold in a period.

You need three figures from your records:

Beginning inventory

The value of stock at the start of the period, equal to last period's ending inventory.

Purchases

The cost of all new inventory bought during the period, including raw materials and goods for resale.

Ending inventory

The value of stock left at the end, from a physical count or an inventory system.

The IRS uses this same structure on Schedule C, Part III (Cost of Goods Sold), where sole proprietors report it.

How do you record a COGS journal entry?

Record COGS in three steps: calculate the value, debit COGS, then credit the inventory and purchases accounts for the same amount.

Step 1: Calculate COGS with Beginning Inventory + Purchases − Ending Inventory.

Step 2: Debit the Cost of Goods Sold account. This recognizes the expense and reduces your profit for the period.

Step 3: Credit Inventory (and Purchases) for an equal amount, so your debits and credits match.

Example: a single sale (perpetual inventory). You sell one item that cost $50. You record the expense the moment the sale happens:

AccountDebitCredit
Cost of Goods Sold$50
Inventory$50

Example: end of period (periodic inventory). Beginning inventory is $10,000, purchases are $5,000, and ending inventory is $8,000. COGS is ($10,000 + $5,000) − $8,000 = $7,000:

AccountDebitCredit
Cost of Goods Sold$7,000
Ending Inventory$8,000
Beginning Inventory$10,000
Purchases$5,000

This entry recognizes the expense, zeroes out the temporary Purchases account, and updates inventory to the correct ending value.

How does COGS affect your financial statements?

COGS affects two statements at once: it sets gross profit on the income statement and reduces inventory on the balance sheet.

On the income statement, COGS is subtracted from revenue to find gross profit. The formula is Revenue − COGS = Gross Profit, a core measure of how efficiently you sell.

On the balance sheet, the credit to Inventory lowers the value of that current asset, so your books show the stock you actually hold at period end.

An accurate COGS keeps both numbers honest. Overstate it and gross profit looks too low; understate it and profit looks inflated.

What mistakes should you avoid with COGS?

Two errors distort COGS most often: including indirect costs and ignoring inventory losses.

Including indirect costs

COGS covers only direct costs like raw materials and direct labor. Marketing, admin salaries, and rent are operating expenses and belong in a separate line, as the IRS Tax Guide for Small Business (Publication 334) explains.

Ignoring shrinkage and spoilage

Inventory that is lost, stolen, damaged, or expired still leaves your stock. If you skip that adjustment, ending inventory looks too high, COGS looks too low, and gross profit looks inflated. Count inventory regularly and adjust before you finalize COGS.

How do you keep your COGS accurate?

Keep COGS accurate with two habits: count inventory on a schedule and keep clean, current sales records.

Regular physical counts catch shrinkage before it distorts your numbers. Reliable sales data makes sure the revenue side of your gross profit calculation is right.

Your COGS is only as accurate as the sales data behind it. JIM's AI Business Agent gives you real-time sales analytics and reports inside the JIM app, so the revenue figures feeding your gross profit stay accurate while you focus on selling.

Frequently Asked Questions

Can cost of goods sold ever be a credit?

In normal operations, no. As an expense, COGS has a normal debit balance. A credit to COGS appears only to correct a prior error, such as an expense that was over-recorded in an earlier period. It does not represent a standard transaction, so day to day you always debit COGS.

What is the difference between cost of goods sold and operating expenses?

COGS includes direct costs tied to making or buying your products, like materials and direct labor. Operating expenses are indirect costs of running the business, such as rent, marketing, and administrative salaries. COGS is subtracted from revenue to find gross profit, while operating expenses are subtracted afterward to reach operating income.

How do FIFO and LIFO affect COGS?

Your inventory valuation method decides which costs land in COGS. FIFO assigns the oldest costs first, while LIFO expenses the most recent costs first. When prices are rising, LIFO produces a higher COGS and lower reported profit. FIFO does the opposite. The method you choose changes COGS even when the physical stock is identical.

Is cost of goods sold on the income statement?

Yes. COGS is a direct expense reported on the income statement, subtracted from revenue to calculate gross profit. It is not a balance sheet account. The related Inventory account lives on the balance sheet as a current asset, and recording COGS credits that inventory down to its correct ending value.

What happens if COGS is calculated incorrectly?

An incorrect COGS misstates gross profit on the income statement and inventory value on the balance sheet at the same time. That distorts your perceived profitability and financial health, and it can lead to poor pricing or buying decisions based on flawed numbers. Regular inventory counts and clean records prevent it.

sell and get paid in seconds with jim

Start selling