Table of Contents
There is a strange ritual among investors. They spend hours reading annual reports, listening to earnings calls, building elaborate spreadsheets, and then at the end of all that effort, they ask the same question they could have asked at the beginning. Does this company actually have something special, or is it just lucky?
The honest answer is that most companies exist in the great middle, neither dying nor truly thriving, grinding out a living against rivals who sell roughly the same thing for roughly the same price. There is no moat, no fortress, no secret sauce. Just the slow erosion of any temporary advantage they manage to build, like a sandcastle waiting for the next wave.
But some companies are different. A small number of businesses have figured out how to charge more, or spend less, or both, in a way that competitors cannot easily copy. Warren Buffett called this a moat, and the term stuck because it captures something true. A real competitive advantage is defensive. It keeps the barbarians on the other side of the water.
The trick, of course, is spotting one. Companies will swear they have a moat the way teenagers swear they have a plan for the weekend. The claim is loud, the evidence is thin. So we need something better than management storytelling. We need a number that tells the truth even when the executives are spinning stories.
That number is operating margin.
What the Number Actually Says
Operating margin is simple. Take the money a company keeps after paying for the cost of running the business, then divide it by the revenue that came in. The result is a percentage. It tells you how much of every dollar in sales survives the journey through the company before taxes and interest take their cut.
If a business sells a hundred dollars worth of stuff and ends up with thirty dollars of operating profit, the operating margin is thirty percent. If another business sells the same hundred and ends up with three dollars, the margin is three percent. These two companies live on different planets, even if they appear in the same industry index.
But here is the part that most people miss. The number itself is less interesting than the question it forces you to ask. Why is this number what it is? Why thirty percent and not three? What is the company doing, or what does it have, that allows it to keep so much of each dollar that walks through the door?
This is where margin stops being accounting and becomes philosophy. A high operating margin is a kind of confession. It admits that something is preventing competitors from showing up and bidding the price down to the cost of production. Whatever that something is, that is the moat. The margin is the shadow it casts.
The Strange Quietness of Real Advantages
Most discussions about competitive advantage involve a lot of noise. Brand strength, network effects, switching costs, intellectual property, regulatory capture, economies of scale. Each of these is real. Each one can build a moat. But individually, they are hard to verify from the outside. You can read about them. You can listen to a CEO describe them. You can sketch them on a whiteboard. None of that proves they exist.
Operating margins are different because they do not care about narrative. A company can claim to have brand power all it wants, but if its operating margin is the same as every other company in its category, the brand is not actually doing the economic work. It might be a nice brand. People might recognize the logo. But it is not translating that recognition into the ability to charge more or spend less. It is a brand the way I am a tennis player. Technically true. Practically meaningless.
The reverse holds too. When you see a company that has been earning unusually high operating margins for many years, something is happening, even if no one can quite articulate what it is. The margin is the receipt for an advantage that is real enough to leave a trail in the financial statements. The story might be hard to tell. The number is not.
The Time Test
Anyone can have a good year. A company might post fat margins because it happened to be in the right industry during a boom, or because a competitor stumbled, or because of a temporary supply problem that let it raise prices. None of this means anything for the long term. The investor who confuses a windfall with a moat is the same investor who later wonders what went wrong.
The real test is duration. A company that has held high operating margins for ten or fifteen years, through good times and bad, through new competitors entering and old ones leaving, through technological change and macroeconomic chaos, is telling you something profound. It is telling you that whatever advantage it has is structural. The world has thrown things at this business, and the margin has not flinched.
This is why looking at a single year of margins is almost useless. You need the long view. The pattern matters more than the snapshot. A company whose operating margin stays remarkably steady for a decade is more interesting than a company whose margin spiked once and then drifted back to average. Steadiness is the signature of a real moat. Volatility is the signature of luck.
There is something almost meditative about this kind of analysis. You are not trying to predict the next quarter. You are trying to look at a long stretch of history and ask whether the company has been quietly, persistently, almost boringly excellent. Most have not. The few that have are the ones worth understanding deeply.
The Industry Trap
A common mistake is to compare operating margins across industries and draw conclusions. Software companies often have margins that look like science fiction next to grocery stores. This does not mean every software company has a moat and every grocer is doomed. It means software and grocery are different businesses with different economics. Comparing them is like comparing the salaries of surgeons and teachers and concluding that surgeons are smarter.
Margins only become meaningful when you compare a company to its actual peers. The question is not whether a retailer has a higher margin than a pharmaceutical company. The question is whether this retailer has a higher margin than other retailers, and whether it has sustained that lead over time. A grocer with a five percent operating margin in a world where every other grocer earns two percent is doing something special. That extra three percentage points is the moat. It might be scale, distribution, private labels, or simply the rare gift of running operations well. But it is real, and it is rare, and it is the thing worth investigating.
This is why margin analysis is contextual rather than absolute. The number alone tells you almost nothing. The number relative to peers tells you almost everything.
When High Margins Lie
Now for the uncomfortable part. High operating margins are not always a moat. Sometimes they are a flag. A young company in a hot industry might post huge margins because it has the field to itself, but that field will soon be flooded with imitators armed with venture capital and ambition. The margins will collapse, the moat that never existed will fail to materialize, and the early numbers will turn out to have been a kind of mirage shimmering on the desert floor.
Other times, high margins reflect underinvestment. A company that stops spending on research, marketing, or maintenance can show wonderful margins for a few years while it secretly liquidates its future. This is a classic trick of mature businesses in slow decline. They cut, the margins look great, the stock holds up for a while, and then one day the underinvestment shows up as obsolescence. The moat was not a moat. It was the company eating its own seed corn.
So margins need company. You want to see high margins alongside healthy reinvestment, growing or stable market share, and customers who keep coming back. When all of those line up, the moat is probably real. When margins are high but the company is shrinking, or starving its own future to flatter the present, something else is going on, and it is probably not good.
The Real Use of the Number
So what do you actually do with operating margin once you have it? You use it as a starting point, not a verdict. A high and stable operating margin relative to peers is not proof of a moat. It is a reason to ask the next question. What is producing this margin? Is it scale? A unique distribution system? A brand that customers genuinely pay extra for? A patent or regulatory advantage? A cost structure that competitors cannot match? Something else?
The margin sends you looking for the cause. The cause, once identified, tells you whether the moat is durable or fragile. Patents expire. Brands can fade. Regulation can change. Scale can be matched by a bigger competitor. Some moats are deeper than others, and the only way to know which is which is to figure out what is really doing the work.
What margin gives you is permission to spend your time on the right companies. Most businesses do not have a moat, and margin filter narrows the field. It points you toward the small number of companies where the moat conversation is actually worth having. Everything else is just a business, fighting for its life in a fair fight, with no advantage to defend and no reason to expect unusual returns.
A Closing Thought
There is something almost poetic about how operating margins work. They are a quiet, dry accounting concept that ends up telling you whether a company is actually special. Not because the number itself is magical, but because of what the number forces you to confront. If a company is keeping more of its revenue than its rivals, for longer than seems reasonable, then something is going on. The world is not normally so generous. Profits attract competition the way sugar attracts ants. When profits persist despite the ants, you are looking at a fortress.
The investor who learns to read margins this way has a kind of x-ray vision. Past the stories, past the slogans, past the carefully curated investor presentations, the numbers reveal whether a company is genuinely defended or merely well dressed. Most are well dressed. A few are defended.
The whole game is learning to tell the difference, and operating margin is the simplest, oldest, and most reliable tool we have for doing it.


