HPQ vs. OXY
HPQ (HP Inc.) and OXY (Occidental Petroleum Corporation) are both stocks. HPQ operates in Computer Hardware (Technology), while OXY operates in Oil & Gas E&P (Energy). Over the past 10 years, HPQ returned 10.09%/yr vs -0.17%/yr for OXY. At a 0.25 correlation, their price movements are largely independent.
Performance
HPQ vs. OXY - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HPQ achieves a 16.67% return, which is significantly lower than OXY's 39.11% return. Over the past 10 years, HPQ has outperformed OXY with an annualized return of 10.09%, while OXY has yielded a comparatively lower -0.17% 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%
OXY
- 1D
- -2.97%
- 1M
- 3.28%
- YTD
- 39.11%
- 6M
- 35.59%
- 1Y
- 39.08%
- 3Y*
- 0.28%
- 5Y*
- 15.80%
- 10Y*
- -0.17%
HPQ vs. OXY - 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% |
OXY Occidental Petroleum Corporation | 39.11% | -14.95% | -15.91% | -4.08% | 119.10% | 67.71% | -56.63% | -28.28% | -13.05% | 8.49% |
Correlation
The correlation between HPQ and OXY is 0.15, 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.15 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.22 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.30 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.32 |
Correlation (All Time) Calculated using the full available price history since Jan 4, 1982 | 0.25 |
The correlation between HPQ and OXY shifts across timeframes, from 0.15 (1 year) to 0.32 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
HPQ:
$2.72
OXY:
$6.02
HPQ:
9.42
OXY:
9.46
HPQ:
0.42
OXY:
1.85
HPQ:
$57.42B
OXY:
$23.18B
HPQ:
$11.61B
OXY:
$5.46B
HPQ:
$3.83B
OXY:
$14.13B
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. OXY — Risk / Return Rank
HPQ
OXY
HPQ vs. OXY - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for HP Inc. (HPQ) and Occidental Petroleum Corporation (OXY). 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 | OXY | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.92 | ||
| Sortino ratioReturn per unit of downside risk | -1.00 | ||
| Omega ratioGain probability vs. loss probability | 1.08 | 1.21 | -0.13 |
| Calmar ratioReturn relative to maximum drawdown | 0.24 | 1.97 | -1.73 |
| Martin ratioReturn relative to average drawdown | 0.43 | 4.09 | -3.66 |
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 | OXY | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.22 | 1.14 | -0.92 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | -0.00 | 0.40 | -0.40 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.29 | -0.00 | +0.29 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.23 | 0.20 | +0.03 |
Drawdowns
HPQ vs. OXY - Drawdown Comparison
The maximum HPQ drawdown since its inception was -85.19%, roughly equal to the maximum OXY drawdown of -88.45%. Use the drawdown chart below to compare losses from any high point for HPQ and OXY.
Loading charts...
Drawdown Indicators
| HPQ | OXY | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -85.19% | -88.45% | +3.26% |
Max Drawdown (1Y)Largest decline over 1 year | -36.62% | -19.94% | -16.68% |
Max Drawdown (3Y)Largest decline over 3 years | -51.23% | -46.94% | -4.29% |
Max Drawdown (5Y)Largest decline over 5 years | -51.23% | -50.77% | -0.46% |
Max Drawdown (10Y)Largest decline over 10 years | -51.23% | -88.39% | +37.16% |
Current DrawdownCurrent decline from peak | -30.34% | -20.98% | -9.36% |
Average DrawdownAverage peak-to-trough decline | -30.87% | -20.15% | -10.72% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 20.52% | 9.59% | +10.93% |
Volatility
HPQ vs. OXY - Volatility Comparison
HP Inc. (HPQ) has a higher volatility of 23.89% compared to Occidental Petroleum Corporation (OXY) at 10.23%. This indicates that HPQ's price experiences larger fluctuations and is considered to be riskier than OXY based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HPQ | OXY | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 23.89% | 10.23% | +13.66% |
Volatility (6M)Calculated over the trailing 6-month period | 32.20% | 27.34% | +4.86% |
Volatility (1Y)Calculated over the trailing 1-year period | 40.17% | 34.58% | +5.59% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 35.78% | 39.55% | -3.77% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 35.27% | 48.75% | -13.48% |
Dividends
HPQ vs. OXY - Dividend Comparison
HPQ's dividend yield for the trailing twelve months is around 4.61%, more than OXY's 1.72% 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% |
OXY Occidental Petroleum Corporation | 1.72% | 2.33% | 1.78% | 1.21% | 0.83% | 0.14% | 4.74% | 7.62% | 5.05% | 4.15% | 4.24% | 4.39% |
Financials
HPQ vs. OXY - Financials Comparison
This section allows you to compare key financial metrics between HP Inc. and Occidental Petroleum Corporation. 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. OXY - 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%.
OXY - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Occidental Petroleum Corporation reported a gross profit of 0.00 and revenue of 5.23B. Therefore, the gross margin over that period was 0.0%.
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%.
OXY - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Occidental Petroleum Corporation reported an operating income of 236.00M and revenue of 5.23B, resulting in an operating margin of 4.5%.
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%.
OXY - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Occidental Petroleum Corporation reported a net income of 3.18B and revenue of 5.23B, resulting in a net margin of 60.7%.
Frequently Asked Questions
HPQ and OXY have a correlation of 0.15, 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 OXY (10.23%). In terms of maximum drawdown, HPQ dropped -85.19% vs OXY's -88.45%.
OXY currently has the higher Sharpe Ratio (1.14 vs 0.22), 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 OXY
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