Formula
COGS = Beginning Inventory + Purchases − Ending Inventory
FAQ
Which valuation should I use for inventory?
Use your cost basis (what you paid), not retail value, and stay consistent with one method (FIFO, average cost, etc.).
Does this match my tax COGS?
The formula matches the standard approach, but tax rules on what can be included vary by jurisdiction — confirm with an accountant for filings.