Margin and markup both describe the gap between what something costs you and what you sell it for. They use the same profit figure but divide it by different numbers, so the same product can have a "50% markup" and a "33% margin" at once. Confusing the two is one of the most common pricing mistakes in small businesses: set a price with a 30% markup when you meant a 30% margin, and you earn less on every sale than you planned.
This guide defines both terms, works through the formulas with one consistent example, shows how to convert between them, explains how to price for a target margin, and covers the details (tax, discounts and overheads) that make the numbers on paper differ from the money in the bank.
The definitions
Both start from profit per unit:
Profit = Selling price - Cost
Margin = Profit / Selling price × 100
Markup = Profit / Cost × 100
- Margin answers: what share of each sale is profit?
- Markup answers: how much did I add on top of cost?
Because the selling price is always larger than the cost (when you make a profit), margin is always the smaller of the two numbers.
One example, both measures
A product costs ₹800 and sells for ₹1,200.
- Profit = 1,200 - 800 = ₹400
- Margin = 400 / 1,200 × 100 = 33.33%
- Markup = 400 / 800 × 100 = 50%
Both are correct. They just answer different questions.
Converting between margin and markup
Markup = Margin / (100 - Margin) × 100
Margin = Markup / (100 + Markup) × 100
| Margin | Equivalent markup |
|---|---|
| 10% | 11.11% |
| 20% | 25% |
| 25% | 33.33% |
| 30% | 42.86% |
| 40% | 66.67% |
| 50% | 100% |
| 60% | 150% |
Notice that margin can never reach 100% (that would mean the item cost nothing), whereas markup has no upper limit.
Pricing for a target margin
This is where the confusion costs money. Suppose you want a 30% margin on an item costing ₹800.
Wrong: add 30% to cost. 800 × 1.30 = ₹1,040. Profit is ₹240, and 240 / 1,040 = 23.08% margin, well short of the target.
Right: divide cost by (1 - margin).
Selling price = Cost / (1 - Target margin / 100)
800 / 0.70 = ₹1,142.86. Profit is ₹342.86, and 342.86 / 1,142.86 = 30%.
If instead your supplier or industry quotes a markup, then Selling price = Cost × (1 + Markup / 100) is correct.
Use the Profit Margin Calculator
The Profit Margin Calculator has two tabs.
Find margin
- Open the Profit Margin Calculator on Find margin.
- Enter the Cost price and Selling price.
- Read Profit and margin: the Profit (or Loss), Gross margin and Markup, with a bar splitting the price into cost and profit. If you are selling below cost, the tool says so.
Find selling price
- Switch to Find selling price.
- Enter the Cost price.
- Choose Target margin or Target markup, and enter the percentage.
- Read Price to charge: the Selling price, Profit per unit, and both the resulting Margin and Markup, so you can see the two side by side.
If you ask for a margin of 100% or more, the tool explains why that is impossible rather than showing a meaningless price.
Things that change the real margin
Keep tax out of both numbers
If you are GST-registered, the GST you collect is not your revenue. Calculate margin on the price excluding tax. An item sold for ₹1,180 including 18% GST brings in ₹1,000 of revenue; with a cost of ₹800 (net of input credit), the margin is 20%, not 32%. The GST Calculator separates the net amount.
Discounts come out of margin, not price
A 10% discount on a 33% margin product does not leave you with a 23% margin; it leaves you with about 26% of a smaller price, and a much smaller profit per unit. Model promotions with the Discount Calculator and then run the discounted price back through the margin tab.
Gross vs net margin
The calculator gives gross margin: price minus the direct cost of the item. It does not include rent, salaries, marketing, payment fees, shipping or returns. A healthy gross margin can still produce a loss once overheads are paid. For an overall business view, net margin (net profit divided by revenue) is the figure to watch.
Include every direct cost
The "cost" you enter should include everything it takes to get one unit ready to sell: purchase price, inbound freight, packaging and any per-unit fees. Leaving these out inflates both margin and markup.
Doing it in a spreadsheet
With cost in A2 and price in B2:
| Measure | Formula |
|---|---|
| Profit | =B2-A2 |
| Margin % | =(B2-A2)/B2*100 |
| Markup % | =(B2-A2)/A2*100 |
| Price for target margin (C2 as %) | =A2/(1-C2/100) |
A spreadsheet is ideal for pricing a whole product list; the calculator is quicker for checking a single item or a quote.
Which measure should you use?
- Retail and e-commerce often price with markup because it is easy to apply to cost.
- Finance, investors and reports usually discuss margin, because it relates profit to revenue.
- Internally, pick one and label it clearly. Most pricing errors happen when one person means margin and another hears markup.
For broader profitability questions, the ROI Calculator compares return against investment, and the Percentage Calculator handles general percentage changes.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit divided by the selling price. Markup is profit divided by the cost. For the same product, markup is always the higher percentage.
How do I calculate the selling price for a 30% margin?
Divide the cost by 0.70. For a cost of ₹800, the price is ₹1,142.86. Adding 30% to cost gives only a 23% margin.
Can a margin be more than 100%?
No. Margin is a share of the selling price, so it is always below 100%. Markup can exceed 100%.
Is a 50% markup the same as a 50% margin?
No. A 50% markup equals a 33.33% margin, and a 50% margin requires a 100% markup.
Should I include GST in the selling price when calculating margin?
No. GST collected is passed on to the government, so calculate margin on the price before tax.