Margin and markup calculator
Work out profit margin and markup from cost and price, or find the selling price for the margin or markup you want.
Profit margin
33.3%
Profit Rs 500 on a cost of Rs 1,000.
- Selling price
- Rs 1,500
- Profit
- Rs 500
- Margin (of price)
- 33.3%
- Markup (of cost)
- 50.0%
Margin is not markup.
The starting numbers are an example. Nothing you enter leaves your browser.
[ How it works ]
Margin and markup, side by side
Margin is profit as a share of the selling price: (price − cost) ÷ price. Markup is profit as a share of the cost: (price − cost) ÷ cost.
The same product has both. Bought at Rs 1,000 and sold at Rs 1,500, it has a 50% markup and a 33.3% margin. Mixing them up is the most common pricing mistake: a 50% markup is not a 50% margin.
For a target margin the price is cost ÷ (1 − margin). For a target markup it is cost × (1 + markup).
[ FAQ ]
Questions, answered
- What is the difference between margin and markup?
- Margin divides the profit by the selling price; markup divides it by the cost. The same sale always shows a higher markup than margin.
- How do I calculate profit margin?
- Subtract the cost from the selling price to get the profit, then divide the profit by the selling price and multiply by 100.
- What price gives a 30% margin?
- Divide the cost by 0.7. A product that costs Rs 1,000 needs a price of about Rs 1,429 for a 30% margin.
- Why can't the margin reach 100%?
- A 100% margin would mean the whole price is profit, so the cost would have to be zero. Markup has no such limit.
Price it right, sell it in rupees.
Eekaam stores are priced in PKR with 0% transaction fee. Try it free for 3 days.

