Moatery

Build your investment theses, one lens at a time

MSFT (Microsoft): The Widest Software Moat on Earth?

2026-07-09 · Read on Substack →

MSFT (Microsoft): The Widest Software Moat on Earth?

By Moatery | July 9, 2026


Microsoft at ~$383: Down 23% from its 52-week high. A company that prints >$125B in annual profit, owns the operating system for the corporate world, and is spending $97B/year on AI infrastructure. The market has decided to hate it anyway.

In a world obsessed with finding the next AI moonshot, Microsoft is the boring answer: the infrastructure layer that every AI company needs, the enterprise distribution no startup can replicate, and the pricing power that sends operating margins toward 47%.

Three years ago, MSFT traded at 35x earnings. Today it trades at 23x. The business is stronger. The price is lower. Something has to give.

Let's run it through all six lenses.


Quick Background

| Metric | TTM (Mar '26) | FY2025 | FY2024 | |---|---|---|---| | Revenue | $318.3B | $281.7B | $245.1B | | Revenue Growth | 17.88% | 14.93% | 15.67% | | Net Income | $125.2B | $101.8B | $88.1B | | Operating Income | $149.0B | $128.5B | $109.4B | | Free Cash Flow | $72.9B | $71.6B | $74.1B | | Operating Margin | 46.80% | 45.62% | 44.64% | | EPS (Diluted) | $16.80 | $13.64 | $11.80 | | CapEx | $97.2B | $64.6B | $44.5B | | Market Cap | ~$2.85T | — | — | | P/E (TTM) | 23.16x | — | — | | EV/EBITDA | 15.71x | — | — | | FCF Yield | 2.56% | — | — | | ROIC | 27.24% | — | — |

Microsoft operates four major segments:

  1. Azure + Cloud Services (~45% of revenue) — IaaS, PaaS, AI workloads

  2. Office / M365 + LinkedIn (~30%) — Productivity cloud, enterprise subscriptions

  3. Windows + Devices (~15%) — OEM licensing, Surface, Xbox

  4. Other (~10%) — Search, gaming (Activision), enterprise services

The critical recent development: CapEx exploded from $44.5B (FY2024) to $97.2B (TTM) as Microsoft builds out AI data centers. The market is punishing this spend without waiting to see the returns.


Lens 1: Benjamin Graham (Deep Value / Margin of Safety)

Verdict: ⚠️ Interesting. Not classic deep value, but compelling for what it is.

Graham would look at MSFT the same way he looked at GE in the 1950s — a high-quality industrial that happens to trade at a reasonable multiple, but not a net-net or cigar butt.

The Graham Calculation:

But here's where Graham gets interesting: Graham didn't just use rigid formulas. His core question was: Can you avoid permanent capital loss?

With MSFT at 23x earnings, $72.9B in FCF, a fortress balance sheet, and 20 consecutive years of dividend increases... permanent capital loss seems unlikely. The formula fails because it was designed for industrial asset-heavy businesses, not high-margin software platforms.

Graham's Bottom Line: "Not a deep value in the classic sense — no margin of safety by the numbers. But this is a better business than 99% of what I'd buy at 50% of book value. The price could fall further, but permanent loss of capital is low. This deserves a look, which is more than I can say for most tech stocks at these multiples."

Grade: Hold — not a deep value bargain, but the margin of safety comes from the business quality, not the balance sheet.


Lens 2: Warren Buffett (Quality Moat / Durable Competitive Advantage)

Verdict: ✅ Yes. This is exactly what Buffett looks for.

Buffett's four-question framework maps beautifully onto Microsoft:

1. Can we understand the business 10 years out? Yes. Microsoft's core businesses are subscription-based enterprise software:

2. Does it have a durable competitive advantage (moat)? Yes — multiple, reinforcing moats:

Moat Scorecard: | Moat Type | Score | Evidence | |---|---|---| | Cost Advantage | 2/3 | Unmatched AI capex capacity | | Switching Costs | 3/3 | M365 lock-in, Azure AD, enterprise agreements | | Network Effects | 2/3 | Ecosystem compounding: M365→Azure→Power Platform | | Intangible Assets | 3/3 | 40+ years of enterprise trust, security certs, brand | | Efficient Scale | 2/3 | Cloud oligopoly — only 3 real players globally | | Total | 12/15 | One of the widest moats in public markets |

3. Does the business generate high returns on tangible capital?ROIC of 27.24%. This is extraordinary. Microsoft generates ~$0.27 of profit for every dollar of capital invested. For comparison, most "good" businesses have ROIC of 10-15%.

The pre-AI era CapEx (FY2023: $28B) was modest and generated 30%+ ROIC. The new AI CapEx ($97B) will depress ROIC in the short term, but if Azure AI becomes a $100B+ revenue stream (which is the stated trajectory), ROIC will recover.

4. Can a fool run this business? This is the biggest question for anyone who watched Ballmer's tenure (2000-2014: $0 stock return).

Evidence for YES: Under Nadella (2014-present), MSFT went from $36 to $383+. Nadella built the self-sustaining culture. He opened Microsoft to Linux, put Office on iPad, acquired LinkedIn/GitHub/Activision. The flywheel is now institutionalized.

Evidence for UNCERTAINTY: AI strategy is deeply personal to Nadella. The partnership with OpenAI created a dependency. If anything happens to Satya, succession risk is real but manageable — Microsoft has one of the deepest benches in tech (Amy Hood, Scott Guthrie, Kevin Scott, Jason Zander).

Buffett's Bottom Line: "This is a world-class business with a wide, enduring moat, predictable earnings, high returns on capital, and a management team that has proven its capital allocation skill. At 23x earnings — lower than its 5-year average of 30x — it's finally within striking distance of a reasonable purchase price. Microsoft is the kind of business I'd buy and forget. "

Grade:BUY — One of the widest moats in the market, now at a reasonable price.


Lens 3: Peter Lynch (Growth at a Reasonable Price / Story Stock)

Verdict: ✅ Interesting GARP candidate.

Lynch categorized stocks into six types. Microsoft fits multiple categories:

Lynch's Checklist:

Growth Drivers:

  1. Azure AI: Growing 30%+ per year, accelerating. The AI workload shift is real.

  2. M365 Copilot: AI pricing uplift ($30/user/month) adds to existing enterprise subscriptions.

  3. Gaming: Activision acquisition adds $20B+ in revenue, though margins are lower.

  4. Share buybacks: $22.2B in TTM buybacks + $25.9B in dividends = $48B returned. That's 1.7% shareholder yield.

Lynch's Bottom Line: "23x earnings on an 18% grower with 47% operating margins and accelerating revenue. The PEG is 1.3 — within my buy zone for a stalwart. The AI story is real, the CapEx is scary but necessary, and the market is treating it like a dying business (down 23%). This is a quintessential GARP opportunity. The market is confusing massive capex with value destruction. I think they're wrong."

Grade:GARP BUY — PEG 1.3, accelerating growth, market pessimism.


Lens 4: Li Lu (Long-Arc Quality / Enduring Value Creation)

Verdict: ✅ Yes. This is a long-arc compounder at a rare discount.

Li Lu looks for businesses that can compound value over 10-20 years with three criteria:

1. Enduring competitive advantage? Yes, with near-certainty. Enterprise software stickiness is one of the most durable advantages in business. Microsoft's position in the enterprise is not just strong — it's structural. The regulations, compliance requirements, security certifications, and integration layers take years for competitors to match.

More importantly: The moat is getting deeper, not shallower. AI is raising the switching costs, not lowering them. As companies integrate Copilot, build on Azure AI, and run their data through Microsoft Fabric, their dependence on Microsoft increases.

2. Superior capital allocation? Nadella has been one of the best capital allocators in tech history:

The only question is Activision ($69B), which was purchased at a rich price. But even if gaming never reaches Microsoft's ROI targets, it doesn't materially damage the rest of the business.

3. Management with aligned incentives? ✅ Nadella owns ~$2B in MSFT stock. Compensation is almost entirely performance-based (stock awards with long vesting). The capital allocation strategy (return excess cash via buybacks + dividends) is aligned with shareholders.

Li Lu's Bottom Line: "This is exactly the kind of business I look for. Dominant, embedded, compounding. The AI buildout is creating a temporary CapEx headwind that will look brilliant in hindsight — just like Amazon's warehouse buildout in 2013 looked insane at the time. At 23x earnings for a 27% ROIC business with 20-year compounding visibility, this is a rare discount. If you can hold for 10 years, this will produce extraordinary returns."

Grade:LONG-ARC BUY — Best long-arc opportunity in large-cap tech.


Lens 5: Howard Marks (Cycle / Psychology / Risk)

Verdict: ✅ Buy — Sentiment cycle is in your favor.

Marks asks two questions: Where are we in the cycle? What's the risk/reward asymmetry?

Cycle Position:

Risk/Reward Asymmetry:

Asymmetry ratio: ~3.5:1 (upside 56% / downside 14%)

Marks considers 3:1 or better compelling. This is there.

Key risks:

Marks' Bottom Line: "The cycle is in your favor. Pessimism about AI CapEx has created a window. The asymmetry is 3.5:1 in your favor. Microsoft is not a cigar butt — it's a high-quality business trading at a cycle-low multiple. I'd buy with confidence."

Grade:BUY — Sentiment is overly pessimistic for the underlying business quality.


Lens 6: Carl Icahn (Activist / Catalyst / Asset Value)

Verdict: ⚠️ Sum of parts says "buy," but catalyst is unclear.

Icahn asks: What is the hidden value, and what forces management to unlock it?

Sum-of-Parts Valuation:

| Segment | Est. Revenue (est.) | Multiple | Value | Basis | |---|---|---|---|---| | Azure/Cloud | ~$135B | 8x sales | $1.08T | High-growth cloud infra, ~30% growth | | M365/Office | ~$95B | 10x sales | $950B | Enterprise subscription, high margins, recurring | | Windows + Surface | ~$45B | 5x sales | $225B | Mature, declining, cash cow | | LinkedIn | ~$20B | 8x sales | $160B | Professional social monopoly | | Gaming (Activision) | ~$25B | 4x sales | $100B | Lower margins, volatile | | Search & Other | ~$15B | 5x sales | $75B | Bing, Edge, enterprise services | | Sum of Parts | | | ~$2.59T | |

Current market cap: ~$2.85T.

Sum of parts is actually LESS than the current market cap. That's not typical for an Icahn target — usually he finds assets valued at a discount. But the sum-of-parts analysis understates the value because:

  1. Cross-segment synergies are real (Azure + M365 + LinkedIn data + AI = more than the sum)

  2. The AI growth option is not captured — Azure AI could be a $100B+ business in 5 years

  3. The moat premium (low risk of disruption, high pricing power) should command a premium

What an activist might push for:

Icahn's Bottom Line: "The sum of parts isn't obviously below market cap, but there's value to be unlocked. The AI CapEx is either the best investment in corporate history or a massive overbuild. I'd buy and push for: (1) more aggressive buybacks at these prices, (2) a gaming spin-off, and (3) capital return discipline. Without the activist angle, it's still a good business at a fair price. With it, there's 30-50% upside."

Grade: ⚠️ BUY (passive) / BUY (activist) — Fair value approximates current price, but AI optionality and capital returns create upside.


The Moatery Synthesis

This is one of the cleanest consensus Buys across all six lenses I've analyzed so far.

| Lens | Verdict | Key Reason | |---|---|---| | Graham | ⚠️ Hold | Formula says no, but business quality creates safety | | Buffett | ✅ Buy | Widest moat in software, 27% ROIC, reasonable price | | Lynch | ✅ Buy | PEG 1.3, accelerating growth, market pessimism | | Li Lu | ✅ Buy | Long-arc compounder at a rare discount | | Marks | ✅ Buy | Sentiment cycle favorable, 3.5:1 asymmetry | | Icahn | ⚠️ Buy | Sum-of-parts near fair value, AI optionality is free |

The Bottom Line

Microsoft at $383 is the most compelling large-cap tech buy in the market today.

The bear case is simple: $97B in CapEx with uncertain returns, Azure growth deceleration risk, gaming margin dilution. The bull case is even simpler: one of the best businesses in history, trading at 23x earnings (below 5-year average), with accelerating revenue growth and expanding margins.

The market is pricing Microsoft as if the AI buildout will destroy value. History suggests the opposite: platform shifts (cloud, mobile, internet) reward the investors who showed up during the heavy investment phase, not the ones who waited for ROI to materialize.

For a Moatery investor:

MSFT is the widest software moat trading at a cycle-low multiple. That's what the Moatery framework was built to find.


This analysis was generated using the Moatery multi-lens framework. The six lenses are tools for thinking, not recommendations. Always do your own research.

Next up: AMZN — The Everything Company's Moat in the Age of AI?

Get investment analysis delivered to your inbox.

Subscribe on Substack →