Home / Articles / How to calculate profit margin

How to Calculate Profit Margin

Profit margin is the percentage of revenue that survives after costs. Gross margin stops at cost of goods. Net margin keeps going until it has subtracted operating expenses, interest, and tax. The number that remains is the one that actually matters to your bank account.

Skip to the calculator

Enter revenue and costs once and get gross, operating, and net margin together.

Profit margin formula: Margin (%) = (Profit / Revenue) x 100. The three main types differ only in which costs you subtract first. Gross margin stops before operating expenses. Operating margin stops before interest and taxes. Net margin takes the full hit and shows what actually remains.

Gross profit margin

Gross Profit = Revenue - Cost of Goods Sold (COGS). Gross Margin (%) = (Gross Profit / Revenue) x 100. COGS includes only direct production or purchase costs, not rent or management salaries.

Example: Revenue $500,000, COGS $300,000. Gross Profit = $200,000. Gross Margin = 40%. That 40 cents of every dollar still has to cover rent, salaries, and everything else before becoming actual profit.

Operating profit margin

Operating Profit = Gross Profit - Operating Expenses (rent, payroll, marketing). Operating Margin (%) = (Operating Profit / Revenue) x 100. This is the margin before lenders and tax authorities take their share.

Using the same example with $120,000 in operating expenses: Operating Profit = $80,000. Operating Margin = 16%. Down from 40% gross. That spread is where the overhead lives.

Net profit margin

Net Profit = Operating Profit - Interest - Taxes. Net Margin (%) = (Net Profit / Revenue) x 100. This is the number on the bottom line of the income statement.

With $15,000 in interest and taxes: Net Profit = $65,000. Net Margin = 13%. That is the share of each revenue dollar that actually reaches retained earnings or the owner's pocket.

What counts as a good margin by industry

IndustryTypical gross marginTypical net margin
Software / SaaS70-85%15-25%
Retail25-50%2-5%
Restaurants60-70%3-9%
Manufacturing25-40%5-10%
Construction15-20%2-5%
Consulting / services50-70%10-20%

Why gross margin matters more than you might think

Gross margin tells you whether your pricing and sourcing work at the most basic level. If it is too thin, no amount of trimming operating expenses will fix the bottom line. A business with a 15% gross margin needs almost no overhead to survive, which is usually not how businesses are set up to run. Many small business owners focus on net profit and miss that the actual problem is cost of goods.

Related reading

Good to know

FAQs

How do you calculate profit margin?

Divide profit by revenue, then multiply by 100. Which profit depends on the margin type. For gross margin, profit is revenue minus COGS. For net margin, it is what remains after all expenses, interest, and taxes. A business with $200,000 gross profit on $500,000 revenue has a 40% gross margin, which may or may not be good depending on the industry.

What is a good profit margin?

It depends heavily on the industry. Software companies often reach net margins above 15%. Restaurants net 3 to 9% if they are well run. Retail typically lands at 2 to 5%. A 10% net margin is a commonly cited benchmark for small businesses, but your industry average is more useful than a generic number. A 10% net margin in software is mediocre; in grocery it is exceptional.

How to calculate net profit margin?

Net Profit Margin = (Net Profit / Revenue) x 100. Net profit is revenue minus all costs: COGS, operating expenses, interest, and taxes. With $50,000 net profit on $400,000 revenue, net margin is 12.5%. That is a reasonable result for most service businesses and a strong one for retail.

How to calculate gross profit margin?

Gross Profit Margin = ((Revenue - COGS) / Revenue) x 100. COGS is the direct cost of what you sold: materials, direct labor, production overhead. On $300,000 revenue with $180,000 COGS, gross profit is $120,000 and gross margin is 40%. Operating expenses have not been subtracted yet.

Jessica Martinez
About the author
Jessica Martinez
Contributing Writer, Business & Finance, Encore Editorial

Jessica Martinez writes the numbers pieces so you don't have to open a spreadsheet to understand your own margins. Before this she reviewed loan applications for a living, an occupation that leaves you permanently suspicious of any profit figure that shows up without its underlying costs attached.