The short answer: profit margin is profit divided by revenue. Gross margin uses gross profit after cost of goods sold. Operating margin subtracts operating expenses. Net margin subtracts everything, including interest and taxes. The three answer different questions, so compare the same margin across periods.

Key takeaways

  • Gross margin shows product economics.
  • Operating margin shows the core business after overhead.
  • Net margin shows what is left after interest and taxes.
  • Markup is not margin. A 50% markup is a 33.3% margin.
  • Compare within the same business model.

The three formulas

Gross profit = revenue − cost of goods sold. Gross margin = gross profit ÷ revenue. Operating profit = gross profit − operating expenses. Operating margin = operating profit ÷ revenue. Net profit = operating profit − interest − taxes − other items. Net margin = net profit ÷ revenue.

If revenue is $100,000 and COGS is $60,000, gross profit is $40,000 and gross margin is 40%. If operating expenses are $25,000, operating profit is $15,000 and operating margin is 15%. If interest and taxes are $5,000, net profit is $10,000 and net margin is 10%.

What each margin tells you

Gross margin shows whether the product or service can cover its direct costs. A low gross margin leaves little room for overhead. Operating margin shows whether the business can run on its gross profit. Net margin shows the bottom line after financing and tax. A company can have a healthy gross margin and a thin net margin if overhead or interest is high.

Markup vs margin

Markup is the amount added to cost, divided by cost. Margin is profit divided by price. A product that costs $60 and sells for $100 has a $40 markup, a 66.7% markup, and a 40% margin. The markup number is always higher than the margin for the same price. Do not use them interchangeably.

An example

A service business bills $20,000 in a month. Direct labor is $8,000, software is $1,000, rent is $3,000, and marketing is $2,000. Gross profit is $11,000 (55% gross margin). Operating profit is $6,000 (30% operating margin). If taxes and interest are $1,000, net profit is $5,000 (25% net margin). Each margin answers a different question.

Industry context

Margin levels vary by industry. A grocery store may run on thin net margins and high inventory turns; a software company may have high gross margins and high operating costs. Compare a business with its own history and with similar models, not with an unrelated industry. A “good” margin is relative.

How to improve margin

Raise price, lower direct cost, change the product mix, or reduce overhead. Each lever has a different risk. A price increase may reduce volume; a cost cut may reduce quality. Model the change in the calculator and compare the new margin with the old one. Do not cut the cost that creates the value.

Common mistakes

  • Confusing markup with margin.
  • Leaving owner salary out of operating expenses.
  • Comparing gross margin with net margin.
  • Ignoring discounts and returns.
  • Using revenue that includes sales tax.

Operating leverage

A business with high fixed costs and low variable costs has high operating leverage. Once revenue covers fixed costs, each additional sale has a large contribution margin. The downside is that a revenue decline hits profit quickly. A business with high variable costs has lower leverage and more flexibility.

Software is an example of high operating leverage: the cost to serve one more user is low, but development and support are fixed. A restaurant has higher variable costs (food, hourly labor) and lower operating leverage. The margin structure should match the risk the owner can carry.

Pricing and margin

A 5% price increase can raise gross margin more than a 5% cost cut, because price flows directly to profit. But price also affects volume. Model the volume break-even: how many customers can you lose before the price increase reduces total profit? The calculator can compare the old and new margin.

Owner compensation

An owner salary is an operating expense. If it is excluded, the operating margin looks better than the business’s true profitability. Include a market-rate salary for the owner’s work, then treat any remaining profit as return on capital.

What to compare

Revenue $250,000. COGS $150,000. Gross profit $100,000 (40%). Operating expenses: payroll $50,000, rent $15,000, marketing $7,000, software $3,000. Operating profit $25,000 (10%). Interest $5,000, taxes $4,000. Net profit $16,000 (6.4%). Each line changes a different margin.

The largest lever is usually the largest cost, not the most visible one. Model the change and see which margin moves.

Margin by product

A blended margin can hide a loss-making product. Calculate gross margin by product or service. A low-margin product may still be worth keeping if it drives traffic or fills capacity, but the decision should be explicit. Do not subsidize a product without knowing it.

What to compare

Compare margin percentages and dollar profit. A 50% margin on $100,000 is $50,000; a 20% margin on $200,000 is $40,000. The lower percentage can produce more dollars.

Margin targets

A target margin should come from the business model, not a generic benchmark. A service business with low capital needs a different target than a manufacturer with expensive equipment. Set a floor below which a project is not worth taking, and a target for the overall mix. Review the floor when costs change.

Owner return

Net margin is not the owner’s return if the owner also earns a salary. Separate salary from profit, then compare the profit with the capital invested. A business can show a healthy net margin and still be a poor use of capital.

What to compare

Compare margin percentages and dollar profit, and compare the trend with the same accounting basis. A one-time gain or a cost deferral can distort a single period.

What to compare

Compare gross, operating, and net margin with the same period and accounting basis. A single quarter can be distorted by a large order or a one-time cost.

Use at least four quarters and note any changes in accounting.

Keep the margin definitions in the financial model so future comparisons use the same basis.

A consistent definition is more useful than a precise but inconsistent one.

Review the definitions annually.

Then update.

Now.

Frequently asked questions

What is a good profit margin?

It depends on the industry, scale, and capital intensity. Compare with similar businesses and your own trend.

Is gross margin the same as markup?

No. Markup is based on cost; margin is based on price.

Should I use revenue before or after tax?

Use revenue before sales tax. Sales tax is collected for the government, not earned.

Why is net margin lower than operating margin?

Net margin subtracts interest, taxes, and other non-operating items.

Further reading

Keep exploring

Read next Break-Even with Multiple Products: Weighted Contribution Margin Two products with different margins break even on a blended contribution margin. See how the unit mix sets… Read next Rule of 40: Growth Plus Margin for SaaS The Rule of 40 adds revenue growth and profit margin into one score. See which margin to use,… Read next CAC Payback: Months to Recover Acquisition Cost CAC payback divides acquisition cost by monthly gross profit. See what belongs in each input, how churn stretches…

Decision path

Use this guide in a decision

Open Business Decision Center Open companion solver