HACK vs. XLK
HACK (ETFMG Prime Cyber Security ETF) and XLK (State Street Technology Select Sector SPDR ETF) are both Technology Equities funds - HACK tracks the Prime Cyber Defense Index while XLK tracks the S&P Technology Select Sector Daily Capped 35/20 Index. Both are passively managed. Over the past 10 years, HACK returned 15.84%/yr vs 25.84%/yr for XLK. A 0.74 correlation means they provide meaningful diversification when combined. HACK charges 0.60%/yr vs 0.08%/yr for XLK.
Performance
HACK vs. XLK - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HACK achieves a 27.17% return, which is significantly lower than XLK's 36.47% return. Over the past 10 years, HACK has underperformed XLK with an annualized return of 15.84%, while XLK has yielded a comparatively higher 25.84% annualized return.
HACK
- 1D
- -3.00%
- 1M
- 24.54%
- YTD
- 27.17%
- 6M
- 21.31%
- 1Y
- 21.52%
- 3Y*
- 27.72%
- 5Y*
- 11.82%
- 10Y*
- 15.84%
XLK
- 1D
- -1.00%
- 1M
- 21.09%
- YTD
- 36.47%
- 6M
- 35.71%
- 1Y
- 66.93%
- 3Y*
- 33.90%
- 5Y*
- 23.83%
- 10Y*
- 25.84%
HACK vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
HACK ETFMG Prime Cyber Security ETF | 27.17% | 7.97% | 23.49% | 37.44% | -28.16% | 7.03% | 41.51% | 23.39% | 6.61% | 19.68% |
XLK State Street Technology Select Sector SPDR ETF | 36.47% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
Correlation
The correlation between HACK and XLK is 0.62, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.62 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.71 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.75 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.74 |
Correlation (All Time) Calculated using the full available price history since Nov 13, 2014 | 0.74 |
The correlation between HACK and XLK shifts across timeframes, from 0.62 (1 year) to 0.75 (5 years), reflecting how their relationship changes across market environments.
HACK vs. XLK - Sectors Allocation Comparison
Sectors
HACK
XLK
Technology
Industrials
Financial Services
-
Basic Materials
-
-
Communication Services
-
-
Consumer Cyclical
-
-
Consumer Defensive
-
-
Energy
-
Healthcare
-
-
Real Estate
-
-
Utilities
-
-
Technology
HACK
XLK
Industrials
HACK
XLK
Financial Services
HACK
XLK
-
Basic Materials
HACK
-
XLK
-
Communication Services
HACK
-
XLK
-
Consumer Cyclical
HACK
-
XLK
-
Consumer Defensive
HACK
-
XLK
-
Energy
HACK
-
XLK
Healthcare
HACK
-
XLK
-
Real Estate
HACK
-
XLK
-
Utilities
HACK
-
XLK
-
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
HACK vs. XLK — Risk / Return Rank
HACK
XLK
HACK vs. XLK - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for ETFMG Prime Cyber Security ETF (HACK) and State Street Technology Select Sector SPDR ETF (XLK). 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.
| HACK | XLK | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -2.39 | ||
| Sortino ratioReturn per unit of downside risk | -2.65 | ||
| Omega ratioGain probability vs. loss probability | 1.16 | 1.52 | -0.35 |
| Calmar ratioReturn relative to maximum drawdown | 1.05 | 4.22 | -3.18 |
| Martin ratioReturn relative to average drawdown | 2.52 | 14.16 | -11.64 |
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
| HACK | XLK | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.85 | 3.24 | -2.39 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.49 | 0.96 | -0.47 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.68 | 1.06 | -0.38 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.57 | 0.42 | +0.16 |
Drawdowns
HACK vs. XLK - Drawdown Comparison
The maximum HACK drawdown since its inception was -42.68%, smaller than the maximum XLK drawdown of -82.05%. Use the drawdown chart below to compare losses from any high point for HACK and XLK.
Loading charts...
Drawdown Indicators
| HACK | XLK | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -42.68% | -82.05% | +39.37% |
Max Drawdown (1Y)Largest decline over 1 year | -20.67% | -15.92% | -4.75% |
Max Drawdown (3Y)Largest decline over 3 years | -21.90% | -25.66% | +3.76% |
Max Drawdown (5Y)Largest decline over 5 years | -38.68% | -33.56% | -5.12% |
Max Drawdown (10Y)Largest decline over 10 years | -38.68% | -33.56% | -5.12% |
Current DrawdownCurrent decline from peak | -3.00% | -1.00% | -2.00% |
Average DrawdownAverage peak-to-trough decline | -11.63% | -34.96% | +23.33% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 8.58% | 4.74% | +3.84% |
Volatility
HACK vs. XLK - Volatility Comparison
ETFMG Prime Cyber Security ETF (HACK) has a higher volatility of 10.68% compared to State Street Technology Select Sector SPDR ETF (XLK) at 6.98%. This indicates that HACK's price experiences larger fluctuations and is considered to be riskier than XLK based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HACK | XLK | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.68% | 6.98% | +3.70% |
Volatility (6M)Calculated over the trailing 6-month period | 21.52% | 16.68% | +4.84% |
Volatility (1Y)Calculated over the trailing 1-year period | 25.47% | 20.82% | +4.65% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 24.18% | 24.90% | -0.72% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 23.27% | 24.49% | -1.22% |
HACK vs. XLK - Expense Ratio Comparison
HACK has a 0.60% expense ratio, which is higher than XLK's 0.08% expense ratio.
Dividends
HACK vs. XLK - Dividend Comparison
HACK's dividend yield for the trailing twelve months is around 0.06%, less than XLK's 0.39% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
HACK ETFMG Prime Cyber Security ETF | 0.06% | 0.07% | 0.14% | 0.20% | 0.24% | 0.26% | 1.11% | 0.14% | 0.09% | 0.01% | 1.23% | 0.00% |
XLK State Street Technology Select Sector SPDR ETF | 0.39% | 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
HACK and XLK have a correlation of 0.62, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
HACK has higher volatility (10.68%) compared to XLK (6.98%). In terms of maximum drawdown, HACK dropped -42.68% vs XLK's -82.05%.
On 10-year performance, XLK leads with 25.84% vs 15.84% for HACK. On fees, XLK is cheaper at 0.08% per year. On volatility, XLK has been the lower-risk option at 6.98%. 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.84% return vs 15.84%. 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.60% for HACK.
XLK has the higher dividend yield at 0.39%, compared with 0.06% for HACK.
HACK tracks Prime Cyber Defense Index, while XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index. They also come from different issuers: ETFMG and State Street. Their fees differ too: 0.60% for HACK and 0.08% for XLK.
XLK currently has the higher Sharpe Ratio (3.24 vs 0.85), 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 HACK and XLK
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