Profit Margin vs Markup: How to Calculate Both (With ₹ Examples)
By Doffl Team · · 6 min read
You buy a product for ₹400 and sell it for ₹500. Is your profit 20% or 25%? Both answers are correct, depending on whether you mean profit margin or markup. Mixing up these two numbers is one of the most common pricing mistakes small shops, online sellers and freelancers make, and it quietly eats into profit on every sale.
This guide explains the difference in plain language, gives you the formulas, shows how to convert one into the other, and walks through real rupee examples so you can set prices with confidence.
What is the difference between profit margin and markup?
Both numbers start from the same profit figure:
Profit = Selling price − Cost
The difference is what you divide that profit by:
- Profit margin compares profit with the selling price. It tells you how much of every rupee of sales you keep.
- Markup compares profit with the cost. It tells you how much you added on top of what you paid.
Using the example above:
- Profit = ₹500 − ₹400 = ₹100
- Margin = ₹100 ÷ ₹500 × 100 = 20%
- Markup = ₹100 ÷ ₹400 × 100 = 25%
Because the selling price is always larger than the cost (when you make a profit), the margin is always a smaller percentage than the markup for the same sale. That is why a supplier saying "you get 25%" and an accountant saying "your margin is 20%" can both be describing the same deal.
The formulas you need
Keep these four formulas handy:
- Profit margin (%) = (Selling price − Cost) ÷ Selling price × 100
- Markup (%) = (Selling price − Cost) ÷ Cost × 100
- Selling price from a markup = Cost × (1 + Markup)
- Selling price from a target margin = Cost ÷ (1 − Margin)
In formulas 3 and 4, write the percentage as a decimal (30% = 0.30).
If you would rather not do this by hand, the Profit Margin Finder calculates profit, margin and markup instantly from your cost and selling price, right in your browser.
Step-by-step: price a product for a target margin
Say you run a small home-decor store. A cushion cover costs you ₹400 (including shipping to your shop), and you want a 30% margin.
Step 1: Write down the full cost. Include the purchase price plus anything you pay to get one unit ready to sell, such as inward freight or packaging. Here it is ₹400.
Step 2: Convert the target margin to a decimal. 30% = 0.30.
Step 3: Divide the cost by (1 − margin). ₹400 ÷ (1 − 0.30) = ₹400 ÷ 0.70 = ₹571.43.
Step 4: Round to a sensible price. You might choose ₹575 or ₹599.
Step 5: Check the result. At ₹571.43, profit is ₹171.43, and ₹171.43 ÷ ₹571.43 = 30%.
The common mistake
Many sellers simply add 30% to the cost: ₹400 × 1.30 = ₹520. That is a 30% markup, but the margin is only ₹120 ÷ ₹520 = 23.1%. On a hundred units, that gap is more than ₹5,100 of profit you thought you were making but are not.
Markup to margin conversion table
You can convert between the two with these formulas:
- Margin = Markup ÷ (1 + Markup)
- Markup = Margin ÷ (1 − Margin)
Here are the pairs most people use:
| Markup | Profit margin | |---|---| | 10% | 9.1% | | 25% | 20% | | 33.3% | 25% | | 50% | 33.3% | | 66.7% | 40% | | 100% | 50% | | 150% | 60% |
Notice that a 100% markup (doubling the cost) gives a 50% margin, not 100%. A margin can never reach 100%, because that would mean the product cost you nothing.
Gross margin vs net margin
So far we have looked at one product. When you look at your whole business, there are two margins worth tracking.
Gross profit margin uses only the direct cost of the goods you sold:
- Monthly sales: ₹2,00,000
- Cost of goods sold: ₹1,30,000
- Gross profit: ₹70,000
- Gross margin: ₹70,000 ÷ ₹2,00,000 = 35%
Net profit margin also subtracts your running expenses:
- Rent: ₹25,000
- Salaries: ₹20,000
- Electricity, internet and other bills: ₹5,000
- Total expenses: ₹50,000
- Net profit: ₹70,000 − ₹50,000 = ₹20,000
- Net margin: ₹20,000 ÷ ₹2,00,000 = 10%
A healthy gross margin on each product does not guarantee a profitable business. If your expenses grow faster than your gross profit, the net margin shrinks. Review both every month.
How discounts and GST affect your margin
Discounts hit margin harder than you expect
Imagine a product with a cost of ₹420 that you sell for ₹600. Your margin is ₹180 ÷ ₹600 = 30%.
During a festive sale you offer 10% off, so the price becomes ₹540:
- Profit: ₹540 − ₹420 = ₹120
- Margin: ₹120 ÷ ₹540 = 22.2%
A 10% discount cut your profit per unit by a third (from ₹180 to ₹120). To earn the same total profit, you would need to sell 50% more units (₹180 ÷ ₹120 = 1.5). Run this check before every sale or coupon campaign.
Work out margins on prices without GST
If you are registered for GST and claim input tax credit, the GST you collect is not your income, so calculate margins on prices excluding GST. For example, if a customer pays ₹590 and that price includes 18% GST, the taxable value is ₹590 ÷ 1.18 = ₹500. Your margin should be worked out on ₹500, not ₹590.
The GST/VAT Calculator can add or remove GST from a price in one step. GST rates and rules differ by product and can change, so check the latest official rules for your items or ask your accountant.
Use margin to find your break-even point
Margin also tells you how many units you must sell before you start making money. The amount each unit contributes towards fixed costs is called the contribution margin:
Contribution per unit = Selling price − Variable cost per unit
Using the ₹600 product with a variable cost of ₹420, each sale contributes ₹180. If your fixed costs (rent, salaries, software) are ₹50,000 a month:
- Break-even units = ₹50,000 ÷ ₹180 = 277.8, so about 278 units a month
- Break-even sales = ₹50,000 ÷ 0.30 (the contribution margin ratio) = about ₹1,66,667 a month
Every unit you sell beyond that adds ₹180 to profit. The Break-Even Analysis tool runs these numbers for you and lets you test different prices and costs side by side.
Quick tips for setting profitable prices
- Decide on a target margin first, then work out the price with Cost ÷ (1 − Margin).
- Agree on terms with your team. When someone says "30%", confirm whether they mean margin or markup.
- Include every unit cost: freight, packaging, payment gateway fees and marketplace commissions all reduce your real margin.
- Recheck prices when costs rise. A supplier price increase of even ₹20 can noticeably lower your margin.
- Test discounts before you run them to see how many extra sales you would need.
Conclusion
Profit margin and markup describe the same profit from two angles: margin compares it with the selling price, and markup compares it with the cost. Margin is the number that shows how much of your sales you really keep, so price from your target margin rather than simply adding a percentage to cost. Use the formulas and table above, and let the Profit Margin Finder and Break-Even Analysis tools do the arithmetic, so every price you set leaves room for real profit.
Frequently asked questions
What is the difference between margin and markup?
Both use the same profit (selling price minus cost). Margin divides that profit by the selling price, while markup divides it by the cost. Buying at ₹400 and selling at ₹500 is a 20% margin but a 25% markup.
How do I calculate a selling price from a target margin?
Divide the cost by (1 minus the margin as a decimal). For a ₹400 cost and a 30% margin: ₹400 ÷ 0.70 = ₹571.43.
Is a 50% markup the same as a 50% margin?
No. A 50% markup gives a 33.3% margin. To get a 50% margin you need a 100% markup, which means selling at double the cost.
Should I include GST when calculating profit margin?
If you are GST-registered and claim input tax credit, work out margins on prices excluding GST, because the tax you collect is not your income. Check the latest official rules or ask your accountant for your situation.
Can I calculate margin and markup online for free?
Yes. Doffl's Profit Margin Finder calculates profit, margin and markup from your cost and selling price in your browser, with no account needed.
Try Profit Margin Finder free on Doffl
Open Profit Margin FinderTags: Profit Margin, Markup, Pricing, Small Business, Calculators
