← All research

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

MetricValueNote
Price / market cap$521.91 / about $3.9tn2026-10-30 close; about 7.45bn diluted shares (FY2026 weighted)
P/E (trailing four quarters, GAAP)about 27xtrailing EPS $19.15
FY2026 revenue / net income$331.8bn / $133.7bn+17.8% / +31%
FY2026 gross / operating / net margin67.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 quartersabout $60bnoperating cash flow $195.9bn minus capex $135.9bn; FCF yield about 1.5%
Cash and short-term investments / long-term debt$76.8bn / $40.3bn2026-06-30; excludes lease obligations
Employeesabout 223,0002026-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):

FY2026Revenue ($bn)YoYGross marginOperating income ($bn)Operating margin
Productivity and Business Processes (Office, LinkedIn, Dynamics)140.0+15.9%82.1%83.959.9%
Intelligent Cloud (Azure, server products)137.8+29.7%58.0%57.041.3%
More Personal Computing (Windows, devices, gaming, search)54.1-1.1%56.6%14.426.6%
Total331.8+17.8%67.9%155.246.8%

Three observations:

  1. 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.
  2. 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).
  3. 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)YoYGross marginOperating 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.)

FYRevenueGross marginOperating marginNet incomeROEROICOperating cash flowCapexFree cash flow
201691.264.0%28.6%20.525.2%n/a33.38.325.0
201796.664.5%30.1%25.529.8%n/a39.58.131.4
2018110.465.2%31.8%16.619.4%n/a43.911.632.3
2019125.865.9%34.1%39.242.4%n/a52.213.938.3
2020143.067.8%37.0%44.340.1%24.8%60.715.445.2
2021168.168.9%41.6%61.347.1%31.6%76.720.656.1
2022198.368.4%42.1%72.747.2%34.8%89.023.965.1
2023211.968.9%41.8%72.438.8%30.5%87.628.159.5
2024245.169.8%44.6%88.137.1%31.6%118.544.574.1
2025281.768.8%45.6%101.833.3%30.2%136.264.671.6
2026331.867.9%46.8%133.734.0%28.8%182.9115.967.0

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.
FYRevenue ($bn)YoYNet incomeR&DR&D % revAvg price (adj.)Cycle node
201691.2n/a20.512.013.2%43.9Early cloud transition
201796.6+5.9%25.513.013.5%55.7Slowest revenue growth of the decade
2018110.4+14.3%16.614.713.3%78.5One-time US tax-reform charge cuts net income
2019125.8+14.0%39.216.913.4%105.0Tax charge gone, net income more than doubles
2020143.0+13.6%44.319.313.5%148.5Pandemic remote-work and cloud demand
2021168.1+17.5%61.320.712.3%217.1Growth and valuation peak together
2022198.3+18.0%72.724.512.4%285.6Rate-hike cycle; shares fall 37% from the high
2023211.9+6.9%72.427.212.8%260.1Growth slows to 7%, net income flat
2024245.1+15.7%88.129.512.0%370.3Generative AI and Azure speed up
2025281.7+14.9%101.832.511.5%418.2Capex rises to $64.6bn
2026331.8+17.8%133.735.610.7%456.5Capex $115.9bn; shares fall 34.5% from the high, then recover

What the data shows

  1. 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%.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

DimensionWeightScoreWeightedBasis
Brand and pricing power208.517.0Gross 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 ecosystem159.013.5Deep 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 effects106.56.5LinkedIn, GitHub and the Windows developer ecosystem have network effects; Azure and Office are more scale plus stickiness
Cost advantage and scale158.012.0One 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 returns209.018.0ROIC 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 needs207.014.0No 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
Total10081.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

Key risks

  1. 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.
  2. 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).
  3. 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.
  4. Valuation. About 27x trailing earnings and a FCF yield near 1.5% mean a lot of growth is already priced in.
  5. 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 yearsNet income in three years ($bn)P/E on today's market cap
10%189.8about 20.5x
15%216.9about 17.9x
20%246.4about 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

  1. FY2027 Q2 results (usually late January): Agents and Infra gross margin, capex and free cash flow.
  2. Growth and conversion of commercial RPO ($677bn at 2026-09-30).
  3. Whether Azure growth (+41% in FY2026) holds; Microsoft discloses growth rates, not dollar amounts.
  4. OpenAI-related gains and losses and any change to the partnership.
  5. Whether capex intensity (63% to 68% of operating cash flow) eases.

Sources and limits