Take the card out of your wallet. It almost certainly says Visa or Mastercard in one corner.
But neither of them lent you that money. Visa says so in its annual report: it isn't a financial institution, it doesn't issue cards, it doesn't extend credit and it doesn't set the rates your bank charges you.
What it does is move the payment. In 2025, $14.6 trillion in purchases went through its network, on 5,142 million cards in more than 200 countries. Mastercard's network carried $8.8 trillion.
A business like that sounds like the perfect example of a moat. The question is how you measure it.
This is the eleventh post in a series of 13 on tools.ezrasnotes.com, the site of value investing calculators I built from my Excel templates. It's free, there's no account, and nothing you type leaves your browser.
This series runs one post a weekday. If you'd rather skip it, click "unsubscribe" at the bottom of this email and turn off only the Tools section. You'll keep getting everything else.
What the calculator measures
The calculator comes from Measuring the Moat the paper Michael Mauboussin and Dan Callahan published in October 2024. It takes two numbers from the paper, and you can use one or both.
1. Where the ROIC comes from. Return on invested capital (ROIC) is the after-tax margin times capital turnover: how much is left from each sale, times how many dollars of sales each dollar of capital brings in. Two companies can earn the same ROIC in opposite ways.
Mauboussin and Callahan explain what each path points to. Companies that win through differentiation (a product customers pay more for) tend to have high margins. Companies that win on cost tend to have high turnover. Comparing both parts with the competitors' tells you what kind of advantage to look for.
2. How stable market shares are. If shares barely move, it's easier to hold on to an edge. If they jump around, something is going on: new competitors, new technology or price wars.
The measure is the average change in each competitor's share between two years. Mauboussin's rule: 2% or less over 5 years is a relatively stable industry. In the paper, US search engines and carmakers moved about 1% from 2018 to 2023, and web browsers and social media about 3%.
The calculator also shows concentration: the Herfindahl-Hirschman Index (HHI) and the share of the top four. Mauboussin warns that concentration isn't reliably linked to value creation.
Which companies it works for
Any company with clear competitors and comparable accounts.
The first part doesn't work for banks and insurers, because invested capital means something else for them. That's why American Express is left out of the ROIC comparison: it's also a bank.
The second part needs a market you can define and data on the shares. That's usually the problem. Companies rarely report them.
With Visa I got lucky: every year, its annual report includes a table comparing its network with its competitors', with data from The Nilson Report.
The data
Part one. The figures come from both companies' 10-Ks, in millions of dollars. Visa's year ends in September and Mastercard's in December, so I used Visa's fiscal 2025 (October 2024 to September 2025) and Mastercard's 2025.
Revenue: Visa, 40,000. Mastercard, 32,791.
NOPAT (operating income after tax): Visa, 19,892. Mastercard, 15,225. It's operating income times one minus the tax rate each one paid (17.1% and 19.4%).
Invested capital: Visa, 43,084. Mastercard, 15,848. It's shareholders' equity plus debt, minus cash and investments.
The golden rule for this part: measure every company the same way. If you change the definition from one to the next, the comparison is worthless.
Part two. Payments volume in billions of dollars, in 2020 and 2025, from Visa's 10-Ks:
Visa: 8,911 and 14,567
Mastercard: 4,743 and 8,812
American Express: 1,005 and 1,888
JCB: 308 and 342
Diners Club / Discover: 166 and 257
The result: Visa earns no more than Mastercard
Visa's margin is 49.7%. Mastercard's is 46.4%. So far, Visa is ahead.
But each dollar of Visa's capital brings in 93 cents of sales. Each dollar of Mastercard's brings in $2.07.
Visa's ROIC comes out at 46.2% and Mastercard's at 96.1%. The calculator sums it up in three words: "No ROIC edge." Visa earns no more on its capital than its competitor.
This is where the calculator stops giving answers and starts asking questions. Why does Visa need almost 3x as much capital to sell the same amount?
The answer is in 2016
In June 2016, Visa bought Visa Europe for $18,800 million. Until then, Visa Europe was a separate company that used the Visa brand in Europe under a license.
On the books, almost all of that price became intangibles: $16,100 million in customer relationships and reacquired rights, and $3,300 million of goodwill. Those intangibles aren't amortized. They stay on the balance sheet.
Today Visa carries $47,500 million of intangibles and goodwill. That's more than all of its invested capital.
Take them out and Visa's invested capital drops to −4,441 million. Mastercard's drops to 734 million.
Both run on almost no tangible capital. They don't need factories or inventory: they need a network, and they need banks, merchants and people to use it. The ROIC gap reflects a deal, not how each company runs.
Should you take the intangibles out? It depends on the question. If you want to know how good the business is, yes. If you want to know what the shareholders' money is earning, no: Visa's shareholders did pay that $18,800 million.
The market barely moves
The second part gives you another read.
From 2020 to 2025, Visa went from 58.9% of the volume to 56.3%. Mastercard went from 31.3% to 34.1%. American Express rose from 6.6% to 7.3%, JCB fell from 2.0% to 1.3% and Diners Club / Discover stayed at 1%.
The average change was 1.4% over 5 years. By Mauboussin's rule, it's a stable industry, closer to search engines than to social media.
The HHI is 4,388, well above 1,800 (the "highly concentrated" threshold in the 2023 US Merger Guidelines). The four largest networks have 99% of the volume.
But there's movement inside that stability: almost everything Visa lost, Mastercard gained. Visa is still the biggest, and its lead has been slowly narrowing.
What the calculator can't see
Who's missing from the table. Visa's table doesn't include UnionPay (China's network) or the local debit networks. Add them and the shares change.
What gets counted. For Visa and Mastercard, the table adds up credit, debit and prepaid. For American Express, JCB and Discover, it counts credit cards only. It's not quite the same thing.
The starting year. In 2020 the pandemic stopped travel, and American Express, which is closely tied to it, came out low. If you compare 2019 with 2024, the average change drops to 1.1%. The conclusion doesn't change.
The why. The numbers don't explain the moat. They only point to where to look for it. At Visa, the moat is the network: every bank that issues Visa cards makes the network more valuable to merchants, and every merchant that accepts them makes it more valuable to banks. The calculator doesn't measure that. Nor does it measure what Visa's own report lists as threats: new competitors in mobile and online payments, digital currencies like stablecoins and countries that cap fees.
Final thoughts
I thought this would be the easy case. Visa is one of the classic examples of a moat, and I expected the calculator to confirm it.
What I found was a warning. ROIC measures the accounting as much as the business. If you don't know where the invested capital comes from, you can reach the wrong conclusion in either direction.
The calculator says it right below the result: the numbers point you to questions. The moat itself is in the industry and the strategy.
Try it yourself
The calculator is here: tools.ezrasnotes.com/moat
And here's my Visa case, with every field filled in.
Try two things. Change Visa's invested capital to 23,205 (what's left if you take out only the goodwill) and watch the ROIC rise to 85.7%. Then enter a 9% cost of capital and see how far above it both companies are.
Once you have your own calculation, you can save it with the link or download it as a PDF or CSV. And if you'd like me to see it, use "Send to Ezra" at the bottom of the page. I read every one that comes in and, with your OK, I'll share some with the community.
Would you take the Visa Europe intangibles out of invested capital or leave them in? Tell me in the comments.
And if you liked this post, share the love!
DISCLAIMER: This post is not investment advice.



