Skip to main content
Value Investing

Economic Moat by the Numbers: A Data Analysis for Investors

JS
Written by Javier Sanz
8 min read
Share:

Economic Moat by the Numbers: A Data Analysis for Investors

economic moat — chart and analysis

An economic moat is the structural advantage that allows a business to earn returns on invested capital well above its cost of capital for a decade or more, long enough that competition cannot erode the premium. The term comes from Warren Buffett, but the underlying concept predates him: durable businesses outperform because their advantages compound, while businesses without moats compete margins down to zero. Apple's ROIC of 45.1% against a cost of capital near 9% is not an accident of effort; it reflects ecosystem switching costs that take years to dismantle. This post puts numbers behind the concept and gives you a repeatable framework for identifying, ranking, and acting on economic moat data.

Key Takeaways

  • ROIC sustained above 15% for five or more consecutive years is the single most reliable numerical indicator of a wide economic moat.
  • Gross margin stability (standard deviation below 5 percentage points over a decade) signals pricing power, a core moat characteristic.
  • The five moat sources are switching costs, network effects, cost advantages, intangible assets, and efficient scale. Most wide-moat businesses rely on two or more simultaneously.
  • BRK.B (P/B 1.5) and JNJ (dividend yield 3.1%) illustrate two ends of the moat spectrum: capital allocation moat versus brand and regulatory moat.
  • Moat analysis and valuation are separate exercises. A company can have a wide moat and still be overpriced.
  • The ValueMarkers VMCI Score captures moat quality primarily through the Quality pillar (30% weight), which uses ROIC, gross margin, and earnings consistency as inputs.

The Five Sources of Economic Moats

Every moat traces back to one or more structural advantages that are hard to replicate. Understanding the source tells you how durable the moat is and where it might erode.

Switching costs are the friction a customer faces when changing suppliers. The switching cost does not have to be financial; it can be time, retraining, data migration, or risk. Microsoft Office has a switching cost measured in institutional habit. Salesforce CRM has a switching cost measured in the years of customer relationship data stored inside the platform. A business with high switching costs can raise prices 3-5% annually without meaningful churn.

Network effects grow a product's value as more people use it. Visa's payment network becomes more useful the more merchants accept it and the more cardholders carry it. The first fax machine was useless; the millionth was indispensable. Network effects tend to produce winner-take-most dynamics, which is why Visa and Mastercard together control over 90% of global card payment volume.

Cost advantages let a company produce the same product for less than any competitor. These come from scale, proprietary processes, or superior access to raw materials. Walmart's logistics network and buying power let it stock shelves at a cost per unit that smaller retailers cannot match. The moat is not that Walmart is smarter; it is that Walmart is bigger, and bigger means cheaper, and cheaper means even bigger.

Intangible assets include patents, brands, and regulatory licenses. Johnson & Johnson's pharmaceutical patents protect specific drugs from generic competition for up to 20 years. Its consumer brands (Tylenol, Neutrogena, Band-Aid) carry pricing premiums that generic equivalents cannot fully close even after patents expire. JNJ's dividend yield of 3.1% with 60+ consecutive years of dividend growth reflects a business that has been printing consistent cash flows through recessions, product recalls, and competitive pressure.

Efficient scale protects a niche market where a single player can serve demand profitably but adding a second player would destroy profitability for both. Waste management, mid-size airport services, and regional freight rail all exhibit efficient scale moats. These are not glamorous businesses, but they are persistently profitable.

Measuring Economic Moat: The Numbers That Matter

You cannot observe a moat directly. You infer it from financial statement data, measured over at least five years so cyclical fluctuations do not distort the picture.

MetricStrong Moat SignalWeak Moat SignalWhy It Matters
ROICAbove 15% for 5+ yearsBelow cost of capitalHigh ROIC means competitive advantages are real, not temporary
Gross marginStable and above 40%Declining or below 20%Gross margin stability signals pricing power
Net margin trendExpanding or flatContracting over a cycleMeasures operating moat versus commodity economics
Revenue per employeeRising over timeFlat or fallingCaptures productivity moat from software or process advantages
Customer retention rateAbove 90%Below 80%Direct measure of switching cost moat
10-year average ROICAbove 20%Below cost of capitalFilters out moats that are narrowing

The ROIC calculation matters: use after-tax operating profit divided by invested capital (total equity plus total debt minus excess cash). This removes the distortion of use and gives you a clean read on how well the business converts capital into returns.

Economic Moat in Action: Four Real Companies

The data becomes intuitive when you look at actual companies rather than abstract definitions.

Apple (AAPL): The iOS-iCloud-AirPods ecosystem creates switching costs that are psychological, data-related, and habit-based simultaneously. Apple's ROIC of 45.1% and P/E of 28.3 reflect a market that believes those switching costs will hold for at least another decade. Gross margin has stayed above 42% for five consecutive years despite supply chain stress. That stability is the moat signal.

Microsoft (MSFT): Azure, Office 365, Teams, GitHub, and LinkedIn each operate in markets where network effects and switching costs reinforce each other. MSFT's ROIC runs approximately 35%, P/E 32.1. The cloud transition converted a commodity software business (buy once, own forever) into a recurring revenue model (pay monthly, never migrate), which deepened the moat.

Berkshire Hathaway (BRK.B): Buffett has described his own moat as the ability to allocate capital better than the average business manager, combined with the "float" from insurance operations that provides near-zero-cost capital. BRK.B trades at P/B 1.5, which is unusually low for a wide-moat business and reflects the complexity discount the market applies to a conglomerate. The insurance float moat is genuinely rare; replicating it would require writing $175 billion in insurance premiums.

Coca-Cola (KO): Brand moat combined with distribution advantages in 200+ countries. KO's dividend yield of 3.0%, with over 60 consecutive years of dividend increases, reflects a business that has earned above its cost of capital through multiple recessions. Gross margins above 58%. ROIC around 34%. The moat is not that Coke tastes better; it is that shelf space, vending machine contracts, and brand recall in 200 markets cannot be replicated without 50 years of marketing spend.

How Moat Width Affects Intrinsic Value

Moat width directly affects the terminal value in any DCF model. A wide-moat business can sustain above-average returns on capital for 15-20 years; a narrow-moat business for 5-10 years; a no-moat business competes margins down within 3-5 years.

In a standard two-stage DCF through our DCF calculator, changing the competitive advantage period from 5 years to 15 years on a business with 15% ROIC and 8% growth can increase the intrinsic value estimate by 35-50%. This is why moat classification is not a soft judgment call; it is a quantitative input into every valuation model.

The intrinsic value of a wide-moat company is higher than the intrinsic value of an identical-looking narrow-moat company, even if both report the same current EPS. The difference is the discounted value of superior returns sustained for longer.

Economic Moat and the P/E Ratio

A common error is treating a high P/E as evidence of overvaluation without considering the moat. If a company earns 40% ROIC and grows at 15% annually, a P/E of 35 can be entirely rational. If a company earns 10% ROIC and grows at 5% annually, a P/E of 20 may be expensive.

The P/E ratio is a shorthand for "how many years of current earnings am I paying for today?" A wide-moat business deserves a longer payback period because the earnings are more predictable and durable. The practical question is: how wide is the moat, and how long will it hold?

P/E RangeCompatible Moat ProfileExample
10-15xNarrow or no moat, mature industryAuto manufacturer
15-22xNarrow moat with some pricing powerRegional bank
22-30xModerate-to-wide moat, stable FCFJNJ, KO
30-40xWide moat, strong growth componentAAPL, MSFT
40x+Wide moat + high-growth expectationsNVDA at peak multiples

The ValueMarkers VMCI Score and Moat Quality

The VMCI Score quantifies what qualitative moat analysis describes. The Quality pillar (30% weight) measures ROIC trajectory, gross margin stability, earnings predictability, and balance sheet strength. A company with ROIC above 25%, gross margins above 40%, and a 5-year earnings CAGR above 10% will score highly on Quality regardless of the label investors attach to its moat.

The Integrity pillar (15% weight) captures moat resilience from a different angle: consistent accounting, low earnings manipulation scores, and conservative management guidance. Companies with wide moats tend to score well on Integrity because their cash flows are predictable enough that management does not need to massage the numbers.

Run any of the four companies profiled above through our screener and compare their VMCI Quality scores against the S&P 500 median. The gap between wide-moat names and the median is the numerical proof of the concept.

The Graham Number as a Moat Check

The Graham Number sets a price ceiling based on EPS and book value. Most wide-moat companies trade well above it, because Graham's formula was calibrated for asset-heavy, moderate-quality businesses. When a wide-moat company trades near or below its Graham Number, that is an exceptional entry signal.

BRK.B is one of the few wide-moat names that periodically trades close to its Graham Number, because Berkshire's book value is large and its EPS varies with market conditions. Buffett has said he would buy back stock aggressively when BRK.B trades below 1.2x book, which functions as a Graham Number-style floor. The current P/B of 1.5 is above that floor but within a range where Buffett has historically been active.

Further reading: SEC EDGAR · Investopedia

Why economic moat stocks Matters

This section anchors the discussion on economic moat stocks. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply economic moat stocks in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.

Key inputs for economic moat stocks

See the main discussion of economic moat stocks in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using economic moat stocks alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Sector benchmarks for economic moat stocks

See the main discussion of economic moat stocks in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using economic moat stocks alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Frequently Asked Questions

what is economic analysis in fundamental analysis

Economic analysis in fundamental analysis refers to evaluating the broader macro environment (GDP growth, interest rates, inflation, industry structure) before assessing individual companies. In the context of moat investing, economic analysis means understanding whether the industry structure supports durable competitive advantages. A monopoly utility operates in a different economic environment than a commodity chemical producer, and that difference determines whether above-average returns are possible at all.

what is an economic moat

An economic moat is the structural competitive advantage that allows a business to earn above-average returns on capital for a sustained period. The term comes from Warren Buffett's analogy to a castle moat: the wider and deeper the moat, the harder it is for competitors to attack the castle. Measurable moats show up in financial data as persistently high ROIC (above 15%), stable gross margins, and consistent earnings growth across economic cycles.

what is economic order quantity in relation to stock valuation

Economic order quantity is an inventory management formula that minimizes total ordering and holding costs. It is not directly related to stock valuation, but companies with highly efficient supply chains (reflected in low inventory turnover cycles and high asset turnover ratios) often exhibit cost-advantage moats. Walmart's ability to use near-optimal economic order quantities across its 10,000+ stores is part of the operational moat that keeps its cost structure below competitors.

how do economic indicators influence stock valuation

Economic indicators influence stock valuation by changing the inputs to intrinsic value models. Rising interest rates increase the discount rate in DCF models, which lowers present values even when cash flows are unchanged. Rising GDP growth improves revenue and earnings estimates, lifting intrinsic values. Wide-moat companies are less sensitive to these macro shifts because their earnings are more predictable across cycles, which is another argument for moat-focused investing during periods of economic uncertainty.

What is economic moat?

An economic moat is a durable competitive advantage that protects a company's profits from competition over the long term. It exists when a business can consistently earn returns on capital above its cost of capital, because switching costs, network effects, brand strength, or structural cost advantages prevent competitors from closing the gap. Apple's 45.1% ROIC over five years is a concrete example of a moat producing measurable financial results year after year.

How do you calculate economic moat?

You do not calculate a moat directly; you infer it from financial ratios measured over time. Start with 10-year average ROIC: above 15% suggests a moat, above 25% suggests a wide one. Then check gross margin stability (low standard deviation over a decade signals pricing power) and revenue growth consistency (organic growth above inflation signals demand stickiness). Cross-check against competitive dynamics: if a company with 30% ROIC has been targeted by well-funded competitors for 5 years and margins have not fallen, the moat is likely real.


Screen for wide-moat stocks using ROIC, gross margin, and the VMCI Quality score across 5,000+ companies in the ValueMarkers Screener. Find the companies where the numbers confirm the moat is real.

Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.


Ready to find your next value investment?

ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.

Related tools: DCF Calculator · Methodology · Compare ValueMarkers

Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.

Related Articles

Value Investing

Understanding Nvidia Competitive Advantages Moat Analysis: What Every Investor Should Know

Nvidia competitive advantages moat analysis shows why NVDA's CUDA ecosystem, supply chain control, and data-center pricing power make it one of the widest moats in tech.

8 min read

Value Investing

Wide Moat Undervalued Stocks: A Real-World Case Study for Investors

Wide moat undervalued stocks combine durable competitive advantages with prices below intrinsic value. This case study shows how to find them with real data.

8 min read

Value Investing

The Value Investor's Vanguard Personal Investor Checklist

A practical checklist for vanguard personal investor accounts, covering the key financial ratios and screening criteria that separate lasting wealth from speculation.

6 min read

Value Investing

Benjamin Graham Explained: What Every Investor Should Know

Benjamin Graham built the intellectual foundation of value investing. This comprehensive analysis covers his life, principles, formulas, and why his methods still produce results.

14 min read

Value Investing

Johnson and Johnson Financial Ratios by the Numbers: A Data Analysis for Investors

A data-driven breakdown of Johnson and Johnson financial ratios, covering valuation, profitability, dividend health, and balance sheet strength across the last decade.

10 min read

Value Investing

The Value Investor's Define Intrinsic Value Checklist

To define intrinsic value precisely: it is the present value of a business's future free cash flows, discounted at a required rate of return.

7 min read

Weekly Stock Analysis - Free

5 undervalued stocks, fully modeled. Every Monday. No spam.

Cookie Preferences

We use cookies to analyze site usage and improve your experience. You can accept all, reject all, or customize your preferences.