CPAY vs. HSY
CPAY (Corpay, Inc.) and HSY (The Hershey Company) are both stocks. CPAY operates in Software - Infrastructure (Technology), while HSY operates in Confectioners (Consumer Defensive). Over the past 10 years, CPAY returned 9.48%/yr vs 9.11%/yr for HSY. At a 0.20 correlation, their price movements are largely independent.
Performance
CPAY vs. HSY - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, CPAY achieves a 18.34% return, which is significantly higher than HSY's 1.25% return. Both investments have delivered pretty close results over the past 10 years, with CPAY having a 9.48% annualized return and HSY not far behind at 9.11%.
CPAY
- 1D
- 1.50%
- 1M
- 7.50%
- YTD
- 18.34%
- 6M
- 12.66%
- 1Y
- 1.73%
- 3Y*
- 14.01%
- 5Y*
- 5.55%
- 10Y*
- 9.48%
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%
CPAY vs. HSY - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
CPAY Corpay, Inc. | 18.34% | -11.08% | 19.75% | 53.86% | -17.94% | -17.96% | -5.18% | 54.92% | -3.49% | 35.97% |
HSY The Hershey Company | 1.25% | 10.98% | -6.51% | -17.88% | 21.86% | 29.58% | 5.90% | 40.20% | -2.92% | 12.33% |
Correlation
The correlation between CPAY and HSY is 0.09, 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.09 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.12 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.15 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.17 |
Correlation (All Time) Calculated using the full available price history since Dec 15, 2010 | 0.20 |
The correlation between CPAY and HSY shifts across timeframes, from 0.09 (1 year) to 0.20 (all time), reflecting how their relationship changes across market environments.
Fundamentals
CPAY:
$24.37B
HSY:
$37.11B
CPAY:
$16.74
HSY:
$5.38
CPAY:
21.27
HSY:
33.80
CPAY:
5.23
HSY:
3.08
CPAY:
6.94
HSY:
7.84
CPAY:
$4.78B
HSY:
$11.99B
CPAY:
$2.57B
HSY:
$4.17B
CPAY:
$2.55B
HSY:
$2.04B
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
CPAY vs. HSY — Risk / Return Rank
CPAY
HSY
CPAY vs. HSY - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Corpay, Inc. (CPAY) and The Hershey Company (HSY). 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.
| CPAY | HSY | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.27 | ||
| Sortino ratioReturn per unit of downside risk | -0.31 | ||
| Omega ratioGain probability vs. loss probability | 1.04 | 1.08 | -0.04 |
| Calmar ratioReturn relative to maximum drawdown | 0.07 | 0.35 | -0.28 |
| Martin ratioReturn relative to average drawdown | 0.15 | 0.87 | -0.72 |
Loading charts...
Drawdowns
CPAY vs. HSY - Drawdown Comparison
The maximum CPAY drawdown since its inception was -50.13%, roughly equal to the maximum HSY drawdown of -49.15%. Use the drawdown chart below to compare losses from any high point for CPAY and HSY.
Loading charts...
Drawdown Indicators
| CPAY | HSY | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -50.13% | -49.15% | -0.98% |
Max Drawdown (1Y)Largest decline over 1 year | -25.90% | -25.01% | -0.89% |
Max Drawdown (3Y)Largest decline over 3 years | -34.54% | -42.23% | +7.69% |
Max Drawdown (5Y)Largest decline over 5 years | -41.63% | -45.25% | +3.62% |
Max Drawdown (10Y)Largest decline over 10 years | -50.13% | -45.25% | -4.88% |
Current DrawdownCurrent decline from peak | -8.58% | -28.02% | +19.44% |
Average DrawdownAverage peak-to-trough decline | -13.33% | -13.10% | -0.23% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 12.35% | 10.00% | +2.35% |
Volatility
CPAY vs. HSY - Volatility Comparison
Corpay, Inc. (CPAY) and The Hershey Company (HSY) have volatilities of 9.20% and 9.48%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| CPAY | HSY | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 9.20% | 9.48% | -0.28% |
Volatility (6M)Calculated over the trailing 6-month period | 29.53% | 20.08% | +9.45% |
Volatility (1Y)Calculated over the trailing 1-year period | 37.70% | 27.49% | +10.21% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 32.43% | 22.77% | +9.66% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 32.93% | 23.44% | +9.49% |
Dividends
CPAY vs. HSY - Dividend Comparison
CPAY has not paid dividends to shareholders, while HSY's dividend yield for the trailing twelve months is around 3.11%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CPAY Corpay, 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
CPAY vs. HSY - Financials Comparison
This section allows you to compare key financial metrics between Corpay, Inc. and The Hershey Company. 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
CPAY vs. HSY - Profitability Comparison
CPAY - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Corpay, Inc. reported a gross profit of 0.00 and revenue of 1.26B. Therefore, the gross margin over that period was 0.0%.
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%.
CPAY - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Corpay, Inc. reported an operating income of 636.17M and revenue of 1.26B, resulting in an operating margin of 50.5%.
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%.
CPAY - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Corpay, Inc. reported a net income of 350.07M and revenue of 1.26B, resulting in a net margin of 27.8%.
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%.
Frequently Asked Questions
CPAY and HSY have a correlation of 0.09, 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 CPAY (9.20%). In terms of maximum drawdown, CPAY dropped -50.13% vs HSY's -49.15%.
HSY currently has the higher Sharpe Ratio (0.32 vs 0.05), 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 CPAY and HSY
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