Free profit margin and markup calculator
Margin is profit ÷ selling price; markup is profit ÷ cost. Buy at ₹80, sell at ₹100: ₹20 profit is a 20% margin and a 25% markup. For a target margin, price = cost ÷ (1 − margin), so a 30% margin on ₹100 needs ₹142.86, not ₹130. The calculator below does both, and can strip GST first.
- No account, no email
- Offline after first load
- No data sent anywhere
- GST-aware
Margin vs markup: the conversion table
The same profit, measured two ways. The last column is the selling price you need on an item that costs ₹100 to hit each margin.
| Margin | Same as a markup of | Price on ₹100 cost |
|---|---|---|
| 10% | 11.11% | ₹111.11 |
| 15% | 17.65% | ₹117.65 |
| 20% | 25% | ₹125.00 |
| 25% | 33.33% | ₹133.33 |
| 30% | 42.86% | ₹142.86 |
| 40% | 66.67% | ₹166.67 |
| 50% | 100% | ₹200.00 |
The formulas
- Profit = selling price − cost.
- Margin % = profit ÷ selling price × 100.
- Markup % = profit ÷ cost × 100.
- Price for a target margin = cost ÷ (1 − margin ÷ 100).
- Price for a target markup = cost × (1 + markup ÷ 100).
- Margin from markup = markup ÷ (100 + markup) × 100; markup from margin = margin ÷ (100 − margin) × 100.
Why GST changes the answer
Say a GST-registered shop buys a shirt for ₹590 including 18% GST and sells it for ₹1,180 including 18% GST. On those inclusive figures the margin looks like 50%. Strip GST from both — ₹500 cost, ₹1,000 price — and the margin is still 50%, but the profit is ₹500, not ₹590: the other ₹90 is GST owed to the government after input credit. Margin percentages survive GST at a single rate; rupee profit does not. For a composition dealer the ₹90 of purchase GST is a real cost, so work on ₹590.
Who this calculator is for — and who should skip it
Use it if…
- You run a shop or trading business and are pricing a new item from its purchase bill.
- A distributor quoted you a "margin" and you want to know whether they meant markup.
- Your purchase and selling prices both include GST and you want the real profit per unit.
- You are a commerce student or CA checking a pricing sum.
Skip it if…
- You need your margin after rent, salaries and other overheads — that is net margin, and it needs your profit and loss statement, not a per-item calculator.
- You only need the GST on a price — use our free GST calculator.
- You price hundreds of items and want cost and selling price side by side without re-typing them. That is inventory and billing software, and ours is ₹399 a month per app with unlimited users.
Put this calculator on your own site
This page is free to link to, quote and recommend — in a blog post, a forum answer, a
WhatsApp group or a class handout. No permission needed and no attribution required:
https://399apps.com/tools/margin-calculator/
Questions people ask about margin and markup
I buy an item for ₹80 and sell it for ₹100 — is my margin 20% or 25%? +
What selling price do I need to make a 30% margin on something that costs me ₹100? +
My purchase bill and my selling price both include GST — should I take GST out before working out margin? +
Can my margin ever be more than 100%? +
Is anything I type into this margin calculator sent to a server or saved? +
I price hundreds of items in my shop — is there a quicker way than working each one out? +
Inventory and billing software that keeps cost next to price
399Apps records the purchase price from every bill and the selling price on every invoice, with GST worked out per item — flat ₹399 per month per app, unlimited users, cloud or self-hosted.