HSY vs PEP: Which Is the Better Buy in 2026?
Last updated November 2026
Short answer
PEP is the larger of the two ($193.81B market cap): the incumbent the market prices for continued execution (16.55x forward earnings, beta 0.32). HSY is the smaller challenger ($35.89B), priced similarly on forward earnings (18.86x): more room to run, but more to prove. If the story you believe is HSY's (Cocoa cost normalization and margin recovery), HSY is the more direct way to own it; if it is PEP's (Frito-Lay snack moat), PEP is.
HSY vs PEP: the tie-breaker metrics
Same yardstick, side by side (as of November 2026). Valuation lined up like this is most meaningful for two names in the same corner of the market, which these are. Figures are approximate; verify before investing.
| Metric | HSY | PEP | What it tells you |
|---|---|---|---|
| Market cap | $35.89B | $193.81B | Size. The larger name is the incumbent; the smaller has more room to grow and more to prove. |
| Forward P/E | 18.86 | 16.55 | Valuation on next year's expected earnings, the same yardstick for both. Lower is cheaper for that growth; higher means the market is paying up. |
| Trailing P/E | 20.20 | 17.89 | Valuation on the last 12 months. A big drop from trailing to forward means the market expects earnings to jump, so more growth is already in the price. |
| Beta | 0.07 | 0.32 | Volatility vs the market. Above 1 swings harder than the index; below 1 is steadier. Higher beta means bigger drawdowns to hold through. |
| Price vs 52-week range | 27% of range | 39% of range | Where today's price sits between the 52-week low and high. Near the high is momentum with less margin of safety; near the low is out of favor or a discount, depending on why. |
| Price / book | 7.36 | 8.70 | How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price. |
Before you buy: how HSY and PEP affect your concentration
The metrics above tell you which is the marginally better business. The bigger risk for most people is not picking the slightly worse stock, it is over-concentrating. HSY and PEP share themes, so owning both, or adding either to what you already hold, can quietly push a large share of your portfolio into one bet.
This is the part a generic comparison page cannot answer, because it depends on what you own. Connect your brokerage and Walnut shows your real, combined HSY and PEP exposure, flags overlap with your existing positions, and tells you if adding one would tip you past a concentration you are comfortable with, read-only by default, with your login staying at your broker. Walnut is not an investment adviser.
What does The Hershey Company (HSY) do?
The Hershey Company is the dominant confectionery maker in North America, built on a portfolio of iconic brands including Hershey's, Reese's, Kisses, Kit Kat (US license), Jolly Rancher, and Twizzlers. It reports across chocolate and sweets plus a growing salty-snacks and better-for-you portfolio (SkinnyPop, Dot's Homestyle Pretzels, Pirate's Booty, LesserEvil), and it generates roughly $12.3 billion in trailing twelve-month revenue. As a consumer-staples business, Hershey has historically offered steady demand, pricing power from beloved brands, high margins, and a consistent, growing dividend, which is why many investors hold it as a defensive core holding rather than a fast grower.
What does PepsiCo (PEP) do?
PepsiCo is one of the world's largest food and beverage companies, generating about $98 billion of revenue over the trailing twelve months across a portfolio that spans Pepsi, Gatorade, Mountain Dew, Lay's, Doritos, Cheetos, Tostitos and Quaker. Its Frito-Lay snack arm controls more than 60% of the U.S. salty-snacks market and carries operating margins north of 40%, making convenient foods the company's profit engine, while its beverage unit holds the No. 2 spot in U.S. carbonated soft drinks (behind Coca-Cola) and leads sports drinks with Gatorade. Roughly half of revenue comes from foods and the business is spread across North America and fast-growing international markets.
HSY vs PEP: how do they differ?
Both fit overlapping themes, but they are not interchangeable. Here is what each one depends on.
- HSY drivers: Cocoa cost normalization and margin recovery; Pricing power from iconic brands.
- PEP drivers: Frito-Lay snack moat; Volume recovery and value pricing.
Which fits which kind of investor
A faster-growing, richer-valued name usually swings harder, so it suits a longer horizon and a higher tolerance for volatility; a steadier, more cash-generative business suits a more conservative or income-minded investor. A useful test is which set of risks you could hold through a drawdown: The dominant risk is cocoa cost inflation: chocolate depends on a single volatile agricultural commodity, and the 2024 to 2025 spike showed how fast margins can compress, with management noting pricing has not yet fully offset costs. For PEP, pepsiCo faces several structural headwinds.
HSY or PEP: which should you pick?
With growth, valuation and volatility this close (or not yet reported for one side), the drivers above are what separate HSY from PEP. Many investors hold both, but since they share themes, that is a concentrated bet, not diversification. Decide deliberately and check overlap. For the full detail, see the HSY and PEP guides.
HSY vs PEP: the full fundamentals
HSY. These figures are approximate and tied to November 20, 2026; verify live numbers before acting. At $178.69 Hershey trades near 20 times trailing earnings and about 19 times 2027 consensus, and the trailing multiple has dropped from ~23x in October because the third quarter lifted trailing EPS to ~$8.84. Earnings remain unusually sensitive to cocoa, so the rebound should be read as a recovery off a commodity-driven trough; always check the latest results, guidance and dividend before making any decision.
PEP. At about $142 (November 20, 2026) PepsiCo trades near 16.5x forward earnings, below the S&P 500 average, while yielding about 4.3%. Analysts expect only about 3% EPS growth in 2026 and about 2% in 2027 (consensus near $8.40 and $8.59), and the 22 analysts tracked by Yahoo Finance rate it a hold on average with a mean target near $141, about where the stock now trades. The valuation reflects a market pricing in slow growth in exchange for defensive stability and reliable income.
Headline figures (approximate, November 2026): HSY shows revenue (ttm) ~$12.3B, up ~3% year over year in Q3 2026, margins (ttm) ~42% gross, ~21% operating, ~15% net, recovering from the 2025 cocoa squeeze, net income (ttm) ~$1.79B vs ~$883M in fiscal 2025; trailing EPS ~$8.84, latest quarter (q3 2026) ~$3.28B revenue, adjusted EPS ~$2.64 vs ~$2.11 expected; PEP shows revenue (ttm) ~$98.2B (+~5.6% YoY latest quarter), q3 2026 eps ~$2.34 vs ~$2.30 consensus, net income (ttm) ~$10.9B (~11% margin), operating margin ~16%.
The bottom line: HSY vs PEP
HSY and PEP are related but distinct: same themes, different businesses and risks. Neither wins in the abstract, and whichever you pick is worth sizing so one theme does not take over your portfolio. Walnut can show your combined HSY and PEP exposure against your real portfolio. It is not an investment adviser.
Wondering how HSY or PEP fits the portfolio you already own? Walnut is an AI investing app that connects your brokerage read-only and answers questions like that about your actual holdings: overlap, concentration, and how each position tracks the S&P 500. Compare the best AI portfolio analyzers or see the best AI investing apps in 2026.
Your questions about The Hershey Company
Ask Walnut's AI anything about HSY and see how it fits what you own.
FAQ
What is the difference between HSY and PEP?
+
The Hershey Company is the dominant confectionery maker in North America, built on a portfolio of iconic brands including Hershey's, Reese's, Kisses, Kit Kat (US license), Jolly Rancher, and Twizzlers. PepsiCo is one of the world's largest food and beverage companies, generating about $98 billion of revenue over the trailing twelve months across a portfolio that spans Pepsi, Gatorade, Mountain Dew, Lay's, Doritos, Cheetos, Tostitos and Quaker. They show up together because they share investment themes, but they are different businesses, so the better fit depends on which thesis you are expressing.
Is HSY or PEP the better stock?
+
Neither is universally better. PEP is the larger incumbent; HSY is the smaller challenger and looks pricier on forward earnings. Walnut is informational, not investment advice. Compare what each does, the tie-breaker metrics above, and the risks, then decide which fits your thesis and what you already own.
Which is cheaper, HSY or PEP?
+
On forward P/E (as of November 2026), HSY trades at 18.86x and PEP at 16.55x, so PEP is the cheaper of the two on next year's expected earnings. A lower multiple is not automatically the better buy: a richer valuation can be justified by faster growth, and a lower one can reflect real risk. Weigh the multiple against how fast each business is compounding.
Should you own both HSY and PEP?
+
Because they share themes, owning both concentrates you in that theme. That can be intentional (a focused bet) or accidental (less diversification than it looks). Walnut can show your combined exposure across both, and whether adding either over-concentrates you, before you buy.
What are the risks of HSY vs PEP?
+
HSY: The dominant risk is cocoa cost inflation: chocolate depends on a single volatile agricultural commodity, and the 2024 to 2025 spike showed how fast margins can compress, with management noting pricing has not yet fully offset costs. Aggressive price increases risk softening volumes as shoppers trade down or buy less, and chocolate volume declines have already been a concern. Broader input, tariff, and packaging costs add pressure, and health and sugar-reduction trends are a slow structural headwind for confectionery. Hershey also carries meaningful controlling-shareholder dynamics through the Hershey Trust, which can affect governance and strategic flexibility. Finally, as a mature staples name, growth is modest, so the stock can lag in strong bull markets even when the business is healthy, and its valuation can look full for a slow grower. Balance sheet leverage is moderate rather than light, with ~$5.4 billion of debt against ~$677 million of cash, and the stock's ~2% decline in 2026 despite five quarters of earnings beats suggests the market is already wary of how durable the margin recovery is. Revenue growth slowing to ~3% in the third quarter, and questions about market share in chocolate, keep volume at the center of that debate. Analysts' mean target of ~$181 sits only about 1% above the share price. PEP: PepsiCo faces several structural headwinds. Organic revenue growth has slowed, rising only about 2.6% in Q1 2026, as inflation-weary consumers trade down to private-label snacks and drinks, and October 2026 coverage reported a cut to full-year guidance tied to execution missteps and inflation. On November 17, 2026 Bernstein downgraded the stock to Underperform from Market Perform and lowered its target to $128 from $131, expecting earnings misses over the next year, falling North American snack and beverage volumes in 2027, and margin pressure from inflation and higher advertising spend. Foodservice accounts are also slipping: Coca-Cola won Marriott's beverage business in April 2026 and KFC's U.S. restaurants from around January 2027, with Evercore ISI estimating the direct lost revenue to PepsiCo at about $50 million. Widespread adoption of GLP-1 weight-loss medications and health awareness could pressure long-term demand for sugary sodas and salty snacks, the core of PepsiCo's portfolio. Input-cost inflation, currency swings across its large international footprint, about $52 billion of debt, and intense competition from Coca-Cola, Monster, Mondelez and store brands all weigh on margins. As a mature mega-cap, growth is modest, so the stock is sensitive to any stumble in volumes or to interest rates that make its dividend yield less competitive.
Related comparisons
Browse all stock comparisons.
Walnut is informational, not investment advice. This page is descriptive and not a recommendation to buy or sell HSY or PEP; figures are approximate and dated (as of November 2026). Verify current data before investing.