HSY vs. CDNS
HSY (The Hershey Company) and CDNS (Cadence Design Systems, Inc.) are both stocks. HSY operates in Confectioners (Consumer Defensive), while CDNS operates in Software - Application (Technology). Over the past 10 years, HSY returned 8.77%/yr vs 31.92%/yr for CDNS. At a 0.16 correlation, their price movements are largely independent.
Performance
HSY vs. CDNS - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HSY achieves a -1.96% return, which is significantly lower than CDNS's 26.12% return. Over the past 10 years, HSY has underperformed CDNS with an annualized return of 8.77%, while CDNS has yielded a comparatively higher 31.92% annualized return.
HSY
- 1D
- -4.70%
- 1M
- -4.67%
- YTD
- -1.96%
- 6M
- -1.31%
- 1Y
- 12.00%
- 3Y*
- -9.14%
- 5Y*
- 2.85%
- 10Y*
- 8.77%
CDNS
- 1D
- 4.80%
- 1M
- 8.70%
- YTD
- 26.12%
- 6M
- 16.88%
- 1Y
- 32.76%
- 3Y*
- 19.80%
- 5Y*
- 25.79%
- 10Y*
- 31.92%
HSY vs. CDNS - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
HSY The Hershey Company | -1.96% | 10.98% | -6.51% | -17.88% | 21.86% | 29.58% | 5.90% | 40.20% | -2.92% | 12.33% |
CDNS Cadence Design Systems, Inc. | 26.12% | 4.03% | 10.31% | 69.55% | -13.80% | 36.59% | 96.70% | 59.52% | 3.97% | 65.82% |
Correlation
The correlation between HSY and CDNS is -0.08, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.08 |
Correlation (3Y) Calculated over the trailing 3-year period | -0.04 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.04 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.13 |
Correlation (All Time) Calculated using the full available price history since Mar 27, 1990 | 0.16 |
The correlation between HSY and CDNS shifts across timeframes, from -0.08 (1 year) to 0.16 (all time), reflecting how their relationship changes across market environments.
Fundamentals
HSY:
$35.93B
CDNS:
$107.91B
HSY:
$5.38
CDNS:
$4.28
HSY:
32.72
CDNS:
92.03
HSY:
2.99
CDNS:
19.49
HSY:
7.59
CDNS:
12.37
HSY:
$11.99B
CDNS:
$5.53B
HSY:
$4.17B
CDNS:
$4.91B
HSY:
$2.04B
CDNS:
$1.87B
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
HSY vs. CDNS — Risk / Return Rank
HSY
CDNS
HSY vs. CDNS - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for The Hershey Company (HSY) and Cadence Design Systems, Inc. (CDNS). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
| HSY | CDNS | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.41 | ||
| Sortino ratioReturn per unit of downside risk | -0.60 | ||
| Omega ratioGain probability vs. loss probability | 1.10 | 1.18 | -0.08 |
| Calmar ratioReturn relative to maximum drawdown | 0.48 | 1.14 | -0.66 |
| Martin ratioReturn relative to average drawdown | 1.26 | 2.42 | -1.15 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| HSY | CDNS | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.44 | 0.85 | -0.41 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.13 | 0.72 | -0.59 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.38 | 0.94 | -0.56 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.49 | 0.24 | +0.25 |
Drawdowns
HSY vs. CDNS - Drawdown Comparison
The maximum HSY drawdown since its inception was -49.15%, smaller than the maximum CDNS drawdown of -93.13%. Use the drawdown chart below to compare losses from any high point for HSY and CDNS.
Loading charts...
Drawdown Indicators
| HSY | CDNS | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -49.15% | -93.13% | +43.98% |
Max Drawdown (1Y)Largest decline over 1 year | -24.98% | -28.85% | +3.87% |
Max Drawdown (3Y)Largest decline over 3 years | -42.23% | -29.05% | -13.18% |
Max Drawdown (5Y)Largest decline over 5 years | -45.25% | -29.59% | -15.66% |
Max Drawdown (10Y)Largest decline over 10 years | -45.25% | -32.12% | -13.13% |
Current DrawdownCurrent decline from peak | -30.30% | -5.32% | -24.98% |
Average DrawdownAverage peak-to-trough decline | -13.10% | -39.64% | +26.54% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 9.54% | 13.60% | -4.06% |
Volatility
HSY vs. CDNS - Volatility Comparison
The current volatility for The Hershey Company (HSY) is 9.70%, while Cadence Design Systems, Inc. (CDNS) has a volatility of 16.58%. This indicates that HSY experiences smaller price fluctuations and is considered to be less risky than CDNS based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HSY | CDNS | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 9.70% | 16.58% | -6.88% |
Volatility (6M)Calculated over the trailing 6-month period | 19.99% | 31.69% | -11.70% |
Volatility (1Y)Calculated over the trailing 1-year period | 27.64% | 39.02% | -11.38% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.75% | 36.20% | -13.45% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 23.44% | 34.13% | -10.69% |
Dividends
HSY vs. CDNS - Dividend Comparison
HSY's dividend yield for the trailing twelve months is around 3.21%, while CDNS has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CDNS Cadence Design Systems, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
HSY The Hershey Company | 3.21% | 3.01% | 3.24% | 2.39% | 1.67% | 1.76% | 2.07% | 2.03% | 2.57% | 2.24% | 2.32% | 2.50% |
Financials
HSY vs. CDNS - Financials Comparison
This section allows you to compare key financial metrics between The Hershey Company and Cadence Design Systems, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
HSY vs. CDNS - Profitability Comparison
HSY - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, The Hershey Company reported a gross profit of 1.22B and revenue of 3.10B. Therefore, the gross margin over that period was 39.4%.
CDNS - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Cadence Design Systems, Inc. reported a gross profit of 1.41B and revenue of 1.47B. Therefore, the gross margin over that period was 95.9%.
HSY - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, The Hershey Company reported an operating income of 640.69M and revenue of 3.10B, resulting in an operating margin of 20.6%.
CDNS - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Cadence Design Systems, Inc. reported an operating income of 431.33M and revenue of 1.47B, resulting in an operating margin of 29.3%.
HSY - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, The Hershey Company reported a net income of 435.11M and revenue of 3.10B, resulting in a net margin of 14.0%.
CDNS - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Cadence Design Systems, Inc. reported a net income of 335.66M and revenue of 1.47B, resulting in a net margin of 22.8%.
Frequently Asked Questions
HSY and CDNS have a correlation of -0.08, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
CDNS has higher volatility (16.58%) compared to HSY (9.70%). In terms of maximum drawdown, HSY dropped -49.15% vs CDNS's -93.13%.
CDNS currently has the higher Sharpe Ratio (0.85 vs 0.44), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for HSY and CDNS
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer