In November 2025, Hershey paid $815 million for LesserEvil, a maker of organic popcorn and snacks. A year earlier it had bought the Sour Strips candy brand. In 2021 it spent $1.6 billion on Lily's, Dot's and Pretzels.
Hershey has factories, recipes and money to spare. Why didn't it build those brands itself?
Because building a brand costs money and takes time. That question (what it would cost someone to build what already exists) sits at the heart of one of the most useful moat tests I know: Bruce Greenwald's.
This is the third 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. In the second post I ran Oakley's EPV on H&R Block. Today it's Greenwald's version, which is longer and asks more of you.
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 test measures
Greenwald values a business twice.
First, what it would cost to rebuild it: how much a new competitor would have to spend to get the same factories, the same inventory, the same products and the same customers.
Then, what its profits are worth if they never grow. That's the Earnings Power Value (EPV), the same idea as in the last post, worked out Greenwald's way.
If the two numbers are close, there's no moat. Anyone with the money could copy the business and earn the same. If the profits are worth much more than the assets, something is keeping competitors out. That gap is what the moat is worth.
The method comes from Greenwald's book Value Investing: From Graham to Buffett and Beyond and from the classes he taught his value investing students at Columbia Business School.
I put a warning on the page: this is the hardest calculator on the site. You need the notes to the 10-K, an estimate of what a rival would spend on brands and customers, and a cost of capital you pick yourself. If you've never worked out an EPV, start with Oakley's.
Which companies it works for
It works for mature businesses whose assets you can price, in an industry you can draw a line around: manufacturers, retailers, distributors, consumer brands and services with a track record.
It works badly in four cases:
Banks and insurers, because their assets are loans and bonds.
Young, fast-growing companies, because they have no cycle of margins to average and almost all their value is growth, which this test leaves out on purpose.
Businesses built on people or code, such as software firms, consultancies or asset managers, because they carry almost nothing on the balance sheet and the result ends up being your guess about the intangibles.
Conglomerates, because each business has its own competitors. Run the test one segment at a time.
Hershey is a consumer brand with more than a century behind it. It's the kind of company Greenwald had in mind for this test.
What it would cost to rebuild Hershey
Figures come from Hershey's 10-Ks, in thousands of dollars, mostly for 2025.
The calculator opens with a question: can a new competitor make money in this industry? If the answer is yes, the assets get valued at what it would cost to rebuild them. If no, at what a liquidator would get.
For Hershey it's yes, and the proof is its own shopping list. LesserEvil, Sour Strips and Lily's are brands someone else built from scratch, and they were making money.
Then the calculator works down the balance sheet. Almost everything stays at book value. But three lines are where the interesting stuff shows up.
Inventory. On the balance sheet it's worth $1,429 million. Replacing it today would cost $2,131 million. Hershey values most of its inventory with an accounting method (LIFO) that keeps cocoa at old prices. With cocoa as expensive as it's been, that gap has reached $702 million.
Recipes. Greenwald figures about 3 years of R&D to rebuild a consumer company's products. Hershey spent $61.7 million in 2025, so that's $185 million.
Brands. This is the biggest judgment call in the whole calculation. The calculator suggests 1 to 3 years of selling and administrative expenses. Hershey spent $2,461 million on those in 2025, $612 million of it on advertising.
I used 2 years: $4,921 million.
How much does it cost to get a kid to spot a Hershey's Kiss from across the supermarket aisle? I can't say precisely, and Greenwald doesn't pretend to either. That's why I put a note on the page: if you're guessing, try a low number and a high one, and see whether the result changes. I did, and you'll see what happened below.
Add it all up, subtract what Hershey owes its suppliers and its deferred taxes, and rebuilding Hershey would cost about $9,744 million.
What its profits are worth
This is where Hershey teaches the most important lesson in this calculator.
In 2024, Hershey made 25.9 cents of operating profit on every dollar it sold. In 2025, 12.3 cents.
Part of the drop is cocoa, which soared. The other part is accounting: Hershey hedges its cocoa, and changes in the value of those hedges run through profit. In 2024 they added a $514 million gain it hadn't cashed yet. In 2025, a $530 million loss it hadn't paid yet.
Take a single year and Hershey's EPV comes out huge or tiny, depending on which one you pick.
That's why the calculator asks for the average margin over a full cycle (7 to 10 years) and has a helper to work it out. I entered the 10 years from 2016 to 2025. The average margin comes to 20.27%, and the 2024 and 2025 hedges nearly cancel each other out.
Three more calls went into it:
Taxes: 25%. The average effective rate over the last 5 years was 16.7%. It's low because Hershey invests in partnerships that give it tax credits, and the cost of those investments shows up below operating profit. Using the low rate without that cost would inflate the value. I used the 21% federal rate plus 4.1% in state taxes.
Maintenance capex: $482 million. The calculator estimates it Greenwald's way: how much plant Hershey needs per dollar of sales, and how much of its spending went to growth.
The rate: 7%. Greenwald picks the cost of capital by judgment, based on risk. I used 8% for equity because of the cocoa exposure. For debt I used 5.31%, the yield on its 2035 bond according to undated market data. The blend comes to 7.46%, and the calculator rounds it to 7%.
That rounding matters more than it looks. If debt cost 5.67% or more, the rate would round up to 8% and EPV would fall 15%.
With all that, Hershey generates $1,757 million a year it could pay out and still stay exactly as it is. At 7%, the business is worth $25,103 million.
The result
Hershey's profits are worth 2.58 times what it would cost to rebuild it. On Greenwald's scale, that's case C: above 1.25 times, there's a franchise.
The gap, $15,359 million, is what the moat is worth. Hershey earns 18% on what it would cost to rebuild, more than twice its cost of capital.
What I like most is that the result survives my judgment calls. I raised brands to 3 years of expenses and the rate to 8%, and profits are still worth 1.8 times the assets. Case C doesn't hinge on my guess about what a brand is worth.
The calculator asks you to name the advantage before you trust the number. With Hershey you could see it in 2025: it raised prices about 6% and lost around 1% of volume. A business without brand power can't take that.
What the calculator can't see
How long the moat will last. Case C says Hershey earns more today than its assets justify. It doesn't say for how many years.
Growth. Greenwald leaves it out on purpose. EPV works out to $102.42 a share, and the closing price on the date of the calculation was $174.05. EPV explains 59% of the price. The other 41% is growth, and this test doesn't value it.
Whether the margin changed for good. The 10-year average assumes cocoa goes back to normal. If expensive cocoa is here to stay and Hershey can't pass all of it on to its prices, the normal margin is below 20.27%.
What the brands are really worth. The page has an optional field to compare against what buyers paid for similar brands. I couldn't use it: Hershey says what it paid for LesserEvil but not how much LesserEvil sold.
Final thoughts
Hershey could have launched its own brand of organic popcorn. It had the factories, the distribution and the money. It chose to pay $815 million for one that already existed.
That decision says the same thing as the calculator, from the other side. Brands people already recognize cost more to build than they seem to, and that's why competitors can't come in and take Hershey's profits away.
Greenwald put a number on that idea: $15,359 million.
Try it yourself
The calculator is here: tools.ezrasnotes.com/greenwald
And here's my Hershey case, with every field filled in.
Try two things. Change the brand multiple from 2 to 1 and to 3, and see whether the case changes. Then raise the cost of debt from 5.31 to 5.7 and watch what happens to the rate.
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.
Which other company do you think would pass Greenwald's test? Tell me in the comments.
The next post comes on Monday, November 30. There are no posts on Thursday or Friday because of Thanksgiving.
And if you liked this post, share the love!
DISCLAIMER: This post is not investment advice.



