Browse the library

Fundamentals · Valuation

Economic moats: what protects a company’s profits, and how to test it

The five sources of an economic moat, how a moat shows up in margins and returns on capital, what can erode one, and how to test a moat claim using Apple’s 10-K.

On this page
  1. Why moats matter for valuation
  2. The five sources of a moat
  3. How a moat shows up in the numbers
  4. What erodes a moat
  5. How to test a moat claim
  6. Moat sources compared
  7. How Finabase does it
  8. Frequently asked questions
  9. Summary

An economic moat is a durable competitive advantage that lets a company keep earning high returns on its capital for years without competitors eroding them. The image is a castle: the business is the castle, its profits are what's inside, and the moat is whatever stops rivals from crossing over and taking them. In a normal competitive market, high profits attract new entrants, prices fall and returns drift back toward average. A moat is the reason they don't.

Warren Buffett popularized the term in his letters to Berkshire Hathaway shareholders and at its annual meetings, and the research firm Morningstar later built a formal rating system around it, grouping moats into five sources. This guide explains those five sources, shows how a real moat leaves fingerprints in the financial statements, using Apple Inc.'s fiscal 2025 numbers (the year ended September 27, 2025), and gives you a short checklist for testing whether a moat claim holds up.

Why moats matter for valuation

Every valuation makes an assumption about how long a company can keep earning more than its cost of capital. In a Discounted cash flow (DCF): a step-by-step valuation on Apple model that assumption lives in the forecast period and the terminal value: a company with no moat should see its returns fade quickly toward average, while a company with a wide moat can sustain them. Two companies with identical profits today can deserve very different values if one's profits are protected and the other's are not.

That is also why moats matter for the Margin of safety: Benjamin Graham’s rule for valuation errors idea. A business whose economics are protected is easier to forecast, so its range of plausible values is narrower.

The five sources of a moat

Switching costs

A switching cost is anything that makes it expensive, risky or tedious for a customer to move to a rival: data to migrate, staff to retrain, accessories and apps to repurchase, integrations to rebuild. When switching is painful, a company can keep customers even if a competitor's product is somewhat better or cheaper. Enterprise software, payroll processors and banks often show strong switching costs. For a phone platform, a customer's purchased apps, photo library, messaging history and paired devices all add friction to leaving.

Network effects

A product has a network effect when each additional user makes it more valuable to every other user. Payment networks, marketplaces, exchanges and social platforms are classic cases: buyers go where sellers are, and sellers go where buyers are. Network effects can produce winner-take-most outcomes, which is why they are among the strongest moats when they exist, and why claims of network effects deserve scrutiny. A large user base is not the same as a network effect unless users actually benefit from each other's presence.

Intangible assets

Intangible assets include brands, patents, regulatory licenses and trade secrets. A brand is a moat only if it lets a company charge more or sell more than an equivalent unbranded product; familiarity alone is not enough. Patents protect a product for a limited period, usually 20 years from filing in the US, after which competitors can copy it. Licenses, such as those for broadcasting, gambling or certain drugs, can bar entrants outright.

Cost advantages

A company with a cost advantage can produce at a lower cost than rivals and so either undercut them or earn wider margins at the same price. Sources include scale in purchasing and manufacturing, proprietary processes, unique access to a resource, and favorable locations. Scale is a moat only if rivals cannot reach the same scale; in many industries, they eventually can.

Efficient scale

Efficient scale describes a market that is only big enough to support one or a few profitable players. A pipeline, an airport or a regional rail line can earn good returns, but a second entrant would split the market and leave both unprofitable, so no one rationally enters. The moat is the size of the market itself, which is why these businesses are often regulated.

How a moat shows up in the numbers

A moat is a claim about the future, but it leaves evidence in the past. The most telling signs are margins that stay high, returns on invested capital that stay well above the cost of capital, and pricing power that survives competition.

One sign of a moat: Apple Services earns twice the gross margin of hardware (fiscal 2025) Products gross margin 36.8% Services gross margin 75.4% Services share of sales 26.2% Services share of gross profit 42.2% Services $109.2B of $416.2B sales; services gross margin $82.3B of $195.2B. Source: Apple 10-K fiscal 2025, Item 7.
Apple fiscal 2025: Services earn about twice the gross margin of hardware, so 26% of sales delivers 42% of gross profit. Source: Apple 10-K, fiscal 2025.

Margins like that are a symptom worth investigating, not proof. They say that customers pay far more for Apple's services than they cost to deliver. A moat analysis asks why competitors have not competed that margin away. Plausible answers for Apple involve several sources at once: switching costs from the installed base of devices, a two-sided platform connecting users and app developers, and a brand. Note that the services margin depends on the hardware: the services are sold largely to people who already own Apple devices.

Returns on capital tell the same story from another angle. Apple's after-tax operating profit of about $112.3 billion in fiscal 2025 was 65.1% of its equity plus debt, an unusually high Return on invested capital (ROIC): NOPAT, capital and WACC even before adjusting for its large holdings of cash and securities. A company without a moat that earned that much on its capital would normally attract enough competition to drive it down. Sustained over many years, a high ROIC is the cleanest quantitative sign of a moat. One year of it is not.

The overall margins point the same way. Apple's total gross margin rose from 44.1% in fiscal 2023 to 46.2% in fiscal 2024 and 46.9% in fiscal 2025, as the higher-margin services grew as a share of sales. The Profit margins: gross, operating and net margin explained page explains how to read margin trends.

What erodes a moat

Moats are not permanent. They can be breached by:

  • Technology shifts that make an advantage irrelevant, as digital photography did to film.
  • Regulation and litigation that limit how a company can charge or bundle.
  • Better-funded rivals willing to lose money for years to buy market share.
  • Management mistakes, such as raising prices so far that customers finally switch.

Apple's own 10-K for fiscal 2025 illustrates the regulatory category in its risk factors. It says the technology industry faces intense regulatory scrutiny, describes changes Apple has made to iOS, the App Store and Safari in the EU as it seeks to comply with the Digital Markets Act, including alternative fee structures and alternative app distribution, and notes a US court order preventing it from imposing a commission or fee on certain purchases consumers make outside apps. It also discusses antitrust investigations and lawsuits in various jurisdictions, and the risk to its licensing revenue from search providers such as Google, whose arrangements are subject to legal proceedings. A moat analysis does not have to predict how those matters end; it has to recognize that they bear directly on the profitability of the business segment with the widest margin.

How to test a moat claim

Analysts, managers and marketing teams describe many companies as having moats. A quick checklist helps separate the durable from the merely profitable.

  1. Returns over a full cycle. Has return on invested capital stayed above a reasonable cost of capital through good years and bad, for five to ten years? Check the history, not one year.
  2. Pricing power. Has the company raised prices without losing customers or margin? Gross margin holding steady or rising through cost inflation is a sign.
  3. Customer retention. Are renewal rates, churn or repeat-purchase data disclosed, and do they hold up?
  4. Market share stability. Has the company held or gained share against well-funded competitors?
  5. The rival test. If a competitor had $10 billion and five years, what could it take? If the answer is "most of the profits," the moat is narrow.
  6. Source identification. Can you name which of the five sources applies, and explain the mechanism? "Great management" and "great products" are not moat sources; they can be copied or can leave.

Moat sources compared

Source How it protects profits Typical examples How it erodes
Switching costs Leaving is costly or risky for customers Enterprise software, banking, platforms Interoperability rules, easier migration
Network effects Each user adds value for the others Payment networks, marketplaces, exchanges A new network with a better offer
Intangible assets Brand, patents or licenses block copying Consumer brands, drugmakers, licensees Patent expiry, brand damage, deregulation
Cost advantage Lower costs allow lower prices or wider margins Scale manufacturers, low-cost producers Rivals reach scale; new technology
Efficient scale Market only supports a few players Pipelines, airports, regional utilities Market growth; regulatory change

How Finabase does it

Finabase does not rate moats, but it shows the numbers a moat should leave behind. The Valuation tab charts ten fiscal years of gross, operating and net margin, ROE, ROIC and ROA, plus revenue and operating-income growth, which is the history the "returns over a full cycle" test needs. On the Financials tab, the "Revenue & Expenses" flow chart can add a revenue-by-segment column when the segment data reconciles, and every statement row can be charted over up to 40 periods. The Peers tab lists same-industry companies so you can open each one's valuation tab and see whether its margins and returns look similar or not. To read the risk-factor section yourself, start with How to read a 10-K: a guided walkthrough of Apple’s annual report.

Frequently asked questions

What is an economic moat in simple terms?

An economic moat is a lasting competitive advantage that protects a company's profits from rivals, such as customers who find it hard to switch or a network that grows more valuable as it grows. It is what lets high returns on capital persist instead of being competed away.

What are the five types of economic moat?

The five commonly cited sources are switching costs, network effects, intangible assets such as brands and patents, cost advantages and efficient scale. Morningstar uses these five in its moat ratings.

How do you measure an economic moat?

There is no single number, but the best evidence is a return on invested capital that stays well above the cost of capital for many years, together with stable or rising margins and market share. One strong year proves little.

Does Apple have an economic moat?

Its fiscal 2025 numbers show the fingerprints analysts look for, such as a 75.4% services gross margin and a 65.1% return on invested capital (measured on equity plus debt), but whether the advantage is durable is a judgment, not a fact. Apple's 10-K itself lists regulatory and legal changes that could affect its services business.

Summary

An economic moat is a durable competitive advantage that keeps a company's returns above its cost of capital for years. The five usual sources are switching costs, network effects, intangible assets, cost advantages and efficient scale. A moat leaves evidence in the statements, as Apple's fiscal 2025 services business does with a 75.4% gross margin that turned 26.2% of sales into 42.2% of gross profit, but evidence of past profitability is not proof of future protection. Moats erode through technology, competition and regulation, and Apple's 10-K names the last of these directly. Test any moat claim against returns over a full cycle, pricing power, retention and what a determined rival could take.

Sources and further reading

  1. Apple Inc. Form 10-K for the fiscal year ended September 27, 2025 (SEC EDGAR)
  2. Berkshire Hathaway — 2007 Chairman’s letter to shareholders (Warren Buffett)
  3. Morningstar — economic moat rating methodology (five moat sources)
  4. Apple Inc. XBRL company facts (SEC EDGAR API)