Margin and markup are different
Both describe the same profit, measured against different bases. Margin compares profit with the selling price. Markup compares profit with the cost.
Margin % = (price − cost) ÷ price × 100
Markup % = (price − cost) ÷ cost × 100
Worked example
An item costs 40 and sells for 64. Profit is 24. Margin is 24 ÷ 64 = 37.5%. Markup is 24 ÷ 40 = 60%.
Pricing to a target margin
Price = cost ÷ (1 − margin ÷ 100)
For a 50% margin on a cost of 40, the price is 40 ÷ 0.5 = 80. A common mistake is to add 50% to the cost, which gives 60 and a margin of only 33.3%.
If you charge sales tax or VAT, use prices without tax on both sides.