Start with the same sale
Suppose a product costs $60 and sells for $100. The difference is $40. Margin and markup both describe that difference, but each compares it with a different starting number.
Keep the cost basis consistent. If you include packaging or shipping in one comparison, include those costs in the other too.
Margin compares profit with the selling price
Margin = (selling price − cost) ÷ selling price × 100. In this example, $40 ÷ $100 × 100 = 40%.
That means 40 cents of each sales dollar remains after the costs included in this calculation. It does not automatically represent net profit: overhead, payment fees, returns, and other expenses may still need to be deducted.
Markup compares profit with the cost
Markup = (selling price − cost) ÷ cost × 100. The same sale has a markup of $40 ÷ $60 × 100 = 66.67%, rounded to two decimal places.
A 40% markup on $60 would produce a selling price of $84. Its margin would be $24 ÷ $84 × 100 = 28.57%, rather than 40%.
Work backward from a target margin
Selling price = cost ÷ (1 − target margin as a decimal). To reach a 40% margin on a $60 cost, calculate $60 ÷ 0.60 = $100.
This simplified formula assumes a positive cost and a target margin below 100%. Use your actual costs and review the assumptions before deciding on a price.
