Fundamentals · Ratios
Gross margin: formula, what a point is worth and how it differs
How to calculate gross margin, turn one margin point into dollars, and read Microsoft’s 67.9% against Boeing’s 4.8%, with Nike’s fiscal 2026 as the example.
On this page
Gross margin is the share of revenue left after paying the direct cost of the goods or services sold. If a company sells $100 of shoes that cost it $57 to make and deliver, its gross margin is 43%.
It is the first profit line on the Income statement: how to read one line by line, with Apple and the one closest to the product itself. It shows how much room there is between price and production cost, before a single salary in marketing or head office has been paid. Every other profit figure starts from it: a company cannot spend more on running itself than its gross profit for long.
The Profit margins: gross, operating and net margin explained overview walks through gross, operating and net margin together. This page stays on the first one. It computes Nike's gross margin from its latest annual report, shows what one point of margin is worth in dollars, and compares seven companies from Microsoft to Boeing.
The idea
Every sale has a cost attached to it that would not exist without the sale. For a shoe it is the factory's price, the freight and the duty. For a restaurant meal it is the food and the kitchen staff. For a software subscription it is the servers and the support desk. Accountants gather these into one line, usually called cost of sales, cost of revenue or cost of goods sold.
What is left is gross profit. It is the pool of money that has to pay for everything else: design, advertising, stores, head office, interest and tax. Gross margin states that pool as a percentage of revenue, so that a company with $46 billion of sales can be compared with one that has $4 billion.
Two things move it. One is price: a brand that can charge more for the same shoe keeps more of each dollar. The other is cost: cheaper materials, fuller factories and fewer markdowns all lift it. A gross margin that holds steady for many years suggests customers are not forcing the price down and suppliers are not forcing costs up.
The formula
What a margin point is worth
A change of a few tenths of a point sounds too small to matter. In dollars it is not small, because the percentage applies to the whole of revenue.
Revenue grew by less than a quarter of one percent, yet gross profit grew by 0.6%. Most of the gain came from the margin moving less than two-tenths of a point. The same arithmetic runs in reverse: had Nike's margin slipped by one full point, $464 million of gross profit would have gone, with nothing saved further down the income statement to make up for it. This is why analysts follow gross margin in tenths of a point and why companies explain each movement in their reports.
From Microsoft to Boeing
The same sum on six other companies, each from its latest Form 10-K. Amounts are in $ millions.
| Company | Fiscal year ended | Revenue | Gross profit | Gross margin |
|---|---|---|---|---|
| Microsoft | June 30, 2026 | 331,839 | 225,465 | 67.9% |
| Coca-Cola | December 31, 2025 | 47,941 | 29,544 | 61.6% |
| Apple | September 26, 2026 | 478,834 | 233,602 | 48.8% |
| Nike | May 31, 2026 | 46,398 | 19,911 | 42.9% |
| Tesla | December 31, 2025 | 94,827 | 17,094 | 18.0% |
| Costco | August 30, 2026 | 303,154 | 38,875 | 12.8% |
| Boeing | December 31, 2025 | 89,463 | 4,289 | 4.8% |
The ranking is a ranking of business models.
- Software and cloud services cost little to deliver once built. The expense of writing the product sits in research and development, below the gross profit line. Microsoft keeps about 68 cents of each revenue dollar at this stage.
- A branded drink sells for far more than its ingredients cost. Coca-Cola's 61.6% is the mark of a product whose price owes more to the name than to the contents.
- Branded consumer goods, like Nike's shoes or Apple's devices, sit in the 40s. There is a physical product to pay for, but the brand supports the price.
- Cars are heavy on materials, labor and factory depreciation. Tesla keeps 18 cents.
- A warehouse retailer resells other companies' goods at a small markup by design. Costco's 12.8% is its strategy, not a weakness, and it still produced $38,875 million of gross profit because the percentage applies to $303,154 million of sales.
- Aircraft are built over years under long contracts. When a program costs more than planned, the overrun lands in cost of sales. Boeing's 4.8% follows a prior year in which its cost of sales of $68,508 million was larger than its revenue of $66,517 million: a gross margin of −3.0%.
Two lessons follow. A low gross margin is not a verdict, because volume matters: Costco's gross profit is almost twice Nike's. And a comparison only means something between companies that sell similar things. Nike against another sportswear maker is a fair test. Nike against Microsoft is not.
What moves a gross margin
Mix. Most companies sell several things at different margins. The reported figure is the weighted average, so it moves when the weights move, even if no single product's margin changes. Selling more through the company's own stores and website than through wholesalers, or more services alongside hardware, lifts the blend. A shift the other way lowers it.
Price and discounts. Revenue is recorded after discounts. A season of heavy markdowns to clear stock cuts revenue while the cost of each unit stays the same, so the margin falls.
Input costs and volume. Materials, freight, tariffs and wages change the cost of each unit. Where cost of sales includes fixed factory costs, a fuller factory spreads them over more units and raises the margin; an emptier one does the opposite.
Inventory write-downs. Under US GAAP (FASB ASC Topic 330), Inventory that can no longer be sold for what it cost must be written down, and the charge usually goes into cost of sales. Gross margin drops in that period. If the written-down goods are later sold, they carry a low cost, and the margin of that later period looks better than the underlying business. A sharp dip followed by a rebound is worth checking against the inventory note.
Currency. A company that buys in one currency and sells in another sees its margin move with exchange rates, before any change in the business.
Where it misleads
- Cost of sales is not defined the same way everywhere. One retailer includes the cost of running its warehouses and stores in cost of sales; another puts them in operating expenses. One manufacturer includes depreciation of its plants; another reports depreciation as a separate line. The 10-K's accounting policy note says what is in the line. Two honest companies in one industry can differ by several points for this reason alone.
- It says nothing about overhead. Gross margin stops before research, marketing and administration. A company can have a 70% gross margin and lose money because it spends 80% of revenue on those. To see the whole operation, go on to Operating margin: what is left after running the business.
- Inventory accounting changes it. When prices are rising, a company that charges its newest, most expensive stock to cost of sales first (LIFO) reports a lower margin than one that charges its oldest stock first (FIFO), on identical goods.
- Some companies do not report it. Banks, insurers and airlines have no meaningful cost of sales line. A data provider may still compute one. Treat such a figure with care.
- Revenue can be gross or net. A marketplace that records only its commission as revenue shows a very high gross margin. A retailer that records the full sale price shows a low one. The economics may be similar.
- One year is one year. A single period can carry a write-down, a currency swing or a contract adjustment. Read at least five years.
Compared with its neighbours
| Measure | Formula | What it adds |
|---|---|---|
| Gross margin | (Revenue − cost of sales) ÷ revenue | Price against production cost |
| Markup | (Price − cost) ÷ cost | The same gap, measured on cost |
| Operating margin | Operating income ÷ revenue | Also subtracts overhead, R&D, marketing |
| EBITDA margin | (Operating income + D&A) ÷ revenue | Operating profit before depreciation |
| Net profit margin | Net income ÷ revenue | Everything, including interest and tax |
Each line further down subtracts more costs, so each is normally smaller than the one above it. The lessons on Operating margin: what is left after running the business, EBITDA margin: formula, the depreciation gap and what capex leaves and Net profit margin: from $100 of sales to the bottom line take the next steps.
Where to find it in Finabase
Open the Valuation tab for Nike. In the Profitability group, the Gross Margin tile charts ten fiscal years with the latest value and a five-year median. The median is the quick test of whether the current year is normal for this company. The tiles are annual only. The figures come from the data provider, built from SEC filings, and can differ by a tenth of a point from a hand calculation when the provider classifies a cost line differently.
For the dollars, the income statement has Total Revenue, Cost of Revenue and Gross Profit for each fiscal year, and a quarterly view. Divide Gross Profit by Total Revenue to check any year or quarter. Selecting a row charts its full history.
The Financials overview draws one period as a Revenue & Expenses flow, where Cost of Revenue and Gross Profit are the first split of revenue. It shows at a glance how much of each sales dollar is gone before overhead starts.
Frequently asked questions
What is a good gross margin?
It depends on the industry. Software companies often keep more than 60% and warehouse retailers a little over 10%, and both can be good businesses. Judge a gross margin against the company's own past and its direct competitors.
What is the difference between gross margin and gross profit?
Gross profit is a dollar amount: revenue less cost of sales. Gross margin is that amount as a percentage of revenue. Nike's fiscal 2026 gross profit was $19,911 million and its gross margin 42.9%. Some companies label the dollar line "gross margin", which adds to the confusion.
What is the difference between gross margin and markup?
Both measure the gap between price and cost, but margin divides by the price and markup divides by the cost. An item bought for $60 and sold for $100 has a margin of 40% and a markup of 66.7%. A markup is always the larger number.
Why does gross margin change from year to year?
Usually because of mix, prices, input costs or inventory write-downs. A change in the mix of products or sales channels can move the total with no change in any single product's margin. Companies explain the movement in the management discussion section of the 10-K.
Can gross margin be negative?
Yes, when cost of sales is larger than revenue. Boeing's cost of sales exceeded its revenue in fiscal 2024, a gross margin of −3.0%. It means the company lost money on what it delivered before paying any overhead.
Summary
Gross margin is gross profit, revenue less the direct cost of what was sold, divided by revenue. Nike kept 42.9% of its $46,398 million of fiscal 2026 revenues at this stage, up from 42.7%, and because each point is worth $464 million, that small move added $83 million of gross profit. Across industries the figure runs from 67.9% at Microsoft to 4.8% at Boeing, a spread that reflects what is being sold. Compare it within an industry, check what each company puts into cost of sales, watch for mix and inventory write-downs, and remember that it stops before overhead: the margins further down the income statement finish the picture.
Check your understanding
5 questions on this lesson. Each answer comes with the reason, and nothing is scored.
A company has revenue of $500 million and cost of sales of $300 million. What is its gross margin?
- 40%
- 60%
- 66.7%
Show the answer
A. 40% Gross profit is 500 − 300 = 200, and 200 ÷ 500 = 40%. The 60% is cost of sales as a share of revenue, and 66.7% is the markup on cost.
A company with revenue of $20,000 million sees its gross margin fall from 45% to 44% while revenue stays the same. How much gross profit did it lose?
- $20 million
- $440 million
- $200 million
Show the answer
C. $200 million One margin point is 1% of revenue: 20,000 × 0.01 = $200 million. Small changes in the percentage are large in dollars because they apply to all of revenue.
Costco’s gross margin is 12.8% and Nike’s is 42.9%. What can you conclude?
- Nike is the better-run company
- The two sell in different ways, so the figures describe business models and are not a ranking
- Costco is close to losing money
Show the answer
B. The two sell in different ways, so the figures describe business models and are not a ranking A warehouse retailer resells goods at a small markup on very large volume; a brand designs products and sells them at a premium. Gross margin is only comparable between companies that sell similar things.
A software company has a gross margin of 75% and reports an operating loss. How is that possible?
- It is not possible; the figures must be wrong
- Its cost of sales is higher than its revenue
- Research, marketing and administration cost more than its gross profit
Show the answer
C. Research, marketing and administration cost more than its gross profit Gross margin stops before operating expenses. If those add up to more than 75% of revenue, the company loses money at the operating line despite a high gross margin.
A retailer writes down unsold inventory this year and sells it next year. What happens to gross margin?
- It falls this year, and next year’s is flattered because the goods carry a reduced cost
- Nothing: write-downs never touch cost of sales
- It rises this year and falls next year
Show the answer
A. It falls this year, and next year’s is flattered because the goods carry a reduced cost The write-down is usually charged to cost of sales now, lowering the margin. When the written-down goods are sold later, their low carrying cost makes that period’s margin look better than the underlying business.
Sources and further reading
- NIKE, Inc. — Form 10-K for the fiscal year ended May 31, 2026, filed July 15, 2026 (SEC EDGAR)
- Microsoft Corporation — Form 10-K for the fiscal year ended June 30, 2026, filed July 29, 2026 (SEC EDGAR)
- The Coca-Cola Company — Form 10-K for the fiscal year ended December 31, 2025, filed February 20, 2026 (SEC EDGAR)
- Apple Inc. — Form 10-K for the fiscal year ended September 26, 2026, filed November 3, 2026 (SEC EDGAR)
- Tesla, Inc. — Form 10-K for the fiscal year ended December 31, 2025, filed January 29, 2026 (SEC EDGAR)
- Costco Wholesale Corporation — Form 10-K for the fiscal year ended August 30, 2026, filed October 7, 2026 (SEC EDGAR)
- The Boeing Company — Form 10-K for the fiscal year ended December 31, 2025, filed January 30, 2026 (SEC EDGAR)
- SEC EDGAR — XBRL company facts (revenue, CostOfGoodsAndServicesSold) for NIKE, Inc., read November 18, 2026
