Free tool
Margin and markup calculator with GST
Enter what an item costs you and what you sell it for, and say whether both include GST. The calculator shows the margin, the markup, the profit on each unit and how many units cover your fixed costs.
Margin on the selling price
20%
Markup 25% on the cost
- Cost before GST
- ₹800.00
- Selling price before GST
- ₹1,000.00
- Selling price with GST
- ₹1,180.00
- Profit on each unit
- ₹200.00
- Break-even
- Units to sell a month
- 150
- Sales before GST
- ₹1,50,000
An estimate worked on prices before GST, because the GST you collect is not your income. Check costs that carry no input credit with your accountant.
| Margin | Markup | Price before GST | Price with 18% GST |
|---|---|---|---|
| 10% | 11.11% | ₹888.89 | ₹1,048.89 |
| 15% | 17.65% | ₹941.18 | ₹1,110.59 |
| 20% | 25% | ₹1,000.00 | ₹1,180.00 |
| 25% | 33.33% | ₹1,066.67 | ₹1,258.67 |
| 30% | 42.86% | ₹1,142.86 | ₹1,348.57 |
| 40% | 66.67% | ₹1,333.33 | ₹1,573.33 |
Checking a price in four steps
It works the same for a sack of sugar, a tin of paint or a kurta.
- Cost and price
- Type the cost price and the selling price of one unit.
- With or without GST
- Say whether both prices include GST and pick the rate. The working is always done before GST.
- Fixed costs
- Add what the shop costs each month, such as rent, salaries and power, to see the break-even.
- Read the table
- The table below gives the selling price for common margins on the same cost.
Margin and markup are not the same number
Both start from the same profit. Margin divides it by the selling price, markup by the cost, so markup is always the larger figure.
| Margin | Markup | |
|---|---|---|
| Formula | Profit ÷ selling price | Profit ÷ cost |
| On this item | ₹200 ÷ ₹1,000 = 20% | ₹200 ÷ ₹800 = 25% |
| Price from it | Cost ÷ (1 − margin) | Cost × (1 + markup) |
| 30% target | ₹800 ÷ 0.70 = ₹1,142.86 | ₹800 × 1.30 = ₹1,040 |
Why the working leaves GST out
The GST you collect is owed to the government, and the GST you paid on the purchase usually comes back as input credit. Neither is your money.
- Take GST out
- A price that includes GST is divided by 1 plus the rate. ₹1,180 at 18% is ₹1,000 before GST.
- Profit per unit
- Selling price less cost, both before GST.
- Break-even units
- Monthly fixed costs ÷ profit per unit, rounded up. ₹30,000 ÷ ₹200 is 150 units.
- Break-even sales
- Those units × selling price before GST. 150 × ₹1,000 is ₹1,50,000 a month.
Margin on every bill, not once a year
A calculator checks one price. Dhaaga shows the margin on what you actually sold, at what it actually cost.
Real cost, not list cost
Stock is valued at FIFO or moving average, so the margin uses what the goods really cost.
Margin on each item
Each item shows its price, what the stock on the shelf cost and the margin between them.
GST from the item
The HSN code on the item gives the rate, so the price before and after GST always agree.
Supplier rates on record
Every purchase bill keeps the rate paid, so a cost that has gone up shows before the margin shrinks.
Questions people ask first.
Margin is profit as a share of the selling price; markup is profit as a share of the cost. An item bought for ₹800 and sold for ₹1,000 has a 20% margin and a 25% markup.
Divide the cost by one minus the margin. For a 30% margin on a cost of ₹800, the price is ₹800 ÷ 0.70, which is ₹1,142.86 before GST. The table under the calculator does this for common margins.
No. If you are registered and claim input credit, GST passes through you. Work on prices before GST, which this calculator does even when you type prices that include it.
The number of units you must sell in a month for the profit on them to pay your fixed costs. It assumes one item and one price, so treat it as a rough guide for a whole shop.
Yes. Choose 0% so the cost you paid, tax and all, is your real cost.
Each figure is rounded to the paisa and is an estimate; check costs without input credit with your accountant. Nothing you type is sent or saved.
Put one real day through it.
Not a sandbox with sample data — your own bills, your own items, your own customers. By evening you will know whether this runs your business.
