Free tool · no sign-up

Profit margin and markup calculator

Find your profit, margin and markup from cost and selling price — or work out the price to charge for the margin you want. Handles prices that include GST, so you see your real profit.

Also called: margin calculator · markup calculator · selling price calculator · profit percentage calculator · munafa kaise nikale · margin kitna rakhe

Work out profit and price

Runs in your browser
What do you know?

Profit₹200.00

Cost
₹800.00
Selling price
₹1,000.00
Profit
₹200.00
Marginprofit ÷ selling price
20%
Markupprofit ÷ cost
25%

Same ₹200.00 profit: ÷ ₹1,000.00 price = 20% margin, ÷ ₹800.00 cost = 25% markup.

Margin ↔ markup at a glance

PercentageAs a margin = markup ofAs a markup = margin of
10%11.11%9.09%
20%25%16.67%
25%33.33%20%
30%42.86%23.08%
40%66.67%28.57%
50%100%33.33%

Margin and markup are not the same: a 25% markup on cost is only a 20% margin on the selling price.

Margin and markup: the formulas

Profit = Selling price − CostMargin % = Profit ÷ Selling price × 100Markup % = Profit ÷ Cost × 100

Both use the same profit — they just divide by a different number. Example: you buy a pressure cooker for ₹800 and sell it for ₹1,000. Profit is ₹200, so your margin is 200 ÷ 1,000 = 20% and your markup is 200 ÷ 800 = 25%.

Setting the price for the margin you want

Price for a margin = Cost ÷ (1 − Margin ÷ 100)Price for a markup = Cost × (1 + Markup ÷ 100)

Want a 25% margin on that ₹800 cooker? 800 ÷ 0.75 = ₹1,066.67. Adding 25% to the cost gives only ₹1,000 — a 20% margin. This is the most common pricing mistake: margin and markup are not the same number.

To convert between them: Markup = Margin ÷ (100 − Margin) × 100, and Margin = Markup ÷ (100 + Markup) × 100. A 20% margin is a 25% markup; a 50% markup is a 33.33% margin. The table in the calculator lists the common ones.

Where GST fits in

If you are registered under GST, the tax you collect from customers is not your income — it goes to the government after you set off the input tax credit on your purchases. So work out profit on the selling price before GST, and use your cost without the GST you can claim back.

Example: you sell at ₹1,180 including 18% GST and your cost is ₹800 plus GST. The price before GST is ₹1,000, so your profit is ₹200 — not ₹380. Tick “Selling price includes GST” in the calculator to do this automatically.

If you are not registered, or you are under the composition scheme, you cannot claim input tax credit, so include the GST you paid in your cost. Composition dealers also pay a small tax on their turnover (for example 1% for traders) out of their own margin.

Common mistakes

  • Treating markup as margin — “I add 30%, so my margin is 30%”. It is really 23.08%.
  • Counting the GST inside the selling price as profit.
  • Leaving out costs that come with each sale: delivery, packing, card fees, marketplace commission, breakage and wastage.
  • Pricing above MRP. On packaged goods you cannot charge more than the printed MRP, which already includes GST.
Turn this into your own app

Turn this into your own pricing app

Pricing hundreds of items? Describe the app and Solaris builds it — every product with its cost, price, GST and margin, and a warning when an item drops below your target.

“Make a pricing and profit app for my shop. Each product has a cost price, selling price and GST rate. Show the profit, margin % and markup % for every item, flag items below my target margin of 20%, and suggest the selling price for any margin I choose.”
Build this app free Free monthly AI credits · No card needed · Edit the idea before you build
FAQ

Questions, answered

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. Buying at ₹800 and selling at ₹1,000 is a 20% margin but a 25% markup.

How do I calculate the selling price from cost and margin?

Divide the cost by (1 − margin ÷ 100). For a ₹500 cost and a 20% margin: 500 ÷ 0.8 = ₹625.

How do I convert markup to margin?

Margin = Markup ÷ (100 + Markup) × 100. A 25% markup is a 20% margin, a 50% markup is 33.33% and a 100% markup is 50%.

Should I calculate margin before or after GST?

Before GST, if you are GST-registered — the GST you collect belongs to the government. Use your cost without the GST you claim back as input tax credit.

What is a good profit margin for a small shop?

It depends on your trade and your costs. Fast-selling groceries often work on thin margins and make it up on volume, while slow-moving or speciality items need more. Start from your monthly costs — rent, salaries, electricity — and check that your margins cover them with something left over.