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.

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.