Inventory Cost (COGS) Calculator
Calculate cost of goods sold from beginning inventory, purchases, and ending inventory.
By Konstantin Iakovlev · Updated April 2026 · Source: SBA — Business Guide
COGS
$205,000.00
Inventory Turnover
4.3x
Inventory Analysis
| Cost of Goods Sold | $205,000.00 |
| Average Inventory | $47,500.00 |
| Inventory Turnover | 4.3x |
| Gross Profit | $145,000.00 |
| Gross Margin | 41.4% |
Use the Inventory Cost (COGS) Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.
How It Works
Cost of Goods Sold (COGS) captures the direct costs tied to the products you actually sold during an accounting period, and getting it right is what makes a profitability figure trustworthy. It also anchors your pricing, which matters all the more as supply chains keep reshaping themselves through 2026. The tool here reduces a core financial metric to a number you can track period over period.
The accounting formula behind COGS is short but exacting: Beginning Inventory plus Purchases minus Ending Inventory. Beginning Inventory is the value of goods you had ready to sell when the period opened, and Purchases adds in the cost of all new inventory acquired along the way. Subtracting Ending Inventory, the value of whatever stayed unsold at the close, isolates the cost of what genuinely left the shelves.
Purchases is the line most often shortchanged, since costs like freight-in and the direct labor on manufactured goods belong there and are easy to overlook. Applying one consistent valuation method, whether FIFO, LIFO, or Weighted Average, across every period keeps your COGS comparable rather than distorted. With raw material costs swinging through 2026, accurate and timely physical counts have never carried more weight.
Example: 2026 Q1 Electronics Retailer COGS Calculation
- 1 A small electronics retailer started Q1 2026 with an inventory value of $50,000. During the quarter, they purchased an additional $120,000 worth of new electronics. At the end of Q1 2026, their physical inventory count showed $40,000 remaining.
- 2 Using the formula, COGS = Beginning Inventory + Purchases - Ending Inventory. So, COGS = $50,000 (Beginning Inventory) + $120,000 (Purchases) - $40,000 (Ending Inventory).
- 3 The calculated Cost of Goods Sold for the electronics retailer in Q1 2026 is $130,000.
- 4 This $130,000 represents the direct cost incurred by the retailer to acquire the products that were sold during Q1 2026. This figure is essential for determining the gross profit and overall profitability of their sales for the quarter, especially when comparing against their 2025 performance data.
Source: SBA — Business Guide · Last updated: April 2026
Frequently Asked Questions
How do I calculate cost of goods sold?
What is the difference between FIFO and LIFO for inventory costing?
Does inventory cost include shipping and handling?
You might also need
Self-Employment Tax Calculator 2026 — SE Tax & Quarterly Payments
Calculate SE tax, quarterly estimated payments, and total tax burden for freelancers and 1099 contractors. Free, instant results based on 2026 IRS rates.
LLC vs S-Corp Tax Comparison Calculator
Compare tax liability as an LLC vs S-Corp. See how much you can save on self-employment tax with an S-Corp election.
W-2 vs 1099 Comparison Calculator
Compare take-home pay as a W-2 employee vs 1099 contractor. Find the equivalent 1099 rate to match your W-2 salary.