Warren Buffett emphasizes the importance of durable competitive advantages — what he calls economic moats. A wide moat protects a company's profits from competitors the same way a castle moat protects against invaders.
But how do you measure something as qualitative as competitive advantage using numbers? That's what the Economic Moat Score on SafetyMargin.io attempts — it's our proprietary quantitative framework that scores moat durability on a 0-100 scale using four fundamental dimensions. The component weights, thresholds, and scoring formulas are SafetyMargin.io's own determinations, not academic standards or established industry metrics.
What the Score Means
The Economic Moat Score is a composite score from 0 to 100:
- 70-100 — Wide Moat. The company shows strong, consistent evidence of a durable competitive advantage across multiple dimensions. Think MSFT, V, or KO.
- 40-69 — Narrow Moat. Some competitive advantages exist, but they may be less consistent or less broad. The business has positioning, but it's not unassailable.
- 0-39 — No Moat. Limited evidence of sustainable competitive advantage. The company operates in a competitive environment where it struggles to consistently earn returns above its cost of capital.
The key word is durable. A company might have one great year, but that doesn't indicate a moat. The score rewards consistency over time — because moats, by definition, persist.
The Four Components
1. ROIC Consistency (35% weight)
What it measures: How consistently the company earns returns above a hurdle rate representing the cost of capital.
This is a strong quantitative signal of a competitive advantage. When a company earns ROIC above its cost of capital year after year, it means something is preventing competitors from entering the market and driving returns down to average. That "something" is the moat. SafetyMargin.io uses a fixed 9% hurdle rate as its baseline for comparison — this is our proxy, not an industry standard. Buffett himself has never publicly specified a single hurdle rate, though he has referenced equity-like returns in the high single digits. In practice, each company's true cost of capital varies — a stable utility might have a cost of capital around 6–7%, while a volatile tech company might be closer to 11–13%. A fixed hurdle is a simplification that can penalize low-risk sectors and be too lenient for high-risk ones. Note: the score applies a 21% tax adjustment to operating income to approximate after-tax ROIC using the U.S. statutory rate — actual effective tax rates vary by company and jurisdiction. Also note that ROIC can be inflated via aggressive share buybacks (which shrink the equity base) — cross-check by reviewing free cash flow and reinvestment levels.
How it's scored:
- ROIC above hurdle rate for 100% of years with a 10%+ average spread = top score
- ROIC above hurdle rate for 80%+ of years = strong
- ROIC above hurdle rate for 60%+ of years = moderate
- ROIC above hurdle rate for less than 50% of years = weak
The score also accounts for trend direction — improving ROIC gets a bonus, declining ROIC gets a penalty. A moat that's eroding is worth less than one that's strengthening.
Why it matters most: Buffett's entire framework revolves around returns on capital. A business that consistently earns 20% on capital while its cost of capital is 10% is creating enormous value for shareholders. A business that earns 8% on 10% capital is destroying value. The difference between these two scenarios, sustained over a decade, is the difference between a compounder and a value trap.
2. Margin Stability (25% weight)
What it measures: How stable the company's gross and operating margins are over time.
Stable margins indicate pricing power — the company can maintain its prices without being forced into destructive competition. When a company's margins bounce around wildly, it suggests the business is at the mercy of commodity prices, aggressive competitors, or shifting customer preferences.
How it's scored:
- Coefficient of variation (CV) below 5% = very stable margins, top score
- CV below 10% = stable
- CV below 20% = moderate volatility
- CV above 20% = high volatility, weak pricing power
The score also factors in:
- Margin trend: Expanding margins get a bonus (the moat is strengthening), contracting margins get a penalty
- Absolute margin level: Companies with gross margins above 50% get a bonus — it's harder to disrupt a business with that much pricing power
Real-world insight: Compare AAPL's gross margins (consistently 38-43%) with a commodity producer whose margins swing from 5% to 25% depending on market prices. The stability itself is evidence of competitive positioning.
3. Revenue Predictability (20% weight)
What it measures: How consistent and predictable the company's revenue growth is.
Companies with durable competitive advantages tend to have predictable revenue streams. Their customers keep coming back (switching costs), they have long-term contracts (recurring revenue), or their brands command consistent demand regardless of economic conditions.
How it's scored:
- Standard deviation of year-over-year growth below 5% = highly predictable, top score
- Below 10% = predictable
- Below 20% = moderate variability
- Above 20% = unpredictable
Bonuses are applied for:
- Consistently positive growth: A company that grows revenue every single year is more predictable than one that alternates between growth and decline
- Strong average growth rate: Growing at 8%+ with low variance is better than growing at 2% with low variance
Why this matters: Revenue predictability is a proxy for demand durability. If customers have viable alternatives, revenue becomes volatile. If they're locked in — through habits, contracts, switching costs, or network effects — revenue becomes a smooth, upward curve.
4. Reinvestment Efficiency (20% weight)
What it measures: How much growth the company achieves per dollar of capital reinvested.
This is the "asset-light" dimension. Companies with wide moats can often grow their revenue without proportional increases in capital expenditure. They've already built the infrastructure (the brand, the network, the platform), and incremental revenue flows through at high margins.
How it's scored:
- CapEx/Revenue below 5% = very capital-light, top score
- Below 8% = capital-light
- Below 12% = moderate
- Above 20% = capital-heavy
Note: this component heavily favors software and platform businesses. Capital-intensive moated businesses (utilities, railroads, pipelines, toll roads) may score lower on this dimension despite genuine competitive advantages — their moats show up in ROIC consistency and margin stability instead. Also, low CapEx/Revenue can signal either capital efficiency (a moat) or underinvestment (a value trap). The score accounts for this by requiring strong revenue growth alongside low capex intensity — a company spending little and growing is genuinely asset-light, while one spending little with stagnant revenue may be deferring necessary investment.
Bonuses are applied for:
- High revenue CAGR with low capex intensity: Growing at 10%+ while spending less than 15% of revenue on capex
- Strong FCF margins: Converting revenue to free cash flow at 20%+ rates
Real-world insight: Software companies like MSFT can add a million new Office 365 subscribers with near-zero incremental capital investment. An airline needs to buy another plane. The software company's moat is reflected in its reinvestment efficiency — it generates enormous free cash flow relative to its capital needs.
How to Use the Moat Score
As a quality screen
Before diving deep into any stock, check the Moat Score. A score below 40 doesn't mean the stock is a bad investment — it might be a deep value play — but it means you shouldn't expect the business to compound wealth on its own merits. You're relying on price recovery, not business quality.
Identify the weakest link
Click "Show 4 components" to see which dimension is pulling the score down. A company with excellent ROIC consistency but weak revenue predictability might be cyclical — great business in good times, but vulnerable to downturns. A company with stable margins but poor reinvestment efficiency might be a mature cash cow that can't grow efficiently.
Track the trend
The Moat Score Trend chart shows how the composite score has evolved over time. A rising trend suggests the moat is strengthening — perhaps through growing network effects or increasing switching costs. A declining trend is a warning sign that competitive advantages may be eroding.
Combine with valuation
A wide-moat company trading at a fair price is a better long-term investment than a no-moat company trading at a discount. Buffett evolved from buying "cigar butts" (cheap, low-quality businesses) to buying "wonderful companies at fair prices" — and the moat is what makes a company wonderful.
Use the Economic Moat Score alongside the DCF analysis and Margin of Safety. The ideal Buffett-style investment is a wide-moat company (score 70+) trading with a meaningful margin of safety (20%+ below intrinsic value).
Limitations
The component weights (ROIC 35%, Margins 25%, Revenue Predictability 20%, Reinvestment Efficiency 20%) are SafetyMargin.io's proprietary determination, designed to emphasize the factors most correlated with long-term shareholder value creation. Different weighting schemes are equally valid — there is no single "correct" way to quantify moats. The thresholds within each component (e.g., CV below 5%, CapEx/Revenue below 5%) are similarly our own framework, not industry standards.
No quantitative model fully captures competitive advantage. The Economic Moat Score cannot measure:
- Brand intangibles — A brand like Coca-Cola has value that doesn't show up purely in financial ratios
- Regulatory advantages — Licenses, patents, and regulatory barriers create moats that aren't directly reflected in margin stability
- Management quality — A great management team can widen a moat; a poor one can destroy it
- Future disruption risk — Historical consistency doesn't guarantee the moat will persist. Kodak had fortress-like metrics in 1990; digital disruption destroyed them within 15 years. The score excels at measuring current competitive positioning but cannot forecast existential threats.
The score should be used as one input alongside qualitative analysis, not as a standalone verdict. When the quantitative score and your qualitative assessment agree, you can have higher conviction. When they disagree, dig deeper.
The Buffett Framework
Buffett's investment approach revolves around three core questions:
- Is this a business I understand? (Circle of competence)
- Does it have a durable competitive advantage? (Economic moat)
- Is the price right? (Margin of safety)
The Economic Moat Score addresses question #2 with data. Combined with SafetyMargin.io's DCF analysis (question #3) and the business description and sector information (question #1), you have a quantitative framework for the entire Buffett checklist.
The score uses 4 years to over a decade of fundamental data, depending on availability, to evaluate competitive durability. Because moats are measured in decades, not quarters — and the longer the track record of outperformance, the more confident you can be that the advantage is real.