The calculation for your CoGS is simply
Starting Inventory + Purchases - Ending Inventory = CoGS
over a defined period, such as a week, month, or year.$0
Starting Inventory + Purchases - Ending Inventory = CoGS
over a defined period, such as a week, month, or year.