Calculate margin on a product
Input
Revenue: $50 · Cost: $30Output
Gross profit: $20 · Gross margin: 40% · Markup: 66.7%$50 revenue − $30 cost = $20 profit. Margin: 20/50 = 40%. Markup: 20/30 = 66.7%. A 40% margin means 40 cents of every dollar of revenue is profit.