HPQ vs. KHC
HPQ (HP Inc.) and KHC (The Kraft Heinz Company) are both stocks. HPQ operates in Computer Hardware (Technology), while KHC operates in Packaged Foods (Consumer Defensive). Over the past 10 years, HPQ returned 10.09%/yr vs -8.27%/yr for KHC. At a 0.24 correlation, their price movements are largely independent.
Performance
HPQ vs. KHC - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HPQ achieves a 16.67% return, which is significantly higher than KHC's -3.61% return. Over the past 10 years, HPQ has outperformed KHC with an annualized return of 10.09%, while KHC has yielded a comparatively lower -8.27% annualized return.
HPQ
- 1D
- -2.74%
- 1M
- 19.48%
- YTD
- 16.67%
- 6M
- 1.52%
- 1Y
- 8.80%
- 3Y*
- -0.94%
- 5Y*
- -0.01%
- 10Y*
- 10.09%
KHC
- 1D
- 2.31%
- 1M
- -0.35%
- YTD
- -3.61%
- 6M
- -3.96%
- 1Y
- -9.49%
- 3Y*
- -11.07%
- 5Y*
- -8.03%
- 10Y*
- -8.27%
HPQ vs. KHC - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
HPQ HP Inc. | 16.67% | -28.69% | 12.10% | 16.08% | -26.40% | 57.25% | 24.11% | 3.88% | -0.20% | 45.69% |
KHC The Kraft Heinz Company | -3.61% | -16.31% | -12.96% | -5.04% | 18.18% | 7.98% | 13.78% | -21.20% | -42.25% | -8.37% |
Correlation
The correlation between HPQ and KHC is 0.19, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.19 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.17 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.17 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.23 |
Correlation (All Time) Calculated using the full available price history since Jul 7, 2015 | 0.24 |
Fundamentals
HPQ:
$23.66B
KHC:
$26.83B
HPQ:
$2.72
KHC:
-$4.85
HPQ:
0.42
KHC:
1.07
HPQ:
6.11
KHC:
0.64
HPQ:
$57.42B
KHC:
$24.99B
HPQ:
$11.61B
KHC:
$8.46B
HPQ:
$3.83B
KHC:
-$3.86B
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
HPQ vs. KHC — Risk / Return Rank
HPQ
KHC
HPQ vs. KHC - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for HP Inc. (HPQ) and The Kraft Heinz Company (KHC). 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.
| HPQ | KHC | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.60 | ||
| Sortino ratioReturn per unit of downside risk | +1.02 | ||
| Omega ratioGain probability vs. loss probability | 1.08 | 0.96 | +0.12 |
| Calmar ratioReturn relative to maximum drawdown | 0.24 | -0.41 | +0.65 |
| Martin ratioReturn relative to average drawdown | 0.43 | -0.74 | +1.17 |
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
| HPQ | KHC | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.22 | -0.38 | +0.60 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | -0.00 | -0.36 | +0.36 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.29 | -0.31 | +0.59 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.23 | -0.22 | +0.46 |
Drawdowns
HPQ vs. KHC - Drawdown Comparison
The maximum HPQ drawdown since its inception was -85.19%, which is greater than KHC's maximum drawdown of -76.07%. Use the drawdown chart below to compare losses from any high point for HPQ and KHC.
Loading charts...
Drawdown Indicators
| HPQ | KHC | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -85.19% | -76.07% | -9.12% |
Max Drawdown (1Y)Largest decline over 1 year | -36.62% | -23.19% | -13.43% |
Max Drawdown (3Y)Largest decline over 3 years | -51.23% | -38.72% | -12.51% |
Max Drawdown (5Y)Largest decline over 5 years | -51.23% | -41.69% | -9.54% |
Max Drawdown (10Y)Largest decline over 10 years | -51.23% | -76.07% | +24.84% |
Current DrawdownCurrent decline from peak | -30.34% | -63.53% | +33.19% |
Average DrawdownAverage peak-to-trough decline | -30.87% | -42.42% | +11.55% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 20.52% | 12.78% | +7.74% |
Volatility
HPQ vs. KHC - Volatility Comparison
HP Inc. (HPQ) has a higher volatility of 23.89% compared to The Kraft Heinz Company (KHC) at 7.40%. This indicates that HPQ's price experiences larger fluctuations and is considered to be riskier than KHC based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HPQ | KHC | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 23.89% | 7.40% | +16.49% |
Volatility (6M)Calculated over the trailing 6-month period | 32.20% | 18.38% | +13.82% |
Volatility (1Y)Calculated over the trailing 1-year period | 40.17% | 25.18% | +14.99% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 35.78% | 22.36% | +13.42% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 35.27% | 27.05% | +8.22% |
Dividends
HPQ vs. KHC - Dividend Comparison
HPQ's dividend yield for the trailing twelve months is around 4.61%, less than KHC's 7.09% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
HPQ HP Inc. | 4.61% | 5.24% | 3.42% | 3.53% | 3.77% | 2.21% | 2.94% | 3.20% | 2.83% | 2.56% | 3.40% | 129.70% |
KHC The Kraft Heinz Company | 7.09% | 6.60% | 5.21% | 4.33% | 3.93% | 4.46% | 4.62% | 4.98% | 5.81% | 3.15% | 2.69% | 25.01% |
Financials
HPQ vs. KHC - Financials Comparison
This section allows you to compare key financial metrics between HP Inc. and The Kraft Heinz 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
HPQ vs. KHC - Profitability Comparison
HPQ - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, HP Inc. reported a gross profit of 3.02B and revenue of 14.41B. Therefore, the gross margin over that period was 20.9%.
KHC - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, The Kraft Heinz Company reported a gross profit of 2.22B and revenue of 6.05B. Therefore, the gross margin over that period was 36.7%.
HPQ - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, HP Inc. reported an operating income of 612.00M and revenue of 14.41B, resulting in an operating margin of 4.3%.
KHC - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, The Kraft Heinz Company reported an operating income of 1.15B and revenue of 6.05B, resulting in an operating margin of 18.9%.
HPQ - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, HP Inc. reported a net income of 450.00M and revenue of 14.41B, resulting in a net margin of 3.1%.
KHC - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, The Kraft Heinz Company reported a net income of 798.00M and revenue of 6.05B, resulting in a net margin of 13.2%.
Frequently Asked Questions
HPQ and KHC have a correlation of 0.19, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
HPQ has higher volatility (23.89%) compared to KHC (7.40%). In terms of maximum drawdown, HPQ dropped -85.19% vs KHC's -76.07%.
HPQ currently has the higher Sharpe Ratio (0.22 vs -0.38), 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 HPQ and KHC
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