Contents Lesson 5 of 16

4 min read · professional

Why do some companies stay profitable for decades while rivals can't?

High profits are supposed to be temporary. In theory, a business earning fat margins attracts competitors, who pile in until the fat is competed away. Yet some companies stay richly profitable year after year. The reason has a name popularized by investors: the economic moat.

A moat is durable protection from competition

A moat is a structural advantage that keeps rivals from eroding a company's profits — the castle wall that lets it keep what it earns. It is measured in years of being hard to attack. The classic sources:

  • Intangible assets — a brand people pay up for, a patent, a licence rivals can't get. (A luxury label can charge a premium purely because of what the name signals.)
  • Switching costs — it's painful or risky to leave. Enterprise software wired into a company's daily operations is a nightmare to rip out, so customers stay and keep paying.
  • Network effects — the product gets more valuable as more people use it. Each new user of a marketplace or payment network makes it better for everyone, which pulls in more users. Rivals starting from zero can't match the pull.
  • Cost advantages — the company can produce cheaper than anyone (huge scale, a unique location, a cheaper input) and still make money at prices that would sink competitors.
  • Efficient scale — a market only big enough for one or two players profitably, so newcomers would just destroy everyone's margins by entering.

Why a moat shows up in the numbers

A moat isn't a vibe — it leaves fingerprints on the financials you already know how to read:

  • Persistently high returns on capital that don't fade back to average.
  • Stable or rising margins even when competitors are present.
  • Pricing power — the ability to raise prices without losing customers.

A company that earns 25% on its capital for a decade while rivals scrape 8% is telling you a moat is at work, even before you can name which kind.

A worked example

SoftLedger sells accounting software to mid-sized firms. Once a client runs payroll, tax, and invoicing through it, switching means retraining staff and risking errors on money — so almost nobody leaves, and SoftLedger nudges prices up 5% a year without losing customers. Its switching-cost moat shows up as ~95% customer retention and steadily rising margins. A rival with an identical product still can't win those customers, because the product was never really the point — the lock-in was.

Try it now

Pick a company you believe has lasting advantages and name which moat type you think it has, before opening anything.

Then look for the fingerprints. Here is the returns side for one company:

Live API response: apple returns on capital
  1. Read the operating margin and the return on equity. High numbers are the first fingerprint — but a single trailing snapshot cannot show persistence, which is the actual claim a moat makes.
  2. So rebuild the persistence yourself from operating income and revenue, year by year; here are the newest five years:
Live API response: fa2 apple margin history

Divide one by the other, year by year. Are the margins high and stable, or do they wobble toward the pack? 3. Compare against a rival in the same industry, on the same two lines:

Live API response: fa2 sony margin history

Compute its five operating margins the same way and set them beside the first five. A persistent gap in margin, year after year, is the moat's shadow on the numbers. To test the company you named at the start instead, open it in the Terminal and read its income statement there: Open AAPL.US — fundamentals in the EODHD Terminal starts on the company above, and the symbol can be changed. 4. A different shape of business, so you can see what "high and stable" is being measured against:

Live API response: walmart key figures

Its margins are a fraction of the first table's, and it may still have the stronger moat in its own industry. Compare within an industry or the comparison means nothing.