Home · Glossary

What is an economic moat or competitive advantage?

Updated June 27, 2026 · DeepTicker

An economic moat (or competitive advantage) is the set of barriers that protect a company's profits from the competition, like the moat surrounding a castle. A company with a wide moat can maintain a high return for many years without rivals eating it away; one without a moat sees any extra profit evaporate quickly. It isn't a number: it's a characteristic of the business that is demonstrated with data such as a high and sustained ROIC.

What Economic moat (competitive advantage) is and why it matters

The term moat was popularized by Warren Buffett with a very visual image: a good company is like a castle surrounded by a wide and deep moat that keeps invaders out. In the business world, the invaders are competitors, and the moat is everything that stops them from copying your business and taking your customers and margins. When a company makes a lot of money, it attracts competition like honey attracts flies; the moat is what explains why, year after year, that competition fails to reduce its profits to zero.

The reason the moat matters so much is purely economic. In a market of perfect competition, no company earns more than its cost of capital for very long: if a business is very profitable, rivals enter, prices fall and profitability drops to normal. Therefore, when a company achieves extraordinary returns for years, that can only mean one thing: it has something that prevents the entry of competition. That "something" is the competitive advantage. Without a moat, success is temporary; with a moat, it's durable.

It's important to separate the moat from things that resemble it but aren't. A good product isn't a moat (products get copied). A brilliant management team isn't a moat (managers leave). A large market share isn't a moat on its own (it can be lost). Growing fast isn't a moat. The moat is structural: it's born from the economics of the business, not from a one-off success. The key question isn't "does it earn a lot now?" but "what stops it from ceasing to earn it five or ten years from now?".

Quality analysis has systematized the concept into five real sources of competitive advantage: intangible assets (brands, patents, regulatory licenses), switching costs (how expensive or troublesome it is for the customer to change provider), the network effect (the service is worth more the more people use it), cost advantages (producing more cheaply in a structural way) and efficient scale (markets that only support one or two players). If a company doesn't fit into any of these five, it probably doesn't have a real moat.

The moat also has width and direction. A wide moat protects for a decade or more; a narrow moat gives a few years of advantage. And, above all, a moat can widen or narrow over time: the print press had an enormous moat thanks to its control of news distribution and local advertising, and the internet emptied it in a few years. That's why it isn't enough to detect a moat today; you have to ask whether the trend reinforces or erodes it. A narrowing moat is one of the costliest value traps there is.

The objective way to detect a moat is to look at the return on capital over time. The reigning metric here is ROIC (return on invested capital): if a company persistently earns a ROIC well above its cost of capital (WACC) for many years, it's mathematically difficult for there not to be some barrier protecting it. A high ROIC in one year may be luck; a high ROIC for ten years in a row is the fingerprint of a moat. If on top of that the margins are stable and market share doesn't erode, the pieces fit.

This is where DeepTicker turns an abstract idea into something you can see and learn. The moat is one of the things the DeepScore —the 0-100 quality score based on the analysis of competitive advantage— tries to capture through the Profitability and Track record dimensions: a company with a high and sustained ROIC and stable margins scores strongly there, which is consistent with having a competitive advantage. And since each dimension comes explained with its data in plain view (it's not a black box), the more companies you analyze, the better you recognize at a glance what a business with a moat looks like versus one without.

The moat isn't just a Buffett idea; it's the heart of the value investing school. Quality analysis formalizes it with the concept of franchise: a business has a franchise when it's worth more as a going concern (for its ability to make money without assuming growth, the EPV) than it would cost to replicate it from scratch. If it's worth more, it's because there's something a competitor with money can't simply copy: that's the moat, measured from the balance-sheet side. Quality (moat), franchise (EPV) and a reasonable price (discounted cash flow) are the three legs of serious analysis.

Example of Economic moat (competitive advantage)

Compare two businesses. The first is a management software platform that companies install across all their departments: once the staff learn to use it, connect their data and train their teams, switching to a competitor costs months of migration, the risk of errors and retraining. Those are switching costs, one of the five sources of moat. The result shows up in the numbers: the company renews 95% of its customers each year and maintains a stable ROIC of 22%, well above a cost of capital for software of around 9.5%. That persistent difference —a ROIC of 22% against a WACC of 9.5%— is the quantitative proof that the moat exists and creates value.

The second is a generic solar panel factory, a good product in a growing market. But anyone with capital can build an identical factory, customers buy on price and the product isn't differentiated. When the sector becomes fashionable, dozens of competitors enter, prices collapse and the ROIC falls from 18% to 4%, below the cost of capital. Same market growth, opposite outcome: without a moat, success attracts the competition that destroys it. In DeepTicker you'd see this reflected in a DeepScore with a good Growth score but a weak one in Profitability and Track record, exactly the combination that betrays a business that grows but doesn't protect what it earns.

How to interpret Economic moat (competitive advantage)

Common mistakes with Economic moat (competitive advantage)

The 5 types of moat or competitive advantage

Intangible assets are the first type: brands that allow charging more (a branded soft drink versus a generic one), patents that grant temporary exclusivity, and regulatory licenses that are hard to obtain (a casino, a pharmaceutical, a telecom operator). The customer pays a premium or the competitor can't enter legally. The risk is that patents expire and brands can wear out if the company gets careless.

Switching costs are the second: when changing provider is expensive, slow or risky, the customer stays even if cheaper alternatives exist. This is the case with deeply integrated enterprise software, banks (changing all your direct debits is a hassle) or medical systems. The network effect, the third type, appears when the service improves the more people use it: social networks, marketplaces, payment systems. It's the most powerful moat because it self-reinforces, but also the rarest.

Cost advantages are the fourth type: producing in a structurally cheaper way, whether through unique processes, privileged access to raw materials, location or scale. They allow earning money at prices where the rival loses. Efficient scale, the fifth and last, occurs in markets that only support one or two players (an airport, a gas pipeline network): entering as a third party isn't profitable, so no one tries. Recognizing which of these five groups a company belongs to is the first step in judging whether its competitive advantage is real.

How to know if a company has a moat: ROIC as proof

The qualitative narrative ("this brand is very strong") has to be contrasted with data, and the decisive data point is a sustained ROIC. If a company persistently earns a ROIC well above its WACC for five, ten or more years, there's almost certainly a moat behind it: in a free market, that extra profitability would have been competed away if it weren't protected. A ROIC of 20% against a cost of capital of 8% maintained for a decade is the signature of a wide moat.

The second data point is stable or rising margins. A company that holds its operating margin and its gross margin while it grows shows that it has pricing power, a clear symptom of a brand or switching costs. If margins erode year after year, the moat is drying up even though sales rise. The third data point is market share: a real moat holds or gains share; it doesn't lose it slowly.

The mistake is to trust a single year. One-off profitability comes from the cycle, luck or a fortunate launch. The moat is measured in durability: what matters isn't earning a lot today, but continuing to earn it once competitors have had years to react. That's why in DeepTicker the Track record dimension of the DeepScore looks at consistency over time, not the snapshot of a single quarter.

Wide, narrow or nonexistent moat: how an advantage erodes

A wide moat protects for a decade or more and usually widens with scale (the bigger the network or the brand, the harder it is to attack). A narrow moat gives a few years of advantage before the competition or technology neutralizes it. And a great many companies, even large and well-known ones, simply have no moat: they compete on price in markets where no one has a real barrier.

The most dangerous thing for the investor is a moat that is narrowing. The print press, video rental stores, compact cameras or traditional shopping malls had enormous moats that technology emptied in a few years. A business that trades cheap because its moat is drying up isn't a bargain: it's a value trap. The low multiple reflects real deterioration, not an opportunity.

That's why the right question isn't just "does it have a moat today?" but "does the direction of change reinforce or erode that moat?". A brand that invests in relevance widens; one that cuts to dress up margins narrows. In DeepTicker you can see the evolution of margins and profitability over time, which is precisely where you notice whether the moat is filling up or draining, before the headline says so.

How to see the competitive advantage of any stock in DeepTicker

In DeepTicker you can search for any stock from the US, Europe, the IBEX and China and review the signals that betray a moat without having to piece the figures together by hand. The Profitability dimension of the DeepScore reflects whether the company earns above its cost of capital, and the Track record dimension whether it does so consistently: together they are the moat's thermometer. Since each score comes with its data explained, you don't just see the conclusion, but the reason.

To find candidates with a competitive advantage, DeepTicker's search / screener offers more than 140 filters and 15 presets (such as Graham or the Magic Formula): you can narrow by high and sustained ROIC, stable margins and low debt to get a short list of businesses that look like they have a moat, and then analyze them one by one. It's the practical way to go from the abstract idea of "competitive advantage" to concrete companies.

Remember that a moat only creates value for you if you don't overpay for it. That's why DeepTicker combines quality (DeepScore, moat analysis) with valuation (Reverse DCF, which discounts cash flows), showing you what growth the current price demands. A company with a wide moat but bought in the middle of euphoria can be a bad investment; quality and price are looked at together. This is educational, not financial advice: the decision is yours.

On DeepTicker you get this metric calculated and explained for thousands of stocks, with no spreadsheets.

Try DeepTicker free →

Frequently asked questions about Economic moat (competitive advantage)

What does it mean for a company to have a moat?

It means it has a structural competitive advantage that protects its profits from the competition, like a moat protects a castle. It lets it maintain a high return for years without rivals reducing it to normal.

What are the types of moat or competitive advantage?

Quality analysis identifies five: intangible assets (brands, patents, licenses), switching costs, network effect, structural cost advantages and efficient scale. If a company doesn't fit any, it probably doesn't have a real moat.

How is a company's moat measured?

There's no direct formula, but the best objective proof is a ROIC persistently above the cost of capital (WACC) for many years, along with stable margins and market share that holds. That persistence betrays a protective barrier.

What is a wide moat versus a narrow moat?

A wide moat protects profits for a decade or more and tends to widen with scale; a narrow moat gives only a few years of advantage before the competition or technology neutralizes it.

Is a company with a moat always a good investment?

Not necessarily. The moat indicates the company is good, but not whether it's cheap. Buying an excellent business at an excessive price can deliver poor returns. You have to combine quality with the valuation of the current price.

How do I see whether a stock has a competitive advantage in DeepTicker?

The Profitability and Track record dimensions of the DeepScore reflect whether the company earns above its cost of capital consistently, which is the fingerprint of a moat. Each score comes with its data explained so you understand the reason.

Why does a company's moat erode?

Because technology, consumer habits or regulation change. The print press, video rental stores or compact cameras had enormous moats that the internet and mobile phones emptied in a few years. A narrowing moat is a warning sign, not an opportunity.

Educational content by DeepTicker. This is not financial advice or a recommendation to buy or sell. Investing involves risk of loss.

You may also like

Put Economic moat (competitive advantage) to work with the DeepTicker Guide, the Stock Screener and the DeepTicker Score.