Markup and Margin Calculator
Find the selling price needed to hit a target margin.
Start from the percentage you want to keep rather than a price you guessed at. Give it your cost and a target margin and it returns the selling price that hits it, the profit that leaves per unit, and the markup that same price represents.
How to use Margin Calculator
- 1
Enter cost price.
- 2
Enter your target margin percentage.
- 3
Get the required selling price.
Markup vs margin
Markup measures profit against what you paid: (price − cost) ÷ cost. Margin measures the same profit against what you charged: (price − cost) ÷ price. They are never equal, and mistaking one for the other is the classic pricing error.
A ₹800 item sold at ₹1,231 carries a 54% markup but a 35% margin. Both figures are shown here so you can quote whichever one your supplier or accountant is using.
Pricing to a target margin
The selling price for a target margin is cost ÷ (1 − margin ÷ 100). At a 35% target on an ₹800 cost that is ₹1,230.77 before tax.
Set the price before you add GST, not after — tax is collected on behalf of the government and was never part of your margin.
What to do next
- check the profit in rupees — convert the percentage into per-unit and total profit after fees
- add GST to the result — turn the pre-tax price into the figure a customer pays
- see what a discount costs — check how far a promotion eats into the margin
- Further reading: Pricing with margin in mind
About this tool
Margin Calculator is part of the MyShopBuy business tools collection — a free suite built for people who need a reliable result in seconds, not another signup form. Find the selling price needed to hit a target margin. Processing happens entirely inside your browser using modern web APIs, so nothing is uploaded, queued or stored. That makes it fast enough for daily use and safe enough for sensitive documents.
There are no watermarks, no file-count limits and no paywalls. If you use it often, create a free account to keep favourites and history in sync across your devices.