HSY vs. FFIV
HSY (The Hershey Company) and FFIV (F5 Networks, Inc.) are both stocks. HSY operates in Confectioners (Consumer Defensive), while FFIV operates in Software - Infrastructure (Technology). Over the past 10 years, HSY returned 9.11%/yr vs 12.87%/yr for FFIV. At a 0.14 correlation, their price movements are largely independent.
Performance
HSY vs. FFIV - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HSY achieves a 1.25% return, which is significantly lower than FFIV's 55.20% return. Over the past 10 years, HSY has underperformed FFIV with an annualized return of 9.11%, while FFIV has yielded a comparatively higher 12.87% annualized return.
HSY
- 1D
- 0.45%
- 1M
- -6.45%
- YTD
- 1.25%
- 6M
- 1.34%
- 1Y
- 8.70%
- 3Y*
- -8.39%
- 5Y*
- 3.29%
- 10Y*
- 9.11%
FFIV
- 1D
- 0.59%
- 1M
- 10.84%
- YTD
- 55.20%
- 6M
- 50.82%
- 1Y
- 35.83%
- 3Y*
- 38.11%
- 5Y*
- 15.50%
- 10Y*
- 12.87%
HSY vs. FFIV - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
HSY The Hershey Company | 1.25% | 10.98% | -6.51% | -17.88% | 21.86% | 29.58% | 5.90% | 40.20% | -2.92% | 12.33% |
FFIV F5 Networks, Inc. | 55.20% | 1.51% | 40.50% | 24.72% | -41.36% | 39.09% | 25.99% | -13.81% | 23.48% | -9.33% |
Correlation
The correlation between HSY and FFIV is -0.00, 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.00 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.02 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.09 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.12 |
Correlation (All Time) Calculated using the full available price history since Jun 4, 1999 | 0.14 |
The correlation between HSY and FFIV shifts across timeframes, from -0.00 (1 year) to 0.14 (all time), reflecting how their relationship changes across market environments.
Fundamentals
HSY:
$37.11B
FFIV:
$22.70B
HSY:
$5.38
FFIV:
$12.19
HSY:
33.80
FFIV:
32.50
HSY:
3.08
FFIV:
9.54
HSY:
7.84
FFIV:
6.22
HSY:
$11.99B
FFIV:
$2.41B
HSY:
$4.17B
FFIV:
$2.63B
HSY:
$2.04B
FFIV:
$889.95M
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. FFIV — Risk / Return Rank
HSY
FFIV
HSY vs. FFIV - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for The Hershey Company (HSY) and F5 Networks, Inc. (FFIV). 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.
Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.
| HSY | FFIV | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.76 | ||
| Sortino ratioReturn per unit of downside risk | -0.92 | ||
| Omega ratioGain probability vs. loss probability | 1.08 | 1.21 | -0.13 |
| Calmar ratioReturn relative to maximum drawdown | 0.35 | 1.04 | -0.69 |
| Martin ratioReturn relative to average drawdown | 0.87 | 2.28 | -1.41 |
Loading charts...
Drawdowns
HSY vs. FFIV - Drawdown Comparison
The maximum HSY drawdown since its inception was -49.15%, smaller than the maximum FFIV drawdown of -97.59%. Use the drawdown chart below to compare losses from any high point for HSY and FFIV.
Loading charts...
Drawdown Indicators
| HSY | FFIV | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -49.15% | -97.59% | +48.44% |
Max Drawdown (1Y)Largest decline over 1 year | -25.01% | -34.73% | +9.72% |
Max Drawdown (3Y)Largest decline over 3 years | -42.23% | -34.73% | -7.50% |
Max Drawdown (5Y)Largest decline over 5 years | -45.25% | -47.42% | +2.17% |
Max Drawdown (10Y)Largest decline over 10 years | -45.25% | -54.59% | +9.34% |
Current DrawdownCurrent decline from peak | -28.02% | -3.17% | -24.85% |
Average DrawdownAverage peak-to-trough decline | -13.10% | -40.16% | +27.06% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 10.00% | 15.77% | -5.77% |
Volatility
HSY vs. FFIV - Volatility Comparison
The Hershey Company (HSY) has a higher volatility of 9.48% compared to F5 Networks, Inc. (FFIV) at 8.89%. This indicates that HSY's price experiences larger fluctuations and is considered to be riskier than FFIV based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HSY | FFIV | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 9.48% | 8.89% | +0.59% |
Volatility (6M)Calculated over the trailing 6-month period | 20.08% | 24.72% | -4.64% |
Volatility (1Y)Calculated over the trailing 1-year period | 27.49% | 33.48% | -5.99% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.77% | 29.97% | -7.20% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 23.44% | 29.56% | -6.12% |
Dividends
HSY vs. FFIV - Dividend Comparison
HSY's dividend yield for the trailing twelve months is around 3.11%, while FFIV has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
FFIV F5 Networks, 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.11% | 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. FFIV - Financials Comparison
This section allows you to compare key financial metrics between The Hershey Company and F5 Networks, 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
Frequently Asked Questions
HSY and FFIV have a correlation of -0.00, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
HSY has higher volatility (9.48%) compared to FFIV (8.89%). In terms of maximum drawdown, HSY dropped -49.15% vs FFIV's -97.59%.
FFIV currently has the higher Sharpe Ratio (1.08 vs 0.32), 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 FFIV
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