Profitability ratio · also called gross margin

Gross profit margin

Gross profit margin divides gross profit by revenue. It shows what share of revenue is left after the direct cost of the goods or services sold, before operating expenses.

Gross profit margin = Gross profit ÷ Revenue × 100

Gross profit margin calculator

Calculated in your browser. Figures you enter are not sent or stored.

Calculate

Revenue minus cost of goods sold.

Net sales for the period: total sales minus returns, allowances and discounts.

Example figures

Gross profit margin

40.0%

Gross profit is 40.0% of revenue.

40.0% is higher than the gross profit margin of 56% of US-listed companies (1,845 in 2025).

Industry table

How it was calculated

  1. Gross profit margin = 40,000 ÷ 100,000 = 40.0%

Gross margin shows the share of revenue left after the direct cost of what was sold, before operating expenses. Margins vary widely between industries, so compare with similar businesses or with earlier periods.

Where the figures come from

Where the figures come from

Income statement

Gross profit $40,000

Revenue $100,000

Gross profit margin =

Gross profit$40,000Revenue$100,000× 100

= 40.0%

Using Gross profit $40,000, Revenue $100,000, the gross profit margin is 40.0%.

What gross profit margin tells you

Revenue here means net sales: what customers were charged, less returns, allowances and discounts. Gross profit is what is left of that revenue after cost of goods sold, the direct cost of the goods or services that were sold. For a reseller that is mainly the purchase cost of the goods. For a manufacturer it also includes materials, direct labor and production overheads.

A result of 40{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4} means that 40{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4} of revenue remains after the direct cost of sales, and the other 60{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4} went on the cost of what was sold. That 40{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4} has to pay for operating expenses such as rent, salaries and marketing. Whatever is left after those becomes operating profit.

Two ways to calculate it

The calculator offers two methods that give the same result. Use From gross profit if your income statement already shows a gross profit line. Use From revenue and cost of goods sold if it shows only those two figures, and the calculator works out gross profit for you. The term “gross margin” can mean either the amount of gross profit or this percentage, so make clear which one you mean when you share figures.

Reading a high or low result

Gross margins vary widely between industries, because businesses differ in how much of their cost sits in the product itself and how much sits in overheads. A business with low production costs and heavy spending on development or marketing can show a high gross margin and still make a loss. Compare the margin with earlier periods of the same business, or with similar businesses.

  • A rising margin can come from higher prices, cheaper materials or purchases, or a shift in sales toward higher-margin products.
  • A falling margin can mean costs rose faster than prices, discounting increased, or the sales mix moved toward lower-margin lines. It can also reflect one-off charges in cost of goods sold, such as writing down inventory that will not sell at full price.
  • A negative margin means cost of goods sold was higher than revenue, so the business lost money on what it sold before paying any overheads.

What counts as a good gross profit margin

No single figure suits every business, but you can see where a result sits among real companies. In 2025, the median gross profit margin of 1,845 companies listed in the US was 36.3%. The middle half of them fell between 21.1% and 56.5%.

Industry matters more than any rule of thumb. The median was 64.4% in software and IT services, but 10.9% in transportation and logistics.

Where industries differ most: median, with the middle half of companies
  1. All industries 1,845 companies36.3% 21.1%–56.5%
  2. Software and IT services 264 companies64.4% 37.9%–77.1%
  3. Medical devices and supplies 132 companies60.0% 45.0%–72.0%
  4. Pharmaceuticals and biotech 74 companies55.4% 34.7%–72.0%
  5. Construction 42 companies14.5% 7.3%–22.7%
  6. Agriculture 15 companies11.6% 4.4%–26.5%
  7. Transportation and logistics 18 companies10.9% 2.9%–23.8%

Measured from US GAAP financial statements filed with the SEC: income statements for each company's financial year closest to calendar 2025. Banks, insurers and brokers are left out: their revenue, costs and borrowing work differently from other businesses. Companies with less than $1 million of revenue are left out, since a tiny revenue figure makes the ratio meaningless. Only companies that report a gross profit line are included. These are public companies, so smaller private businesses can look different. Compare with businesses like yours, and with your own earlier periods. See all 32 industries and how the figures are measured.

To see one listed company’s gross profit margin for each of its last five years, worked out from its filings, use the company ratio lookup.

How to improve gross profit margin

Gross margin moves with two things: the price customers pay and the direct cost of what they buy.

  • Review prices. A price rise that customers accept goes straight to gross profit, because the cost of each sale stays the same. Even a small rise has a large effect on the margin.
  • Lower the cost of what you sell. Negotiate with suppliers, buy in larger quantities where you have the storage and cash, and cut waste, spoilage and rework.
  • Sell more of what earns most. Most businesses sell some products or services at much better margins than others. Shifting the mix towards them lifts the overall margin.
  • Reduce discounts and returns. Revenue is counted after discounts and returns, so frequent discounting or a high return rate lowers the margin even when list prices look healthy.

Gross profit margin in a real 10-K

Here is the calculation with the figures from a real annual report, set against other listed companies.

Nike’s annual report for the year to 31 May 2026 shows gross profit of $19.9 billion and revenue of $46.4 billion. On those figures, the gross profit margin is 42.9%. Against the 2025 figures for listed companies, that is higher than about 45% of companies in apparel, textiles and footwear, and higher than 60% of all US-listed companies.

Nike, year to 31 May 2026 ($ millions)
Gross profit19,911
Revenue46,398
Gross profit margin42.9%

Figures as reported in Nike's Form 10-K filed on 15 July 2026, read from the SEC's XBRL data. The example shows the calculation; it is not a view on the company or its shares.

What the margin does not show

  • It stops before operating expenses, so a high gross margin says nothing about whether the business covers its overheads.
  • Businesses draw the line between cost of goods sold and operating expenses in different places. Shipping, warehousing or the depreciation of production equipment may sit in either, which affects comparisons.
  • It is a percentage, not an amount. A lower margin on much higher sales can still produce more gross profit.

Accounting details that change the result

  • What goes into cost of sales. Neither US GAAP nor IFRS gives one list. Shipping to customers, warehousing and the depreciation of production equipment can sit in cost of sales or in operating expenses, depending on the company’s policy. Read the notes before comparing two companies.
  • Expenses presented by nature. IFRS lets a company present its expenses by nature, such as raw materials, staff costs and depreciation, instead of by function. A company that does so shows no gross profit line at all.
  • Inventory costing method. US GAAP allows LIFO, which charges the most recent purchase costs to cost of sales; IFRS does not. When prices are rising, a LIFO company reports a lower gross margin than an otherwise identical FIFO company.
  • Selling as principal or agent. A business that arranges a sale for someone else and acts as an agent records only its commission as revenue. Its gross margin can look far higher than a reseller’s on the same kind of transaction, because the reseller records the full price as revenue.

Common mistakes

  • Using gross sales before returns, allowances and discounts. Base the margin on net sales.
  • Confusing margin with markup. Markup divides gross profit by cost rather than by revenue, so on a profitable sale the markup is always higher than the margin. See margin vs markup for the difference.
  • Comparing businesses without checking which costs each one puts in cost of goods sold.
  • Mixing periods, such as revenue for a full year with cost of goods sold for eleven months.

Practice questions

1. A business has revenue of $250,000 and cost of goods sold of $160,000. What is its gross profit margin?

Show the answer

(250,000 − 160,000) ÷ 250,000 = 90,000 ÷ 250,000 = 36.0{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4}.

2. It raises all its prices by 5{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4} and sells the same quantities, so cost of goods sold stays at $160,000. What is the new margin?

Show the answer

Revenue becomes $262,500. (262,500 − 160,000) ÷ 262,500 = 102,500 ÷ 262,500 = 39.0{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4}.

3. A product costs $60 and sells for $100. What are its gross margin and its markup?

Show the answer

Gross margin: 40 ÷ 100 = 40.0{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4}. Markup: 40 ÷ 60 = 66.7{846e7d4d0f05d19eeccdaa01f4dc5b8a695ddd5b737d0a6be36eb5065d96b3b4}. The same $40 profit gives two different percentages, because margin divides by the price and markup divides by the cost.

Gross profit margin practice

Try a problem with fresh numbers

Work through each step and check it as you go. A wrong answer gets a hint; after two tries you can see the answer. More problems and printable worksheets

Questions about gross profit margin

Does gross profit margin include rent and salaries?

Only the part that is a direct cost of what is sold. Wages of production staff are usually in cost of sales; office rent and administrative salaries are operating expenses and are left out.

Can gross profit margin be negative?

Yes, when the cost of sales is larger than revenue: for example, when goods are sold below cost or inventory is written down.

Why can’t I find gross profit in some income statements?

Many service businesses do not report one, and IFRS companies that present expenses by nature have no gross profit line. Their margins have to be compared at the operating level instead.

Operating profit margin goes one step further and also deducts operating expenses, so the gap between the two margins shows how much of revenue goes on overheads. To see how gross margin relates to the bottom line, read gross vs net profit margin. For pricing a single product rather than analyzing a whole income statement, use the margin calculator.

Definitions and variations

  • Variant (From revenue and cost of goods sold): Gross profit margin = (Revenue − Cost of goods sold) ÷ Revenue.

Read it alongside

Sources (4)
  1. 18.3 Retailing Strategy Decisions - Principles of Marketing | OpenStax, OpenStax (Rice University). Accessed 18 October 2026.
  2. 6.6 Describe and Prepare Multi-Step and Simple Income Statements for Merchandising Companies - Principles of Accounting, Volume 1: Financial Accounting | OpenStax, OpenStax (Rice University). Accessed 18 October 2026.
  3. 5.1 The Income Statement - Principles of Finance | OpenStax, OpenStax (Rice University). Accessed 18 October 2026.
  4. acctg211 | Efficiency Ratios, Penn State University (ACCTG 211 course site, oer.hax.psu.edu). Accessed 18 October 2026.
Embed this calculator

Copy this code into your page or course notes. The calculator runs in the reader's browser, shows no ads and links back here.

This page is for education. It is not financial, investment, tax, accounting or legal advice. Results depend on the figures you enter and the formula definitions shown, so check them against your own statements and, where it matters, ask a qualified professional.