If you are looking for the answer to your question of 'How to determine the cost of goods available for sale?', then here is the COG available for sale formula for calculating the goods cost available for sale. From the cost of goods available for sale formula, you can see that the cost is the sum of the beginning inventory and the cost of the goods purchased. This cost also considers the obsolete or damaged goods that are not really "available for sale".
This sale tells you how much inventory you have on hand to sell to your customers this year. Feel free to use this cost of goods available for sale formula to manage your inventory on your own.