Question: how to calculate gross profit cost of goods sold?
Answer: Sales - Cost of Goods Sold = Gross Profit.
Gross Profit / Sales = Gross Profit Margin.
(Selling Price - Cost to Produce) / Cost to Produce = Markup Percentage.