Every time you buy something, the company keeps a slice of your money and hands the rest to its suppliers.
Gross margin is the size of that slice.
It is the very first profit line on a company's books, and it tells you a surprising amount before you read anything else about the business.
That is the kind of plain-English money math we send every morning in Market Briefs, our free daily newsletter. Now let's break down what gross margin actually means.
What Is Gross Margin, in Plain English?
Gross margin is what's left from a sale after you subtract the direct cost of the thing you sold.
That direct cost has a name: cost of goods sold, or COGS - the money a company spends to make or buy the product before any other bills.
Picture an orange five-gallon bucket at Home Depot.
Home Depot pays $1 for that bucket and sells it for $2.
The sale is $2, the cost of goods sold is $1, and that leaves $1 in gross profit.
On a $2 sale, keeping $1 is a 50% gross margin. That is the whole idea, scaled up to billions.
The Gross Margin Formula (How to Calculate It)
Here is the formula in one line:
Gross margin = (Revenue - Cost of goods sold) ÷ Revenue
Multiply the result by 100 to get a percent.
The piece in the middle - revenue minus cost of goods sold - is the gross profit. Gross margin just turns that dollar figure into a percentage so you can compare companies of any size.
Gross Margin vs. Gross Profit
People mix these up, so here is the clean version:
- Gross profit is a dollar amount. It is revenue minus cost of goods sold.
- Gross margin is gross profit shown as a percent of revenue.
A corner store and a giant retailer can both run a 30% gross margin even though their gross profit dollars are worlds apart. The percentage is what lets you line them up side by side.
A Real Gross Margin Example (Home Depot)
Let's use Home Depot, since it sells simple, physical things.
In one recent year, Home Depot pulled in about $151 billion in sales. The goods it sold cost roughly $100 billion. That left about $51 billion in gross profit, which works out to a gross margin of about 34%.
But gross profit is only the top of the income statement. Here is how that $151 billion travels all the way down to the bottom line:
| Line | Amount | What it is |
|---|---|---|
| Net sales (revenue) | ~$151B | Everything Home Depot sold |
| Cost of goods sold | ~$100B | Direct cost of those goods |
| Gross profit | ~$51B | Revenue minus COGS |
| Gross margin | ~34% | Gross profit ÷ revenue |
| Operating expenses | ~$28B | Salaries, marketing, store overhead |
| Operating income | ~$23B | Gross profit minus operating expenses |
| Interest expense | ~$1.4B | The cost of its debt |
| Income taxes | ~$5.3B | The tax bill |
| Net earnings | ~$16.4B | The true bottom line |
So gross margin is the first cut. It only accounts for the direct cost of the products. Everything else - the operating expenses, the interest, the taxes - comes out lower down.
What Is a Good Gross Margin?
There is no single magic number, and anyone who gives you one is guessing.
A good gross margin depends almost entirely on the industry. A retailer that moves huge volumes of physical goods, like Home Depot, runs a much lower margin than a business that sells software or services.
What matters more than the raw number is the trend.
- Stable margin: Home Depot has held a gross margin around 33% for years. That kind of consistency signals real pricing power.
- Rising margin: the company is getting more efficient, or it can charge more without losing customers.
- Falling margin: costs are climbing, or competition is forcing prices down.
Home Depot's steadiness is not an accident. It mostly competes with Lowe's, so the two operate almost like a duopoly - a market run by just a couple of big players - which gives both of them room to hold prices steady.
When you study when to buy a stock, a durable margin like that is exactly the kind of quality clue you are hunting for.
Gross Margin vs. Operating Margin vs. Net Margin
Gross margin is one of three profit margins investors watch, and each one strips out more cost than the last.
| Margin | Formula | What it accounts for |
|---|---|---|
| Gross margin | Gross profit ÷ revenue | Only the direct cost of the goods |
| Operating margin | Operating income ÷ revenue | Goods cost plus running the business |
| Net margin | Net earnings ÷ revenue | Everything, including interest and taxes |
Using the Home Depot numbers above, the gross margin is about 34%, but by the time you reach net earnings of $16.4 billion, the net margin - the bottom-line profit on every sales dollar - is closer to 11%.
If you want to go a layer deeper on the middle row, our guides on operating margin and EBITDA pick up right where this one leaves off.
Why Gross Margin Matters to Investors
Gross margin answers a basic question: does this company actually make money on the core thing it sells, before any overhead?
If the gross margin is thin or shrinking, every other profit number below it is fighting uphill.
A healthy gross margin does a few things for the business and for you as a part-owner:
- It funds the operating expenses needed to grow.
- It leaves room for free cash flow - the cash a company has left after its bills and reinvestment.
- It gives management the choice to pay dividends, buy back shares, or pay down debt.
That last point is the heart of it. After all the bills are paid, those net earnings belong to shareholders - which is one reason gross margin sits near the top of any serious look at a company's assets and earning power.
How Investors Use Gross Margin to Value a Company
Gross margin is not just a report-card stat. It is a building block for figuring out what a business is worth.
One common method projects a company's future revenue, then multiplies it by an expected gross margin to estimate future profits.
That is why analysts assume a margin and carry it forward. For Home Depot, you might assume it keeps earning roughly its long-run 33% gross margin, then work down to future profits and free cash flow from there.
This is the same muscle you use across the rest of financial analysis:
- Reading the income statement to see where the money goes.
- Checking return on equity to see how well a company turns investor money into profit.
- Using enterprise value to compare two stocks more fairly than price alone.
- Watching working capital to see if a business can cover its short-term bills.
Together these tell you whether a company is well run, and whether the stock is a fair deal. Margins are simply the first chapter of that story.
The Bottom Line on Gross Margin
Gross margin is the cleanest first look at a company's quality.
It shows how much a business keeps on every sale before overhead, it reveals pricing power when it holds steady, and it feeds straight into how investors value the publicly traded companies they own.
Master this one number and the rest of the income statement gets a lot less intimidating - which is the whole point of learning when to buy a stock and, just as importantly, when to sell one.
We turn numbers like this into a two-minute read every morning in Market Briefs, our free daily newsletter. Join free and start reading the market like an owner, not a guesser.

