COGS in one line
Cost of goods sold, or COGS, is the cost of the inventory that left your hands because it sold. If you bought 100 items this year and sold 70, only the cost of those 70 belongs in COGS. The other 30 are still inventory.
It is subtracted from your gross receipts to give gross profit, before your other expenses. On Schedule C it is calculated in Part III and carried to line 4.
The IRS formula
The formula follows Part III of Schedule C and the IRS's small business guidance. These are the lines you fill in, using the official names.
| Line | Name on the form | For a reseller |
|---|---|---|
| 35 | Inventory at beginning of year | Cost of the stock you held on January 1 |
| 36 | Purchases less cost of items withdrawn for personal use | What you bought to resell, minus items you kept |
| 37 | Cost of labor. Do not include any amounts paid to yourself | Usually blank for a solo reseller |
| 38 | Materials and supplies | Materials that become part of what you sell |
| 39 | Other costs | Other direct costs; freight in on inventory can go here or on line 36 |
| 40 | Add lines 35 through 39 | Goods available for sale |
| 41 | Inventory at end of year | Cost of the stock you still hold on December 31 |
| 42 | Cost of goods sold. Subtract line 41 from line 40 | Carried to line 4 |
In words: beginning inventory + purchases - ending inventory = cost of goods sold.
A worked example with three months
A reseller starts the quarter holding stock that cost $1,200. During the quarter, the reseller buys more and sells part of it. On March 31, the stock left on the shelf cost $1,700.
| Step | Amount |
|---|---|
| Beginning inventory on January 1 | $1,200 |
| Purchases in January | $1,500 |
| Purchases in February | $1,100 |
| Purchases in March | $1,300 |
| Total purchases: $1,500 + $1,100 + $1,300 | $3,900 |
| Goods available for sale: $1,200 + $3,900 | $5,100 |
| Ending inventory on March 31 | $1,700 |
| Cost of goods sold: $5,100 - $1,700 | $3,400 |
Say sales for the quarter came to $7,900. Gross profit is $7,900 - $3,400 = $4,500, before platform fees, shipping and other expenses. If the reseller recorded each item's cost, the 80 items that sold add up to the same $3,400, an average of $42.50 each. That is a handy cross-check on your counts.
What counts as cost
- The purchase price of the item, from a store, a thrift shop, an estate sale, a wholesale lot or a liquidation pallet.
- Freight in: shipping you paid to get inventory to you. The Schedule C lines allow it on line 36 or 39.
- Materials that become part of the item you sell, if you repair or make things (line 38).
- Not cost of goods: your shipping labels to buyers, mailers and boxes, platform fees, ads and mileage. These are expenses, commonly reported in Part II. See reseller tax deductions.
Unsold inventory, personal use and gifts
Items you have not sold stay in ending inventory and are not part of this year's COGS. They carry forward as next year's beginning inventory.
If you keep an item you bought to resell, its cost comes out of line 36. The line is named Purchases less cost of items withdrawn for personal use for that reason. If you donate, give away or throw out stock, how to treat it depends on the facts, so ask a tax professional.
Selling something you owned personally, like a coat you wore for years, is different. That is not inventory. See selling used items at a loss.
A simpler option for small businesses
Some small businesses are allowed to skip a formal inventory count. IRS guidance says a business with average annual gross receipts of $32,000,000 or less for the three prior tax years (the figure for 2026) that is not a tax shelter may use the cash method and does not have to keep a formal inventory. Practically every individual reseller is far below that amount.
A business that qualifies may treat inventory as non-incidental materials and supplies. In plain words, the cost of an item is deducted in the year it is sold to the customer, not the year it was bought, and unsold stock at year end is not deducted. The method has to clearly reflect your income, and changing methods generally needs Form 3115.
Tracking cost per item
Record cost when you buy
Write down the date, where you bought it, and what you paid. For a lot, split the total across the items by a consistent method.
Tie the cost to the listing
Keep the cost next to the item or listing ID so it follows the item to the sale.
Move it to COGS when it sells
On the sale date, the item's cost becomes cost of goods sold and leaves your inventory.
Count once a year
A year-end count of unsold stock is a good check, even if you use the simpler option.
A spreadsheet layout for this is in how to track reselling income and expenses.
Sources
Last checked: November 9, 2026. Rules change, so always check the source.