A profit margin calculator computes gross profit, profit margin percentage, and markup percentage from your cost and revenue figures.
What is a profit margin calculator?
A profit margin calculator measures profit from cost and selling price. Enter revenue and cost of goods. It shows gross profit in rupees, gross margin as a percent of revenue, markup on cost, a profit-zone bar, and a target price finder for any margin goal you type. Use it when you already have a price tag and need to know whether the spread covers rent, staff, and GST.
How to use the Profit Margin calculator
- Enter revenue or selling price per unit.
- Enter cost of goods for the same unit.
- Read gross profit and margin percent.
- Compare markup percent beside margin.
- Set target margin to see required selling price.
About this calculator
A profit margin calculator computes gross profit, profit margin percentage, and markup percentage from your cost and revenue figures. These metrics drive business pricing decisions, profitability analysis, and financial planning.
Margin and markup are related but different: margin is calculated as a percentage of selling price, while markup is a percentage of cost. Understanding both prevents pricing errors.
How the math works
- : Total sales revenue
- : Cost of goods sold (COGS)
- : Gross profit as % of revenue
Profit margin example: cost ₹50, price ₹80
A shop buys an item for ₹50 and sells it for ₹80. Gross profit = ₹80 − ₹50 = ₹30. Gross margin = ₹30 ÷ ₹80 × 100 = 37.5% of revenue. Markup on cost = ₹30 ÷ ₹50 × 100 = 60%.
Margin and markup differ because the bases differ. If the owner wants 40% margin instead, required price = ₹50 ÷ (1 − 0.40) = ₹83.33, which the target price finder rounds to ₹83. That is ₹3 higher than the current ₹80 tag. Margins below 20% leave little room once rent and salaries are paid. The profit-zone bar on the page splits each rupee of revenue between cost share and profit share so you can explain pricing to staff without opening a spreadsheet. If cost rises to ₹55 while price stays ₹80, margin falls to 31.3% and markup drops to 45.5%, which is why vendors need repricing after raw material spikes.
Common uses
- Calculate profit margin on a product or service
- Determine selling price from cost using a target margin
- Analyse business profitability across product lines
- Compare margins before and after a price change
Frequently asked questions
What is the difference between profit margin and markup?
Profit margin = (Revenue − Cost) / Revenue × 100%. Markup = (Revenue − Cost) / Cost × 100%. For the same numbers, the markup percentage is always higher than the margin percentage. A 50% markup gives a 33.3% margin.
What is a good profit margin?
It varies widely by industry. Grocery stores operate on 2–3% net margins. Software companies achieve 20–30%+. Restaurants typically operate on 3–9% net margins. A healthy gross margin allows enough room to cover operating expenses and still remain profitable.
What margin do I get if I sell at ₹999 with ₹650 cost?
Profit is ₹349. Margin = ₹349 ÷ ₹999 × 100 ≈ 34.9%. Markup = ₹349 ÷ ₹650 × 100 ≈ 53.7%. Enter revenue 999 and cost 650. For online sales, compare this gross margin with marketplace fees, which sit below gross profit on your P&L. If fees take 15% of the selling price, your net margin after the platform cut is far lower than 34.9% gross.
What selling price gives 35% margin on ₹1,200 cost?
Price = Cost ÷ (1 − margin) = ₹1,200 ÷ 0.65 ≈ ₹1,846.15. Use the target margin field at 35% with cost ₹1,200 on the margin calculator, or the price calculator if you start from cost and margin alone. Round up to ₹1,849 on a price tag if you want a small buffer for payment gateway charges on each sale.
Related calculators
- Depreciation Calculator
- Payback Period Calculator
- Inflation Calculator
- Finance Calculator
- Interest Rate Calculator
- Present Value Calculator
- Future Value Calculator
- Freelancer Invoice Calculator
Maintained by J Jaya Prakash · Last updated: October 2026
