Profit margin vs. markup: how to set your selling price
The difference between margin and markup, the formulas to get from cost to price, and the mistake that makes many sellers earn less than they think.

Margin and markup use the same numbers on different bases. Mixing them up is one of the most common pricing mistakes.
The formulas
- Margin = (price − cost) ÷ price × 100
- Markup = (price − cost) ÷ cost × 100
Example: cost $60, price $100, profit $40. Margin = 40 ÷ 100 = 40%. Markup = 40 ÷ 60 = 66.7%.
Read alsoWorking on Thanksgiving: is holiday pay required, and when do you get overtime?From cost to price
- Target margin: price = cost ÷ (1 − margin). For 30%: 60 ÷ 0.70 = $85.71.
- Markup: price = cost × (1 + markup). With 30%: 60 × 1.30 = $78.
The classic mistake
Adding 30% to cost and expecting a 30% margin. Selling at $78 gives a margin of only 18 ÷ 78 = 23.1%.
What belongs in cost
Besides the product itself: shipping, packaging, sales tax handling, card processing and marketplace fees.
Check your numbers with the profit margin calculator.
- Cost accounting: margin on price, markup on cost
Spotted a mistake or have a question? Write to the newsroom through the contact page. We fix it and log the change at the end of the story.
Stories written with AI assistance, with every figure checked against the site calculator and the official rules cited.



