percentguru

How to Calculate Profit Margin: Gross, Operating and Net

Business guide · Updated October 2026

"Profit margin" is really three numbers that answer three different questions: is this product worth selling, is the business paying its way, and what is left at the end. They all use the same formula, applied one layer of costs at a time. This guide takes a small online tea shop through a single month, from $8,000 of sales down to the money that remains, and stops at each layer. For a single sale, the profit margin calculator gives the answer directly.

One formula, used three times

Profit margin % = Profit ÷ Revenue × 100

Revenue is always on the bottom. Only the profit on top changes, depending on how many costs you have taken off so far. If you divide by cost instead, you have calculated markup, which is a larger number for the same sale; the markup vs margin guide explains how the two relate.

Start small: the margin on one product

The shop's main product is a tin of loose-leaf tea that sells for $16. The tea, the tin, the label and the marketplace fee come to $7.20.

It also sells a $6 sample pack that costs $4.20 to put together. The profit is $1.80 and the margin is 30%. Two products, two very different margins. Keep that in mind for later.

Gross margin: after the cost of what you sold

Now the whole month. Sales came to $8,000 before tax. Everything that went directly into those orders — stock, packaging, postage and marketplace fees — cost $4,400.

Gross margin tells you whether your prices and your costs are in a sensible relationship. It says nothing yet about whether the business makes money.

Operating margin: after the bills

Next come the costs of being open at all, whether or not anything sells: $150 for the website and software, $600 of advertising, $250 for storage, and $1,800 the owner pays herself. That is $2,800.

The owner's wage is in there deliberately. Leave it out and the margin looks like 32.5%, which describes a business that only works if nobody is paid to run it.

Net margin: what is actually left

Last, the costs that are not about trading: $80 of loan interest and $160 set aside for tax.

So the same month is a 45%, a 10% and a 7% business, and all three figures are correct. When someone quotes a margin, the first thing to ask is which one.

The benchmark that matters is your own overheads

Industry averages are a poor guide for a small seller. A more useful test is already in your figures. The shop's running costs of $2,800 are 35% of its $8,000 revenue. That means any month with a gross margin below 35% loses money, however busy it felt. The gap between your gross margin and that overhead percentage is your real breathing room: here, ten points. To turn it into a sales target, the break-even calculator gives the number of units.

Two mistakes that make a margin look better than it is

Using a price that includes tax. Sales tax and VAT are collected for the government and are not your revenue. An item with a $21.60 shelf price including 8% sales tax brings in $20. If it costs $11, the margin is $9 ÷ $20 = 45%. Worked on the $21.60 it appears to be 49%. Strip the tax out first; the sales tax calculator will do it.

Averaging the percentages.The tea tin runs at 55% and the sample pack at 30%, so the shop's margin must be about 42.5%? Only if they sell in equal dollar amounts. Suppose a month brings $2,000 from tins and $6,000 from sample packs. Profit is $1,100 + $1,800 = $2,900, and $2,900 ÷ $8,000 is 36.25%. Always add up the dollars of profit and divide by the dollars of revenue. Never average margins.

Which lever moves margin most

Take the month above, with its $800 operating profit, and change one thing by 5%.

A price rise goes almost entirely to profit, because no extra stock has to be bought to earn it. That is also why it cuts the other way: a discount comes straight out of the same place. Before running a promotion, put it through the seller section of the discount calculator.

Setting a price from the margin you want

To work forwards from a target, divide the cost by one minus the margin. If the shop wants a 60% margin on a tin that costs $7.20:

Price = Cost ÷ (1 − Margin) = $7.20 ÷ 0.40 = $18.00

Multiplying the cost by 1.60 gives $11.52, which is a 37.5% margin. If you would rather think in terms of what you add to cost, use the markup calculator, and the guide to calculating markup covers costing a product properly before you start.

A ten-minute monthly routine

A falling gross margin points at prices, suppliers or fees. A steady gross margin with a falling operating margin points at overheads. Knowing which layer moved tells you where to look.

Frequently asked questions

Can a profit margin be negative, or more than 100%?

It can be negative: if you spend more than you take in, profit is below zero and so is the margin. It cannot exceed 100%, because profit can never be larger than the revenue it came from. If a calculation gives you 120%, you have divided by cost and are looking at a markup.

Does postage I charge the customer count as revenue?

Yes. If a customer pays $16 for an item and $4 for delivery, your revenue is $20 and the $4 you hand to the carrier is a cost. Profit is unchanged, but the margin on that order is lower than on the item alone, because the delivery money passes straight through. That is normal, and it is why margins on shipped orders look thinner than margins on products.

Why did my margin fall in a month when sales went up?

Usually one of three things: the extra sales came from discounts, they came from advertising that cost more than usual, or customers shifted toward your lower-margin products. Higher revenue with a lower margin can still mean more profit in dollars, so check both figures before you worry.

How often should I work out each margin?

Check gross margin per product whenever a supplier price, a fee or your own price changes, since that is where problems start. Work out operating and net margin for the whole business once a month, on the same day, so the months are comparable.

Is profit margin the same thing as return on investment?

No. Margin measures profit against sales. Return on investment measures profit against the money you had to put in. A product with a modest margin that sells out every week can return far more on the cash tied up in stock than a high-margin item that sits on the shelf for months.