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