XLY vs. GDX
XLY (Consumer Discretionary Select Sector SPDR Fund) and GDX (VanEck Gold Miners ETF) are both exchange-traded funds - XLY is a Consumer Discretionary Equities fund tracking the Consumer Discretionary Select Sector Index, while GDX is a Gold fund tracking the NYSE MarketVector Global Gold Miners Index. Both are passively managed. Over the past 10 years, XLY returned 12.78%/yr vs 13.29%/yr for GDX. At a 0.17 correlation, their price movements are largely independent. XLY charges 0.13%/yr vs 0.51%/yr for GDX.
Performance
XLY vs. GDX - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XLY achieves a -2.16% return, which is significantly higher than GDX's -6.69% return. Both investments have delivered pretty close results over the past 10 years, with XLY having a 12.78% annualized return and GDX not far ahead at 13.29%.
XLY
- 1D
- 0.26%
- 1M
- -1.79%
- YTD
- -2.16%
- 6M
- -3.01%
- 1Y
- 9.98%
- 3Y*
- 12.99%
- 5Y*
- 7.00%
- 10Y*
- 12.78%
GDX
- 1D
- 2.97%
- 1M
- -16.83%
- YTD
- -6.69%
- 6M
- -5.89%
- 1Y
- 50.59%
- 3Y*
- 38.96%
- 5Y*
- 17.51%
- 10Y*
- 13.29%
XLY vs. GDX - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XLY Consumer Discretionary Select Sector SPDR Fund | -2.16% | 7.37% | 26.51% | 39.64% | -36.27% | 27.93% | 29.63% | 28.39% | 1.58% | 22.82% |
GDX VanEck Gold Miners ETF | -6.69% | 154.77% | 10.63% | 9.98% | -9.01% | -9.52% | 23.66% | 39.84% | -8.77% | 11.99% |
Correlation
The correlation between XLY and GDX is 0.27, 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.27 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.21 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.21 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.16 |
Correlation (All Time) Calculated using the full available price history since May 22, 2006 | 0.17 |
The correlation between XLY and GDX shifts across timeframes, from 0.16 (10 years) to 0.27 (1 year), reflecting how their relationship changes across market environments.
XLY vs. GDX - Sectors Allocation Comparison
Sectors
XLY
GDX
Consumer Cyclical
-
Communication Services
-
Technology
-
Industrials
-
Basic Materials
-
Consumer Defensive
-
-
Energy
-
-
Financial Services
-
-
Healthcare
-
-
Real Estate
-
-
Utilities
-
-
Consumer Cyclical
XLY
GDX
-
Communication Services
XLY
GDX
-
Technology
XLY
GDX
-
Industrials
XLY
GDX
-
Basic Materials
XLY
-
GDX
Consumer Defensive
XLY
-
GDX
-
Energy
XLY
-
GDX
-
Financial Services
XLY
-
GDX
-
Healthcare
XLY
-
GDX
-
Real Estate
XLY
-
GDX
-
Utilities
XLY
-
GDX
-
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
XLY vs. GDX — Risk / Return Rank
XLY
GDX
XLY vs. GDX - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Consumer Discretionary Select Sector SPDR Fund (XLY) and VanEck Gold Miners ETF (GDX). 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.
| XLY | GDX | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.54 | ||
| Sortino ratioReturn per unit of downside risk | -0.62 | ||
| Omega ratioGain probability vs. loss probability | 1.10 | 1.21 | -0.11 |
| Calmar ratioReturn relative to maximum drawdown | 0.67 | 1.40 | -0.73 |
| Martin ratioReturn relative to average drawdown | 2.05 | 3.87 | -1.82 |
Loading charts...
Drawdowns
XLY vs. GDX - Drawdown Comparison
The maximum XLY drawdown since its inception was -59.05%, smaller than the maximum GDX drawdown of -80.34%. Use the drawdown chart below to compare losses from any high point for XLY and GDX.
Loading charts...
Drawdown Indicators
| XLY | GDX | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -59.05% | -80.34% | +21.29% |
Max Drawdown (1Y)Largest decline over 1 year | -14.98% | -36.28% | +21.30% |
Max Drawdown (3Y)Largest decline over 3 years | -26.01% | -36.28% | +10.27% |
Max Drawdown (5Y)Largest decline over 5 years | -39.67% | -46.51% | +6.84% |
Max Drawdown (10Y)Largest decline over 10 years | -39.67% | -49.79% | +10.12% |
Current DrawdownCurrent decline from peak | -6.17% | -30.91% | +24.74% |
Average DrawdownAverage peak-to-trough decline | -9.55% | -40.41% | +30.86% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.88% | 13.11% | -8.23% |
Volatility
XLY vs. GDX - Volatility Comparison
The current volatility for Consumer Discretionary Select Sector SPDR Fund (XLY) is 6.19%, while VanEck Gold Miners ETF (GDX) has a volatility of 17.20%. This indicates that XLY experiences smaller price fluctuations and is considered to be less risky than GDX based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| XLY | GDX | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 6.19% | 17.20% | -11.01% |
Volatility (6M)Calculated over the trailing 6-month period | 13.44% | 39.15% | -25.71% |
Volatility (1Y)Calculated over the trailing 1-year period | 18.27% | 46.89% | -28.62% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 23.83% | 36.74% | -12.91% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 22.08% | 37.34% | -15.26% |
XLY vs. GDX - Expense Ratio Comparison
XLY has a 0.13% expense ratio, which is lower than GDX's 0.51% expense ratio.
Dividends
XLY vs. GDX - Dividend Comparison
XLY's dividend yield for the trailing twelve months is around 0.77%, less than GDX's 0.79% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
GDX VanEck Gold Miners ETF | 0.79% | 0.74% | 1.19% | 1.61% | 1.66% | 1.67% | 0.53% | 0.67% | 0.50% | 0.76% | 0.26% | 0.85% |
XLY Consumer Discretionary Select Sector SPDR Fund | 0.77% | 0.79% | 0.72% | 0.78% | 1.00% | 0.53% | 0.82% | 1.28% | 1.34% | 1.20% | 1.71% | 1.43% |
Frequently Asked Questions
XLY and GDX have a correlation of 0.27, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
GDX has higher volatility (17.20%) compared to XLY (6.19%). In terms of maximum drawdown, XLY dropped -59.05% vs GDX's -80.34%.
On 10-year performance, GDX leads with 13.29% vs 12.78% for XLY. On fees, XLY is cheaper at 0.13% per year. On volatility, XLY has been the lower-risk option at 6.19%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, GDX has performed better with a 13.29% return vs 12.78%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLY is cheaper with a 0.13% expense ratio, compared with 0.51% for GDX.
GDX has the higher dividend yield at 0.79%, compared with 0.77% for XLY.
XLY is categorized as Consumer Discretionary Equities, while GDX is Gold. XLY tracks Consumer Discretionary Select Sector Index, while GDX tracks NYSE MarketVector Global Gold Miners Index. They also come from different issuers: State Street and VanEck. Their fees differ too: 0.13% for XLY and 0.51% for GDX.
GDX currently has the higher Sharpe Ratio (1.09 vs 0.55), 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 XLY and GDX
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