How to Evaluate a Company's Moat for Long-Term Investing

Short answer

An economic moat is a durable competitive advantage that lets a company keep earning more on its capital than competitors can. To test one, look for a source (network effects, cost advantage, switching costs, intangibles or efficient scale) and years of high returns on invested capital, often 15% or more, through a full business cycle.

Live numbers from Cluenex data

median operating margin, all sectors
16.2%as of Oct 14, 2026
Consumer Defensive operating margin
11.2%as of Oct 14, 2026

Key takeaways

  • A moat is a structural barrier that protects profits from competition, not just a big market share or a popular product.
  • The five common sources are network effects, cost advantages, switching costs, intangible assets and efficient scale.
  • Numbers should confirm the story: look for return on invested capital (ROIC) well above the company's cost of capital for 10 years or more, including a downturn. The 15% line used here is a rule of thumb, not a law.
  • Moats can shrink, so durability matters as much as width, and a great moat can still be a poor investment at a high price.
  • Compare margins and returns with the company's own industry, because a good number in one sector is ordinary in another.

What is an economic moat?

An economic moat is a lasting advantage that lets a company keep earning more profit on its capital than rivals can, because something stops competitors from copying it. Warren Buffett popularized the idea in his letters to Berkshire Hathaway shareholders.

The logic is simple. High profits attract competitors, and competitors push prices and margins back down. A moat is whatever slows that process. The useful question is not only "does this company have an edge today?" but "how wide is the edge, and how long will it last?"

What are the five types of moat?

The five common sources are network effects, cost advantages, switching costs, intangible assets and efficient scale. This framework is the one Morningstar uses in its moat research, and many investors use it as a checklist.

Moat source How it protects profit What to look for in the numbers
Network effects Each new user makes the service more valuable to the others Rising users and revenue per user, share that keeps growing
Cost advantage Lower unit costs from scale, process or cheap inputs Margins above peers without raising prices
Switching costs Changing suppliers is costly, slow or risky for the customer Customers staying and spending more each year, steady price increases without losing them
Intangible assets Brands, patents, licenses or data rivals cannot copy Ability to charge more than a generic rival, long-lived approvals
Efficient scale The market only supports one or a few profitable players Stable share in a defined niche or region, few new entrants

Examples help, but each one is an illustration, not a call. Payment networks such as Visa and Mastercard are often cited for network effects, because merchants accept the cards that many consumers carry. Large retailers such as Walmart and Costco are often cited for cost advantages from buying scale. Enterprise software is often cited for switching costs, covered in more depth in Switching Costs: Why They're the Software Industry's Strongest Moat. Regulated local utilities and pipelines are classic cases of efficient scale.

Strong companies often have more than one source at once. Each added source makes the moat harder to attack.

How do you measure a moat with numbers?

The best single number is return on invested capital (ROIC): the profit a business earns from all the money tied up in it. A moat shows up as ROIC that stays well above the company's cost of capital year after year.

The formula is:

ROIC = NOPAT ÷ Invested capital

NOPAT is net operating profit after tax, meaning operating profit with the tax bill taken out. Invested capital is roughly debt plus shareholders' equity, minus excess cash. All inputs come from the income statement and balance sheet in the company's 10-K filing (see What's Actually Inside a 10-K).

A worked example with made-up numbers: a company earns $1,000 million in operating profit and pays 21% tax, so NOPAT is $1,000M x (1 - 0.21) = $790M. If invested capital is $4,000M, ROIC is $790M ÷ $4,000M = 19.75%. If its cost of capital is about 9%, it creates roughly 10.75 percentage points of value on every dollar invested.

A rough rule of thumb many investors use:

ROIC level Rough reading
Below about 8% Probably earning near or below its cost of capital, no clear moat
About 8% to 15% Some advantage, but easy to erode
Above about 15% for 10+ years Evidence of a durable advantage

These cutoffs are a screening habit, not a scientific threshold. Capital-heavy industries such as utilities can have a real moat with a lower ROIC, while asset-light software can post very high ROIC with little protection.

Check the time frame. One strong year can be a cycle high. Look at a decade, including at least one recession.

Which other numbers back up a moat?

Margins, growth and pricing power are the supporting evidence. Compare them with the company's own industry, because normal levels vary widely by sector.

Across the large US stocks Cluenex tracks, the overall median operating margin is 16.2%, but it ranges from 11.2% in consumer defensive to a much higher level in energy and real estate. A 14% operating margin is excellent in one industry and weak in another.

Useful checks:

Where does moat thinking fail?

Moats fail when investors confuse size with protection, assume the edge is permanent, or ignore price. Each mistake has played out in well-known cases.

Mistake 1: Mistaking market leadership for a moat. Being the largest player does not help if rivals can take customers anyway. Nokia led mobile phones in the 2000s and then lost its position to smartphones.

Mistake 2: Assuming a moat lasts forever. Kodak dominated film, and digital photography undercut that business. Blockbuster's store network lost out to streaming. Re-check the moat every year or two, and ask what technology or rule change could break it.

Mistake 3: Paying any price. A great business bought at a very high valuation can still deliver poor returns, because the price already assumes the moat's success. Moat and price are two separate questions. See P/E Ratio Explained.

Mistake 4: Trusting a rating blindly. Third-party moat ratings, such as Morningstar's Wide, Narrow and None, are a useful starting point but are opinions. Check the reasoning against the filings.

Mistake 5: Using ROIC alone. ROIC can be inflated by accounting choices, write-downs that shrink invested capital, or a one-time gain. Cross-check it against cash flow.

How does Cluenex show moat information?

Cluenex scores business quality from 0 to 10 against the company's own industry, using four checks: profitability, moat, growth and financial health. The free public page for each stock at https://cluenex.com/stocks// shows the business quality score, the main risk and insider activity, so you can see how a company compares with its industry before doing your own deep work.

Cluenex treats this as research context. It does not replace reading the filings and judging whether the edge will last.

What this means for you

A moat check is a short routine you can run on any company you own or are considering. It will not tell you when to buy, but it can stop you from overpaying for a story.

  1. Name the moat in one sentence. If you cannot say which of the five sources protects the profit, treat the claim with suspicion.
  2. Pull 10 years of numbers from the 10-Ks: operating margin, free cash flow and ROIC. Note what happened in the last recession.
  3. Compare with the industry, not with the whole market.
  4. Write down what could break it: a new technology, a regulator, a cheaper rival, a customer who builds in-house.
  5. Separate the business from the price. A strong moat is a reason to study a stock, not a reason to ignore valuation.
  6. Revisit once a year when new annual filings come out, and note whether margins or returns are slipping.

Keep position sizes sensible even for companies you admire. A moat lowers the odds of trouble but does not remove them. See Concentrated Stock Positions for the risk that hides in a favorite holding.

Questions people ask

How long does it take to assess a moat accurately?

Look at 5 to 10 years of financial history, ideally spanning a recession. One or two strong years can reflect a good economy rather than a structural edge.

Can small companies have wide moats?

Yes. A small company can dominate a niche or region, such as a specialized software provider or a local utility. Moat width depends on barriers and returns on capital, not company size.

Is a brand alone a wide moat?

Usually not. A brand protects profit only if it gives pricing power, meaning the company can raise prices above inflation without losing customers. Brands can fade when quality drops or tastes change.

What is a moat in transition?

It is a company still building its advantage, for example by adding users or customers who find it harder to leave. The signs are rising ROIC and improving margins over several years, but the moat is unproven until it survives a downturn.

How does Morningstar rate moats?

Morningstar rates companies Wide, Narrow or None based on how likely they are to keep earning above their cost of capital for 20 years or 10 years respectively. It is a useful outside opinion, but it still pays to verify with the filings.

Does a moat mean a stock is a good buy?

No. A moat describes the business, not the price. A strong company bought at a very high valuation can still give weak returns.

Sources

  1. Berkshire Hathaway shareholder letters, Berkshire Hathaway
  2. Morningstar Economic Moat Rating methodology, Morningstar
  3. How to Read a 10-K/10-Q, SEC Office of Investor Education and Advocacy
  4. Return on Invested Capital (ROIC), Wikipedia
What changed on this page
  • : Rewritten and fact-checked: clearer short answer, primary sources added, outdated details removed.
  • : Imported from learn.cluenex.com
Use it on a real stock

See this for any of 1,000 US stocks

Cluenex explains every number on a stock page in plain words, with the price that would change our view and a sealed record of past calls.

Start free

Education, not investment advice. Examples are illustrations, not recommendations to buy or sell.