XLK vs. HAP
XLK (State Street Technology Select Sector SPDR ETF) and HAP (VanEck Natural Resources ETF) are both exchange-traded funds - XLK is a Technology Equities fund tracking the S&P Technology Select Sector Daily Capped 35/20 Index, while HAP is a Energy Equities fund tracking the MarketVector Global Natural Resources Index. Both are passively managed. Over the past 10 years, XLK returned 25.19%/yr vs 11.95%/yr for HAP. A 0.57 correlation means they provide meaningful diversification when combined. XLK charges 0.08%/yr vs 0.42%/yr for HAP.
Performance
XLK vs. HAP - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XLK achieves a 28.52% return, which is significantly higher than HAP's 18.44% return. Over the past 10 years, XLK has outperformed HAP with an annualized return of 25.19%, while HAP has yielded a comparatively lower 11.95% annualized return.
XLK
- 1D
- 0.87%
- 1M
- 4.85%
- YTD
- 28.52%
- 6M
- 28.96%
- 1Y
- 55.42%
- 3Y*
- 30.28%
- 5Y*
- 22.02%
- 10Y*
- 25.19%
HAP
- 1D
- 1.21%
- 1M
- -4.04%
- YTD
- 18.44%
- 6M
- 19.25%
- 1Y
- 38.39%
- 3Y*
- 17.05%
- 5Y*
- 11.22%
- 10Y*
- 11.95%
XLK vs. HAP - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XLK State Street Technology Select Sector SPDR ETF | 28.52% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
HAP VanEck Natural Resources ETF | 18.44% | 34.91% | -4.08% | 2.46% | 7.84% | 25.04% | 6.30% | 18.60% | -10.68% | 17.12% |
Correlation
The correlation between XLK and HAP is 0.32, 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.32 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.33 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.42 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.48 |
Correlation (All Time) Calculated using the full available price history since Sep 3, 2008 | 0.57 |
Over the past year, the correlation between XLK and HAP has dropped to 0.32 - well below their long-term average of 0.57, suggesting their price drivers have been diverging.
XLK vs. HAP - Sectors Allocation Comparison
Sectors
XLK
HAP
Technology
Energy
Industrials
Basic Materials
-
Communication Services
-
-
Consumer Cyclical
-
Consumer Defensive
-
Financial Services
-
-
Healthcare
-
Real Estate
-
Utilities
-
Technology
XLK
HAP
Energy
XLK
HAP
Industrials
XLK
HAP
Basic Materials
XLK
-
HAP
Communication Services
XLK
-
HAP
-
Consumer Cyclical
XLK
-
HAP
Consumer Defensive
XLK
-
HAP
Financial Services
XLK
-
HAP
-
Healthcare
XLK
-
HAP
Real Estate
XLK
-
HAP
Utilities
XLK
-
HAP
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
XLK vs. HAP — Risk / Return Rank
XLK
HAP
XLK vs. HAP - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for State Street Technology Select Sector SPDR ETF (XLK) and VanEck Natural Resources ETF (HAP). 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.
| XLK | HAP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.17 | ||
| Sortino ratioReturn per unit of downside risk | -0.35 | ||
| Omega ratioGain probability vs. loss probability | 1.39 | 1.46 | -0.06 |
| Calmar ratioReturn relative to maximum drawdown | 3.36 | 4.74 | -1.38 |
| Martin ratioReturn relative to average drawdown | 10.85 | 17.71 | -6.86 |
Loading charts...
Drawdowns
XLK vs. HAP - Drawdown Comparison
The maximum XLK drawdown since its inception was -82.05%, which is greater than HAP's maximum drawdown of -50.99%. Use the drawdown chart below to compare losses from any high point for XLK and HAP.
Loading charts...
Drawdown Indicators
| XLK | HAP | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -82.05% | -50.99% | -31.06% |
Max Drawdown (1Y)Largest decline over 1 year | -15.92% | -8.31% | -7.61% |
Max Drawdown (3Y)Largest decline over 3 years | -25.66% | -16.92% | -8.74% |
Max Drawdown (5Y)Largest decline over 5 years | -33.56% | -25.66% | -7.90% |
Max Drawdown (10Y)Largest decline over 10 years | -33.56% | -44.07% | +10.51% |
Current DrawdownCurrent decline from peak | -6.77% | -4.42% | -2.35% |
Average DrawdownAverage peak-to-trough decline | -34.93% | -12.07% | -22.86% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.92% | 2.22% | +2.70% |
Volatility
XLK vs. HAP - Volatility Comparison
State Street Technology Select Sector SPDR ETF (XLK) has a higher volatility of 10.86% compared to VanEck Natural Resources ETF (HAP) at 5.20%. This indicates that XLK's price experiences larger fluctuations and is considered to be riskier than HAP based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| XLK | HAP | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.86% | 5.20% | +5.66% |
Volatility (6M)Calculated over the trailing 6-month period | 18.92% | 12.86% | +6.06% |
Volatility (1Y)Calculated over the trailing 1-year period | 22.55% | 15.50% | +7.05% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 25.18% | 18.32% | +6.86% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 24.64% | 19.75% | +4.89% |
XLK vs. HAP - Expense Ratio Comparison
XLK has a 0.08% expense ratio, which is lower than HAP's 0.42% expense ratio.
Dividends
XLK vs. HAP - Dividend Comparison
XLK's dividend yield for the trailing twelve months is around 0.41%, less than HAP's 1.91% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
HAP VanEck Natural Resources ETF | 1.91% | 2.27% | 2.65% | 3.27% | 3.28% | 2.16% | 2.45% | 2.80% | 2.85% | 2.02% | 1.99% | 3.00% |
XLK State Street Technology Select Sector SPDR ETF | 0.41% | 0.54% | 0.66% | 0.76% | 1.04% | 0.65% | 0.92% | 1.16% | 1.60% | 1.37% | 1.74% | 1.79% |
Frequently Asked Questions
XLK and HAP have a correlation of 0.32, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XLK has higher volatility (10.86%) compared to HAP (5.20%). In terms of maximum drawdown, XLK dropped -82.05% vs HAP's -50.99%.
On 10-year performance, XLK leads with 25.19% vs 11.95% for HAP. On fees, XLK is cheaper at 0.08% per year. On volatility, HAP has been the lower-risk option at 5.20%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, XLK has performed better with a 25.19% return vs 11.95%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLK is cheaper with a 0.08% expense ratio, compared with 0.42% for HAP.
HAP has the higher dividend yield at 1.91%, compared with 0.41% for XLK.
XLK is categorized as Technology Equities, while HAP is Energy Equities. XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index, while HAP tracks MarketVector Global Natural Resources Index. They also come from different issuers: State Street and VanEck. Their fees differ too: 0.08% for XLK and 0.42% for HAP.
HAP currently has the higher Sharpe Ratio (2.54 vs 2.37), 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 XLK and HAP
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