Profit = Sales Price - Cost
Profit Margin = (Profit / Sales Price) × 100
Target Price = Cost / (1 - Target Margin)
Markup = (Profit / Cost) × 100
Target Price = Cost × (1 + Target Markup)
Example:
If Cost: $ 100, Sales: $ 150:
Profit Margin = ((150 - 100) / 150) × 100 = 33.33 %
Markup = ((150 - 100) / 100) × 100 = 50 %