SPY vs. XHB
SPY (State Street SPDR S&P 500 ETF) and XHB (SPDR S&P Homebuilders ETF) are both exchange-traded funds - SPY is a S&P 500 fund tracking the S&P 500 Index, while XHB is a Building & Construction fund tracking the S&P Homebuilders Select Industry Index. Both are passively managed. Over the past 10 years, SPY returned 15.16%/yr vs 12.51%/yr for XHB. A 0.72 correlation means they provide meaningful diversification when combined. SPY charges 0.09%/yr vs 0.35%/yr for XHB.
Performance
SPY vs. XHB - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, SPY achieves a 8.45% return, which is significantly higher than XHB's 0.69% return. Over the past 10 years, SPY has outperformed XHB with an annualized return of 15.16%, while XHB has yielded a comparatively lower 12.51% annualized return.
SPY
- 1D
- -2.58%
- 1M
- 0.82%
- YTD
- 8.45%
- 6M
- 8.18%
- 1Y
- 24.51%
- 3Y*
- 21.43%
- 5Y*
- 13.32%
- 10Y*
- 15.16%
XHB
- 1D
- -1.16%
- 1M
- 0.83%
- YTD
- 0.69%
- 6M
- -3.32%
- 1Y
- 9.49%
- 3Y*
- 12.63%
- 5Y*
- 7.92%
- 10Y*
- 12.51%
SPY vs. XHB - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
SPY State Street SPDR S&P 500 ETF | 8.45% | 17.72% | 24.89% | 26.18% | -18.18% | 28.73% | 18.33% | 31.22% | -4.57% | 21.71% |
XHB SPDR S&P Homebuilders ETF | 0.69% | -0.69% | 9.87% | 60.10% | -28.93% | 49.70% | 27.97% | 41.30% | -25.73% | 31.80% |
Correlation
The correlation between SPY and XHB is 0.50, 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.50 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.60 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.70 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.69 |
Correlation (All Time) Calculated using the full available price history since Feb 7, 2006 | 0.72 |
Over the past year, the correlation between SPY and XHB has dropped to 0.50 - well below their long-term average of 0.72, suggesting their price drivers have been diverging.
SPY vs. XHB - Sectors Allocation Comparison
Sectors
SPY
XHB
Technology
-
Financial Services
-
Communication Services
-
Consumer Cyclical
Healthcare
-
Industrials
Consumer Defensive
-
Energy
-
Utilities
-
Real Estate
Basic Materials
-
Technology
SPY
XHB
-
Financial Services
SPY
XHB
-
Communication Services
SPY
XHB
-
Consumer Cyclical
SPY
XHB
Healthcare
SPY
XHB
-
Industrials
SPY
XHB
Consumer Defensive
SPY
XHB
-
Energy
SPY
XHB
-
Utilities
SPY
XHB
-
Real Estate
SPY
XHB
Basic Materials
SPY
XHB
-
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
SPY vs. XHB — Risk / Return Rank
SPY
XHB
SPY vs. XHB - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for State Street SPDR S&P 500 ETF (SPY) and SPDR S&P Homebuilders ETF (XHB). 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.
| SPY | XHB | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.83 | ||
| Sortino ratioReturn per unit of downside risk | +2.18 | ||
| Omega ratioGain probability vs. loss probability | 1.39 | 1.08 | +0.31 |
| Calmar ratioReturn relative to maximum drawdown | 2.92 | 0.40 | +2.52 |
| Martin ratioReturn relative to average drawdown | 13.50 | 0.83 | +12.67 |
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
| SPY | XHB | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 2.14 | 0.31 | +1.83 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.78 | 0.29 | +0.49 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.85 | 0.46 | +0.39 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.58 | 0.16 | +0.42 |
Drawdowns
SPY vs. XHB - Drawdown Comparison
The maximum SPY drawdown since its inception was -55.19%, smaller than the maximum XHB drawdown of -81.61%. Use the drawdown chart below to compare losses from any high point for SPY and XHB.
Loading charts...
Drawdown Indicators
| SPY | XHB | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -55.19% | -81.61% | +26.42% |
Max Drawdown (1Y)Largest decline over 1 year | -8.88% | -21.71% | +12.83% |
Max Drawdown (3Y)Largest decline over 3 years | -18.76% | -30.53% | +11.77% |
Max Drawdown (5Y)Largest decline over 5 years | -24.50% | -39.46% | +14.96% |
Max Drawdown (10Y)Largest decline over 10 years | -33.72% | -49.57% | +15.85% |
Current DrawdownCurrent decline from peak | -2.90% | -16.62% | +13.72% |
Average DrawdownAverage peak-to-trough decline | -9.05% | -27.60% | +18.55% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 1.91% | 10.36% | -8.45% |
Volatility
SPY vs. XHB - Volatility Comparison
The current volatility for State Street SPDR S&P 500 ETF (SPY) is 3.73%, while SPDR S&P Homebuilders ETF (XHB) has a volatility of 7.93%. This indicates that SPY experiences smaller price fluctuations and is considered to be less risky than XHB based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| SPY | XHB | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 3.73% | 7.93% | -4.20% |
Volatility (6M)Calculated over the trailing 6-month period | 9.31% | 20.00% | -10.69% |
Volatility (1Y)Calculated over the trailing 1-year period | 12.12% | 27.70% | -15.58% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 17.09% | 27.64% | -10.55% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 17.95% | 27.41% | -9.46% |
SPY vs. XHB - Expense Ratio Comparison
SPY has a 0.09% expense ratio, which is lower than XHB's 0.35% expense ratio.
Dividends
SPY vs. XHB - Dividend Comparison
SPY's dividend yield for the trailing twelve months is around 1.00%, more than XHB's 0.62% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
SPY State Street SPDR S&P 500 ETF | 1.00% | 1.07% | 1.21% | 1.40% | 1.65% | 1.20% | 1.52% | 1.75% | 2.04% | 1.80% | 2.03% | 2.06% |
XHB SPDR S&P Homebuilders ETF | 0.62% | 0.78% | 0.59% | 0.77% | 1.06% | 0.51% | 0.73% | 0.89% | 1.25% | 0.72% | 0.67% | 0.50% |
Frequently Asked Questions
SPY and XHB have a correlation of 0.50, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XHB has higher volatility (7.93%) compared to SPY (3.73%). In terms of maximum drawdown, SPY dropped -55.19% vs XHB's -81.61%.
On 10-year performance, SPY leads with 15.16% vs 12.51% for XHB. On fees, SPY is cheaper at 0.09% per year. On volatility, SPY has been the lower-risk option at 3.73%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, SPY has performed better with a 15.16% return vs 12.51%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
SPY is cheaper with a 0.09% expense ratio, compared with 0.35% for XHB.
SPY has the higher dividend yield at 1.00%, compared with 0.62% for XHB.
SPY is categorized as S&P 500, while XHB is Building & Construction. SPY tracks S&P 500 Index, while XHB tracks S&P Homebuilders Select Industry Index. Their fees differ too: 0.09% for SPY and 0.35% for XHB.
SPY currently has the higher Sharpe Ratio (2.14 vs 0.31), 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 SPY and XHB
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