The Investor's Lens

Part 5: Moats — The Art of Staying Ahead

A Gilded Guide by Nick Travaglini


Series: The Investor's Lens (Part 5 of 12)
Reading Time: ~15 minutes
Status: Ready for Publication
Last Updated: April 2026


Introduction

Warren Buffett once said, "The key to investing is not assessing how much an industry is going to affect society, or how much it will grow, but rather determining the competitive advantage of any given company and, above all, the durability of that advantage."

He called these advantages "moats" — the protective barriers that keep competitors at bay, like water around a medieval castle. It's a compelling metaphor that's shaped how investors think about competitive advantage for decades.

But here's the problem: most investors focus on the wrong part of the moat.

They obsess over how wide it is today. How deep. How formidable. They catalog the sources of advantage, check them off a list, and declare the company "protected." Meanwhile, they miss the only question that actually matters for long-term investors:

Is the moat getting wider or narrower?

Consider Kodak in 2000. By any traditional measure, it had one of the widest moats in American business. A century-old brand synonymous with memories. Patents by the thousands. Manufacturing expertise that took decades to build. Distribution relationships spanning the globe. Switching costs embedded in every darkroom and photo lab.

The moat was magnificent. It was also protecting against yesterday's war.

While Kodak fortified its castle walls against other film manufacturers, digital technology was draining the moat entirely. The width didn't matter because the battlefield had shifted. By the time Kodak realized it needed digital defenses, companies with narrower but correctly positioned moats had already won.

This lesson explores competitive advantages through a different lens. Not just what protects a company today, but what will protect it tomorrow. You'll learn to distinguish between moats that compound and moats that erode, between advantages that matter and advantages that merely sound impressive.

Most importantly, you'll understand why a narrow moat that's widening beats a wide moat that's narrowing — every single time.


The Five Sources (And Why They're Not Enough)

Let's start with the canonical framework. Morningstar identifies five sources of sustainable competitive advantage, and they're worth understanding even as we'll push beyond them:

The Five Classic Moat Sources

COMPANY

Network Effects Value increases with users Meta, Visa

Switching Costs Painful to change providers Salesforce, Adobe

Cost Advantages Structural cost edge Walmart, TSMC

Intangible Assets Brands, patents, regulations Coca-Cola, Pfizer

Efficient Scale Market only supports one Utilities, Airports

These categories help identify moats... But they don't tell you if the moat is widening or narrowing

Network Effects: Each additional user makes the service more valuable for all users. Think Facebook — worthless with ten users, indispensable with three billion. Or Visa — more merchants accept it because more consumers use it, and more consumers use it because more merchants accept it.

Switching Costs: The pain (financial, operational, or psychological) of changing providers. Salesforce embeds itself so deeply in sales processes that ripping it out would paralyze revenue operations. Adobe's Creative Cloud becomes muscle memory for designers. Your doctor uses Epic's healthcare software not because it's pleasant but because switching would mean retraining staff and risking patient data.

Cost Advantages: Structural advantages that allow consistently lower costs than competitors. Walmart's distribution efficiency. TSMC's semiconductor fabrication scale. These aren't temporary — they're embedded in geography, processes, or scale that took decades to build.

Intangible Assets: Brands, patents, regulatory licenses, or other assets competitors can't replicate. Coca-Cola's brand lets them charge $2 for flavored sugar water. Pharmaceutical patents provide temporary monopolies. Banking licenses create barriers to entry.

Efficient Scale: Markets that can only efficiently support one or two players. Think utilities, airports, or rural hospitals. Competition would actually destroy value for everyone, so natural monopolies emerge.

This framework is useful for identifying moats. It's terrible for evaluating them.

Why? Because it treats moats as static fortifications when they're actually dynamic systems. Every one of Kodak's moat sources was intact as the company collapsed. Network effects among photo developers? Check. Switching costs for labs using Kodak chemistry? Check. Cost advantages in film production? Check. The Kodak brand? Still powerful.

The moat was wide. It just protected the wrong castle.


Width vs. Trajectory: The Critical Distinction

Here's the insight that changes everything: Moat trajectory matters more than moat width.

Think of competitive advantage like a river. Width tells you how hard it is to cross today. But rivers aren't static — they're either cutting deeper into the landscape or slowly filling with silt. The question isn't how wide the river is. It's whether it's becoming wider or narrower.

The Moat Trajectory Matrix

Current Moat Width → Moat Trajectory →

Narrow Wide Narrowing Widening

EMERGING WINNERS Small moat getting bigger Early Amazon, Netflix Current: Duolingo, HIMS

COMPOUNDERS Strong and getting stronger Microsoft, Costco Visa, Apple

MELTING CUBES Weak and getting weaker Most SPACs Commodity businesses

FADING GIANTS Strong but weakening IBM, Intel Cable companies

Netflix path

Kodak path

This matrix reveals why traditional moat analysis fails. Investors gravitate toward the right side — companies with wide moats. But the future returns live in the top half — companies with widening moats.

Case Study: Microsoft's Reinvention

In 2010, Microsoft looked like a fading giant. Windows still dominated PCs, but PCs were becoming less relevant. Office was ubiquitous but facing free alternatives. The moat was wide but narrowing.

Then Satya Nadella became CEO and asked a different question: not "How do we protect Windows?" but "How do we build new moats?" The answer:

Microsoft didn't defend its old moat. It built new ones. And more importantly, it built moats designed to widen over time. Azure doesn't just have scale advantages — those advantages increase with usage. Office 365 doesn't just have switching costs — those costs compound as organizations build workflows around it.

The lesson? Direction matters more than position.


The Dynamics of Moat Evolution

Understanding how moats evolve requires thinking in systems, not snapshots. Moats aren't walls — they're living things that either strengthen or weaken based on countless daily decisions and market forces.

Moats That Widen: The Reinforcement Pattern

The best moats create positive feedback loops. Each defensive success makes the next defense easier:

  1. Scale Reinforcement: Amazon's logistics moat widens with volume. More packages mean more route density, which lowers per-package costs, which enables lower prices, which drives more volume. The moat doesn't just exist — it actively widens itself.

  2. Data Reinforcement: Google's search moat widens with queries. More searches mean better algorithms, which attract more users, which generate more searches. Every query makes the moat marginally wider.

  3. Ecosystem Reinforcement: Apple's moat widens with each service. iCloud makes switching harder. Apple Pay adds another lock-in. Each addition doesn't just add revenue — it makes the entire ecosystem stickier.

Moats That Narrow: The Erosion Pattern

Conversely, some moats face constant erosion. Without active reinforcement, they inevitably narrow:

  1. Technological Erosion: Patents expire. Trade secrets leak. First-mover advantages fade. What seems like permanent technological advantage often has a countdown timer.

  2. Commoditization Erosion: As industries mature, unique features become table stakes. What was once differentiation becomes expectation. The smartphone industry shows this — features that once defined premium phones are now standard.

  3. Disruption Erosion: The most dangerous erosion comes from adjacent innovations that make the moat irrelevant. Newspapers had distribution moats until the internet made distribution free. Taxi medallions were valuable until Uber made them optional.

Case Study: HIMS — Building a Modern Moat

HIMS (Hims & Hers Health) offers a masterclass in building moats in the digital age. Starting with a simple premise — making embarrassing health conditions easier to treat — they've constructed interlocking advantages:

Trust Moat (Widening): Each successful treatment builds trust. Trust enables expansion into new conditions. More conditions mean more touchpoints. More touchpoints build more trust. It's a virtuous cycle where today's success makes tomorrow's expansion easier.

Data Moat (Widening): Every patient interaction generates data. Data improves treatment protocols. Better protocols improve outcomes. Better outcomes attract more patients. More patients generate more data. Unlike traditional healthcare, this data advantage compounds.

Convenience Moat (Widening): The platform handles consultations, prescriptions, and delivery. Each service addition makes the platform more convenient. More convenience attracts more users. More users justify more service investment. The moat widens with scale.

Notice what's missing? No patents. No exclusive supplier relationships. No regulatory protection. Yet the moat widens daily because it's built on dynamics that strengthen with use rather than weaken with time.


Reading the Signals

So how do you identify moat trajectory in real companies? Look for these signals in earnings calls, annual reports, and competitive dynamics:

Widening Moat Signals:

  1. Customer Behavior Changes
  2. "Customers are increasingly standardizing on our platform..."
  3. "We're seeing organizations expand usage across departments..."
  4. "Churn rates continue to decline as customers integrate deeper..."

  5. Competitive Dynamics

  6. "Competitors are retreating from direct competition..."
  7. "We're seeing rational pricing behavior across the industry..."
  8. "New entrants are focusing on adjacent markets rather than our core..."

  9. Economic Evidence

  10. Pricing power increasing without volume loss
  11. Customer acquisition costs declining
  12. Lifetime value expanding
  13. Win rates improving in competitive deals

  14. Investment Patterns

  15. R&D creating complementary advantages
  16. Acquisitions that plug into existing moats
  17. Infrastructure investments that competitors can't match

Narrowing Moat Signals:

  1. Commoditization Language
  2. "We're focused on cost leadership..."
  3. "Market pricing remains challenging..."
  4. "We're bundling to maintain share..."

  5. Defensive Positioning

  6. "We're protecting our installed base..."
  7. "Legal action against competitors..."
  8. "Focusing on our most profitable segments..."

  9. Economic Deterioration

  10. Pricing pressure despite brand strength
  11. Rising customer acquisition costs
  12. Shortening customer lifecycles
  13. Market share losses in core segments

  14. Strategic Confusion

  15. Frequent pivots to new markets
  16. Acquisitions outside core competency
  17. Management turnover
  18. Unclear competitive advantages

Cross-reference: For more on reading management signals, see The Wealthy Mindset Part 6: "The Information Edge"


The Moat Paradox

Here's the paradox that trips up most investors: the best time to invest in a moat is before it's obvious, but moats only become obvious once they're wide. This creates a timing challenge:

The solution isn't to wait for certainty. It's to identify the conditions that create widening moats.

The Three Conditions for Widening Moats

Self-Reinforcing Dynamics Success makes future success easier

<!-- Circle 2: Growing -->
<circle cx="120" cy="-40" r="100" fill="#C9A227" opacity="0.2" stroke="#C9A227" stroke-width="2"/>
<text x="120" y="-100" text-anchor="middle" fill="#C9A227" font-size="16" font-weight="bold" font-family="Georgia, serif">Growing</text>
<text x="120" y="-80" text-anchor="middle" fill="#C9A227" font-size="16" font-weight="bold" font-family="Georgia, serif">Market</text>
<text x="120" y="-30" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">Expanding pie</text>
<text x="120" y="-15" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">creates room</text>
<text x="120" y="0" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">to build</text>

<!-- Circle 3: Management -->
<circle cx="0" cy="60" r="100" fill="#666" opacity="0.1" stroke="#666" stroke-width="2"/>
<text x="0" y="120" text-anchor="middle" fill="#666" font-size="16" font-weight="bold" font-family="Georgia, serif">Management</text>
<text x="0" y="140" text-anchor="middle" fill="#666" font-size="16" font-weight="bold" font-family="Georgia, serif">That Gets It</text>
<text x="0" y="55" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">Invests in</text>
<text x="0" y="70" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">deepening</text>
<text x="0" y="85" text-anchor="middle" fill="#333" font-size="12" font-family="Georgia, serif">advantages</text>

<!-- Center overlap -->
<text x="0" y="-20" text-anchor="middle" fill="#8B0000" font-size="14" font-weight="bold" font-family="Georgia, serif">SWEET</text>
<text x="0" y="0" text-anchor="middle" fill="#8B0000" font-size="14" font-weight="bold" font-family="Georgia, serif">SPOT</text>

Early Amazon: ✓ All three Current Duolingo: ✓ All three Kodak 2000: ✗ None

1. Self-Reinforcing Dynamics

The advantage must strengthen with scale or usage. Network effects are obvious examples, but there are subtler versions: - Learning curves that steepen with volume - Data advantages that compound with users - Brand trust that deepens with time - Infrastructure that becomes more efficient with density

2. Growing Addressable Market

Widening moats need room to widen. A dominant position in a shrinking market is a pyrrhic victory. Look for: - Markets in early innings (cloud computing in 2010) - Markets being redefined (healthcare moving digital) - Markets being created (space logistics emerging) - Markets consolidating (winners taking share)

3. Management That Thinks in Moats

Perhaps most critical — leadership that actively invests in widening advantages rather than just harvesting them. Listen for: - Investment in seemingly "unprofitable" initiatives that deepen moats - Willingness to sacrifice short-term margins for long-term position - Clear articulation of competitive advantages - Actions that make sense through a moat-widening lens


Putting It Into Practice

Understanding moat dynamics changes how you evaluate companies. Instead of asking "Does it have a moat?" ask:

  1. What is the source of advantage? (The traditional analysis)
  2. Is that advantage widening or narrowing? (The trajectory question)
  3. What forces affect the trajectory? (The systems view)
  4. How is management investing to widen it? (The execution reality)

Let's walk through a real example:

Evaluating Spotify's Moat

Traditional Analysis: Spotify has network effects (playlists), switching costs (music libraries), and some scale advantages. Moat exists but faces pressure from Apple and Amazon.

Trajectory Analysis: - Widening forces: More users create more data, enabling better recommendations, attracting more users. Podcast exclusives create unique content moats. Artist tools create platform lock-in. - Narrowing forces: Music rights commoditized across platforms. Big tech competitors have deeper pockets. Artists have increasing power. - Net trajectory: Modestly widening in podcasts/audio, flat in pure music streaming.

Investment Implication: The moat isn't widening fast enough to justify premium valuations, but it's not narrowing either. Reasonable hold for current investors, wait for better entry for new capital.

This analysis framework — grounded in trajectory rather than snapshot — leads to better investment decisions.


The Ultimate Test

Warren Buffett offers a simple test for moat quality: "If you gave me $100 billion and told me to beat Coca-Cola in the soft drink business, I'd give it back and say it can't be done."

But here's the modern addendum: That test only matters if the battlefield remains the same. Coca-Cola's moat in sodas is irrelevant if consumers switch to energy drinks, kombucha, or cannabis beverages. The castle might be impregnable, but armies stopped laying siege centuries ago.

The ultimate test isn't whether a competitor with unlimited capital could beat you at your own game. It's whether your game will still matter in a decade.

Cross-reference: For more on identifying future business models, see The Investor's Lens Part 8: "Optionality — The Hidden Value"


Key Takeaways

As we conclude this exploration of competitive advantage, remember:

  1. Moat width describes the present. Moat trajectory predicts the future. Most investors obsess over the former while returns come from the latter.

  2. The five traditional moat sources are starting points, not ending points. They help identify advantages but say nothing about whether those advantages are strengthening or weakening.

  3. Look for self-reinforcing dynamics. The best moats don't just protect — they actively widen through use, scale, or time.

  4. Beware the Kodak trap. A wide moat protecting the wrong castle is worse than no moat at all. Technological shifts can make irrelevant the strongest advantages.

  5. Management matters. Moats don't widen themselves. They require constant investment, often at the expense of short-term profits. Leaders who understand this create the most value.

The next time you evaluate a company, spend less time cataloging its current advantages and more time understanding the forces affecting those advantages. Ask not just "How wide is the moat?" but "Is it getting wider or narrower, and why?"

Because in investing, as in medieval warfare, the only thing worse than having no moat is having a moat that gives you false confidence while the world changes around you.

A narrow moat that's widening beats a wide moat that's narrowing.

Every. Single. Time.


Next in The Investor's Lens: Part 6 explores "Capital Allocation — The CEO's Most Important Job." We'll examine how management's choices about deploying capital separate the companies that compound wealth from those that destroy it. Because even the widest moat can't save a company from a CEO who fills it with concrete.

How This Connects to Our Analysis: When we evaluate companies, we specifically look for moat_trajectory signals in our deep dive framework. This lesson explains why we care more about the direction of competitive advantage than its current strength. A company scoring high on moat width but showing narrowing trajectory is a sell candidate, while one with narrow but rapidly widening moats often represents our best opportunities. For examples of this analysis in practice, see our thesis documents on Palantir (narrow but widening through switching costs) and Duolingo (narrow but widening through engagement).


Questions? Reach out at [contact email]. For more educational content, visit https://thegildedpilgrim.com

Disclaimer: This content is for educational purposes only and should not be construed as investment advice. Past performance does not guarantee future results. Always consult with a qualified financial advisor before making investment decisions.