Profit Margin Calculator
Calculate your gross and net profit margin, plus markup percentage, from cost price and revenue — and see how you compare to industry benchmarks.
💰 Enter Cost & Revenue
Net Margin = (Revenue − COGS − Opex) / Revenue × 100
Markup = (Revenue − Cost) / Cost × 100
📊 Your Margins
Disclaimer: Results provided by this calculator are for educational and estimation purposes only and do not constitute formal financial, tax, or legal advice. Actual rates, deductions, and statutory requirements vary by jurisdiction and business circumstances. Consult a chartered accountant or company secretary before making business financial decisions.
Gross Margin, Net Margin, and Markup — Not the Same Thing
Gross Margin = (Revenue − COGS) ÷ Revenue × 100 — measures profitability before operating expenses. Net Margin subtracts operating expenses too, giving your true bottom-line profitability. Markup is a different calculation entirely: Profit ÷ Cost × 100 (not ÷ Revenue) — a common source of confusion since a 40% margin corresponds to a 66.7% markup, not 40%.
Worked Example
A product costs ₹60,000 to produce and sells for ₹1,00,000: Gross Profit = ₹40,000, Gross Margin = 40.0%, but Markup = 40,000 ÷ 60,000 = 66.7% — the same ₹40,000 profit expressed two different, easily confused ways. Industry benchmarks vary widely: retail typically runs 20-30% margin, services 30-50%, and SaaS businesses often 60-80%.
More Worked Examples
A product with no overheads. Cost of ₹450 and a selling price of ₹600 gives a gross profit of ₹150, a margin of 25.0% and a markup of 33.3%. To check the margin from the other direction, divide cost by one minus the margin you want: 450 ÷ (1 − 0.25) is 600.
When overheads turn a profit into a loss. Cost ₹80,000, revenue ₹1,00,000 and operating expenses ₹30,000: gross profit is ₹20,000 (20.0% margin, 25.0% markup), but net profit is −₹10,000, a net margin of −10.0%. A second case, cost ₹7,000, price ₹10,000 and expenses ₹3,500, shows a 30.0% gross margin, a 42.9% markup and a net margin of −5.0%.
Common Mistakes
- Mixing units. Entering a cost per item with revenue for the whole month gives a meaningless margin. Use per-unit figures for both, or totals for both.
- Setting a price by adding the margin percentage to cost. Adding 25% to a ₹450 cost gives ₹562.50, which is only a 20% margin. Use the division method shown above.
- Leaving out operating expenses. A blank expenses box is treated as zero, so net profit will equal gross profit and the picture looks better than it is.
- Treating a high markup as a high margin. A 66.7% markup is a 40% margin, so check which one a supplier or competitor quotes.
- Expecting the result to include tax or interest. Net profit here is revenue minus cost and operating expenses only.
Where You Would Use This
- Pricing a new product line and testing several selling prices against a fixed cost.
- Checking whether a discount would push an item below break-even.
- Reviewing a small shop’s month to see whether rent and wages are eating the gross profit.
- Comparing two suppliers who quote their margins in different ways.
Tips for Reliable Results
Be consistent about what goes into cost. Include materials, packaging and anything that rises with each sale, and keep rent, salaries and utilities in the operating expenses box. Calculate for one period at a time, such as a single month, so the expenses match the revenue they helped to earn. Use the margin to set a selling price, and use the markup to explain price rises to a supplier or customer. The healthy-margin note on the result appears only when gross margin is above 30%, so treat it as a general pointer rather than a verdict on your particular trade.
Frequently Asked Questions
Calculators that use the same maths
They all rest on the same percentage change idea: (new - old) / old.
Assumptions and limits
- The figures you enter are treated as accurate and consistent in period and currency.
- Taxes, fees and one-off items are not included unless a field for them is shown.
- The result supports planning and is not accounting or legal advice.
Last reviewed November 2026. See methodology and data sources.