What Is a Profit Margin Calculator?
A profit margin calculator shows how much of each sale you actually keep. You enter what a product or service costs you and what you charge for it, and it tells you your profit in rupees, your margin as a share of the price, and your markup as a share of the cost.
It also works the other way round. Pick the margin you want, say 40%, and it gives you the selling price that delivers it. That is the step most people get wrong, because adding 40% to your cost does not give you a 40% margin.
Built for Indian sellers, it handles GST for you. GST is money you collect for the government, not income, so the calculator takes it out of the price before working out your margin, and shows the final price your customer pays at 5%, 18% or 40%.
How to Use the Profit Margin Calculator
- Enter your cost per unit. Include everything it takes to make or buy one unit: purchase price, packing, shipping and platform fees.
- Choose what you know. Pick Selling price to check a price you already use, Margin I want to find a new price, or Markup I add if you price by adding a percentage to cost.
- Enter the price or percentage. A sample is filled in: a ₹600 product sold for ₹1,180 including 18% GST.
- Set the GST rate and say whether your price already includes it.
- Add units sold to see total revenue, cost and profit.
- Read the result, then copy the summary for your price list or a client.
Margin and Markup Formulas
| Figure | Formula | Example: cost ₹600, price ₹1,000 |
|---|---|---|
| Profit | Price − cost | ₹400 |
| Margin | Profit ÷ price × 100 | 40% |
| Markup | Profit ÷ cost × 100 | 66.67% |
| Price for a target margin | Cost ÷ (1 − margin) | ₹600 ÷ 0.6 = ₹1,000 |
| Markup from margin | Margin ÷ (1 − margin) | 0.4 ÷ 0.6 = 66.67% |
| Break even ROAS | 1 ÷ margin | 1 ÷ 0.4 = 2.5 |
Margin can never reach 100%, but markup has no ceiling. A 100% markup, doubling your cost, gives a 50% margin. You can check these definitions in the Xero guide to margin and markup.
Practical Tips
- Price from margin, not markup. If you want a 30% margin on a ₹700 cost, the price is ₹1,000, not ₹910.
- Know your discount limit. Your margin is the biggest percentage discount you can give before you sell at a loss. At a 25% margin, a 30% off sale loses money on every unit.
- Count every cost. Marketplace commission, payment gateway fees, packaging and returns all come out of your margin. Leave them out and your real margin is lower than it looks.
- Keep GST out of your figures. Report revenue and margin on the price before GST, as your accounts and GA4 should.
- Link margin to ad spend. Your break even ROAS is one divided by your margin. At a 40% margin, ads must bring back ₹2.50 for every rupee spent just to break even.
- Your figures stay private. Everything runs in your browser. Nothing you enter is uploaded or saved.
Margins and Your Marketing
Margin decides how hard your ads can push. If you bid on conversion value, feed real profit into your bidding, as explained in value based bidding in Google Ads, and send clean revenue without tax using our GA4 ecommerce events examples. Raising your conversion rate is often the cheapest way to lift profit, so see our guide to conversion rate optimization. Need the tax figures for an invoice? Use the GST calculator, then check your ad targets with the break even ROAS calculator.
Frequently Asked Questions
1What is the difference between margin and markup?
Both use the same profit, but divide it by different numbers. Margin is profit divided by the selling price, and markup is profit divided by the cost. A product that costs ₹600 and sells for ₹1,000 has a 40% margin and a 66.67% markup.
2How do I find the selling price for a 30% margin?
Divide your cost by 1 minus the margin. For a 30% margin on a ₹700 cost, that is ₹700 divided by 0.7, which is ₹1,000. Choose Margin I want in the calculator, enter 30, and it does this for you, with GST added on top if you need it.
3Should I include GST when working out my profit margin?
No. GST is collected on behalf of the government and passed on, so it is not your income. Work out margin on the price before GST. If your price includes 18% GST, divide it by 1.18 first, which the calculator does when you tick the includes GST box.
4What is a good profit margin?
It depends on your industry. Grocery and electronics resellers often work on thin margins, while software, services and own brand products can run far higher. Compare against businesses like yours, and make sure your margin covers your ad costs, returns and overheads.