Margin arithmetic · the denominator is the whole story

Net Profit Margin Calculator: Gross, Operating and Net Margin

Gross margin stops at the goods; net margin stops at the bank. Enter the revenue and the costs beneath it and read all three margins in one pass — gross, operating and net — with the dollars that separate them.

Mini income statementGross, operating and netDollars and percentagesNo login

Net Profit Margin Calculator: Gross, Operating and Net Margin

Mini income statement

net profit = revenue − COGS − operating expenses − interest − taxes + other income

Result

Gross margin 40% gross profit ÷ revenue
Operating margin 18.33% operating profit ÷ revenue
Net margin 12.83% net profit ÷ revenue
Mini income statement
LineAmountShare of revenue
Revenue$120,000.00100%
Cost of goods sold-$72,000.00−60%
Gross profit$48,000.0040%
Operating expenses-$26,000.00−21.67%
Operating profit$22,000.0018.33%
Interest-$1,800.00−1.5%
Taxes-$5,200.00−4.33%
Other income$400.000.33%
Net profit$15,400.0012.83%

Net profit = revenue − COGS − operating expenses − interest − taxes + other income. The tax figure is the expense you entered, not a rate applied to a taxable base.

Estimating tool only. Not accounting, tax or legal advice.

12.83%net margin · $15,400.00 net profit

Three statements, worked through

Every number below is produced by the same engine that runs in the browser, at build time — so an example cannot drift from the calculator above.

Revenue $120,000 down to net profit $15,400

The preset: gross profit $48,000 (40%), operating profit $22,000 (18.33%) and net profit $15,400 (12.83%). Every line is a share of the same revenue.

A services business with no COGS

Revenue $200,000 with no cost of goods sold gives a 100% gross margin, which is real for a pure service. The operating and net margins are what matter there.

A loss at the bottom line

The same revenue with $60,000 of operating expenses turns the operating margin to −10% and the net margin to −11.5%. The page carries the loss through rather than hiding it.

The three margins, and what each one drops

The income statement is a staircase, and each margin is a landing on it. Gross margin is gross profit over revenue, where gross profit is revenue minus cost of goods sold. Operating margin is operating profit over revenue, where operating profit is gross profit minus operating expenses — the costs of running the business that are not the goods themselves. Net margin is net profit over revenue, where net profit is what is left after interest, taxes and any other income.

The net profit margin is defined as the share of each dollar earned that ends up as profit at the end of the year, which is the same as net income divided by revenue. On the preset figures the revenue is $120,000, the COGS $72,000, the operating expenses $26,000, interest $1,800, taxes $5,200 and other income $400, so the net profit is $15,400 and the net margin is 12.83%.

The three numbers together tell a story the gross margin alone cannot. A wide gap between gross and operating margin means the overhead is heavy. A wide gap between operating and net margin means interest or tax is doing the damage. Narrow gaps mean the business is close to a pure pass-through.

Reading the gaps between the margins

Compare the three percentages and the diagnosis is usually immediate. A 40% gross margin that falls to 18.33% at the operating line is spending 21.67% of revenue on the costs of running the business, which is a lot for a reseller and normal for a company with a large team. A 30% operating margin that falls to 8% at the net line is paying a quarter of revenue in interest and tax, which is a capital-structure story rather than an operating one.

The page prints every line in dollars as well as percentages, so the gap is never a mystery. If the operating margin is 18.33% and the net margin is 12.83%, the difference is the $6,600 of interest and tax net of the $400 of other income — 5.5% of revenue, visible in one subtraction.

Comparing the mix across periods is more useful than any single reading. The gross margin tends to be the most stable of the three, because it depends on pricing and the cost of goods; the operating and net margins move with overhead, debt and the tax position, which change faster.

The definition, printed on the page

This page uses one definition and states it: net profit equals revenue minus cost of goods sold, minus operating expenses, minus interest, minus taxes, plus other income. Net margin is net profit divided by revenue, times one hundred. Interest and taxes are separate fields rather than being buried in operating expenses, because the whole point of the operating margin is to see the business before financing and tax.

Other income is a field because a business can have revenue that is not from the sale of its goods — interest earned, a gain on a sale, a one-off credit. Including it above the net line is a convention; the page shows it separately so you can see what it contributes and remove it if you prefer to keep it out.

The formula is the ordinary one and it is the same one the sources state. Nothing here is a tax computation: the tax field is the tax expense you enter, not a rate applied to a taxable base.

What a net margin does not tell you

A net margin is a ratio, so it hides size. A 2% net margin on a hundred million dollars is a far larger business than a 20% margin on a hundred thousand. Read the margin next to the dollars, which the page prints together.

It also hides the balance sheet. Net profit is an accounting figure for a period, not cash, and a profitable company can run out of cash while a loss-making one with good collections can survive for a while. Net margin says nothing about receivables, inventory or debt beyond the interest line.

And it is one period. A single year’s net margin can be moved by a one-off gain, a legal settlement or a tax credit. The trend across several periods is the reading that means something.

Questions this page answers

What is the net profit margin formula?

Net profit margin equals net profit divided by revenue, times one hundred. Net profit is revenue minus cost of goods sold, minus operating expenses, minus interest, minus taxes, plus other income. On $120,000 of revenue and $9,400 of net profit the margin is 7.83%.

What is the difference between gross, operating and net margin?

Gross margin stops after the cost of the goods. Operating margin also subtracts the costs of running the business. Net margin also subtracts interest, taxes and adds other income. The three landings show where the money goes on the way down.

Is a higher net margin always better?

A higher net margin means more profit per dollar of revenue, but it says nothing about volume or absolute profit. A 20% margin on a small business can be less money than a 2% margin on a large one. Read the percentage next to the dollars.

Should interest and taxes be in operating expenses?

No. Keeping them separate is what makes the operating margin meaningful: it shows the business before financing and tax. The page has separate fields for interest and taxes for that reason, and adds them back only at the net line.

Does net profit equal cash?

No. Net profit is an accounting result for a period. Revenue can be sitting in receivables, inventory ties up cash, and depreciation is an expense that is not a cash payment. A profitable business can still be short of cash, and the net margin will not show it.

Put this calculator on your site

Embed this calculator

Copy the snippet into any page. The widget is free, needs no key and sends nothing until a visitor interacts with it.

Open widget view

Sources

Every figure on this site that is not arithmetic comes from one of these pages, read while this build was made. The Shopify card and transaction rates carry the date they were read and are editable in the calculator. Nothing else is looked up at run time.