What Is an Economic Moat? How to Spot One in the Numbers

An economic moat is a structural advantage that lets a company defend high profits against competition, year after year. The image comes from castle defenses, but the modern version is built from switching costs, network effects, brands, and cost advantages.

Here is the problem: every annual report and every earnings call claims one. The good news for stock pickers is that a real economic moat leaves fingerprints in the financial statements, and storytelling does not.

Number card: a return on invested capital held above 15 percent for a decade is statistical evidence of an economic moat
Competition attacks every excess return. A moat is what stops the erosion.

Why the numbers beat the story

High profits attract attack. When a business earns 20 percent returns on its capital, competitors copy the product, undercut the price, and hire away the sales team.

In an ordinary industry, that pressure grinds exceptional profitability down to average within a few years. So the logic of moat detection is simple: profitability that has stayed unusually high for a decade is evidence that something kept blocking the attack.

That something does not need a name to be measured. Ten years of financial statements will tell you whether the defense held, no matter what the narrative says.

This is also why moat hunting rewards patience over cleverness. The investor who checks ten years of margins learns more than the one who memorizes the keynote.

The first fingerprint: stable gross margins

Gross margin is revenue minus the direct cost of producing what was sold, expressed as a percentage of revenue. It is the cleanest read on whether customers pay a premium for the product itself.

A moated company defends both the level and the stability of that margin. A commodity producer cannot: its margin swings with market prices because customers see no difference between suppliers.

Consider two hypothetical companies tracked over five years. Moat Co sells specialized software with high switching costs, while Commodity Co sells an undifferentiated industrial input.

YearMoat Co gross marginCommodity Co gross margin
162%34%
263%31%
362%33%
463%28%
562%26%

Moat Co’s margin moves within a one-point band across five years. Commodity Co’s swings by eight points and trends lower, which is exactly what being a price taker looks like in the accounts.

Stability matters more than the absolute level here. A 62 percent margin that erodes every year is worth less to you than a 40 percent margin carved in stone.

The second fingerprint: ROIC that stays high

Return on invested capital measures the after-tax operating profit a company earns on every dollar tied up in the business. A hypothetical firm that turns $1,000 million of invested capital into $180 million of after-tax operating profit earns an 18 percent ROIC.

For most companies, the cost of that capital sits somewhere near 8 to 10 percent. A business earning 18 percent on capital creates wealth with every dollar it reinvests, and sustaining that spread for a decade is the moat evidence.

One strong year proves nothing. Cycles, one-off gains, and lucky pricing all produce single great years, but a full decade above 15 percent, recession included, is very hard to fake.

ROIC works better than return on equity for this job because debt can inflate ROE without any business improvement. The differences between the two metrics are covered in our comparison of ROIC and ROE as quality measures.

One practical note: companies rarely report ROIC directly, so you compute it from after-tax operating profit and the sum of equity plus interest-bearing debt. The half hour it takes for a decade of data is some of the best-paid work in stock analysis.

The clearest test: pricing power

Pricing power is the ability to raise prices without losing customers, and it is the most direct expression of a moat. Suppose a company raises prices 5 percent and unit volume slips only 1 percent: revenue still grows about 4 percent, and none of that gain required new costs.

A business without a moat cannot run that play. Its 5 percent increase sends customers straight to a competitor, and the lost volume swallows the price gain.

The evidence is often disclosed directly. Many companies break revenue growth into price and volume components in their annual filings, and our guide to reading a 10-K in 30 minutes shows where that disclosure usually sits.

When you find several years of positive price contribution with steady volumes, you are looking at a moat in action. When growth is all volume at flat or falling prices, the company is buying its growth.

Five moat sources and the trail each one leaves

Moats come in a handful of recurring forms. Each leaves a different trail in the numbers.

  1. Network effects. The product improves as more people use it. Fingerprint: revenue compounds for years while sales and marketing spending shrinks as a share of revenue.
  2. Switching costs. Leaving hurts the customer more than staying. Fingerprint: revenue that holds up in downturns and gross margins that survive repeated price increases.
  3. Intangibles. Brands, patents, and licenses. Fingerprint: a gross margin sitting visibly above otherwise similar competitors, sustained for a decade.
  4. Cost advantages. The company produces at a structurally lower cost than anyone else. Fingerprint: thin but stable margins paired with high asset turnover and market share that keeps growing.
  5. Efficient scale. A niche market that only supports one or two profitable players. Fingerprint: modest growth but a high, calm ROIC that never attracts new entrants.

The fourth case trips up beginners, so it deserves a second look. A discount retailer with a 25 percent gross margin can own a wider moat than a software firm at 70 percent, provided that 25 percent never moves while volumes climb.

How moats erode

Moats are not permanent, and erosion shows up in the same numbers that proved the moat in the first place. The trend is the signal.

Three warnings deserve immediate attention: gross margin falling for three consecutive years, ROIC drifting down toward the cost of capital, and price increases that start costing real volume. Any one of these means the castle wall is being breached, whatever the press releases claim.

Margin erosion rarely travels alone. It often arrives alongside the accounting warning signs covered in our list of red flags in financial statements.

What the stock picker does with this

Start with ten years of gross margin and ROIC, pulled from the company’s own filings, before reading a single opinion about the brand. Demand stability first and level second, then compare both numbers against the two closest competitors.

Next, apply the pricing test. Look for disclosed price increases that did not cost volume, because that is the moat proving itself in public.

Only then look at the price tag. A genuine moat overpaid for is still a bad investment, which is where a valuation check like free cash flow yield earns its place.

This work is the heart of the case for picking stocks at all. An index owns the moats and the melting businesses in one bundle, and the framework in our step-by-step guide to analyzing a stock exists precisely to separate the two.

Frequently asked questions

What is an economic moat in simple terms?

An economic moat is a structural advantage, such as switching costs, network effects, a brand, or a cost advantage, that lets a company defend high profits against competitors for many years. Without one, competition grinds unusually high returns back down to average.

Which financial metrics reveal an economic moat?

The two most reliable are gross margin stability over five to ten years and return on invested capital that stays well above the cost of capital through a full cycle. Evidence of price increases that do not cost volume confirms the picture.

How is a moat different from a competitive advantage?

Durability. Any company can hold an edge for a year or two through a product cycle or a marketing push. A moat is an advantage that still shows up in the numbers a decade later, including through recessions.

Can a low-margin company have a moat?

Yes. Cost-advantage moats, common among discount retailers, show up as thin but very stable margins combined with high asset turnover and growing market share, rather than as fat margins.

Educational content only, not investment advice. See our methodology and disclaimer.