Microsoft deep dive: cloud and AI returns, and the price of capex
Moat score 81/100 (Buffett criteria, wide moat). Revenue has not fallen in eleven fiscal years, operating income grew every year and ROIC has stayed above 28% for six years. The new issue is capex: $115.9bn in FY2026, 63% of operating cash flow, with FCF margin down from 33% to 20%. Shares fell 34.5% from the high, then hit a new high. At about 27x earnings the price assumes low-double-digit profit growth.
2026-11-02
Data as of 2026-11-02: financials through fiscal 2027 Q1 (quarter ended 2026-09-30); prices through the 2026-10-30 close. AI-assisted research, not investment advice. All financials come from SEC EDGAR 10-K / 10-Q filings and XBRL data. Anything I could not find is said so. Microsoft's fiscal year ends June 30 (FY2026 = Jul 2025 to Jun 2026).
Bottom line
Moat score 81/100 (Buffett criteria, details below): a wide moat. Operating income has grown every year for eleven fiscal years, ROIC has stayed above 28% for six straight years, and gross margin has held between 64% and 70%.
FY2026 revenue was $331.8bn (+17.8%), net income $133.7bn (+31%), operating margin 46.8%. What changed is capital spending: FY2026 capex was $115.9bn, more than four times three years earlier, and the latest quarter (FY2027 Q1) added $39.4bn, double a year ago. Free-cash-flow margin fell from 33% in FY2021 to 20% in FY2026.
So the question is no longer whether the business is good. It is three things: whether AI data-centre spending earns enough to justify this capex, how dependent the company is on OpenAI, and how much of this is already in a roughly 27x trailing P/E. The shares fell 34.5% from an October 2025 peak to June 2026, then recovered to a new high (about $543, dividend-adjusted) in October 2026.
Snapshot
| Metric | Value | Note |
|---|---|---|
| Price / market cap | $521.91 / about $3.9tn | 2026-10-30 close; about 7.45bn diluted shares (FY2026 weighted) |
| P/E (trailing four quarters, GAAP) | about 27x | trailing EPS $19.15 |
| FY2026 revenue / net income | $331.8bn / $133.7bn | +17.8% / +31% |
| FY2026 gross / operating / net margin | 67.9% / 46.8% / 40.3% | net income includes $6.5bn pre-tax OpenAI investment gains |
| FY2027 Q1 revenue / operating income / net income | $92.3bn / $45.9bn / $36.6bn | +18.8% / +21.0% / +32% |
| Microsoft Cloud revenue (FY2026) | $214.4bn | +27%; Azure and other cloud services +41% |
| Commercial remaining performance obligation (2026-09-30) | $677bn | +73%, weighted average duration about 2.3 years |
| Free cash flow, trailing four quarters | about $60bn | operating cash flow $195.9bn minus capex $135.9bn; FCF yield about 1.5% |
| Cash and short-term investments / long-term debt | $76.8bn / $40.3bn | 2026-06-30; excludes lease obligations |
| Employees | about 223,000 | 2026-06-30 |
Segments
Through FY2026 Microsoft reported three segments, and the charts below use that basis (gross profit = segment revenue minus segment cost of revenue, from the segment note):
| FY2026 | Revenue ($bn) | YoY | Gross margin | Operating income ($bn) | Operating margin |
|---|---|---|---|---|---|
| Productivity and Business Processes (Office, LinkedIn, Dynamics) | 140.0 | +15.9% | 82.1% | 83.9 | 59.9% |
| Intelligent Cloud (Azure, server products) | 137.8 | +29.7% | 58.0% | 57.0 | 41.3% |
| More Personal Computing (Windows, devices, gaming, search) | 54.1 | -1.1% | 56.6% | 14.4 | 26.6% |
| Total | 331.8 | +17.8% | 67.9% | 155.2 | 46.8% |
Three observations:
- Intelligent Cloud is where growth and spending concentrate. Revenue rose from $87.5bn (FY2024) to $137.8bn (FY2026), but gross margin fell from 66.1% to 58.0% (62.2% in FY2025); quarterly gross margin slid from 64% in FY2025 Q1 to 57% in FY2026 Q4. That fits rising AI infrastructure depreciation and cost. The 10-K says cloud and AI investment "will continue to increase our operating costs and may decrease our operating margins", and attributes the fall in Microsoft Cloud gross margin to 66% to AI infrastructure and growing AI product usage.
- Productivity and Business Processes is the profit base. An 82% gross margin and 60% operating margin; about 51% of total gross profit (about $115bn in FY2026).
- More Personal Computing is flat in revenue, but its gross margin improved from 51% in FY2024 to 56.6%.
New segments. In September 2026 the company announced two segments from FY2027 and recast the prior-year quarter:
| Jul to Sep 2026 (FY2027 Q1) | Revenue ($bn) | YoY | Gross margin | Operating income ($bn) | YoY |
|---|---|---|---|---|---|
| Agents and Infra (apps and agents, multi-model system, Azure infrastructure) | 76.8 | +24.5% | 68.9% (71.3% a year ago) | 40.6 | +24% |
| Devices and Consumer (search and advertising, Xbox, Windows OEM and devices) | 15.5 | -3.2% | 62.3% (60.4% a year ago) | 5.4 | +2% |
The new basis is recast for only one prior quarter, so no long series exists and the charts use the old basis. Both tell the same story: cloud and AI grow fast with margins dragged down by infrastructure cost; the consumer side is stable but not growing.
Financial quality
Eleven years of returns and cash flow (figures in $bn. ROE = net income / average equity; ROIC = operating income x (1 - effective tax rate) / average (equity + long-term debt), using actual effective tax rates from FY2020.)
| FY | Revenue | Gross margin | Operating margin | Net income | ROE | ROIC | Operating cash flow | Capex | Free cash flow |
|---|---|---|---|---|---|---|---|---|---|
| 2016 | 91.2 | 64.0% | 28.6% | 20.5 | 25.2% | n/a | 33.3 | 8.3 | 25.0 |
| 2017 | 96.6 | 64.5% | 30.1% | 25.5 | 29.8% | n/a | 39.5 | 8.1 | 31.4 |
| 2018 | 110.4 | 65.2% | 31.8% | 16.6 | 19.4% | n/a | 43.9 | 11.6 | 32.3 |
| 2019 | 125.8 | 65.9% | 34.1% | 39.2 | 42.4% | n/a | 52.2 | 13.9 | 38.3 |
| 2020 | 143.0 | 67.8% | 37.0% | 44.3 | 40.1% | 24.8% | 60.7 | 15.4 | 45.2 |
| 2021 | 168.1 | 68.9% | 41.6% | 61.3 | 47.1% | 31.6% | 76.7 | 20.6 | 56.1 |
| 2022 | 198.3 | 68.4% | 42.1% | 72.7 | 47.2% | 34.8% | 89.0 | 23.9 | 65.1 |
| 2023 | 211.9 | 68.9% | 41.8% | 72.4 | 38.8% | 30.5% | 87.6 | 28.1 | 59.5 |
| 2024 | 245.1 | 69.8% | 44.6% | 88.1 | 37.1% | 31.6% | 118.5 | 44.5 | 74.1 |
| 2025 | 281.7 | 68.8% | 45.6% | 101.8 | 33.3% | 30.2% | 136.2 | 64.6 | 71.6 |
| 2026 | 331.8 | 67.9% | 46.8% | 133.7 | 34.0% | 28.8% | 182.9 | 115.9 | 67.0 |
- The good side: operating margin rose from 28.6% to 46.8%; ROIC has been around 25% or higher since 2020; operating cash flow grew 5.5x in ten years; buybacks plus dividends ran $23bn to $51bn a year ($48.7bn in FY2026), and diluted shares fell from 8.01bn to 7.45bn.
- The watch side: the FY2018 dip in net income to $16.6bn was a one-time US tax-reform charge (income tax $19.9bn that year), not an operating decline. ROE and ROIC both slipped in FY2026 (ROIC 31.6% to 28.8%) as equity and invested capital grew faster than profit. The bigger change is capex as a share of operating cash flow: 27% in FY2021, 63% in FY2026, and 68% in FY2027 Q1 ($39.4bn of $58.0bn).
- Debt: long-term debt $40.3bn against $76.8bn of cash and short-term investments. Data-centre lease commitments are not included here; see the 10-K for the full leverage picture.
- Earnings quality: FY2026 net income of $133.7bn includes net OpenAI investment gains ($6.5bn pre-tax); the same item was a $4.8bn loss in FY2025. Excluding it, FY2026 adjusted net income was $128.8bn (+22%). Microsoft owns about 24% of OpenAI (equity method), so this line will keep adding noise.
Cyclical performance
Revenue, profit and R&D are from EDGAR. "Average price" is the mean daily close within each fiscal year, using the store's dividend-adjusted series, so historic numbers are below the prices actually quoted then; use it for trend only. "Cycle node" is the author's annotation from public filings, not a computed result.
| FY | Revenue ($bn) | YoY | Net income | R&D | R&D % rev | Avg price (adj.) | Cycle node |
|---|---|---|---|---|---|---|---|
| 2016 | 91.2 | n/a | 20.5 | 12.0 | 13.2% | 43.9 | Early cloud transition |
| 2017 | 96.6 | +5.9% | 25.5 | 13.0 | 13.5% | 55.7 | Slowest revenue growth of the decade |
| 2018 | 110.4 | +14.3% | 16.6 | 14.7 | 13.3% | 78.5 | One-time US tax-reform charge cuts net income |
| 2019 | 125.8 | +14.0% | 39.2 | 16.9 | 13.4% | 105.0 | Tax charge gone, net income more than doubles |
| 2020 | 143.0 | +13.6% | 44.3 | 19.3 | 13.5% | 148.5 | Pandemic remote-work and cloud demand |
| 2021 | 168.1 | +17.5% | 61.3 | 20.7 | 12.3% | 217.1 | Growth and valuation peak together |
| 2022 | 198.3 | +18.0% | 72.7 | 24.5 | 12.4% | 285.6 | Rate-hike cycle; shares fall 37% from the high |
| 2023 | 211.9 | +6.9% | 72.4 | 27.2 | 12.8% | 260.1 | Growth slows to 7%, net income flat |
| 2024 | 245.1 | +15.7% | 88.1 | 29.5 | 12.0% | 370.3 | Generative AI and Azure speed up |
| 2025 | 281.7 | +14.9% | 101.8 | 32.5 | 11.5% | 418.2 | Capex rises to $64.6bn |
| 2026 | 331.8 | +17.8% | 133.7 | 35.6 | 10.7% | 456.5 | Capex $115.9bn; shares fall 34.5% from the high, then recover |
What the data shows
- Microsoft's profits are almost acyclical. Revenue did not fall in any of the eleven fiscal years, and operating income grew every year ($26.1bn to $155.2bn). The one drop in net income (FY2018) was a one-time tax item. By contrast Xiaomi's 2022 revenue fell only 14.7% while adjusted profit fell 61%.
- The share-price cycle comes from valuation, not profit. The adjusted price fell from $329.9 (Nov 2021) to $207.3 (Nov 2022), down 37.1%, yet FY2022 operating income grew 19% and FY2023 grew 6%. From Nov 2007 to Mar 2009 the fall was 57.9% (adjusted $26.3 to $11.1; the financial crisis). Both falls were fully recovered as profits kept growing.
- The latest fall (Oct 2025 to Jun 2026, -34.5%) looks different. It happened while profit was growing 31%. Over the same stretch capex rose from $64.6bn to $115.9bn and FCF margin fell from 25.4% to 20.2%. That fits a market worried about AI returns, but this is my inference from the numbers; I did not find a reliable source for the market's reasoning.
- R&D is falling as a share of revenue but rising in dollars: 13.2% to 10.7% of revenue, $12.0bn to $35.6bn. What is accelerating is capex (buildings and equipment), not R&D.
- Buyback rhythm: $32.7bn in FY2022 (near the high), $22.2bn and $17.3bn in FY2023 and FY2024 (pullback years), $22.3bn in FY2026. Buybacks do not especially lean into weakness; it looks like a steady dividend-plus-buyback policy.
Moat score: 81 / 100 (wide moat)
Standard: Buffett's moat test. A moat is a durable competitive advantage that protects the economic castle; the test is whether competitors can easily copy its high returns. Four sources are considered (brand and pricing power, switching costs, network effects, cost advantage), plus whether they show up as steady, high returns on capital and predictable earnings. Same weights as the Xiaomi report, no cycle adjustment.
| Dimension | Weight | Score | Weighted | Basis |
|---|---|---|---|---|
| Brand and pricing power | 20 | 8.5 | 17.0 | Gross margin 64% to 70% for eleven years (67.9% in FY2026); 82% in Productivity and Business Processes; enterprises treat it as infrastructure. Deduction: in Azure, pricing power is weaker than in office software |
| Switching costs and ecosystem | 15 | 9.0 | 13.5 | Deep multi-year enterprise contracts across Microsoft 365, Windows Server, SQL Server, Dynamics and Azure. Commercial RPO of $677bn with about 2.3 years average duration |
| Network effects | 10 | 6.5 | 6.5 | LinkedIn, GitHub and the Windows developer ecosystem have network effects; Azure and Office are more scale plus stickiness |
| Cost advantage and scale | 15 | 8.0 | 12.0 | One of the largest cloud and software scales, operating margin 46.8%. Deductions: AI infrastructure is spend-first, cloud gross margin is falling, and GPU supply is external |
| Persistence of capital returns | 20 | 9.0 | 18.0 | ROIC 25% to 35% and ROE 33% to 47% over FY2020 to FY2026, well above Buffett's usual 15% test; operating cash flow up 5.5x in ten years |
| Earnings predictability and capital needs | 20 | 7.0 | 14.0 | No revenue decline in eleven years and operating income up every year; deductions for sharply higher capital needs (capex 63% of operating cash flow, FCF margin 20%) and OpenAI exposure |
| Total | 100 | 81.0 |
Bands: 75+ is a wide moat, 55 to 75 narrow, below 55 no clear durable moat. Microsoft's 81 is in the wide band; against Xiaomi's 46, the gap is mainly capital-return persistence (18.0 vs 9.0) and predictability (14.0 vs 7.0).
What would lower the score: capex keeps climbing while cloud gross margin and ROIC keep falling, meaning new spending earns less than old; a major change in the OpenAI relationship; or enterprises moving in volume to other AI platforms. What would raise it: capex intensity easing and cloud gross margin stabilising.
Management and capital allocation
- Satya Nadella is CEO. From the numbers, the headline achievement of his tenure is the cloud transition: operating margin from 28.6% (FY2016) to 46.8% (FY2026).
- Allocation: eleven years of heavy buybacks and dividends (about $48.7bn in FY2026) alongside doubling AI data-centre spending. The choice is to put more cash into capex rather than more buybacks.
- OpenAI: about 24% equity stake, central to the AI strategy and the largest concentration risk. I did not find the full contract terms and cannot judge the stake's ultimate value.
- I did not dig into executive pay, insider trading or board structure; they should be added later.
Key risks
- Return on AI capex. FY2026 capex $115.9bn; FY2027 Q1 alone $39.4bn (vs $19.4bn a year earlier). If cloud revenue growth does not keep up with depreciation, margins will come under pressure.
- OpenAI dependence. A 24% stake plus cloud contracts. Trouble at OpenAI or a change in the relationship would hit revenue and net income (net income already swings on this item).
- Falling cloud gross margin. Intelligent Cloud went from 66.1% (FY2024) to 58.0% (FY2026). On the new basis, Agents and Infra gross margin was 68.9% in FY2027 Q1, down 2.4 points year over year.
- Valuation. About 27x trailing earnings and a FCF yield near 1.5% mean a lot of growth is already priced in.
- Regulation and competition. Antitrust and AI regulation, plus Amazon and Google in cloud and AI. This report has no peer comparison (see below).
Valuation framework
A simple way to see what must be believed, not a forecast. Market cap is about $3.9tn ($521.91 x about 7.45bn shares); trailing four-quarter net income is about $142.6bn (FY2026 $133.7bn minus FY2026 Q1 $27.7bn plus FY2027 Q1 $36.6bn).
| Annual net income growth for three years | Net income in three years ($bn) | P/E on today's market cap |
|---|---|---|
| 10% | 189.8 | about 20.5x |
| 15% | 216.9 | about 17.9x |
| 20% | 246.4 | about 15.8x |
For reference, net income grew about 17% a year from FY2021 to FY2026 ($61.3bn to $133.7bn, including OpenAI gains and losses). Takeaway: the price roughly assumes net income keeps growing at low double digits and that capex eventually converts to profit. If growth drops below 10%, or capex keeps weighing on free cash flow, today's price is not cheap. A FCF yield of only about 1.5% means cash returns depend on profit growth coming through, not on today's payout.
What to watch next
- FY2027 Q2 results (usually late January): Agents and Infra gross margin, capex and free cash flow.
- Growth and conversion of commercial RPO ($677bn at 2026-09-30).
- Whether Azure growth (+41% in FY2026) holds; Microsoft discloses growth rates, not dollar amounts.
- OpenAI-related gains and losses and any change to the partnership.
- Whether capex intensity (63% to 68% of operating cash flow) eases.
Sources and limits
- Financials: Microsoft 10-K (FY2026), 10-Q for FY2027 Q1 (2026-09-30), the first three FY2026 10-Qs, and EDGAR XBRL company facts. Prices: dividend-adjusted closing prices.
- Method: ROE, ROIC, free cash flow and trailing figures are computed from those filings; Q4 segment data = full year minus first nine months. The generating script is `scripts/research/msft_data.py` in the repository.
- Not obtained: Azure revenue in dollars, peer comparison (AWS, Google Cloud), full finance and data-centre lease commitments, OpenAI contract terms, executive pay and insider trading, analyst estimates. These will be added in later versions.