All companies can make money in a good year. Few companies can make money every year, decade after decade. The difference is called moat.
A metaphor that changes the way you look at companies
Imagine a medieval castle.
Inside the walls there is wealth, order, production. Outside there are competitors who want the same thing. And between them — a wide, deep, water-filled ditch. A moat.
The enemy can see the castle. They know what's inside. But they can't get in without enormous cost and loss. So they turn. Looking for an easier target.
That's exactly what Warren Buffett looks for in a company. Not just a company that makes money today — but a company surrounded by protections that make it difficult, expensive, or impossible for competitors to take market share.
He calls it the economic moat.
And that is probably the single most important concept in long-term investing.
Why the moat is more important than last quarter's results
Most investors look at numbers. Sales, profit margin, P/E ratio. That's not wrong — but it only tells you what has happened. It doesn't tell you what will happen.
A company can have fantastic numbers one quarter and then see its entire margin squeezed to death by a new competitor. It happens all the time. Companies that seemed impregnable — Kodak, Blockbuster, Nokia — didn't fall because they were bad at the time. They fell because their moat was deeper than anyone thought.
What Buffett understood early on is that a company's true value is not in its balance sheet. It is in the structural protections that allow the company to keep charging fees, keep winning customers, and keep growing — year after year, even as the market changes.
A strong moat means that the company has pricing power — the ability to raise prices without losing customers. It is one of the clearest signs that you have a real moat.
Buffett put it bluntly: “The most important question I ask about a company is: how strong is the moat, and how long can it hold?”
The four types of moat
There isn't one type of moat. There are several, and they work in different ways. Being able to identify what type a company has — and how deep it is — is one of the most important analytical skills you can build.
- Brand moat
Some companies have a name that in itself creates value. People pay more for the product not because it is objectively superior, but because the brand carries a feeling, an identity, a story.
Coca-Cola is the classic example. In blind tests, many people prefer Pepsi. But in open tests, Coca-Cola wins — because the brand is part of the experience. It has been built over 130 years and costs billions to copy. A new soft drink manufacturer can make a better drink tomorrow. They can't make a better brand in ten years.
Louis Vuitton, Rolex, Ferrari — same logic. Customers don't just buy the product. They buy what it signals. It's a moat that's almost impossible to dig around.
- Switching cost moat
Some products are hard to leave behind — not because they're great, but because the cost of switching is too high.
Consider a large company that uses SAP for its financial management. The system is deeply integrated into all processes. Switching to a competitor requires months of work, training, data migration, and risk. The cost of staying is low. The cost of leaving is enormous.
It's a switching cost moat. The customer is not a prisoner in the legal sense — but in practice that's exactly what they are. Microsoft Office, Salesforce, Adobe Creative Cloud — they're all built on the same principle. The product becomes part of the infrastructure. And you don't change infrastructure without very good reasons.
- Scalar moat — network effects
Some companies become more valuable the more people use them. It's network effects, and it's one of the strongest moats in existence.
Visa and Mastercard are a perfect example. More cardholders make the network more attractive to merchants. More merchants make the network more attractive to cardholders. The spiral reinforces itself. A new player who wants to compete must somehow break into that spiral — which is extremely difficult and costly.
LinkedIn, Airbnb, Booking.com — all networking companies have the same fundamental strength. Value is created by users. And each new user makes it harder for a competitor to lure them away.
- Cost superiority moat
Some companies can produce the same thing as their competitors — but cheaper. This may be due to access to unique raw materials, patented technology, extremely efficient logistics, or economies of scale that are only achieved when you are the largest.
Amazon is a modern example. Their logistics infrastructure has cost hundreds of billions to build. No new player can replicate it. This means Amazon can offer faster delivery at a lower cost — and still charge the same price as its competitors and have a better margin.
Cost superiority is a silent but deadly competitive advantage. It's not always visible in the product — but it's visible in the margins year after year.
How to identify a moat in practice
Theory is one thing. But what does it look like when you actually analyze a company?
Here are the specific questions to ask:
Can the company raise the price without losing customers? Test the history — have they raised prices? What happened to the volumes? If customers stayed despite the price increase, that's a strong sign of moat.
How long has the company had similar margins?A strong moat is seen in stable or growing margins over a long period of time — not in a single quarter. Look at 10 years, not 1.
What would it cost a competitor to take 101% of the market share?If the answer is “very much” or “almost impossible” — that’s a moat.
Why do customers stay? Is it because the product is the best — or because it is too expensive and complicated to change? Both are moats, but of different strength and durability.
How has the company handled previous crises?Recession, pandemic, disruptive technology. Companies with a strong moat tend to fare relatively well — and sometimes strengthen their position when weaker competitors fall.
Practical exercise: Moat analysis in three steps
Take a company you already own or are considering buying. Do the following analysis:
Step 1 — Identify the moat type.Which of the four types does the company have? Brand, switching cost, network effect, or cost superiority? Or a combination? Write it down concretely — not just “they are strong,” but why they are strong.
Step 2 — Test the depth.Look at your operating margin over the past 10 years. Is it stable? Is it growing? Or has it been squeezed? A shrinking margin could be a sign that the moat is drying up.
Step 3 — Find the threat. What is the one scenario that could destroy the moat? Technological shift? Legislation? A new business model? Articulating the threat clearly is not pessimism — it is risk management. If you can’t see the threat, you can’t assess whether it is real or not.
The final thought
Buffett has said that he prefers a wonderful company at a fair price to a fair company at a wonderful price.
The wonderful company — it is the company with the moat.
It is the company that not only makes money today, but is structurally built to continue making money when the market changes, when competitors try, when the economy fluctuates.
The moat is what separates an investment from a game.
Next Trade Tuesday: How do you assess the management of a company — and why is character more important than competence?
