Free tool · works in your browser · nothing is sent to us

Profit Margin Calculator

Find your profit, margin and markup from the cost price and selling price. Or start from the margin you want and get the price to charge.

Margin and markup are often mixed up, and the difference decides whether a price makes money. This calculator shows both side by side.

Type the cost and the second number to see the result.

Use prices without GST. If you are GST-registered, the GST you collect goes to the government and is not part of your profit.

Useful? Share it with another business owner.

Send to a friend on WhatsApp

How to calculate profit margin

Profit margin is profit as a percentage of the selling price: (selling price − cost) ÷ selling price × 100. Buy at ₹800, sell at ₹1,000: profit is ₹200 and the margin is 20%.

  1. Choose what you know: cost and price, or cost and a target margin or markup.
  2. Type the cost price per unit.
  3. Type the selling price, or the margin or markup you want.
  4. Read the profit, margin, markup and selling price.

Margin vs markup

Markup is profit as a percentage of the cost: (selling price − cost) ÷ cost × 100. In the same example, ₹200 profit on ₹800 cost is a 25% markup, but only a 20% margin.

The mistake to avoid: adding 20% to your cost does not give you a 20% margin. ₹800 + 20% = ₹960, which is a 16.7% margin. For a true 20% margin, divide the cost by 0.8: ₹800 ÷ 0.8 = ₹1,000.

If you want margins tracked per product across your whole stock, see The Beyond Horizon's custom inventory and billing software.

Price for the margin you want

Selling price = cost ÷ (1 − margin ÷ 100). For a 30% margin on a ₹700 cost: ₹700 ÷ 0.7 = ₹1,000.

Selling price = cost × (1 + markup ÷ 100). For a 30% markup on a ₹700 cost: ₹700 × 1.3 = ₹910.

  • Use prices without GST. The GST you collect is not your profit.
  • Include every cost per unit: purchase, freight, packing, payment gateway or marketplace fees.
  • Check the margin after discounts, not on the list price.

Common questions

What is the formula for profit margin?

Profit margin = (selling price − cost price) ÷ selling price × 100. A product that costs ₹600 and sells for ₹1,000 has a 40% margin.

What is the difference between margin and markup?

Margin divides the profit by the selling price; markup divides it by the cost. ₹200 profit on a ₹1,000 sale with ₹800 cost is a 20% margin and a 25% markup.

How do I set a price for a 25% margin?

Divide the cost by 0.75. A ₹1,500 cost needs a ₹2,000 selling price for a 25% margin.

Should I include GST in the margin calculation?

No. If you are GST-registered, use prices before GST, because the GST you collect is passed on to the government.

Need this built into your own website or app? Call or WhatsApp The Beyond Horizon on +91 75973 92744.