Profit Margin and Markup Calculator
Enter what something costs you and what you sell it for, or the margin you want, and see the profit, margin and markup together.
Works entirely in your browser. Nothing you type is uploaded, saved or sent anywhere.
Profit ₹200.00 ÷ price ₹1,000.00 = 20% margin. Profit ₹200.00 ÷ cost ₹800.00 = 25% markup.
Profit margin and markup formulas
Profit = Selling price − Cost
Margin % = Profit ÷ Selling price × 100
Markup % = Profit ÷ Cost × 100
Price for a target margin = Cost ÷ (1 − Margin ÷ 100)
Price for a markup = Cost × (1 + Markup ÷ 100)
Margin tells you how much of every rupee of sales you keep. Markup tells you how much you add on top of cost. Mixing them up is one of the most common pricing mistakes: a shop that adds 30% to cost thinking it earns a 30% margin actually earns 23%.
Markup to margin conversion table
| Markup on cost | Margin on price | Price for ₹100 cost |
|---|---|---|
| 10% | 9.1% | ₹110.00 |
| 20% | 16.7% | ₹120.00 |
| 25% | 20% | ₹125.00 |
| 33.33% | 25% | ₹133.33 |
| 50% | 33.3% | ₹150.00 |
| 75% | 42.9% | ₹175.00 |
| 100% | 50% | ₹200.00 |
Gross margin and net margin
This calculator works on the cost of the item itself, which gives the gross margin. Your net margin is what is left after all expenses: rent, salaries, marketing, interest and tax. To see how many sales you need to cover those fixed costs, use the break-even calculator.
Worked examples
Cost ₹800, price ₹1,000. Profit ₹200; margin 200 ÷ 1,000 = 20%; markup 200 ÷ 800 = 25%.
Cost ₹700, you want a 30% margin. Price = 700 ÷ 0.70 = ₹1,000; profit ₹300; markup 42.86%.
Cost ₹1,200, standard 50% markup. Price = 1,200 × 1.5 = ₹1,800; profit ₹600; margin 33.33%.
Frequently asked questions
How do I calculate profit margin?
Profit margin = (selling price − cost) ÷ selling price × 100. If you buy for ₹800 and sell for ₹1,000, the profit is ₹200 and the margin is 200 ÷ 1,000 = 20%.
What is the difference between margin and markup?
Both compare profit with something else. Margin compares profit with the selling price; markup compares it with the cost. The same ₹200 profit on an ₹800 cost and ₹1,000 price is a 20% margin but a 25% markup. Markup is always the larger number.
How do I find the selling price for a target margin?
Divide the cost by (1 − margin). For a 30% margin on a ₹700 cost: 700 ÷ 0.70 = ₹1,000. Adding 30% to the cost (₹910) would give only a 23% margin.
How do I convert markup to margin?
Margin = markup ÷ (100 + markup) × 100. A 25% markup is a 20% margin, a 50% markup is a 33.3% margin, and a 100% markup (doubling the cost) is a 50% margin.
What is a good profit margin?
It depends on the business. Grocery and distribution often run on single-digit net margins, while software, services and premium brands can reach 20% to 40% or more. Compare with businesses like yours and remember that gross margin must also cover rent, salaries and other overheads.
Should I include GST in the margin calculation?
No. For a GST-registered business, GST collected is not income and GST paid on purchases is usually claimed back, so work out margin on prices before GST. Use the GST calculator to remove GST from inclusive prices first.