Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

HSY vs WMT vs KR vs AMZN

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
HSY
The Hershey Company

Food Confectioners

Consumer DefensiveNYSE • US
Market Cap$37.89B
5Y Perf.+37.8%
WMT
Walmart Inc.

Specialty Retail

Consumer DefensiveNYSE • US
Market Cap$1.04T
5Y Perf.+214.9%
KR
The Kroger Co.

Grocery Stores

Consumer DefensiveNYSE • US
Market Cap$42.03B
5Y Perf.+103.6%
AMZN
Amazon.com, Inc.

Specialty Retail

Consumer CyclicalNASDAQ • US
Market Cap$2.92T
5Y Perf.+122.1%

HSY vs WMT vs KR vs AMZN — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
HSY logoHSY
WMT logoWMT
KR logoKR
AMZN logoAMZN
IndustryFood ConfectionersSpecialty RetailGrocery StoresSpecialty Retail
Market Cap$37.89B$1.04T$42.03B$2.92T
Revenue (TTM)$11.99B$703.06B$147.64B$742.78B
Net Income (TTM)$1.09B$22.91B$1.02B$90.80B
Gross Margin34.8%24.9%22.3%50.6%
Operating Margin14.1%4.1%1.3%11.5%
Forward P/E22.2x44.7x12.7x34.8x
Total Debt$5.40B$67.09B$24.68B$152.99B
Cash & Equiv.$926M$10.73B$3.33B$86.81B

HSY vs WMT vs KR vs AMZNLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

HSY
WMT
KR
AMZN
StockMay 20May 26Return
The Hershey Company (HSY)100137.8+37.8%
Walmart Inc. (WMT)100314.9+214.9%
The Kroger Co. (KR)100203.6+103.6%
Amazon.com, Inc. (AMZN)100222.1+122.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: HSY vs WMT vs KR vs AMZN

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: AMZN leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and profitability and margin quality. The Hershey Company is the stronger pick specifically for dividend income and shareholder returns. WMT and KR also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
HSY
The Hershey Company
The Defensive Pick

HSY is the #2 pick in this set and the best alternative if defensive is your priority.

  • Beta -0.03, yield 2.9%, current ratio 1.19x
  • 2.9% yield, 34-year raise streak, vs WMT's 0.7%, (1 stock pays no dividend)
Best for: defensive
WMT
Walmart Inc.
The Income Pick

WMT is the clearest fit if your priority is income & stability and long-term compounding.

  • Dividend streak 37 yrs, beta 0.12, yield 0.7%
  • 499.5% 10Y total return vs AMZN's 7.0%
  • Lower volatility, beta 0.12, Low D/E 67.2%, current ratio 0.79x
  • Beta 0.12 vs AMZN's 1.51
Best for: income & stability and long-term compounding
KR
The Kroger Co.
The Value Play

KR is the clearest fit if your priority is value.

  • Lower P/E (12.7x vs 44.7x)
Best for: value
AMZN
Amazon.com, Inc.
The Growth Play

AMZN carries the broadest edge in this set and is the clearest fit for growth exposure and valuation efficiency.

  • Rev growth 12.4%, EPS growth 29.7%, 3Y rev CAGR 11.7%
  • PEG 1.24 vs WMT's 4.06
  • 12.4% revenue growth vs KR's 0.4%
  • 12.2% margin vs KR's 0.7%
Best for: growth exposure and valuation efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthAMZN logoAMZN12.4% revenue growth vs KR's 0.4%
ValueKR logoKRLower P/E (12.7x vs 44.7x)
Quality / MarginsAMZN logoAMZN12.2% margin vs KR's 0.7%
Stability / SafetyWMT logoWMTBeta 0.12 vs AMZN's 1.51
DividendsHSY logoHSY2.9% yield, 34-year raise streak, vs WMT's 0.7%, (1 stock pays no dividend)
Momentum (1Y)AMZN logoAMZN+43.7% vs KR's -6.4%
Efficiency (ROA)AMZN logoAMZN11.5% ROA vs KR's 2.0%, ROIC 14.7% vs 5.0%

HSY vs WMT vs KR vs AMZN — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

HSYThe Hershey Company
FY 2025
North America Confectionery Segment
88.2%$9.5B
North America Salty Snacks Segment
11.8%$1.3B
WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B
KRThe Kroger Co.
FY 2024
Perishable
69.8%$36.3B
Pharmacy
30.2%$15.7B
AMZNAmazon.com, Inc.
FY 2025
Online Stores
37.6%$269.3B
Third-Party Seller Services
24.0%$172.2B
Amazon Web Services
18.0%$128.7B
Advertising Services
9.6%$68.6B
Subscription Services
6.9%$49.6B
Physical Stores
3.1%$22.6B
Other Services
0.8%$5.9B

HSY vs WMT vs KR vs AMZN — Financial Metrics

Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLKRLAGGINGWMT

Income & Cash Flow (Last 12 Months)

Evenly matched — HSY and AMZN each lead in 3 of 6 comparable metrics.

AMZN is the larger business by revenue, generating $742.8B annually — 61.9x HSY's $12.0B. AMZN is the more profitable business, keeping 12.2% of every revenue dollar as net income compared to KR's 0.7%. On growth, AMZN holds the edge at +16.6% YoY revenue growth, suggesting stronger near-term business momentum.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
RevenueTrailing 12 months$12.0B$703.1B$147.6B$742.8B
EBITDAEarnings before interest/tax$2.0B$42.8B$5.5B$155.9B
Net IncomeAfter-tax profit$1.1B$22.9B$1.0B$90.8B
Free Cash FlowCash after capex$2.2B$15.3B$3.5B-$2.5B
Gross MarginGross profit ÷ Revenue+34.8%+24.9%+22.3%+50.6%
Operating MarginEBIT ÷ Revenue+14.1%+4.1%+1.3%+11.5%
Net MarginNet income ÷ Revenue+9.1%+3.3%+0.7%+12.2%
FCF MarginFCF ÷ Revenue+18.1%+2.2%+2.4%-0.3%
Rev. Growth (YoY)Latest quarter vs prior year+10.6%+5.8%+1.2%+16.6%
EPS Growth (YoY)Latest quarter vs prior year+93.6%+35.1%+50.0%+74.8%
Evenly matched — HSY and AMZN each lead in 3 of 6 comparable metrics.

Valuation Metrics

KR leads this category, winning 4 of 7 comparable metrics.

At 37.8x trailing earnings, AMZN trades at a 21% valuation discount to WMT's 47.7x P/E. Adjusting for growth (PEG ratio), AMZN offers better value at 1.35x vs WMT's 4.33x — a lower PEG means you pay less per unit of expected earnings growth.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
Market CapShares × price$37.9B$1.04T$42.0B$2.92T
Enterprise ValueMkt cap + debt − cash$42.4B$1.09T$63.4B$2.98T
Trailing P/EPrice ÷ TTM EPS43.07x47.69x43.12x37.82x
Forward P/EPrice ÷ next-FY EPS est.22.23x44.71x12.68x34.77x
PEG RatioP/E ÷ EPS growth rate4.33x1.35x
EV / EBITDAEnterprise value multiple29.24x24.85x10.91x20.47x
Price / SalesMarket cap ÷ Revenue3.24x1.46x0.28x4.07x
Price / BookPrice ÷ Book value/share8.19x10.45x7.33x7.14x
Price / FCFMarket cap ÷ FCF21.66x24.97x12.55x378.98x
KR leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

AMZN leads this category, winning 5 of 9 comparable metrics.

HSY delivers a 23.7% return on equity — every $100 of shareholder capital generates $24 in annual profit, vs $13 for KR. AMZN carries lower financial leverage with a 0.37x debt-to-equity ratio, signaling a more conservative balance sheet compared to KR's 4.16x. On the Piotroski fundamental quality scale (0–9), HSY scores 6/9 vs KR's 5/9, reflecting solid financial health.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
ROE (TTM)Return on equity+23.7%+22.3%+13.0%+23.3%
ROA (TTM)Return on assets+8.0%+7.9%+2.0%+11.5%
ROICReturn on invested capital+11.5%+14.7%+5.0%+14.7%
ROCEReturn on capital employed+14.4%+17.5%+5.5%+15.3%
Piotroski ScoreFundamental quality 0–96656
Debt / EquityFinancial leverage1.17x0.67x4.16x0.37x
Net DebtTotal debt minus cash$4.5B$56.4B$21.3B$66.2B
Cash & Equiv.Liquid assets$926M$10.7B$3.3B$86.8B
Total DebtShort + long-term debt$5.4B$67.1B$24.7B$153.0B
Interest CoverageEBIT ÷ Interest expense7.99x11.85x2.59x39.96x
AMZN leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

Evenly matched — WMT and AMZN each lead in 3 of 6 comparable metrics.

A $10,000 investment in WMT five years ago would be worth $28,695 today (with dividends reinvested), compared to $12,480 for HSY. Over the past 12 months, AMZN leads with a +43.7% total return vs KR's -6.4%. The 3-year compound annual growth rate (CAGR) favors WMT at 37.6% vs HSY's -9.6% — a key indicator of consistent wealth creation.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
YTD ReturnYear-to-date+3.3%+15.7%+6.0%+19.7%
1-Year ReturnPast 12 months+14.1%+32.7%-6.4%+43.7%
3-Year ReturnCumulative with dividends-26.2%+160.5%+42.7%+156.2%
5-Year ReturnCumulative with dividends+24.8%+186.9%+90.7%+64.8%
10-Year ReturnCumulative with dividends+142.6%+499.5%+108.7%+697.8%
CAGR (3Y)Annualised 3-year return-9.6%+37.6%+12.6%+36.8%
Evenly matched — WMT and AMZN each lead in 3 of 6 comparable metrics.

Risk & Volatility

Evenly matched — KR and AMZN each lead in 1 of 2 comparable metrics.

KR is the less volatile stock with a -0.64 beta — it tends to amplify market swings less than AMZN's 1.51 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. AMZN currently trades 97.3% from its 52-week high vs HSY's 78.1% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
Beta (5Y)Sensitivity to S&P 500-0.03x0.12x-0.64x1.51x
52-Week HighHighest price in past year$239.48$134.69$76.58$278.56
52-Week LowLowest price in past year$150.04$91.89$58.60$185.01
% of 52W HighCurrent price vs 52-week peak+78.1%+96.7%+86.7%+97.3%
RSI (14)Momentum oscillator 0–10037.355.939.281.1
Avg Volume (50D)Average daily shares traded1.7M17.2M5.6M45.5M
Evenly matched — KR and AMZN each lead in 1 of 2 comparable metrics.

Analyst Outlook

Evenly matched — HSY and WMT each lead in 1 of 2 comparable metrics.

Analyst consensus: HSY as "Hold", WMT as "Buy", KR as "Buy", AMZN as "Buy". Consensus price targets imply 21.1% upside for HSY (target: $226) vs 5.3% for WMT (target: $137). For income investors, HSY offers the higher dividend yield at 2.86% vs WMT's 0.72%.

MetricHSY logoHSYThe Hershey Compa…WMT logoWMTWalmart Inc.KR logoKRThe Kroger Co.AMZN logoAMZNAmazon.com, Inc.
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuy
Price TargetConsensus 12-month target$226.29$137.04$74.75$306.77
# AnalystsCovering analysts35644494
Dividend YieldAnnual dividend ÷ price+2.9%+0.7%+2.0%
Dividend StreakConsecutive years of raises343721
Dividend / ShareAnnual DPS$5.34$0.94$1.35
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.8%+6.4%0.0%
Evenly matched — HSY and WMT each lead in 1 of 2 comparable metrics.
Key Takeaway

KR leads in 1 of 6 categories (Valuation Metrics). AMZN leads in 1 (Profitability & Efficiency). 4 tied.

Best OverallThe Kroger Co. (KR)Leads 1 of 6 categories
Loading custom metrics...

HSY vs WMT vs KR vs AMZN: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is HSY or WMT or KR or AMZN a better buy right now?

For growth investors, Amazon.

com, Inc. (AMZN) is the stronger pick with 12. 4% revenue growth year-over-year, versus 0. 4% for The Kroger Co. (KR). Amazon. com, Inc. (AMZN) offers the better valuation at 37. 8x trailing P/E (34. 8x forward), making it the more compelling value choice. Analysts rate Walmart Inc. (WMT) a "Buy" — based on 64 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — HSY or WMT or KR or AMZN?

On trailing P/E, Amazon.

com, Inc. (AMZN) is the cheapest at 37. 8x versus Walmart Inc. at 47. 7x. On forward P/E, The Kroger Co. is actually cheaper at 12. 7x — notably different from the trailing picture, reflecting expected earnings growth. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Amazon. com, Inc. wins at 1. 24x versus Walmart Inc. 's 4. 06x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — HSY or WMT or KR or AMZN?

Over the past 5 years, Walmart Inc.

(WMT) delivered a total return of +186. 9%, compared to +24. 8% for The Hershey Company (HSY). Over 10 years, the gap is even starker: AMZN returned +697. 8% versus KR's +108. 7%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — HSY or WMT or KR or AMZN?

By beta (market sensitivity over 5 years), The Kroger Co.

(KR) is the lower-risk stock at -0. 64β versus Amazon. com, Inc. 's 1. 51β — meaning AMZN is approximately -336% more volatile than KR relative to the S&P 500. On balance sheet safety, Amazon. com, Inc. (AMZN) carries a lower debt/equity ratio of 37% versus 4% for The Kroger Co. — giving it more financial flexibility in a downturn.

05

Which is growing faster — HSY or WMT or KR or AMZN?

By revenue growth (latest reported year), Amazon.

com, Inc. (AMZN) is pulling ahead at 12. 4% versus 0. 4% for The Kroger Co. (KR). On earnings-per-share growth, the picture is similar: Amazon. com, Inc. grew EPS 29. 7% year-over-year, compared to -60. 3% for The Hershey Company. Over a 3-year CAGR, AMZN leads at 11. 7% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — HSY or WMT or KR or AMZN?

Amazon.

com, Inc. (AMZN) is the more profitable company, earning 10. 8% net margin versus 0. 7% for The Kroger Co. — meaning it keeps 10. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: HSY leads at 12. 1% versus 1. 3% for KR. At the gross margin level — before operating expenses — AMZN leads at 50. 3%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is HSY or WMT or KR or AMZN more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, Amazon. com, Inc. (AMZN) is the more undervalued stock at a PEG of 1. 24x versus Walmart Inc. 's 4. 06x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, The Kroger Co. (KR) trades at 12. 7x forward P/E versus 44. 7x for Walmart Inc. — 32. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for HSY: 21. 1% to $226. 29.

08

Which pays a better dividend — HSY or WMT or KR or AMZN?

In this comparison, HSY (2.

9% yield), KR (2. 0% yield), WMT (0. 7% yield) pay a dividend. AMZN does not pay a meaningful dividend and should not be held primarily for income.

09

Is HSY or WMT or KR or AMZN better for a retirement portfolio?

For long-horizon retirement investors, The Kroger Co.

(KR) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β -0. 64), 2. 0% yield, +108. 7% 10Y return). Amazon. com, Inc. (AMZN) carries a higher beta of 1. 51 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (KR: +108. 7%, AMZN: +697. 8%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between HSY and WMT and KR and AMZN?

These companies operate in different sectors (HSY (Consumer Defensive) and WMT (Consumer Defensive) and KR (Consumer Defensive) and AMZN (Consumer Cyclical)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

HSY, WMT, KR pay a dividend while AMZN does not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform all of them.

Stocks Like

HSY

Income & Dividend Stock

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Net Margin > 5%
Run This Screen
Stocks Like

WMT

Stable Dividend Mega-Cap

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Gross Margin > 14%
Run This Screen
Stocks Like

KR

Income & Dividend Stock

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Gross Margin > 13%
  • Dividend Yield > 0.8%
Run This Screen
Stocks Like

AMZN

High-Growth Compounder

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Net Margin > 7%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform HSY and WMT and KR and AMZN on the metrics below

Revenue Growth>
%
(HSY: 10.6% · WMT: 5.8%)
Net Margin>
%
(HSY: 9.1% · WMT: 3.3%)
P/E Ratio<
x
(HSY: 43.1x · WMT: 47.7x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.