Profit Margin Calculator
Calculate profit margin percentage from cost and selling price. Free business calculator.
In short
A profit margin calculator finds the gross margin percentage from an item's cost price and selling price. VyaparKit's free margin calculator shows the profit per unit, the margin as a percentage of selling price and the markup as a percentage of cost, so a shop or service business can see instantly how much of each rupee of sales it keeps.
Profit margin
0%
Markup 0%
Margin vs markup?
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A 25% markup on ₹100 gives ₹125, which is a 20% margin.
What is a good margin?
It depends on the trade: grocery retail runs 5–15%, apparel 40–60%, services often 50%+. Compare against your category, not a universal number.
About the profit margin calculator tool
Gross profit margin is the share of the selling price that remains after paying the cost of the goods or service. It is the number every trader, manufacturer and freelancer in India should know for each product, because it decides how much discount you can afford, how many units you must sell to cover rent and salaries, and whether a marketplace commission still leaves a profit. Margin is always expressed on the selling price, which is what makes it different from markup.
The usual mistake is mixing the two. A dealer who buys at ₹800 and sells at ₹1,000 will often say the margin is 25%, but 25% is the markup on cost; the margin is 20% of the selling price. The gap widens at higher percentages, and it leads to discounts that quietly wipe out the profit. This calculator asks only for cost and selling price and returns profit, margin and markup together, so the two are never confused again.
Pair it with VyaparKit's quotation and GST invoice tools when pricing a deal, and with the stock valuation tool to see what your inventory is worth at cost.
How to calculate profit margin from cost and selling price
- 1
Enter the cost price
In 'Cost price' type what one unit costs you, including freight, packaging and any GST you cannot claim as credit.
- 2
Enter the selling price
In 'Selling price' type the price before GST at which you sell one unit. Use the price after any discount you plan to give.
- 3
Read the margin
The large figure is your profit margin as a percentage of selling price, with the markup on cost shown underneath.
- 4
Check the rupee profit
The breakdown lists profit per unit along with the cost and selling price you entered, so you can multiply by expected volume.
- 5
Try alternatives
Change the selling price to see how a ₹50 discount or a ₹100 price rise moves the margin before you commit it on a quotation.
The formula, with a worked example
- Profit per unit = Selling price − Cost price. For cost ₹800 and selling price ₹1,000: ₹200.
- Profit margin % = Profit ÷ Selling price × 100. ₹200 ÷ ₹1,000 × 100 = 20%.
- Markup % = Profit ÷ Cost price × 100. ₹200 ÷ ₹800 × 100 = 25%. The same ₹200 is a 20% margin but a 25% markup.
- Converting: Margin = Markup ÷ (1 + Markup). 25% markup ÷ 1.25 = 20% margin. Markup = Margin ÷ (1 − Margin). 20% ÷ 0.8 = 25% markup.
- Use prices before GST on both sides. GST collected on a sale is passed to the government and is not your profit; GST paid on purchases is usually claimed back as input credit.
- Gross margin ignores rent, salaries and marketing. Net margin subtracts those too; a 20% gross margin can be a 4% net margin after overheads.
- Marketplace check: a 20% gross margin with a 15% platform commission on selling price leaves only ₹50 on the ₹1,000 sale before shipping.
- If the selling price is below cost the margin is negative; the calculator shows this as a minus figure so loss-making SKUs stand out.
Who uses the profit margin calculator
Kirana and FMCG retailers
A grocer in Nagpur checks that the distributor's scheme still leaves a 12% margin on a biscuit carton after the retailer discount.
D2C and marketplace sellers
A Surat saree seller on Meesho and Flipkart compares margins on the same SKU under each platform's commission and shipping cost.
Freelancers pricing projects
A video editor in Mumbai enters outsourced voice-over cost against the project fee to keep a 50% margin on every job.
Manufacturers setting dealer prices
A small furniture unit in Jodhpur sets ex-factory prices that give dealers a 20% margin while protecting its own.
Profit Margin Calculator: frequently asked questions
- What is a good profit margin for a small business in India?
- It depends on the trade. Grocery and FMCG retail run on 5% to 15% gross margins with high volume; apparel and footwear 40% to 60%; restaurants 60% to 70% on food cost; services and consulting 50% or more because cost of sales is low. Compare against your own overheads rather than a universal benchmark.
- Is profit margin calculated on cost price or selling price?
- On selling price. Margin tells you what fraction of each rupee of revenue is profit. Profit as a fraction of cost is called markup. Buying at ₹800 and selling at ₹1,000 gives a 20% margin (200 ÷ 1,000) and a 25% markup (200 ÷ 800).
- Should I include GST when calculating margin?
- No. Use the price before GST on both sides. GST you collect belongs to the government and GST you pay on purchases is generally recovered as input tax credit, so neither is profit or cost. The exception is GST you cannot claim, for example under the composition scheme, which then becomes part of your cost.
- What is the difference between gross margin and net margin?
- Gross margin only subtracts the direct cost of the goods or service sold. Net margin also subtracts rent, salaries, electricity, marketing, interest and tax. A retailer with a 20% gross margin and overheads equal to 16% of sales has a 4% net margin. This calculator gives gross margin per unit.
- How do I calculate margin when I sell in bulk with a discount?
- Enter the discounted per-unit selling price. If a ₹1,000 item is sold at 10% off, type ₹900 as the selling price against the ₹800 cost: the margin drops from 20% to 11.1%. Running the numbers this way before agreeing to a bulk deal shows whether the volume justifies the cut.
Guides from the blog

Profit and loss statement explained with a worked example for a small business
How to read a P&L line by line (revenue, COGS, gross profit, EBITDA, net profit), a worked P&L for a Bengaluru cloud kitchen, margins to watch and why profit is not cash.
Read the guide →
Presumptive taxation under Section 44AD and 44ADA: who qualifies and when it pays
Turnover limits with the 5% cash condition, the 8%, 6% and 50% deemed profit rates, the 5-year lock-in, advance tax by 15 March, ITR-4 and two worked examples.
Read the guide →
Break-even analysis for a small business: formulas and a worked example
How to separate fixed and variable costs, work out contribution margin, and find the sales you need to stop losing money, with a Bengaluru cloud kitchen example.
Read the guide →