Skip to content
BizToolsIndiaSearch

How to Calculate Profit Margin (and How It Differs From Markup)

By BizToolsIndia Editorial Team · Updated · Business Calculators

Quick answer

Profit margin = (selling price − cost) ÷ selling price × 100. If you buy at ₹600 and sell at ₹800, profit is ₹200 and margin is 25%. To price for a target margin, divide cost by (1 − margin): for a 25% margin on ₹600, sell at ₹600 ÷ 0.75 = ₹800.

Skip the maths — use the Profit Margin Calculator →

The formula

Formula

Profit = Selling price − Cost

Margin % = Profit ÷ Selling price × 100

Margin tells you how many paise of every rupee of sales you keep as profit. A 25% margin means ₹25 of every ₹100 sold is profit before overheads.

Pricing for a target margin

Formula

Selling price = Cost ÷ (1 − Target margin ÷ 100)

Suppose a product costs ₹600 and you want a 30% margin. Selling price = 600 ÷ 0.70 = ₹857.14. Check: profit ₹257.14 ÷ ₹857.14 = 30%.

Important

Adding 30% to cost (₹600 × 1.30 = ₹780) gives only a 23.08% margin. That's a markup of 30%, not a margin of 30%.

Margin vs markup

MarginMarkup
Divides profit bySelling priceCost
Buy ₹600, sell ₹80025%33.33%
Can it exceed 100%?NoYes
Useful forComparing profitability, reportingBuilding a price from supplier cost

To convert: markup = margin ÷ (100 − margin) × 100, and margin = markup ÷ (100 + markup) × 100.

Gross margin vs net margin

Gross margin uses only the cost of the goods. Net margin also subtracts operating expenses — rent, salaries, shipping, platform fees, marketing. A product can have a healthy gross margin and still lose money once delivery and commissions are included; the Profit Calculator lets you add those expenses.

Always calculate on prices excluding GST

If you're GST-registered, the GST you collect isn't revenue and the GST you pay on purchases is usually recovered as input tax credit. Using tax-inclusive figures inflates both revenue and cost and distorts the margin.

Markup to margin conversion table

The same profit expressed two ways
Target marginMarkup needed on costPrice for ₹1,000 cost
10%11.11%₹1,111.11
20%25%₹1,250
25%33.33%₹1,333.33
30%42.86%₹1,428.57
40%66.67%₹1,666.67
50%100%₹2,000

The gap widens as margins rise: a 50% margin needs a 100% markup. The Markup Calculator converts in both directions.

Worked example: an online seller

A seller buys a product for ₹400 and lists it at ₹629 including 18% GST. The taxable value is ₹629 ÷ 1.18 = ₹533.05, so the gross margin is (533.05 − 400) ÷ 533.05 = 25%.

Now add the costs of selling each unit — packing ₹15, shipping ₹60 and a marketplace fee of, say, ₹50. Profit falls to ₹8.05 and the net margin to 1.5%. The product looked healthy on gross margin but barely breaks even after fulfilment. Always check the margin after variable selling costs; the Profit Calculator includes them.

Note

Fees in this example are illustrative. Use your own marketplace's fee schedule and courier rates.

Blended margin across several products

Average the margins by sales value, not by product count. If you sell ₹1,00,000 of product A at a 30% margin and ₹50,000 of product B at 10%, total profit is ₹30,000 + ₹5,000 = ₹35,000 on ₹1,50,000 of sales — a blended margin of 23.3%, not the simple average of 20%.

How discounts eat into margin

Product with ₹75 cost and ₹100 price (25% margin)
DiscountPriceProfitMargin
None₹100₹2525%
10%₹90₹1516.7%
20%₹80₹56.3%

A 20% discount wipes out 80% of the profit. Before running a sale, check how many more units you'd need to sell to make the same total profit: here, five times as many at 20% off. See setting a selling price that survives GST and discounts.

Common margin mistakes

  1. Treating markup as margin when setting prices.
  2. Calculating on GST-inclusive prices.
  3. Leaving out freight-in, packing and payment charges from cost.
  4. Ignoring returns and damaged stock, which reduce effective margin.
  5. Judging a product on gross margin alone when shipping and fees are high.

Gross, contribution and net margin in one example

An online store's month (all figures before GST)
LineAmountMargin
Sales₹5,00,000
− Cost of goods sold₹3,00,000
= Gross profit₹2,00,00040% gross margin
− Shipping, packing, payment and marketplace fees₹75,000
= Contribution₹1,25,00025% contribution margin
− Rent, salaries, software, marketing₹90,000
= Net profit₹35,0007% net margin

Each level answers a different question. Gross margin says whether products are priced well against their purchase cost. Contribution margin says how much each sale adds after selling it. Net margin says whether the business as a whole is profitable. Use contribution margin for break-even analysis.

Margins for service businesses

Service businesses price time rather than goods, so work backwards from what you need to earn. A consultant who wants ₹1,20,000 a month of profit, has ₹30,000 of monthly overheads and can realistically bill 100 hours a month needs (1,20,000 + 30,000) ÷ 100 = ₹1,500 an hour before GST. Billable hours are usually well below hours worked, once you count sales, admin and gaps between projects — be conservative.

Five ways to improve margin

  1. Review prices regularly. Costs rise quietly; a price set two years ago may no longer deliver your target margin. Recalculate from current cost ÷ (1 − target margin).
  2. Negotiate purchase costs and terms. A 5% lower purchase price on a 25%-margin product lifts margin to about 28.75% at the same selling price.
  3. Cut variable selling costs. Right-sized packaging, better courier rates and fewer returns raise contribution on every order.
  4. Sell more of your high-margin products. Feature them, bundle them and train staff to recommend them; the blended margin rises even if prices don't change.
  5. Discount deliberately. Use targeted or time-limited offers instead of permanent price cuts, and check the margin before launching each one.

Track gross and net margin every month. A falling gross margin points to pricing or purchasing; a falling net margin with steady gross margin points to overheads or selling costs.

Frequently asked questions

What is a 20% margin on ₹1,000 cost?

Selling price = 1,000 ÷ 0.80 = ₹1,250. Profit is ₹250, which is 20% of ₹1,250.

Is a higher markup always better?

Not necessarily. A higher price can reduce sales volume. Total profit depends on both margin and how many units you sell.

What is a good profit margin?

It depends on the industry, volume and overheads. High-volume trading businesses often work on thin margins, while services and niche products need higher ones. Compare your net margin with your own fixed costs and break-even point.

How do I calculate margin from markup?

Margin = markup ÷ (100 + markup) × 100. A 25% markup is a 20% margin.

Should I include my own salary in cost?

Not in the product cost for gross margin, but yes in the operating expenses when you calculate net profit.

What is contribution margin?

Sales minus all variable costs — cost of goods plus costs that rise with each sale, like shipping and fees. It shows how much each sale contributes to fixed costs and profit.

How do I calculate profit margin in Excel?

With cost in A2 and selling price in B2, enter =(B2-A2)/B2 and format the cell as a percentage. For the price needed for a target margin in C2, use =A2/(1-C2).

What is the difference between profit and profit margin?

Profit is an amount in rupees; margin is that profit as a percentage of the selling price. ₹200 profit on an ₹800 sale is a 25% margin. Margin lets you compare products and periods of different sizes.

The team that builds and maintains BizToolsIndia's calculators and guides. We check formulas against worked examples and official sources, and record when each page was last reviewed.

This guide is general information, not professional advice. Published .

Calculators for this topic