Compare StocksHSY vs ORCL

The Hershey Company (HSY) vs Oracle Corporation (ORCL)

HSY
The Hershey Company
$182.34
VS
ORCL
Oracle Corporation
$171.83

Rewards

HSY
  • The Hershey Company has maintained ROIC above 10% for 4 consecutive years, suggesting solid business economics.
  • The Hershey Company scores 72/100 on the Economic Moat Score (Wide Moat), with revenue predictability as the strongest competitive dimension.
  • PEG ratio of 0.36 suggests the stock is undervalued relative to its growth rate — paying less than 1x for each unit of earnings growth.
ORCL
  • Oracle Corporation has maintained ROIC above 10% for 4 consecutive years, suggesting solid business economics.
  • Gross margin of 67.1% indicates strong pricing power — typical of businesses with significant intellectual property or brand strength.
  • Oracle Corporation scores 71/100 on the Economic Moat Score (Wide Moat), with revenue predictability as the strongest competitive dimension.

Risks

HSY
  • Trailing P/E of 33.9x is 30% above the historical average of 26.0x — the stock trades at a premium to its own history.
  • 18 insider sales totaling $61.7M with no purchases in the past 3 months — insiders are reducing their exposure.
ORCL
  • Despite buyback spending, shares outstanding increased in 3 out of 4 years — stock-based compensation is offsetting repurchases.
  • High leverage (4.15x debt/equity) combined with thin interest coverage (-1.0x) poses financial risk.
  • Net debt/EBITDA of 4.5x indicates heavy leverage — it would take over 4 years of EBITDA to pay off net debt.

Key Valuation Metrics

Learn more →
HSY
ORCL
Valuation
$1.53B
Free Cash Flow
$-22.30B
4.13%
FCF Yield
-4.51%
33.89
Trailing P/E
30.85
18.42
Forward P/E
21.39
Quality & Moat
19.41%
ROIC
8.22%
18.66%
ROE
31.86%
35.03%
Gross Margin
67.08%
0.36
PEG Ratio
1.26
Balance Sheet Safety
1.20
Debt / Equity
4.15
N/A
Interest Coverage
N/A
2.13
Net Debt / EBITDA
4.48
3.19%
Dividend Yield
1.16%
HSY: 8Ties: 1ORCL: 3
HSYORCL

Historical Fundamentals

Learn more →
HSY

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation.

ORCL

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation.

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation.

$1 Retained Earnings Test

Learn more →
HSY
$-5.53
created per $1 retained over 3 years
Market Cap Declined
Σ Retained
$1.91B
Δ Market Cap
$-10.55B
Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer
ORCL
$17.69
created per $1 retained over 3 years
Exceptional Value Creator
Σ Retained
$18.61B
Δ Market Cap
+$329.28B
Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

Discounted Cash Flow (DCF) Analysis

Learn more →
HSY
29.1% Overvalued
Price is 29.1% above estimated fair value
Current Price: $182.34
Fair Value: $141.23
Strongly undervalued
Undervalued
Fairly valued
Overvalued
Strongly overvalued
ORCL
246.9% Overvalued
Price is 246.9% above estimated fair value
Current Price: $171.83
Fair Value: $49.53
Strongly undervalued
Undervalued
Fairly valued
Overvalued
Strongly overvalued

Reverse DCF — Market-Implied Growth

Learn more →
HSY

What growth rate is the market pricing in at $182?

+19.4%
Market-Implied Owner Earnings Growth
Standard FCF implies +12.0%

The market implies +19.4% Owner Earnings growth, above historical trends.

Standard FCF implies a demanding +12.0%, reflecting heavy growth investment.

ORCL

Requires positive FCF to compute implied growth rate.

Economic Moat Score

Learn more →
HSY
72/100
Wide Moat
70+ Wide · 40-69 Narrow · <40 None

Wide moat driven primarily by revenue predictability. Margin Stability is the area most vulnerable to competitive pressure.

Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.
ORCL
71/100
Wide Moat
70+ Wide · 40-69 Narrow · <40 None

Wide moat driven primarily by revenue predictability. Reinvestment Efficiency is the area most vulnerable to competitive pressure.

Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.

Forensic Accounting

Learn more →
HSY
-2.78
Unlikely Manipulator
Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

M-Score Trend

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.
ORCL
-2.57
Unlikely Manipulator
Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

M-Score Trend

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

Ownership Breakdown

Learn more →
HSY
Insiders 0.3%Institutions 88.6%Retail & Other 11.1%
No. of Institutional Holders1,867
High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.
ORCL
Insiders 40.5%Institutions 44.1%Retail & Other 15.3%
No. of Institutional Holders4,615
High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.

High insider ownership aligns management incentives with shareholders. Institutional concentration can indicate smart-money conviction but also crowding risk.

Insider Buying Activity

Learn more →
HSY
0
Buys (3M)
3
Buys (12M)
Total value (12M): $445,411
SCHECHTMAN NATALIE S
Officer
$37,258
@ $186.29 · 2025-11-24
TANNER KIRK L.
Chief Executive Officer
$370,915
@ $185.46 · 2025-11-21
TAFFET STACY
Officer
$37,238
@ $186.19 · 2025-11-21
Open market purchases · includes direct & indirect ownership · excludes option exercises
ORCL
0
Buys (3M)
1
Buys (12M)
Total value (12M): $112,258
FAIRHEAD RONA ALISON
Director
$112,258
@ $233.87 · 2025-07-07
MOORMAN CHARLES W IV
Director
$947,913
@ $172.35 · 2025-02-12
Open market purchases · includes direct & indirect ownership · excludes option exercises

Open market purchases · includes direct & indirect ownership · excludes option exercises.

Insider Selling Activity

Learn more →
HSY
18
Sells (3M)
39
Sells (12M)
Total value (12M): $84.99M
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$3.84M
@ $191.94 · 2026-04-24
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$5.72M
@ $190.58 · 2026-04-22
VOSKUIL STEVEN E
Chief Financial Officer
$291,150
@ $194.10 · 2026-04-20
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$3.85M
@ $192.27 · 2026-04-17
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$5.89M
@ $196.46 · 2026-04-15
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$4.15M
@ $207.46 · 2026-04-10
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$6.23M
@ $207.76 · 2026-04-08
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$2.05M
@ $204.51 · 2026-04-02
ROBBIN-COKER CORDEL
Director
$26,161
@ $202.80 · 2026-04-02
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$6.26M
@ $208.60 · 2026-04-01
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$6.42M
@ $214.13 · 2026-03-27
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$4.31M
@ $215.34 · 2026-03-24
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$6.36M
@ $211.92 · 2026-03-20
VOSKUIL STEVEN E
Chief Financial Officer
$325,065
@ $216.71 · 2026-03-18
HERSHEY TRUST CO
Beneficial Owner of more than 10% of a Class of Security
$4.37M
@ $218.58 · 2026-03-17
GROVER ROHIT
Officer
$791,245
@ $226.07 · 2026-02-24
REIMAN JASON R
Officer
$452,140
@ $226.07 · 2026-02-24
VOSKUIL STEVEN E
Chief Financial Officer
$329,490
@ $219.66 · 2026-02-18
VOSKUIL STEVEN E
Chief Financial Officer
$298,005
@ $198.67 · 2026-01-20
ROBBIN-COKER CORDEL
Director
$23,933
@ $184.10 · 2026-01-05
VOSKUIL STEVEN E
Chief Financial Officer
$282,765
@ $188.51 · 2025-12-18
VOSKUIL STEVEN E
Chief Financial Officer
$269,340
@ $179.56 · 2025-11-18
ROBBIN-COKER CORDEL
Director
$50,971
@ $168.22 · 2025-11-03
VOSKUIL STEVEN E
Chief Financial Officer
$281,280
@ $187.52 · 2025-10-20
VOSKUIL STEVEN E
Chief Financial Officer
$283,680
@ $189.12 · 2025-09-18
VOSKUIL STEVEN E
Chief Financial Officer
$267,795
@ $178.53 · 2025-08-18
BUCK MICHELE G
Chief Executive Officer
$3.74M
@ $194.00 · 2025-07-30
BUCK MICHELE G
Chief Executive Officer
$3.57M
@ $185.00 · 2025-07-23
BUCK MICHELE G
Chief Executive Officer
$3.47M
@ $180.00 · 2025-07-21
GROVER ROHIT
Officer
$240,120
@ $180.00 · 2025-07-21
VOSKUIL STEVEN E
Chief Financial Officer
$900,000
@ $180.00 · 2025-07-21
BUCK MICHELE G
Chief Executive Officer
$3.38M
@ $175.00 · 2025-07-01
TUROFF JAMES
General Counsel
$227,500
@ $175.00 · 2025-07-01
GROVER ROHIT
Officer
$233,275
@ $175.00 · 2025-07-01
TUROFF JAMES
General Counsel
$214,500
@ $165.00 · 2025-06-09
GROVER ROHIT
Officer
$219,945
@ $165.00 · 2025-06-09
BUCK MICHELE G
Chief Executive Officer
$5.02M
@ $160.80 · 2025-05-30
TUROFF JAMES
General Counsel
$209,040
@ $160.80 · 2025-05-30
MCCALMAN JENNIFER L.
Officer
$153,025
@ $157.11 · 2025-05-28
MALCOLM ROBERT M.
Director
$907,267
@ $165.32 · 2025-05-02
VOSKUIL STEVEN E
Chief Financial Officer
$540,000
@ $180.00 · 2025-02-25
MCCALMAN JENNIFER L.
Officer
$41,144
@ $148.00 · 2025-02-03
VOSKUIL STEVEN E
Chief Financial Officer
$180,000
@ $180.00 · 2024-12-03
Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives
ORCL
2
Sells (3M)
22
Sells (12M)
Total value (12M): $1.90B
LEVEY STUART A
Officer
$2.64M
@ $176.19 · 2026-04-16
MAGOUYRK CLAYTON M
Chief Executive Officer
$1.55M
@ $155.23 · 2026-02-09
KEHRING DOUGLAS A
Officer
$6.82M
@ $194.89 · 2026-01-15
HURA MARK
Officer
$2.95M
@ $196.89 · 2025-12-24
SELIGMAN NAOMI O
Director
$437,064
@ $196.61 · 2025-12-23
MAGOUYRK CLAYTON M
Chief Executive Officer
$1.93M
@ $192.52 · 2025-12-19
SMITH MARIA
Officer
$2.80M
@ $280.31 · 2025-10-23
MAGOUYRK CLAYTON M
Chief Executive Officer
$11.07M
@ $276.64 · 2025-10-21
LEVEY STUART A
Officer
$5.93M
@ $300.00 · 2025-10-10
SELIGMAN NAOMI O
Director
$641,958
@ $288.91 · 2025-09-26
SICILIA MICHAEL D
Officer
$10.87M
@ $321.16 · 2025-09-23
SICILIA MICHAEL D
Officer
$5.12M
@ $313.60 · 2025-09-16
MAGOUYRK CLAYTON M
President
$6.31M
@ $297.11 · 2025-09-12
SICILIA MICHAEL D
Officer
$4.04M
@ $254.48 · 2025-08-05
SELIGMAN NAOMI O
Director
$770,656
@ $233.32 · 2025-07-16
SMITH MARIA
Officer
$2.33M
@ $232.99 · 2025-07-03
CATZ SAFRA A
Chief Executive Officer
$267.24M
@ $212.01 · 2025-06-27
CATZ SAFRA A
Chief Executive Officer
$794.64M
@ $212.50 · 2025-06-26
CATZ SAFRA A
Chief Executive Officer
$764.01M
@ $206.77 · 2025-06-23
MAGOUYRK CLAYTON M
Officer
$3.21M
@ $214.10 · 2025-06-17
CONRADES GEORGE HENRY
Director
$1.74M
@ $213.49 · 2025-06-17
SELIGMAN NAOMI O
Director
$428,562
@ $149.53 · 2025-05-05
SELIGMAN NAOMI O
Director
$291,620
@ $145.81 · 2025-04-02
CATZ SAFRA A
Chief Executive Officer
$705.46M
@ $185.40 · 2025-01-24
SMITH MARIA
Officer
$1.04M
@ $165.00 · 2024-09-16
ELLISON LAWRENCE JOSEPH
Chief Technology Officer
$322.05M
@ $143.13 · 2024-07-16
SCREVEN EDWARD LLOYD
Officer
$60.58M
@ $141.91 · 2024-07-10
SCREVEN EDWARD LLOYD
Officer
$5.22M
@ $140.19 · 2024-06-26
SCREVEN EDWARD LLOYD
Officer
$34.04M
@ $144.30 · 2024-06-20
BOSKIN MICHAEL J
Director
$5.30M
@ $117.74 · 2024-05-07
Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives

Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives.

🎭 Mr. Market's Mood

Learn more →
HSY
FearGreed
😨Fear(36/100)

"Market is pessimistic — investigate whether fears are temporary or structural"

Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.
ORCL
FearGreed
😨Fear(39/100)

"Market is pessimistic — investigate whether fears are temporary or structural"

Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

Composite sentiment score based on market signals. Inspired by Buffett’s "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

⚖️ Buffett Signal

Learn more →
HSY
Awaiting DCF Data

The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

DCF Margin of Safety: N/AMr. Market's Mood: Fear (36)
ORCL
Awaiting DCF Data

The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

DCF Margin of Safety: N/AMr. Market's Mood: Fear (39)
View HSY Full AnalysisView ORCL Full Analysis
HSY vs ORCL: Which Is the Better Buy? | SafetyMargin.io