# Gross and Net Profit Margin

> How to turn profit into a percent of sales. Gross margin and net margin, worked through with the real figures from one big company's year.

**Course:** [Accounting and Financial Statements](https://learn.benibix.com/learn/business-accounting)  
**Time:** 11 min

**After this lesson you can:**

- Work out a margin from two numbers
- Compare margins across firms of any size
- Tell a margin from a markup

## How a margin turns profit into a percent

A profit margin is profit divided by revenue, shown as a percent. It says how many cents of each sales dollar the firm keeps. Microsoft's year to June 2025 brought $281.7 billion of revenue and $101.8 billion of net profit. That is a net margin of about 36%.

There is one margin for each profit line. Gross margin is gross profit divided by revenue. Net margin is net profit divided by revenue. The one in between uses EBIT, the profit after running costs. Each margin is lower than the last, because each one takes away more costs.

For Microsoft that year, gross profit was $193.9 billion, a gross margin of about 69%. Operating profit was $128.5 billion, about 46%. Read the three in order and you see where the money went. About 23 cents of each dollar went on running costs.

Margins let you compare firms of any size. A corner shop and a chain of 500 stores cannot be compared on profit in dollars. They can be compared on margin. A shop that keeps 8 cents of each dollar is doing better than a chain that keeps 3, whatever their size.

Margins depend on the kind of business. A supermarket often keeps only a few cents of each dollar and makes up for it by selling a huge amount. A software firm can sell one more copy for almost nothing, so its margins are far higher. Compare a firm with others in its own trade.

Gross margin is the one to watch on prices. If a firm raises a price and its costs stay put, gross margin goes up at once. If a supplier raises prices and the firm does not pass that on, gross margin shrinks first, before any other line.

Do not mix up margin and markup. Markup is profit divided by cost. Margin is profit divided by price. A $10 item that cost $6 makes $4. That is a 67% markup but a 40% margin. Mixing the two is how firms set prices that look safe and are not.

## The three margins

| Margin | Profit line used | Microsoft, year to June 2025 |
| --- | --- | --- |
| Gross margin | Gross profit | About 69% |
| Operating margin | Operating profit | About 46% |
| Net margin | Net profit | About 36% |

![Three bars cut from the same $100 of sales. Gross margin, after the goods, keeps 60%. Operating margin, after running costs, keeps 25%. Net margin, after interest and tax, keeps 15%.](https://learn.benibix.com/diagrams/profit-margins.svg)

### Example: Lucy compares her two cafés

Lucy owns two cafés. The city one takes $300,000 a year and keeps $15,000 of net profit. The village one takes $120,000 and keeps $12,000.

The city café makes more dollars, but its net margin is 5%. The village café's is 10%. So she studies the village café's costs first.

**Words in this lesson:** [Profit Margin](https://learn.benibix.com/term/business/profit-margin), [Gross Margin](https://learn.benibix.com/term/business/gross-margin), [Operating Margin](https://learn.benibix.com/term/business/operating-margin), [Net Profit Margin](https://learn.benibix.com/term/business/net-margin)

**Question:** What does a 20% net profit margin mean?

**Answer:** It keeps 20 cents of profit from each $1 of sales. Net margin is net profit divided by revenue. At 20%, each $1 of sales leaves 20 cents once every cost has been paid.

---

Source: https://learn.benibix.com/learn/business-accounting/profit-margins
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
