Gross margin vs net margin
They start from the same revenue and end a long way apart. Gross margin tells you whether a product is priced above what it costs. Net margin tells you whether the whole business made money. Here are both formulas, a worked month with every figure shown, and which one to trust for which decision.
Both formulas, side by side
The only difference between the two margins is how many costs you subtract before dividing by revenue. Gross margin stops after cost of goods sold. Net margin keeps going through operating expenses, interest, and tax. The denominator, revenue, stays the same for both.
Because both divide by the same revenue, the gap between them is exactly the cost of running the business and selling the product, expressed as a share of sales. That gap is often the most useful number of the three.
Two margins, two questions
The two margins are not competing versions of the same number. They answer different questions, and reading them in order is what tells you where a problem actually sits.
Gross margin: is the pricing right?
Revenue minus cost of goods sold. If this is thin, no amount of operational discipline saves the product, because there is nothing left to work with.
Net margin: did the business keep anything?
After operating expenses, interest, and tax. This is the share of each sale that actually reached the business, and the figure worth watching as a trend.
Four steps to both numbers
Start from the same revenue
Both margins use the same top line: total revenue for the period after refunds. Using one revenue figure for gross margin and a different one for net margin is the fastest way to get two numbers that do not reconcile.
Subtract COGS for gross margin
Take only the cost of goods sold off revenue. That is gross profit. Divide gross profit by revenue and multiply by 100 to get gross margin, the share of each sale left after the product itself is paid for.
Keep subtracting for net margin
From gross profit, take out operating expenses, then interest, then tax on what remains. That is net profit. Divide net profit by the same revenue and multiply by 100 to get net margin.
Read the gap between them
The distance between gross margin and net margin is everything it costs to run the business and sell the product. A wide gap is not bad in itself, but a gap that widens over time tells you operating costs are outrunning sales.
A worked example
One month, both margins from the same revenue
A store brings in $40,000 of revenue for the month. Cost of goods sold is $16,000, so gross profit is $24,000 and gross margin is 60.0 percent. On the product alone, the pricing looks strong.
Then the rest comes out. Operating expenses, which is ad spend, platform and payment fees, shipping, software, and wages, total $15,200. Interest and tax together are another $1,700. Net profit is $7,100, a net margin of 17.8 percent.
Same revenue, two very different reads. Gross margin says the product is well priced. Net margin says the business kept under a fifth of what it sold. The 42.2 point gap between them is the cost of running everything around the product.
- Revenue
- $40,000
- Cost of goods sold
- $16,000
- Gross profit
- $24,000
- Gross margin
- 60.0%
- Operating expenses
- $15,200
- Interest and tax
- $1,700
- Net profit
- $7,100
- Net margin
- 17.8%
Every figure above is made up for the example. The point is the distance: a 60 percent gross margin and a 17.8 percent net margin describe the same month, and only one of them is the money the business actually keeps.
When to trust each one
Reach for gross margin when the question is about a product: how to price it, whether to run a discount, or whether a supplier increase still leaves room. It isolates price against product cost and strips out everything else.
Reach for net margin when the question is about the business: whether last month worked, whether you can afford to hire, or whether the ad budget is paying for itself. And watch the two together over time. A steady gross margin with a falling net margin is the clearest early sign that the cost of selling is creeping up while the product itself is fine.
Keep the basis identical
Decide once where each cost sits and never move it. A margin that shifts because you reclassified a cost has told you nothing about the business.
Run both per product
A blended company margin hides the mix. One strong product can carry three that barely break even, and only a per product read shows it.
Letting the subtraction run itself
The arithmetic is easy. Collecting every cost on the same basis each month is the hard part. TrueProfit records revenue, cost of goods, and every operating cost, then shows gross profit, net profit, and both margins by month and by category, so the two numbers always come from the same figures. Give a product its own category or tag its rows to read both margins product by product.
Frequently asked questions
What is the difference between gross margin and net margin?
Gross margin is revenue minus cost of goods sold, divided by revenue. It measures whether your pricing beats your product cost. Net margin keeps subtracting operating expenses, interest, and tax before dividing by revenue. It measures whether the whole business made money. Gross margin judges the product, net margin judges the business.
What are the gross margin and net margin formulas?
Gross margin = (revenue - COGS) / revenue x 100. Net margin = net profit / revenue x 100, where net profit = revenue - COGS - operating expenses - interest - taxes. Both divide by the same revenue, so the only thing that changes between them is how many costs you have subtracted first.
Can gross margin be high while net margin is low?
Yes, and it is common. A product can carry a strong gross margin and still leave little behind once ad spend, platform and payment fees, shipping, software, and wages come out. The cheaper the item, the more those per-order and fixed costs matter, so a high gross margin is no guarantee the business keeps anything.
Which margin should I use for pricing?
Start with gross margin, because it isolates price against product cost and tells you whether a sale is even worth making before overheads. But do not stop there. Check that the price also survives the per-order costs that gross margin ignores, such as fees and shipping, or a product with a healthy gross margin can still sell at a loss.
What is operating margin, and where does it fit?
Operating margin sits between the two. It subtracts COGS and operating expenses but not interest or tax, then divides by revenue. It tells you whether the core operation works before financing and tax. If gross margin is healthy and operating margin is thin, the cost of selling is the problem, not the pricing.
Should I track margin monthly or per product?
Both. Per product tells you what to price, promote, or drop, because it shows which items keep money once every cost is attributed. Monthly tells you whether the business as a whole is working, including the fixed costs no single order carries. If you only have time for one, start per product, since that is where the decisions are.
See both margins on the same month
TrueProfit tracks revenue and every cost, then shows gross profit, net profit, and both margins by month and by category. Free to start, Pro is $19 a month and Business is $49 a month.
Free to start, no credit card.