Quick summary: This cogs calculator follows 2026 Schedule C Part III: beginning inventory plus purchases less personal use, plus labor, materials and other costs, minus ending inventory. With $30,000 beginning inventory, $120,000 of purchases, $20,000 of labor, $4,000 of other costs and $35,000 ending inventory, cost of goods sold is $139,000.
Last reviewed November 22, 2026. Line labels follow the official 2026 Schedule C (Form 1040), Part III. Free tool, no sign-up, and your numbers stay in your browser. This is an estimate, not a filed schedule and not tax advice.
Do this today
Gather your beginning inventory, purchases, and ending inventory numbers, and run them through Schedule C Part III here.
Start small. Your first goal is $500 a month. That is where I started. — Trent
Get the free Startup Kit
Five free files: a startup checklist (PDF), a one-page business plan (Word and PDF), a full plan template (Word), a financials workbook (Excel), and a startup cost worksheet (Excel). Enter your email and the downloads open on the next page. No credit card.
How do you use this COGS calculator?
Enter beginning inventory, purchases, any items withdrawn for personal use, labor (not amounts paid to yourself), materials and supplies, other inventoriable costs, and ending inventory. The tool adds Schedule C lines 35 through 39, then subtracts line 41 to reach line 42, cost of goods sold. Net sales is optional and is used only if you also want a gross-profit check. For a sales-first margin tool, use the gross profit calculator.
The phrase cost of goods sold calculator points at the same job as cogs calculator. Formula-only keywords stay on this page rather than getting a second URL.
What is the official cost of goods sold formula?
The official 2026 Schedule C (Form 1040) Part III computes cost of goods sold this way:
- Line 35: inventory at beginning of year
- Line 36: purchases less the cost of items withdrawn for personal use
- Line 37: cost of labor (do not include amounts paid to yourself)
- Line 38: materials and supplies
- Line 39: other costs
- Line 40: the total of lines 35 through 39
- Line 41: inventory at end of year
- Line 42: line 40 minus line 41, cost of goods sold, which also flows to line 4
The IRS explains the same idea for small businesses that use Schedule C in Publication 334, Tax Guide for Small Business. OpenStax covers the merchandising relationship between inventory and cost of goods sold in Principles of Accounting, Volume 1, section 6.1.

What does a worked example look like?
| Schedule C line | Amount |
|---|---|
| 35 Beginning inventory | $30,000.00 |
| 36 Purchases less personal use | $120,000.00 |
| 37 Cost of labor | $20,000.00 |
| 38 Materials and supplies | $0.00 |
| 39 Other costs | $4,000.00 |
| 40 Subtotal | $174,000.00 |
| 41 Ending inventory | $35,000.00 |
| 42 Cost of goods sold | $139,000.00 |
$30,000 + $120,000 + $20,000 + $4,000 = $174,000 on line 40. Subtract $35,000 of ending inventory and cost of goods sold is $139,000.
What does this calculator assume?
- You are using a periodic inventory approach like Schedule C Part III, not a perpetual system that updates COGS on every sale.
- The figures are at cost, and ending inventory uses the method you actually use (cost, lower of cost or market, or another method you can support). The form asks you to identify that method; this tool does not choose one for you.
- Amounts paid to yourself are not labor on line 37, matching the form’s instruction.
- Optional net sales is only for a gross-profit preview. It is not a Schedule C sales line.
- A negative COGS result usually means the ending inventory or the cost lines need a second look. The tool will still show the math.
What mistakes should you avoid?
- Leaving personal withdrawals in purchases.
- Putting office supplies or selling expenses in “other costs” when they do not belong in inventory.
- Counting owner draws as labor.
- Mixing a retail selling price into beginning or ending inventory.
What would I tell a friend about the COGS calculator?
I rent cars on Turo, and I still run the numbers before I spend. The same rule applies to the COGS calculator. Cost of goods sold should include the product, inbound shipping, and the labor to get it ready, not just the supplier’s invoice. If COGS is wrong, every margin number after it is wrong too.
— Trent Powell
Read next: the gross profit calculator, the inventory template, and the landed cost calculator, or go back to all calculators and tools.
Frequently asked questions
Does labor belong in COGS?
The labor that goes directly into making the product or delivering the job usually does. Office admin and general marketing usually do not. Being consistent matters, because COGS changes your gross profit and your inventory records.
Is a cogs calculator the same as a cost of goods sold calculator?
Yes. This page uses both names for the Schedule C Part III computation. It is not a second copy of the gross profit calculator, which starts from sales and treats COGS as an input or a shorter inventory build.
Do I include freight-in?
Freight-in and other costs to bring merchandise to you usually belong in COGS, often on line 39 as other costs, if that is how you account for them. Freight-out to customers is generally a selling expense, not COGS. Follow Publication 334 and your own records.
Can I use this if I already know COGS?
You can leave the inventory lines blank and you will not get a useful result, because the tool is built to compute line 42. If you already have COGS and want margin, use the gross profit calculator and enter COGS directly there.
How does this connect to inventory turnover?
Inventory turnover uses COGS in the numerator. After you have line 42, you can enter it in the inventory turnover calculator with the same beginning and ending inventory.
Does this file my Schedule C?
No. It is a labeled estimate of Part III. Use the official form, the instructions, and, if needed, a tax professional.
Related guides and tools
- All free business calculators and tools
- Gross profit calculator
- Inventory turnover calculator
- Gross margin calculator
- Working capital calculator
- Food cost calculator
- EBITDA calculator
General information, not tax or accounting advice, and not an IRS-affiliated tool. Line math was checked November 22, 2026 on the official 2026 Schedule C (Form 1040), About Publication 334, and OpenStax Principles of Accounting, Volume 1, section 6.1.
