Last updated:
Profit Margin Calculator
Creators
Saba Shaukat
Saba 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 Arshad
Haroon 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 Ali
Faheem 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
Copy the code below to add this free calculator to your website. Please keep the credit link.
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.
- 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
- Gross profit = 100,000 − 60,000 cost of goods = $40,000. Gross margin = 40%.
- Operating profit = 40,000 − 25,000 operating expenses = $15,000. Operating margin = 15%.
- Net profit = 15,000 − 5,000 other costs = $10,000. Net margin = 10%.
Gross, operating and net margin
| Margin | Formula | What it tells you |
|---|---|---|
| Gross | (Revenue − cost of goods) ÷ revenue | How much each sale keeps after the direct cost of the product. |
| Operating | (Gross profit − operating expenses) ÷ revenue | How well the business runs day to day, before interest and tax. |
| Net | Net profit ÷ revenue | What 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 margin | Price on a $40 cost | Profit 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?
What is the difference between gross, operating and net margin?
What is a good profit margin?
What is the difference between margin and markup?
How do I price an item for a target margin?
Why is net margin lower than gross margin?
Does revenue include tax?
How does a cost increase affect margin?
Can profit margin be negative?
What is the difference between profit margin and return on investment?
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.