The margin ladder
"What's your margin?" is three different questions wearing one word, and the answer changes a lot depending on which rung of the ladder you are standing on. Gross margin is revenue minus the cost of the goods themselves, divided by revenue: the margin of the product. Operating margin also subtracts the cost of running the place (rent, wages, marketing, software): the margin of the business. Net margin takes out interest and taxes too: the margin of ownership, the share of each revenue dollar that is actually yours to keep.
The ladder is more diagnostic than any single rung. A 60% gross margin sitting above a 5% net margin is not a pricing problem, it is an overhead story or a growth investment, and raising prices will not fix what rent is doing. A thin gross margin, on the other hand, is a product problem that no amount of frugality downstream can outrun. This calculator computes whichever rungs you have numbers for and reads the ladder for you.
The formula
Operating margin = (Gross profit − Operating expenses) ÷ Revenue Net margin = (Operating profit − Interest and taxes) ÷ Revenue
Price for a target margin = Cost ÷ (1 − Margin)
All margins divide by revenue, which is what makes them comparable rungs of one ladder. The pricing formula divides rather than multiplies; multiplying cost by (1 + margin) is the classic mistake that applies the number as a markup and delivers less margin than you asked for.
Worked example
A shop books $12,000 in a month. The goods cost $4,800, so gross profit is $7,200: a 60% gross margin. Running the shop costs another $4,200, leaving $3,000: a 25% operating margin. Interest and taxes take $600, leaving $2,400: a 20% net margin.
Read together: the product is strong at 60%, and two thirds of that strength is consumed by overhead before it reaches the owner. That is a normal, healthy shape; the trouble sign would be the same 20% net under a 30% gross, where there is nothing left to trim.
Pricing direction: to sell a $40 cost at a true 50% margin, the price is 40 ÷ 0.5 = $80 (a 100% markup), not the $60 that multiplying by 1.5 would give.
What counts as a good margin
Less than benchmark tables suggest. Grocery chains run healthy businesses on 2% net margins because inventory turns over weekly; software companies post 25% net margins and still disappoint investors; restaurants live their whole lives between 3% and 8%. Comparing your margin against an all-industry average tells you almost nothing, and comparing against your own last quarter tells you almost everything. The honest uses of this page are trend (is each rung rising or falling), shape (which rung eats the most), and pricing (the target-margin mode). For the recurring confusion between margin and markup, which are the same dollars divided by different bases, our markup vs margin calculator handles the conversion and the argument; and if you want to know how many sales your margins need to cover the bills, the break-even calculator takes exactly these numbers as input.