Online sellers · 5 min read · Updated Oct 2026

How to Calculate Cost of Goods Sold for a Small Business (2026)

Line 42
your cost of goods sold, carried to line 4
$32M
2026 gross receipts limit for the simple inventory rules
Dec 31
count what's left: next year's starting inventory

The short answer

You bought a box of supplies in March, made things all year, and still have a shelf of stock in December. When you sit down to do your taxes, you’re not sure how much of all that you can subtract this year. That’s what cost of goods soldWhat you paid for the products you sold this year, including materials and freight to get them to you. It comes off your sales on Schedule C before your other expenses. answers.

How do you calculate cost of goods sold?

Take the inventory you started the year with, add what you bought or spent to make products, and subtract what’s left on December 31. The result is your cost of goods sold. It goes in Part III of Schedule CThe tax form where you report your business income and expenses. Its bottom line is your profit. and comes off your sales before any other expense. Stock you haven’t sold yet waits for the year it sells.

Below we cover what counts, the Schedule C lines, a worked example with real numbers and the small-business rule that keeps it simple. Figures are for the 2026 tax year.

The formula

The whole thing is one line of math. Here it is, the way Schedule C lays it out.

Schedule C, Part III · 2026

Cost of goods sold in four steps

1Start with inventory on January 1The same number as last year’s ending inventory
2Add purchases, materials and other product costsStock to resell, raw materials, freight to get them to you, packaging that ships with the item
3Subtract inventory on December 31What’s still unsold, counted and valued at what you paid
4The result is your cost of goods soldLine 42, carried to line 4 of Schedule C

The ending number becomes next year’s starting number, so nothing is counted twice or lost.

What counts, and what doesn’t

The test is simple: is the cost part of the product itself, or part of running the business? Only the first kind goes in cost of goods sold.

In cost of goods soldNot in cost of goods sold
Products you buy to resellShipping to your customers (a regular expense)
Raw materials: fabric, wax, beads, wood, inkPlatform and payment fees
Freight and shipping to get materials to youTools and equipment, like a printer or sewing machine
Packaging that’s part of the product, like a jar or a box with your labelAdvertising and your website
Pay to someone else who helps make the productYour own time: a sole proprietor can’t pay themselves into cost of goods

The right-hand column is still deductible. It just goes in Part II of Schedule C instead. Our business expenses list shows the line for each one, and equipment has its own rules in Form 4562.

A worked example

Numbers make this click. Say you make and sell jewelry, and your 2026 sales were $20,000.

Schedule C, Part IIIAmount
Line 35: Inventory on January 1, 2026$1,200
Line 36: Purchases (stones, chain, findings)$6,000
Line 38: Materials and supplies (boxes and pouches that ship with each piece)$400
Line 39: Other costs (freight on supply orders)$300
Line 40: Add lines 35 through 39$7,900
Line 41: Inventory on December 31, 2026−$1,900
Line 42: Cost of goods sold$6,000

So $20,000 of sales becomes $14,000 of gross income on line 7, before your other expenses. The $1,900 of unsold stock isn’t lost. It’s next year’s line 35, and it comes off next year’s sales when those pieces sell.

Line 37, cost of labor, stays at $0 here. It’s only for pay to other people who make the product, not to you.

The small-business rule that keeps it simple

Big companies have detailed inventory accounting rules. A one-person shop almost never has to deal with them, because of a size test.

  • The test: average yearly gross receiptsAll the money your business took in during the year, before subtracting any expenses. of $32 million or less over the past three years, for 2026. Every one-person shop we’ve ever heard of passes.
  • What it allows: you can treat inventory as “materials and supplies” or follow the method in your own books, and you can use the simpler cash methodThe accounting method most one-person businesses use: income counts when you’re paid and expenses when you pay them, not when the invoice or bill is dated. for the rest of your accounting.
  • What it doesn’t change: under either option, product costs still come off in the year the items are sold or used, not the year you bought them.

That last point surprises people at year end. Buying a big batch of stock in December doesn’t lower this year’s tax the way buying a laptop can. Our guide to buying equipment before year end covers the purchases that do work that way.

Counting your inventory on December 31

The ending number is the one people guess at, and it moves your profit dollar for dollar. Here’s the usual routine.

  • Count what’s on hand on December 31 or as close as you can: finished products and raw materials both.
  • Value it at what you paid, not what you’d sell it for. A necklace that cost you $12 in materials counts as $12.
  • Write it down with the date, in a spreadsheet or your accounting app, and keep it with your tax records.
  • Leave out anything you can’t sell, like damaged stock you threw away. IRS Publication 334 covers how to value goods that are damaged or out of style.

Seller bookkeeping apps can track this as you go. Our accounting software for online sellers comparison covers which ones book cost of goods for each sale.

Items you took for yourself

If you keep a few things from your own stock, as a gift or for personal use, take what they cost you out of your purchases on line 36. Otherwise you’d be deducting something the business didn’t sell. A $15 candle you gave your sister comes off purchases as $15 of cost.

FAQ

Is cost of goods sold an expense?

It’s a deduction, but it sits in its own section. It comes off your sales first to give your gross income, and then your other expenses come off that.

Can I deduct inventory I haven’t sold yet?

Not yet. Stock still on hand at December 31 is your ending inventory, and its cost comes off in the year it sells.

Do I need cost of goods sold if I sell digital products?

Usually not. A downloadable file has no inventory, so its costs, like software or design tools, go in Part II as regular expenses.

Does print-on-demand count as cost of goods sold?

Yes. What you pay the print-on-demand company for each item is the cost of that product. Because it’s made to order, there’s usually no ending inventory to count.

What is the inventory method on line 33?

Most small shops check “Cost.” The other choices are lower of cost or market, and other, which are rarely used by a business of one.

Is shipping to customers part of cost of goods sold?

No. Postage and labels to send orders out are a regular expense in Part II. Freight to get materials to you is part of cost of goods sold.

Sources

Figures for the 2026 tax year, checked October 24, 2026. General education, not tax advice.