Profit Margin Calculator
Type a year (or a month) of revenue and costs to get all three profit margins at…
Type a year (or a month) of revenue and costs to get all three profit margins at once, and see how they compare with companies in your industry.
Sales for the period
Direct cost of what you sold
Rent, wages, marketing, software
Negative for extra income
Compare with an industry
More optionsAmounts in US dollar
Currency
Only the symbol changes: the maths is the same in any currency.
Net profit margin
12%
Of every $100 of sales you keep $12. Your 12% net margin is above the 7.0% average for business & consumer services.
The lines mark the Business & Consumer Services averages (US listed companies, January 2026).
- Net profit
- $30,000
- Business & Consumer Services net margin
- 7.0%
How this works: 2 sources,
How this works
Method
Each profit margin is a profit divided by revenue. Gross profit is revenue minus the cost of goods sold, the direct cost of what you sold. Take away operating expenses (rent, wages, marketing, software) to get operating profit, then interest and tax to get net profit, the bottom line. A bakery with $250,000 of sales, $150,000 of ingredients and packaging, $60,000 of running costs and $10,000 of interest and tax keeps $30,000: a 40% gross, 16% operating and 12% net margin. Full method
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. Without AI, everything stays on this device. If you added your own AI key, Ask sends your question (or, for Explain my result, the figures) to that provider. Built-in browser AI keeps it here. Until you add your own AI key, nothing can be sent. About privacy labels
Changes
- Added six pages for prices and profit: margin, profit margin, gross margin, markup, stacked discounts and commission, with a price bar you can drag and margins by industry.
- Added eight pages for common questions, from percent of a number to percent error and reverse percentages, each with its own method, examples and table.
- Added key facts with a worked example of each formula.
- Redesigned: type the numbers straight into a sentence, with bars on one scale that picture the answer.
- Results now update as you type, with no Calculate button.
- First published.
How to work out gross, operating and net profit margin
Each profit margin is a profit divided by revenue. Gross profit is revenue minus the cost of goods sold, the direct cost of what you sold. Take away operating expenses (rent, wages, marketing, software) to get operating profit, then interest and tax to get net profit, the bottom line. A bakery with $250,000 of sales, $150,000 of ingredients and packaging, $60,000 of running costs and $10,000 of interest and tax keeps $30,000: a 40% gross, 16% operating and 12% net margin.
The three answer different questions. Gross margin says whether the product itself pays: is the price far enough above what it costs to make? Operating margin says whether the business pays, once the shop is open and people are paid. Net margin is what is left for the owners after the bank and the tax office.
Margins are only comparable within a trade. A grocery chain lives on thin margins and fast turnover; a software company has high gross margins but spends heavily on people. That is why the calculator sets your three margins against an industry’s averages from Aswath Damodaran’s yearly data on US listed companies.
gross = (revenue − COGS) ÷ revenue · operating = (gross profit − opex) ÷ revenue · net = (operating profit − interest − tax) ÷ revenue
- In January 2026, US system and application software companies averaged a 25.5% net margin, while grocery retailers averaged 1.3%. Source: Aswath Damodaran, NYU Stern, Margins by Sector (US), January 2026.
- Net profit margin is net income divided by revenue, the share of each dollar of sales the business keeps after every expense. Source: Wikipedia, Profit margin.
Average margins by industry, US companies, January 2026
Gross, operating (pre-tax) and net margin as a percentage of sales, sorted by net margin. Averages over US listed companies in each industry, not small businesses.
| Industry | Gross | Operating | Net |
|---|---|---|---|
| Semiconductor | 59.0% | 35.3% | 30.4% |
| Tobacco | 64.3% | 43.5% | 26.6% |
| Software (System & Application) | 71.7% | 33.0% | 25.5% |
| Drugs (Pharmaceutical) | 71.7% | 29.5% | 18.5% |
| Beverage (Soft) | 54.7% | 20.5% | 13.4% |
| Household Products | 51.0% | 18.6% | 11.7% |
| Machinery | 37.5% | 15.9% | 10.6% |
| Hotel/Gaming | 60.9% | 19.4% | 10.4% |
| Healthcare Products | 54.0% | 15.3% | 9.6% |
| Homebuilding | 22.7% | 12.6% | 9.5% |
Show all 24 rowsShow fewer
| Restaurant/Dining | 32.2% | 15.8% | 9.4% |
| Education | 45.8% | 14.0% | 8.8% |
| Retail (Building Supply) | 34.2% | 11.9% | 7.8% |
| Business & Consumer Services | 33.4% | 12.3% | 7.0% |
| Engineering/Construction | 15.5% | 6.5% | 5.9% |
| Retail (General) | 33.2% | 6.8% | 5.6% |
| Retail (Special Lines) | 35.3% | 7.7% | 5.2% |
| Apparel | 56.9% | 9.1% | 3.9% |
| Trucking | 21.2% | 6.9% | 3.8% |
| Food Processing | 23.2% | 10.6% | 2.8% |
| Retail (Grocery and Food) | 26.3% | 2.3% | 1.3% |
| Auto & Truck | 10.4% | 2.3% | 1.3% |
| Food Wholesalers | 15.4% | 2.6% | 1.2% |
| Advertising | 36.2% | 10.1% | -0.3% |
Common questions
What is a good net profit margin?
Across all US listed companies the average net margin was 9.7% in January 2026, but trades differ by more than ten times. Restaurants averaged 9.4% and food wholesalers 1.2%. Small businesses often run below the listed-company averages in the table.
Should owner pay count as an operating expense?
Yes, if you want a margin you can compare. In a company, the owner’s salary is a wage like any other. In a sole proprietorship the profit is your pay, so subtract what you would pay someone to do your job to see what the business itself earns.
Why is my net margin bigger than my operating margin?
Other income, such as interest earned or a one-off gain, is added after operating profit. Type it as a negative amount in interest and tax and the net margin rises above the operating one.
Is profit margin the same as markup?
No. Margin divides profit by revenue; markup divides it by cost. A product with a 40% gross margin has a 66.7% markup on its cost of goods.