Last updated:

Profit Margin Calculator

Creators

Saba ShaukatSaba ShaukatEducational Content Writer & Technical Conversion WriterSaba Shaukat is an educational content writer with an MSc in Media Studies and more than 14 years of teaching experience. She specialises in explaining information clearly, developing educational materials and making complex topics easier for everyday readers to understand. At EverydayCalcPro, she contributes practical calculator guides, tool explanations and user-friendly educational content. See full profileCheck our editorial policy

Reviewers

Haroon ArshadHaroon ArshadBusiness Analytics & Operations SpecialistLinkedInHaroon Arshad is a Business Analytics and Operations Specialist with professional experience in manufacturing consulting, operational excellence and business management. Currently working as a Manufacturing Consultant at Northvolt in Sweden, he brings practical experience in process improvement, analytical thinking and operational performance. At EverydayCalcPro, he contributes business guides and reviews business-related calculators to help ensure their calculations, explanations and practical applications are clear and reliable. See full profileCheck our editorial policy and Faheem AliFaheem AliSoftware Developer, Digital Marketing Specialist & Technical WriterLinkedInWebsiteFaheem Ali is a software developer, digital marketing specialist and technical writer with over 12 years of experience in programming, digital marketing and content development. He holds two master’s degrees in Management Sciences and has professional certifications in programming and digital marketing. Based in Finland, Faheem focuses on developing reliable calculators, verifying mathematical formulas and calculation logic, and making technical and financial information accessible through clear, practical guides. See full profileCheck our editorial policy

1 people find this calculator helpful

Enter your revenue and costs to see gross, operating and net profit margin, or choose a margin and get the price for it. Results update as you type.

What do you want to find?
Revenue $100,000
10%
net profit margin, net profit ÷ revenue
Gross margin40%
Operating margin15%
Net margin10%
  • Gross profit$40,000
  • Operating profit$15,000
  • Net profit$10,000

Did we solve your problem today?

How profit margin is calculated

There are three common margins. Each divides a different profit figure by revenue, and each answers a different question.

Worked example: $100,000 revenue

  1. Gross profit = 100,000 − 60,000 cost of goods = $40,000. Gross margin = 40%.
  2. Operating profit = 40,000 − 25,000 operating expenses = $15,000. Operating margin = 15%.
  3. Net profit = 15,000 − 5,000 other costs = $10,000. Net margin = 10%.

Gross, operating and net margin

MarginFormulaWhat it tells you
Gross(Revenue − cost of goods) ÷ revenueHow much each sale keeps after the direct cost of the product.
Operating(Gross profit − operating expenses) ÷ revenueHow well the business runs day to day, before interest and tax.
NetNet profit ÷ revenueWhat is left after every cost. The bottom line.

Price for a target margin

To earn a given margin, divide the cost by (1 − margin). For a $40 cost and a 30% margin, the price is 40 ÷ 0.70 = $57.14.

Target marginPrice on a $40 costProfit per item
10%$44.44$4.44
20%$50.00$10.00
30%$57.14$17.14
40%$66.67$26.67
50%$80.00$40.00
60%$100.00$60.00

What a cost increase does

If the cost of goods in the example rises 10%, from $60,000 to $66,000, and prices stay the same, net profit falls from $10,000 to $4,000, and net margin from 10% to 4%. A small change in cost has a large effect on a thin margin.

How to use the number

Compare your margin with your own history and with similar businesses, because typical margins differ a lot by industry. Use revenue without sales tax or VAT, and put each cost in one group only. For pricing decisions, see the markup calculator.

Profit margin calculator FAQ

How do I calculate profit margin?
Profit margin = profit ÷ revenue × 100. Revenue of $100,000 and a net profit of $10,000 gives a net margin of 10%.
What is the difference between gross, operating and net margin?
Gross margin takes off only the cost of goods sold. Operating margin also takes off running costs such as rent, wages and marketing. Net margin takes off everything, including interest and taxes. On the example figures they are 40%, 15% and 10%.
What is a good profit margin?
There is no single figure. Margins differ widely between industries, so compare your margin with your own past results and with similar businesses, not with a general number. A margin that falls over time is a sign to check costs and prices.
What is the difference between margin and markup?
Margin is profit as a share of the selling price. Markup is profit as a share of cost. A $40 item sold at $60 has a 33.33% margin and a 50% markup. The <a href="/calculators/markup-calculator.php">markup calculator</a> converts between them.
How do I price an item for a target margin?
Price = cost ÷ (1 − target margin). For a $40 cost and a 30% margin, price = 40 ÷ 0.70 = $57.14. Choose "Price for a target margin" at the top of the calculator.
Why is net margin lower than gross margin?
Gross margin ignores everything except the cost of making or buying what you sell. Running costs, interest and taxes come off after that, so net margin is lower, unless those costs are zero.
Does revenue include tax?
Use revenue without sales tax or VAT, because that tax is collected for the government and is not your income.
How does a cost increase affect margin?
In the example, a 10% rise in the cost of goods ($60,000 to $66,000) cuts net profit from $10,000 to $4,000 and net margin from 10% to 4%, unless prices rise.
Can profit margin be negative?
Yes. If costs are higher than revenue, the profit and the margin are negative, which means a loss.
What is the difference between profit margin and return on investment?
Margin compares profit with sales. ROI compares profit with the money invested. A business can have a high margin and a low ROI, or the reverse. Use the <a href="/calculators/roi-calculator.php">ROI calculator</a> for the second.

About this calculator

Method: Gross profit = revenue − cost of goods. Operating profit = gross profit − operating expenses. Net profit = operating profit − other costs. Each margin = profit ÷ revenue × 100. Price for a target margin = cost ÷ (1 − margin ÷ 100). The maths runs in your browser, so nothing you enter is sent to our servers. This tool gives estimates and is not financial, tax or legal advice. Last reviewed November 24, 2026. Spotted a mistake? Tell us and we will correct it.

Sources: Garrison RH, Noreen EW, Brewer PC, Managerial Accounting (McGraw-Hill), chapters on cost-volume-profit analysis.