Stock vs Stock Comparison

The Hershey Company vs Walmart Inc.

WMT wins the Tale of the Tape 6–3.

HSY$184.09
WMT$113.06

🏆 Tale of the Tape

36
HSYWMT
7.5%Profitability (Net Margin)3.1%
36.1xValuation (P/E)40.8x
10.6%Efficiency (ROIC)14.4%
5/9Health (Piotroski F)7/9
4.5Safety (Altman Z)6.7
4.4%Growth (Rev YoY)4.7%
0.75Risk (Sharpe 1Y)1.40
1.96xBalance Sheet (D/E)1.68x
3.91%FCF Yield1.44%

Green = winner in each category. Higher is better except P/E (lower = cheaper).

Rolling Correlation

0.207
252-Day Correlation
0.249
126-Day Correlation

Low correlation — excellent diversification pair.

Fundamentals

MetricHSYWMT
Market Cap$39.4B$922.6B
P/E Ratio36.1x40.8x
Forward P/E19.6x35.2x
P/B8.31x9.26x
Dividend Yield2.99%0.86%
Beta0.070.65

Quantitative Metrics

MetricHSYWMT
DCF Fair Value$139.83$40.45
DCF Upside-29.2%-67.5%
Piotroski F5/97/9
Altman Z4.516.70
Beneish M-2.80-2.72
FCF Yield3.91%1.44%
Net Debt/EBITDA1.9x0.5x
ROIC10.6%14.4%
WACC7.6%8.8%
ROIC – WACC3.0pp5.6pp
Gross Margin33.6%24.9%
Net Margin7.5%3.1%
Rev Growth YoY4.4%4.7%
Sharpe (1Y)0.751.40
Max Drawdown 3Y
FCF Payout Ratio62%50%

HSY Price

Loading chart...

WMT Price

Loading chart...

ETF Exposure

HSY found in:

XLP1.84%
SCHD1.26%
MOAT1.25%
VDC0.98%
ONEY0.83%
ONEV0.55%
VOE0.49%
VFQY0.46%
VO0.28%
DGRW0.24%
ONEO0.24%
RSP0.21%
QUS0.14%
SCHV0.12%
VYM0.11%
VTV0.11%
SPYV0.10%
IWD0.09%
VONV0.07%
ESGV0.06%
SCHX0.06%
SCHB0.05%
IVV0.05%
SPLG0.04%
SPY0.04%
SPTM0.04%
ITOT0.04%
VONE0.04%
VTI0.04%
VOO0.04%
URTH0.04%
ACWI0.03%
IWF0.01%
VONG0.01%

WMT found in:

VDC16.16%
XLP11.15%
IYC4.59%
MGV2.87%
VIG2.60%
VTV2.25%
IVE2.03%
SCHV1.89%
SPYV1.84%
IWD1.60%
VONV1.58%
QUS1.52%
NOBL1.49%
DIA1.48%
XRT1.39%
LRGF1.25%
VFQY1.18%
DGRW0.97%
VOO0.94%
SCHX0.90%
VONE0.87%
SCHB0.84%
IVV0.83%
SPY0.83%
VTI0.83%
SPTM0.77%
SPLG0.76%
ITOT0.74%
URTH0.66%
ACWI0.54%
VT0.51%
VFMV0.47%
SDY0.32%
VFMO0.24%
RSP0.21%
IWF0.19%
VONG0.18%
ONEO0.01%

More Comparisons

Quant metrics computed from financial statements and 1,200+ trading days. Correlation is Pearson coefficient on daily log returns. Not investment advice.

HSY vs WMT: Head-to-Head Analysis

The Hershey Company (HSY) and Walmart Inc. (WMT) represent two companies in the Consumer Defensive sector. In our quantitative Tale of the Tape scoring, WMT leads 6–3 across nine fundamental and risk metrics including profitability, valuation, capital efficiency, and financial health.

In terms of capital efficiency, HSY generates a return on invested capital (ROIC) of 10.6% compared to WMT's 14.4%. This suggests WMT is more effective at deploying capital to generate shareholder returns.

The 252-day rolling correlation between HSY and WMT is 0.207, indicating low correlation, making them an effective diversification pair in a portfolio context.

HSY appears in 34 ETFs tracked by SecuritiesDB, while WMT appears in 38 ETFs. Investors holding broad-market ETFs may already have indirect exposure to both stocks.

Frequently Asked Questions

Which stock is the better investment, HSY or WMT?

Our quantitative analysis compares HSY and WMT across nine fundamental dimensions. WMT wins the Tale of the Tape 6–3. However, stock selection depends on your individual risk tolerance, time horizon, and portfolio context. These metrics are computed from SEC filings and market data — they are not investment recommendations.

Are HSY and WMT correlated?

The 252-day correlation between HSY and WMT is 0.207. They have low correlation, offering good diversification.

How is the Tale of the Tape scored?

The Tale of the Tape compares both stocks across nine categories: profitability (net margin), valuation (P/E), efficiency (ROIC), health (Piotroski F-Score), safety (Altman Z-Score), growth (revenue YoY), risk (Sharpe ratio), leverage (debt-to-equity), and cash generation (FCF yield). The stock that wins more categories takes the overall score. Lower P/E and lower debt-to-equity count as wins.