Gross Margin vs Profit Margin: Gross, Net and Operating, With the Bridge Between Them
Gross margin, operating margin and net margin are three lenses on the same month of trading. Here is what each one subtracts, and how to move between them without guessing.
Gross margin is profit after direct costs only, and it is the number the calculator on the hub page reports. Operating margin subtracts the costs of running the business. Net margin subtracts everything, and it is the smallest of the three on the same books.
- Gross margin, operating margin and net margin are three lenses on one month: 40%, 15% and 12% in the worked example.
- The bridge is one subtraction at a time: $10,000 of revenue, $6,000 of direct cost, $2,500 of operating expenses, $300 of charges.
- Price a product on gross margin, judge the business on operating margin, and quote the bottom line on net margin.
Three margins, one business
Ask a seller for their margin and you may get three different answers, all honest, all different. Gross margin judges one product at its direct cost. Operating margin judges the business after the costs of running it. Net margin judges what is left after everything, including interest and tax. The confusion is not that sellers disagree about arithmetic. It is that the word margin is doing three jobs, and most conversations never say which job is meant. This guide names each one, shows how each is worked out from the same set of books, and builds the bridge from one to the next so a number quoted in one sense can be translated into the others without guessing.
The starting point is always the same two numbers: what came in, and what the goods themselves cost. A shop that sells $10,000 of goods it bought for $6,000 has $4,000 of gross profit. That $4,000 is the raw material for every margin that follows. Gross margin divides it by revenue. Operating margin divides what remains after rent, wages, and the other costs of keeping the doors open. Net margin divides what remains after everything else as well. Same business, same month, three lenses, and the widest lens always shows the smallest number, because each step subtracts more costs and divides by the same revenue.
Why does the distinction matter in practice? Because decisions change with the lens. Pricing a single product is a gross-margin decision: the question is whether the price covers the direct cost with enough left over to contribute to the rest of the business. Hiring a new member of staff is an operating decision: the question is whether the business can carry the wage after all its running costs. Borrowing money is closer to a net decision: the question is what survives interest and tax. Using a gross margin to judge a hiring decision flatters the answer, because the wage is not in the gross figure at all. Using a net margin to price a product punishes it, because tax and interest have nothing to do with what one more unit costs to sell.
Gross margin: the price test
Gross margin is profit after direct costs only, divided by revenue. Direct costs are the costs tied to the goods themselves: wholesale price, materials, and the freight that brings the goods to you. The formula is short. Gross profit equals revenue minus cost of goods sold. Gross margin equals gross profit divided by revenue, times 100. A $60 cost and a $100 price give $40 of gross profit and a 40% gross margin. A $25 cost and a $50 price give a 50% gross margin. The same formula works for a whole month of trading as well as for one item: add up all revenue, add up all direct costs, subtract, and divide.
Gross margin is the number the Margin Calculator on this site reports, because cost and price are the two numbers a seller usually knows first. It answers one question well: for each dollar of sales, how much is left after paying for the goods? A 40% gross margin means 40 cents of each sales dollar survive the direct cost and are available to pay everything else. It does not mean 40 cents of profit in the bank, and that gap is the whole reason the other two margins exist.
Worked through at three scales, the pattern is identical. One item: cost $60, price $100, gross profit $40, gross margin 40%. A batch: 100 items at a $25 cost and a $50 price give $2,500 of revenue, $1,250 of gross profit, and the same 50% margin, because scaling both sides of a division by the same factor changes nothing. A month: $10,000 of revenue and $6,000 of direct cost give $4,000 of gross profit and a 40% gross margin. The percentage is scale-free, which is why it travels so well between a single listing and a whole year of accounts, and why it is the first number most sellers learn.
| Case | Revenue | Direct cost | Gross profit | Gross margin |
|---|---|---|---|---|
| One item | $100.00 | $60.00 | $40.00 | 40.00% |
| Batch of 100 | $5,000.00 | $2,500.00 | $2,500.00 | 50.00% |
| One month | $10,000.00 | $6,000.00 | $4,000.00 | 40.00% |
| Loss item | $60.00 | $90.00 | -$30.00 | -50.00% |
The loss row deserves a pause. Selling below direct cost gives a negative gross margin, and the calculator shows it plainly rather than hiding it. A negative gross margin means the price does not even cover the goods, before a single other cost is paid. No volume of sales fixes that: selling more at a negative gross margin loses more money, faster. The fix is a higher price, a lower direct cost, or both, and it has to come before any discussion of overhead, because overhead is paid from gross profit and there is none.
Operating margin: the running-costs test
Operating margin takes gross profit and subtracts the operating expenses: rent, wages, utilities, software, marketing, insurance, and the other costs of keeping the business running, but not interest and not tax. Operating profit equals gross profit minus operating expenses. Operating margin equals operating profit divided by revenue, times 100. On the month above, $4,000 of gross profit minus $2,500 of operating expenses leaves $1,500 of operating profit, which is a 15% operating margin. The business earns 40 cents of gross profit per sales dollar and keeps 15 cents after paying to operate.
Operating margin is the fairest test of how the business itself is run, because it leaves out financing choices and tax treatment, which differ between businesses for reasons that have nothing to do with trading. Two shops with identical sales and identical operating costs have identical operating margins even if one borrowed heavily and the other did not. Their net margins will differ, because interest hits only the borrower. When owners compare their business with a competitor, operating margin is usually the comparison that means something, and it is the margin lenders and buyers look at first when they judge the trading operation on its own.
The bridge from gross to operating is a single subtraction, but it is where most small businesses discover their real position. A healthy-looking 40% gross margin can become a thin 5% operating margin once a lease, two wages, and a marketing budget are paid. That is not a contradiction and it is not bad arithmetic. It is the business telling its owner that the product pricing is fine and the cost base is heavy, which calls for a different fix than a price rise: renegotiating rent, cutting a subscription, or raising volume so fixed costs spread thinner. The margin that diagnoses the problem is the margin that sits just past the cost that causes it.
Net margin: what survives everything
Net margin takes operating profit and subtracts everything else: interest on loans, one-off costs, and tax. Net profit equals operating profit minus interest minus tax and other non-operating items. Net margin equals net profit divided by revenue, times 100. Continue the same month: $1,500 of operating profit, minus $300 of fees and interest, minus tax treated here as part of the remaining $300 for simplicity in this worked example, leaves $1,200. Divided by $10,000 of revenue, net margin is 12%. The journey from 40% to 15% to 12% is the whole story of the month in three numbers, and each step names the costs that took their share.
Net margin is the number that ends up in the bank account, which makes it the most quoted and the most misunderstood. It is the most quoted because owners care about what they keep. It is the most misunderstood because it mixes trading performance with financing and tax, so a falling net margin can mean the business traded worse, borrowed more, or simply paid tax in a different period. A shop that looks less profitable on net margin alone may have traded identically and merely refinanced. Always read net margin beside operating margin before drawing a conclusion about trading.
There is also a practical trap in comparing net margins across business types. A software business with almost no direct cost can show a high gross margin and a high net margin, because there is little to subtract at each step. A grocery business with thin gross margins can still be a fine business on high volume, because its costs are small in percentage terms even though its margins look tiny beside software. The Margin Calculator guide notes typical ranges by business type, and the lesson is the same here: compare a margin only with businesses that share your cost structure, or the comparison will punish the wrong thing.
The bridge, worked in full
Put the three margins side by side on one month of trading, and the bridge is visible at a glance. Revenue $10,000. Direct cost $6,000. Gross profit $4,000, gross margin 40%. Operating expenses $2,500. Operating profit $1,500, operating margin 15%. Interest, fees and other charges $300. Net profit $1,200, net margin 12%. Every step is one subtraction and one division, and the table below carries the whole month without hiding a step.
| Step | Subtract | Profit left | Margin |
|---|---|---|---|
| Revenue | $10,000.00 | ||
| Direct cost of goods sold | $6,000.00 | $4,000.00 gross profit | 40.00% gross |
| Operating expenses: rent, wages, utilities | $2,500.00 | $1,500.00 operating profit | 15.00% operating |
| Interest, fees and other charges | $300.00 | $1,200.00 net profit | 12.00% net |
Run the same bridge on a second business and the diagnostic power shows. A business with $20,000 of revenue, $8,000 of direct cost, $9,000 of operating expenses and $500 of interest ends with $2,500 of net profit, a 12.50% net margin, but a 60% gross margin and a 15% operating margin. Its pricing is far stronger than the first business, and its cost base is far heavier. The gross margin says the product sells well. The operating margin says the operation is expensive. The net margin alone would have hidden both facts behind a similar-looking 12%. That is why the bridge, not any single margin, is the tool for understanding a business.
A related measure sometimes appears in the same conversation: contribution margin. Contribution margin is revenue minus variable costs, divided by revenue, where variable costs are the costs that rise with each extra sale. For many sellers the variable costs are exactly the direct costs, so contribution margin and gross margin coincide. They part company when some operating costs also vary with volume, such as payment processing fees charged per sale or packaging per order. If your processing fee is 3% of each sale, it belongs in the variable cost for a contribution calculation, even though it sits below gross profit in formal accounts. The calculator on the Margin Calculator page does not have a separate contribution field: to model it, load the per-unit variable costs, including per-sale fees, into the cost field, and the gross figure it reports becomes your contribution figure for that product.
Which margin to use, and when
Use gross margin when the question is price. Should this item sell for $100 or $90? Does a supplier price rise still leave room? Is one product line healthier than another? All of these compare revenue with direct cost only, and adding overhead to the question muddies an answer that should be clean. Gross margin is also the right figure for the calculator on the hub page, which is built around cost and price and nothing else.
Use operating margin when the question is the business. Can we afford another member of staff? Is the lease too heavy for the volume? Are we trading better than last year, on a like-for-like basis? Operating margin answers with financing and tax stripped out, so the trend over time reflects trading and cost control, not borrowing or tax timing. Track it monthly, on the same basis each month, and a drift of two or three points is an early warning worth acting on.
Use net margin when the question is the bottom line. What did the owner keep? What can be reinvested or drawn? Is the business, all in, profitable? Net margin answers, and it is the figure to quote to a bank or a buyer, because they care about what survives everything. Just never use it alone to judge trading performance, and never compare it across businesses with different borrowing or tax positions without saying so.
Mistakes that cost money
The most expensive mistake is quoting a gross margin as if it were net. A seller who prices for a 40% gross margin and then treats the 40% as spendable profit will overspend on every other cost, because 28 points of it in the worked month belong to operating expenses and charges. The second mistake is the reverse: judging a product by its net margin and dropping a line that contributes strongly to overhead, because its fully-loaded share looks thin. Products should be judged on gross or contribution margin, and the business on operating and net margin, and mixing the lenses in either direction destroys good lines and keeps bad costs.
The third mistake is comparing margins across different cost definitions. One seller counts shipping in cost, another counts it as an operating expense, and their gross margins differ by several points on identical trading. Before comparing any two margins, agree what sits above the line and what sits below it. The Margin Calculator page states its own definition plainly: margin here is on the cost and price you enter, and shipping, fees and taxes belong in the cost field if you want them counted. Keep that discipline in your own books, and the comparisons you make will mean something.
The fourth mistake is chasing a single target margin borrowed from another industry. A 40% gross margin is ordinary in one trade and fantasy in another, and a 12% net margin is strong for a grocer and weak for a software firm. Targets should come from your own history and from competitors with the same cost structure, not from a headline number. The right target is the margin that leaves enough, after your real costs, to keep the business healthy, and the bridge in this guide is how you find it: work backwards from the net profit you need, add back your real operating costs and charges, and the gross margin you must achieve falls out of the arithmetic.
Putting it to work on the calculator
Start with the main calculator on the Margin Calculator page: enter the direct cost and the selling price, and read the gross margin, the markup, and the profit per unit. Then build the bridge by hand, on paper or in a spreadsheet, subtracting your real operating expenses and charges from the gross profit it reports. If the net figure that remains is too thin, you have exactly two levers that matter: raise the price, which the target-margin field will solve for you, or cut a cost at the step where the bridge is steepest. Sellers who do this once a month, on the same basis, stop guessing about profitability and start managing it, which is the difference between a margin that sounds good and a business that stays good.
Frequently asked questions
What is the difference between gross margin and profit margin?
Profit margin is the general name for profit divided by revenue, and gross margin is one specific kind of it: profit after direct costs only, divided by revenue. A $60 cost and a $100 price give $40 of gross profit and a 40% gross margin. Net margin is the other common kind: profit after all costs, divided by revenue. Always ask which costs have been subtracted before comparing two profit margins.
Is gross margin the same as markup?
No. Gross margin divides profit by the selling price, and markup divides profit by the cost. On a $60 cost and a $100 price, gross margin is 40% and markup is 66.67%. Markup is always the larger number on a profitable sale, and the two convert into each other: margin equals markup divided by (1 plus markup). The companion guide on markup and margin works the conversion table in full.
What is a good gross margin?
It depends entirely on the business, because different trades carry different costs after the gross line. Retail gross margins of 25% to 50% are common, restaurants run far thinner net margins on high volume, and software runs high gross margins because there is little direct cost per sale. Compare your gross margin with businesses that share your cost structure, and judge it by whether enough remains after your real operating costs, not by a headline target.
How do I work out net margin from gross margin?
Subtract operating expenses, interest, fees and tax from gross profit, then divide by revenue. On $10,000 of revenue with a 40% gross margin, gross profit is $4,000. After $2,500 of operating expenses and $300 of fees and charges, $1,200 remains, so net margin is 12%. The bridge section above carries the same month step by step, so each subtraction is visible.
What is operating margin, in one sentence?
Operating margin is profit after the costs of running the business, but before interest and tax, divided by revenue. It is the fairest test of how the trading operation itself performs, because financing choices and tax timing, which differ between businesses for unrelated reasons, are left out of it.
Does the Margin Calculator show net margin?
No. It reports gross margin on the cost and price you enter, with markup and profit beside it. To approximate a net figure, load every per-unit cost, including shipping and per-sale fees, into the cost field, or take the gross profit it reports and subtract your other costs by hand using the bridge in this guide.
Try it on the calculator
Enter your cost and price on the Margin Calculator and read the gross margin, markup and profit, then build the bridge to net margin with your real costs.
Use the Margin Calculator- 1Markup vs Margin: The Conversion Table, the Pricing Mistake, and Worked Prices
Margin divides profit by price. Markup divides profit by cost. The two are never equal, and swapping them…
- 2Sales Tax
Tax on the price.
- 3VAT Calculator
VAT in and out.
- 4Tip Calculator
Split the bill.
