Question: how to calculate gross profit from inventory?
Answer: Add together the cost of beginning inventory and the cost of purchases during the period to arrive at the cost of goods available for sale.
Multiply (1 - expected gross profit %) by sales during the period to arrive at the estimated cost of goods sold.