EquitiesAmerica.com
Fundamental Analysisgross profit margin

Gross Margin

Gross margin measures the percentage of revenue retained after subtracting the direct costs of producing goods or services, and reflects a company's pricing power and production efficiency.

Formula
Gross Margin = (Revenue - Cost of Goods Sold) / Revenue × 100

Gross margin is calculated by subtracting the cost of goods sold (COGS) from revenue and dividing the result by revenue. It sits at the top of the profitability waterfall: a high gross margin creates a wide platform from which operating expenses, R&D, and taxes can be funded while still leaving a healthy net profit. A low gross margin company must be relentlessly efficient in all other cost categories to be profitable at all.

Software companies have historically enjoyed the highest gross margins of any industry, often in the 70-80% range, because the marginal cost of delivering another software license or cloud subscription is nearly zero. Microsoft's commercial cloud segment, which includes Azure, Office 365, and Dynamics, consistently operates at gross margins above 70%. Once the software is written and the data center infrastructure is in place, serving an additional customer costs almost nothing extra.

Apple's transformation from a pure hardware company into a hybrid hardware-plus-services model is clearly visible in its gross margin trajectory. iPhone gross margins run roughly 35-40%, while services (App Store commissions, Apple Music subscriptions, iCloud, Apple Pay) carry margins of 70-75%. As services grow as a share of total revenue, the overall blended gross margin rises — one reason analysts cheered Apple's pivot to services as a structural margin expansion story.

Retailers typically operate with much thinner gross margins. Walmart and Amazon's retail segments run in the low-to-mid single digits, relying on extraordinary scale, inventory efficiency, and ancillary services (like Amazon's third-party marketplace and AWS) to drive overall profitability. Costco's genius is deliberately keeping merchandise margins at roughly 11%, using the near-certainty of member renewals to fund operations and driving traffic that makes up for thin per-item profits.

Gross margin trends over time are as important as the level. Margin compression — falling gross margins — can signal rising input costs, price competition, or a shifting product mix toward lower-margin items. Margin expansion suggests pricing gains, a better cost structure, or a favorable shift in mix. Supply chain disruptions during 2021-2022 compressed gross margins across manufacturing industries as input costs soared, making the subsequent recovery in 2023-2024 a key driver of earnings growth.

Gross Margin by Sector: Gross margins vary so dramatically across U.S. industries that sector context is essential before any comparison is meaningful. Software and SaaS companies consistently occupy the top of the gross margin spectrum, typically posting 65-80% gross margins because delivering an additional unit of software or cloud service requires minimal incremental cost once the platform is built. Specialty pharmaceutical companies with patented products similarly enjoy high gross margins, often 70-80%, reflecting the pricing power of patent exclusivity. Branded consumer goods companies like Procter & Gamble and Colgate-Palmolive generate gross margins in the 45-55% range, supported by brand premiums that allow pricing above commodity alternatives. Industrial manufacturers typically fall in the 25-40% range, where raw material and labor costs are more significant. Auto manufacturers and consumer electronics hardware companies operate with gross margins in the 15-25% range, reflecting intense competition and high component costs. At the low end, food distribution and commodity trading businesses operate with gross margins in the low single digits, where the business model depends entirely on volume and asset efficiency rather than unit-level pricing power.

Expanding vs Contracting Margins: The direction and velocity of gross margin change over time is often more analytically significant than the absolute margin level in any single period. Gross margin expansion — rising margins driven by pricing gains, input cost deflation, favorable product mix shifts, or scale efficiencies — is one of the most powerful earnings growth drivers, because each additional point of gross margin on a large revenue base flows substantially through to operating income and net income. Apple's multi-year expansion of gross margins as its services revenue grew as a fraction of total sales is a textbook example of mix-driven margin expansion creating billions in additional operating profit without requiring proportional revenue growth. Gross margin contraction, conversely, is a leading indicator of competitive pressure, rising input costs, or a deteriorating business position that can signal sustained earnings pressure ahead. Tracking the gross margin trend over 8-12 quarters — and understanding the specific drivers behind any material changes — provides earlier warning of business quality changes than waiting for the impact to fully appear in net income or free cash flow.

Learn more on EquitiesAmerica.com

Educational only. This glossary entry is for informational purposes and does not constitute investment, tax, or legal guidance. Please consult a registered investment professional before making any investment decision.