Free financial calculatorsEstimates only • Not financial advice
Financial calculator

Gross vs Net Margin Calculator

Enter revenue and costs once to see gross margin, operating margin and net margin side by side.

Quick answer: Gross margin is revenue minus cost of goods sold, divided by revenue. Net margin is net profit after every expense, including overheads, interest and tax, divided by revenue. A store with $480,000 revenue and $288,000 COGS has a 40% gross margin, but only a 10% net margin after $144,000 of other costs.

Build your scenario

Use your actual figures where available. The output is an educational estimate based on the assumptions below.

Sales for the period
Direct cost of what you sold
Rent, wages, marketing, software
Below-the-line items

Results update as you type. Select Calculate to move to your result.

Amounts show a $ symbol for readability. Enter figures in your own currency.

FINANCIAL ESTIMATE
—
Gross profit (margin)—
Operating profit (margin)—
Net profit (margin)—

Displayed amounts are rounded to two decimal places. Keep the same currency and time period across related inputs.

Results are estimates for education. Actual terms, rates, taxes, fees, compounding, and lender or investment conditions can change the outcome.

Put this calculator on your site, with your logo, from US$79.

See branded packages

Embed this calculator

Add this lightweight calculator to your site. The embed has no analytics or consent popup. A small “Powered by Talreon” link points back to the full page.

Suggested height: 760px. Adjust width and height to fit your layout. The embed page is noindex and excluded from the sitemap.

US$9 Excel / Google Sheets template

Want the full planner?

The Product Pricing & Margin Planner: price every product from cost, see true margin after discounts and sales commission, and know your break-even point.

See the template

Pricing & Margin Planner (Excel), US$9. A ready-made workbook to go with this calculator.

Buy the planner See the template

How this calculator works

The three margins peel costs off revenue one layer at a time. Gross margin removes only the direct cost of goods sold. Operating margin also removes the overheads of running the business. Net margin removes everything else, including interest and tax. All three divide by the same revenue, so you can compare them directly. The U.S. SEC's beginners' guide to financial statements uses the same layers.

The formulas

Gross margin = (revenue − COGS) ÷ revenue × 100
Operating margin = (gross profit − operating expenses) ÷ revenue × 100
Net margin = (operating profit − interest, tax & other) ÷ revenue × 100

Worked examples in US dollars

BusinessRevenueCOGSOpexOtherGrossOperatingNet
Online store (year)$480,000$288,000$120,000$24,00040.00%15.00%10.00%
Agency (year)$250,000$150,000$60,000$15,00040.00%16.00%10.00%

Both businesses keep 40 cents of gross profit per dollar of sales, but only 10 cents ends up as net profit. The gap between gross and operating margin shows how heavy the overheads are.

Common mistakes

  • Comparing your gross margin with another company's net margin.
  • Putting overheads into COGS, which understates gross margin.
  • Mixing a year of revenue with a quarter of costs.
  • Confusing margin with markup. Markup divides by cost, not revenue.

Sources

Related calculators

Related education

Browse all financial guides →

Gross margin vs net margin: side by side

Gross marginNet margin
Formula(Revenue − COGS) ÷ revenue × 100Net profit ÷ revenue × 100
Costs removedCost of goods sold onlyEverything: COGS, overheads, interest and tax
AnswersIs each sale priced above its direct cost?Does the whole business make money?
Example (below)40.00%10.00%

Worked example: one income statement, three margins

LineAmount% of revenue
Revenue$480,000100.00%
− Cost of goods sold$288,00060.00%
Gross profit$192,00040.00% gross margin
− Operating expenses$120,00025.00%
Operating profit$72,00015.00% operating margin
− Interest, tax & other$24,0005.00%
Net profit$48,00010.00% net margin

Frequently asked questions

What is the difference between gross and net margin?

Gross margin only subtracts the direct cost of goods sold. Net margin subtracts every cost, including overheads, interest and tax.

What is a good gross margin?

It depends heavily on the industry. Compare with similar businesses and with your own past periods, not with one universal number.

Can net margin be negative?

Yes. If total costs exceed revenue, net profit and net margin are negative.

Where does depreciation go?

Usually in operating expenses, so it affects operating and net margin but not gross margin.

What is the difference between gross margin and net margin?

Gross margin subtracts only the direct cost of goods sold from revenue; net margin subtracts every expense, including overheads, interest and tax. Net margin is therefore lower when those costs exist.

Net vs gross margin: which matters more?

Both. Gross margin shows whether pricing covers direct costs; net margin shows whether the whole business is profitable. A healthy gross margin with a thin net margin points to high overheads.

How do you calculate net margin from gross margin?

Subtract operating expenses, interest, tax and other costs as a percentage of revenue. In the example, 40% gross − 25% opex − 5% other = 10% net margin.

Get this calculator on your site

Branded with your colours and logo, with no Talreon credit. One-time packages from US$79.

Get this on your site See packages

WhatsApp us