Home / Gross margin vs net margin
Gross margin vs net margin
Updated December 2, 2026
Gross margin shows what is left after the cost of the goods you sold. Net margin shows what is left after everything. Both are shares of revenue.
Three levels of profit
- Gross margin = (revenue − cost of goods sold) ÷ revenue.
- Operating margin = (gross profit − operating expenses) ÷ revenue.
- Net margin = (operating profit − other expenses) ÷ revenue.
Worked example
A shop earns $48,000 in a quarter. The goods it sold cost $27,600, running the shop cost $12,400, and it had $1,500 of other expenses.
- Gross profit: $48,000 − $27,600 = $20,400, a gross margin of 42.5%.
- Operating profit: $20,400 − $12,400 = $8,000, an operating margin of 16.7%.
- Net profit: $8,000 − $1,500 = $6,500, a net margin of 13.5%.
Why both matter
Gross margin tells you whether your prices cover what the goods cost. Net margin tells you whether the business as a whole makes money. A healthy gross margin with a thin net margin means the running costs are the problem, not the pricing.
A note on definitions
Businesses draw the line between "cost of goods" and "operating expenses" in different places, and accountants follow rules for which costs belong where. Use this page for the arithmetic, and ask an accountant how your costs should be classified. Try your own numbers in the gross and net profit margin calculator.
Related
Gross and net profit margin calculator
Enter revenue, cost of goods and expenses to get gross profit margin, operating margin and net profit margin, with a bar showing where each dollar goes.
Break-even calculator
Find how many units you must sell to cover your fixed costs, the break-even revenue, units for a profit goal and your margin of safety. Free, with formulas.
Markup vs margin: what is the difference?
Markup and margin both describe profit but divide by different numbers. See the formulas, a worked example, the common mistake and a conversion chart.