
Free tool · Pricing
Profit Margin Calculator with GST: Margin, Markup & Price
Use this free profit margin calculator to get profit, margin and markup from cost and price, find the selling price for a target margin, or add and remove GST.
Everything it costs you to get one unit ready to sell.
Margin is profit as a share of the selling price (before GST). Must be below 100.
Result
Profit per unit
—
Margin
—
Markup
—
Margin vs markup: margin is profit ÷ selling price; markup is profit ÷ cost. Both are worked out on the price before GST, because GST you collect is paid to the government, not kept. Check the GST rate for your HSN or SAC code.
Want a store that sells at the margins you planned? See our website development work.
What this profit margin calculator does
Price a product too low and you work hard for nothing. Price it too high and it does not sell. This profit margin calculator helps you find the middle ground in three ways:
- Cost + price → margin: enter what a unit costs you and what you sell it for, and see profit, profit margin and markup.
- Cost + margin → price: enter your cost and the margin you want, and get the selling price you need.
- GST only: add GST to a net amount or remove it from a GST-inclusive price, with the CGST and SGST split.
The first two modes also have a GST switch, so you can work with prices that include or exclude GST and still get a true margin.
Margin and markup are not the same
This is the most common pricing mistake we see. Both use the same profit figure, but they divide it by different numbers:
- Margin = profit ÷ selling price × 100. It tells you what share of each sale you keep.
- Markup = profit ÷ cost × 100. It tells you how much you added on top of cost.
A product that costs ₹100 and sells for ₹150 has a 50% markup but only a 33.33% margin. If you want a 50% margin, you need to sell it at ₹200, which is a 100% markup. The calculator shows both so you never mix them up.
Why GST must come out first
If you are GST-registered, the GST in your selling price belongs to the government. Your real revenue is the price before GST. So a T-shirt sold for ₹590 including 18% GST brings in ₹500 net, not ₹590. If it costs ₹300, the margin is 40% (₹200 ÷ ₹500), not 49% (₹290 ÷ ₹590). Tick “Include GST in the calculation” and choose “Inclusive of GST” to get this right.
Since 22 September 2025, most goods in India fall under the 5% or 18% GST slabs, with 40% for a short list of luxury and sin goods, 3% for gold and jewellery, and a few items at other notified rates. Always check the rate for your HSN or SAC code.
How to use the calculator
- Choose a mode using the tabs at the top.
- Enter your full cost per unit. Include purchase price, packaging, inward freight and, for online sellers, average shipping and payment fees.
- Enter the selling price (mode 1) or your target margin (mode 2).
- Switch on GST if your prices include or should include GST, and pick the rate.
- Read the results: profit, margin and markup, plus a line-by-line table.
- Copy the result to paste into your price list or quotation.
Worked examples
A D2C candle brand setting its website price
A scented candle costs ₹220 to make, pack and ship. The founder wants a 45% margin. In mode 2, the net price is ₹220 ÷ (1 − 0.45) = ₹400. With 18% GST switched on, the website price becomes ₹472. Rounding to ₹479 keeps the margin a little above target.
A kirana-style wholesaler checking a quote
A wholesaler buys a carton for ₹1,000 and sells it for ₹1,120 including 5% GST. In mode 1 with GST inclusive, the net price is ₹1,066.67. Profit is ₹66.67, a margin of 6.25% and a markup of 6.67%. That is thin. A small change in freight or credit terms could wipe it out.
A freelancer or service business adding GST to an invoice
A web designer quotes ₹50,000 for a project before GST. In GST mode with “Exclusive of GST”, the tool adds ₹9,000 GST at 18% for a total of ₹59,000, split as ₹4,500 CGST and ₹4,500 SGST for a client in the same state, or ₹9,000 IGST for a client in another state.
An exporter or international SME
Switch GST off and the tool works in any market as a plain margin and markup calculator. The ₹ symbol is only a label: the maths is the same in dollars or euros.
Tips and common mistakes
- Leaving out hidden costs. Payment gateway charges, returns, packaging and discount coupons all eat into margin. Add an average per unit.
- Using markup when someone asks for margin. A “30% margin” and a “30% markup” give very different prices.
- Calculating margin on the GST-inclusive price. It makes your margin look bigger than it is.
- Same margin for every product. Fast movers can work on lower margins; slow or fragile items need more.
- Not rechecking after cost changes. When your supplier raises prices, run the numbers again before your next order.
FAQs
What is a good profit margin?
It depends on your industry, sales volume and overheads. A wholesaler moving large volumes can survive on a thin margin, while a D2C brand paying for ads, returns and shipping usually needs a much higher one. Work out your fixed costs first, then set a margin that covers them with room to spare.
How do I calculate selling price from cost and margin?
Selling price = cost ÷ (1 − margin as a decimal). For a ₹600 cost and a 40% margin, that is ₹600 ÷ 0.6 = ₹1,000. Add GST on top if you charge it.
How do I remove GST from a price?
Divide the GST-inclusive price by 1 plus the rate. For ₹1,180 at 18%, the net price is ₹1,180 ÷ 1.18 = ₹1,000, and GST is ₹180. Use the GST tab to do this for any rate.
Why can’t the margin be 100% or more?
Margin is profit as a share of the selling price. Even if your cost were zero, profit would equal the price, which is a 100% margin. Markup has no such limit.
Does this calculator work for services?
Yes. Enter your cost of delivering the service (time, tools, subcontractors) as the cost, and your fee as the selling price. The GST tab also handles service invoices.
Build a store that protects your margin
A well-priced product still needs a fast, trustworthy website that sells it without heavy discounting. If you are planning a new D2C store or a rebuild, see our website development work. For more free calculators and generators, browse all GrowthLife free tools.



Want this done for you? Talk to GrowthLife.
Free tools get you started. Our team can run the whole thing for your business. See all free tools.
Real humans. We answer the same day.