Imagine you bake cookies and sell them for $5 each. The flour, butter, sugar, and packaging cost you $2 per box. That means you made $3 before you've paid rent on your kitchen, your own time, or anything else. That $3 — as a percentage of your $5 selling price — is your gross margin.
For public companies, gross margin works the same way. It's the first real window into how efficiently a business converts revenue into profit, and it shows up right at the top of the income statement in every 10-K and 10-Q filing. Once you understand it, you'll spot it everywhere — and you'll understand why two companies in the same industry can be wildly different businesses underneath the surface.
How Gross Margin Is Calculated
The math is straightforward. You take a company's revenue, subtract its cost of goods sold (COGS), and divide the result by revenue. Multiply by 100 to get a percentage.
Gross Margin (%) = (Gross Profit ÷ Revenue) × 100
Cost of Goods Sold (COGS) is the direct cost of making whatever the company sells. For a clothing brand, that's fabric, manufacturing, and shipping the product to a warehouse. For a software company, it might be server hosting costs and the engineers who maintain the product. It does not include rent, marketing, executive salaries, or taxes — those come later in the income statement.
A simple example
Say a company reports $100 million in revenue and $60 million in COGS. Its gross profit is $40 million, and its gross margin is 40%. That means for every dollar customers pay, the company keeps 40 cents before covering any other expenses.
Open any company's 10-K or 10-Q filing and look for the Consolidated Statements of Operations (sometimes called the income statement). Revenue and Cost of Revenue (or Cost of Sales) appear in the first few lines. Plainsheet pulls these numbers and calculates gross margin for you so you don't have to dig through the document manually.
Why Gross Margin Matters
Gross margin is a measure of business quality. A high gross margin means the company has pricing power, low production costs, or both. Those extra cents per dollar give it room to invest in growth, absorb a bad quarter, or return cash to shareholders.
A low gross margin isn't always a red flag — many perfectly good businesses operate on thin margins — but it does mean there's less cushion. If costs rise or prices need to drop to compete, a low-margin business feels it immediately.
Gross margin reveals pricing power
Companies with strong brands, loyal customers, or switching costs — meaning customers who'd find it painful to leave — can charge more than their costs warrant. Apple, for instance, consistently reports gross margins above 40%. That's extraordinary for a company that makes physical hardware. It reflects the premium customers willingly pay and the tight control Apple has over its supply chain.
It tells you how scalable the business is
Software companies often have gross margins of 70–85% because once the software is built, the cost of selling one more copy is nearly zero. That means every new customer adds almost pure profit. Compare that to a grocery chain running on 25–30% gross margins — thin, but normal for an industry that competes heavily on price and handles expensive physical goods.
What Does a Good Gross Margin Look Like?
There's no universal answer, because gross margin varies enormously by industry. The most useful comparison is always within the same sector.
| Industry | Typical Gross Margin | Why It's That Level |
|---|---|---|
| Software (SaaS) | 70–85% | Low cost to deliver each unit; no physical product |
| Pharmaceuticals | 60–80% | Patents create pricing power; manufacturing costs are low vs. price |
| Consumer electronics | 35–50% | Hardware costs, supply chains, and competition compress margins |
| Retail (apparel) | 40–55% | Product markups offset by inventory risk and logistics |
| Grocery / food retail | 20–30% | Thin markups, high competition, perishable inventory |
| Auto manufacturing | 10–20% | Enormous material costs, complex supply chains |
When comparing companies, always compare within the same industry. A 30% gross margin is a warning sign for a software business but completely healthy for a grocery chain.
What Falling Gross Margins Can Signal
Trends matter as much as the number itself. A company whose gross margin is slowly declining over several quarters or years deserves a closer look. Common reasons include:
- Rising input costs — raw materials, manufacturing, or shipping are getting more expensive and the company can't (or won't) pass those costs to customers.
- Competitive pressure — rivals are undercutting on price, forcing the company to lower its own prices to keep up.
- Product mix shift — the company is selling more of its lower-margin products and fewer of its high-margin ones.
- Loss of pricing power — customers have more alternatives or the brand isn't carrying its old premium.
Expanding gross margins, on the other hand, are often a sign of a maturing, scaling business — one that's spreading fixed production costs across more revenue, or successfully raising prices. This is exactly what long-term investors want to see.
Reading gross margin alongside revenue growth
Revenue growth alone can be misleading. If a company's revenue is rising but its gross margin is falling, it may be buying growth by cutting prices or ramping up costs faster than sales. Look at both numbers together — a company growing revenue and expanding gross margins is often the most attractive combination.
Gross Margin vs. Other Profit Margins
Gross margin is the first layer of profitability, but not the last. Here's how it sits alongside the others you'll encounter in a company's income statement:
- Gross margin — profit after the direct cost of making goods, before any other expenses.
- Operating margin — profit after COGS and operating expenses like rent, salaries, and marketing. This is a fuller picture of day-to-day efficiency.
- Net margin — profit after every expense, including taxes and interest on debt. The final bottom line.
Gross margin is the foundation. If it's weak, everything downstream — operating income, net income — is harder to sustain. If you're researching a stock before buying it, gross margin is typically one of the first metrics to check.
Don't compare the gross margin of a software company to a retail company and conclude one is "better." Industry context is everything. The question to ask is: how does this company's gross margin compare to its direct competitors, and how has it trended over the last 3–5 years?
- Gross margin measures how much profit a company retains from each dollar of sales before paying overhead expenses.
- The formula: (Revenue − Cost of Goods Sold) ÷ Revenue × 100.
- High gross margins often signal pricing power, strong brands, or scalable business models.
- Always compare gross margin within the same industry — benchmarks differ dramatically across sectors.
- A declining gross margin trend can be an early warning sign worth investigating further.
- Find the raw numbers in the income statement of any company's 10-K or 10-Q filing.
How Plainsheet Helps
See gross margin without the spreadsheet work.
Plainsheet pulls data directly from SEC filings and calculates gross margin for you — across multiple years, so you can see the trend at a glance. No downloading 10-K PDFs, no manual math. Just clear numbers and the context to understand them.
Explore a company on Plainsheet →Understanding gross margin is a fundamental step toward reading a company's finances with confidence. Once you're comfortable with it, you're ready to go deeper — into how much debt the company carries, what management says about the business in the annual and quarterly filings, and how the whole picture fits together when you're deciding whether a company is worth your money.