Margin & Markup Calculator
Calculate gross profit, margin and markup for a product or service.
Formula reviewed · September 2026
Quick answer
An item that costs ₹750 and sells for ₹1,000 gives a gross profit of ₹250. The margin is 25% of the selling price, while the markup is 33.33% of the cost.
Work out profit margin and markup with the margin calculator
This margin calculator shows the gross profit, the gross margin and the markup on a product or service from its cost and selling price. Enter what the item costs you and what you sell it for. It is useful for shop owners, online sellers, freelancers and anyone setting prices.
Margin and markup both describe profit, but they use different bases. Margin is profit as a share of the selling price. Markup is profit as a share of the cost. The same sale always shows a higher markup than margin, so mixing them up is a common pricing error. A 25% markup gives only a 20% margin.
For an accurate result, use your full cost per unit, not just the purchase price. Include packaging, freight, marketplace or payment fees, advertising per order and an allowance for returns. If you are GST registered, use prices without GST, because the GST you collect is not your revenue.
How to use this calculator
- Enter your total cost per unit, including fees and shipping.
- Enter the selling price per unit before GST.
- Read the gross profit in rupees.
- Compare the margin percentage with the markup percentage.
How it is calculated
Margin and markup use different bases. Include fees, shipping, returns and ads in cost for a true seller result.
Margin results at different total product cost
Each row changes only the total product cost; everything else stays at selling price: ₹1,000. Figures come from the formula above.
| Total product cost | Gross profit | Gross margin | Markup |
|---|---|---|---|
| ₹400 | ₹600 | 60% | 150% |
| ₹800 | ₹200 | 20% | 25% |
| ₹1,100 | -₹100 | -10% | -9.09% |
| ₹1,500 | -₹500 | -50% | -33.33% |
How to read the result
Use margin to understand how much of each sale you keep. If your monthly fixed costs such as rent, salaries and software are ₹50,000 and your margin is 25%, you need about ₹2,00,000 of sales just to cover them. Use markup when you set prices from cost, for example when a supplier quotes a price and you add a fixed percentage.
To reach a target margin, divide the cost by 1 minus the margin. For a 30% margin on a ₹750 cost, the price is ₹750 ÷ 0.70, about ₹1,071. Test a few prices to see how a discount changes your margin: a 10% discount on a 25% margin product cuts the profit per unit by 40%.
Tips and common mistakes
- Always state whether a percentage is margin or markup when you share prices with partners or staff.
- Include marketplace commission, shipping and payment gateway fees in cost, or the margin will look better than it is.
- Keep GST out of both cost and price if you claim input tax credit.
- Check the effect of discounts on margin before running a sale, as small price cuts can remove most of the profit.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit divided by selling price. Markup is profit divided by cost. For a ₹750 item sold at ₹1,000, the margin is 25% and the markup is 33.33%.
How do I convert markup to margin?
Divide the markup by 1 plus the markup. A 50% markup is 0.5 ÷ 1.5, which is a margin of about 33.3%. The calculator does this for you from cost and price.
How do I find the selling price for a target margin?
Divide the cost by 1 minus the target margin as a decimal. For a 40% margin on a ₹600 cost, the price is ₹600 ÷ 0.6, or ₹1,000.
Should I include GST in the margin calculation?
If you are GST registered and claim input tax credit, leave GST out of both cost and price. The tax you collect passes to the government. If you cannot claim credit, include the GST you pay in your cost.