# Gross vs. net profit margin: formulas and example

> Compare gross and net profit from the same period and understand why the percentages differ.


If net sales for one period are $100,000, cost of sales is $60,000, and later expenses total $30,000, gross margin is 40% and net profit margin is 10%. Gross margin helps you examine what sales leave before those later expenses; net margin shows what remains after they are included in net income.

## One period, two results

Suppose a business’s income statement for one month reports $100,000 in net sales. Subtract $60,000 in cost of sales (the costs recognized for the products sold), and gross profit is $40,000. Then account for $25,000 in operating expenses, $3,000 in financing expenses, and $2,000 in tax. Net income is $10,000.

| Period calculation | Result | Margin on net sales |
|---|---:|---:|
| $100,000 − $60,000 | Gross profit: $40,000 | 40% |
| $40,000 − $25,000 − $3,000 − $2,000 | Net income: $10,000 | 10% |

OpenStax defines net profit margin as net income divided by net sales; gross margin uses gross profit over net sales. The 30 percentage-point gap equals $30,000 of items between the two results in this example. Exact line items can vary by accounting framework and industry, so use figures from the same statement and period and confirm what each subtotal includes. [OpenStax: Analyzing Financial Statements](https://openstax.org/books/introduction-business/pages/14-7-analyzing-financial-statements) · [OpenStax: Financial Statement Analysis](https://openstax.org/books/principles-accounting/pages/a-financial-statement-analysis)

**Gross and net profit calculator**

Summarize revenue and expenses from the same period.

Initial example:

- Net sales: 100,000

- Cost of sales: 60,000

- Operating expenses: 25,000

- Financial expenses: 3,000

- Taxes: 2,000

Gross profit = net sales − cost of sales. Net income = gross profit − operating expenses − financial expenses − taxes. Gross margin (%) = gross profit ÷ net sales × 100. Net margin (%) = net income ÷ net sales × 100.

- Gross profit: 40,000 in your currency

- Net income: 10,000 in your currency

- Gross margin: 40 %

- Net margin: 10 %

A negative result represents a loss under these inputs.

Use one currency and the same period for every field. Sales must be above zero. Use amounts with up to two decimals, excluding VAT; this is a simplified statement based on the entered data.

## What to investigate when one changes

If gross margin falls while net margin holds, start by checking net price, product mix, and cost of sales. If gross margin holds while net margin falls, inspect the later line items: operating, financing, and tax expenses as reported. These are clues for locating a change, not proof of its cause. Compare equivalent periods and review volume, mix, and accounting treatment before changing prices.

Gross margin is not [contribution margin](/en/guides/contribution-margin/). Contribution margin typically subtracts variable costs to show how much a sale contributes toward fixed costs. Net income is not cash on hand either: accounting profit and cash flow answer different questions.

There is no universal “good” percentage. OpenStax notes that comparison depends on industry. For a useful read, compare the business with itself across consistent periods and with genuinely similar companies, taking their activities and reporting practices into account.

## Plan your next post in HeyMark.

Keep the idea, review the draft with your team, and see how it performed in the accounts you connected.

[Start free](https://app.heymark.ai) · [See how it works](https://heymark.ai/en/#product)

## Developer and agent resources

- [HeyMark MCP documentation](https://heymark.ai/en/mcp/)
- [llms.txt](https://heymark.ai/llms.txt)
- [Full site content for language models](https://heymark.ai/llms-full.txt)
- MCP protocol endpoint: `POST https://mcp.heymark.ai`
- OAuth protected-resource metadata: [/.well-known/oauth-protected-resource](https://mcp.heymark.ai/.well-known/oauth-protected-resource)
- MCP server card: [/server-card](https://mcp.heymark.ai/server-card)
