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.
Next, you might need
Useful? Share it with another business owner.
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%.
- Choose what you know: cost and price, or cost and a target margin or markup.
- Type the cost price per unit.
- Type the selling price, or the margin or markup you want.
- 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.
More free tools
- QR Code GeneratorNewQR codes for a link, Wi-Fi, contact card, email, SMS or phone, with your colours and logo. Never expires.
- UPI QR Code GeneratorA payment QR and printable A5 poster from your UPI ID, with or without a fixed amount.
- Google Review QR Code GeneratorA QR code, counter poster and WhatsApp message (English, Hindi, Hinglish) from your Google review link.
- WhatsApp Link GeneratorA wa.me link, QR code and floating website chat button that open a chat with you in one tap.
- Wi-Fi QR Code GeneratorNewGuests scan once and join your Wi-Fi, no typing passwords. Includes a table poster.
- GST Invoice GeneratorA GST tax invoice, proforma or bill of supply with your logo and a pay-now UPI QR. Print or save as PDF.
- Quotation GeneratorNewA professional price quotation with GST, validity date and your terms, ready as a PDF.
- GST CalculatorAdd GST to a price or take it out of a GST-inclusive price, with the CGST, SGST and IGST split.
- GSTIN ValidatorNewCheck a GSTIN for typing mistakes and see its state, PAN and holder type. Check a whole list at once.
- EMI CalculatorNewMonthly EMI, total interest and a year-by-year schedule for a home, car, personal or business loan.
- Image CompressorNewShrink photos to under 20, 50 or 100 KB for forms and portals, or resize them. Nothing is uploaded.
- JPG to PDF ConverterNewTurn photos of documents, bills or ID cards into one PDF. Reorder pages, A4 or image size. Nothing is uploaded.