GDX vs. XLY
GDX (VanEck Gold Miners ETF) and XLY (Consumer Discretionary Select Sector SPDR Fund) are both exchange-traded funds - GDX is a Gold fund tracking the NYSE MarketVector Global Gold Miners Index, while XLY is a Consumer Discretionary Equities fund tracking the Consumer Discretionary Select Sector Index. Both are passively managed. Over the past 10 years, GDX returned 13.29%/yr vs 12.78%/yr for XLY. At a 0.17 correlation, their price movements are largely independent. GDX charges 0.51%/yr vs 0.13%/yr for XLY.
Performance
GDX vs. XLY - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, GDX achieves a -6.69% return, which is significantly lower than XLY's -2.16% return. Both investments have delivered pretty close results over the past 10 years, with GDX having a 13.29% annualized return and XLY not far behind at 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
- 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 vs. XLY - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
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% |
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% |
Correlation
The correlation between GDX and XLY 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 GDX and XLY shifts across timeframes, from 0.16 (10 years) to 0.27 (1 year), reflecting how their relationship changes across market environments.
GDX vs. XLY - Sectors Allocation Comparison
Sectors
GDX
XLY
Basic Materials
-
Communication Services
-
Consumer Cyclical
-
Consumer Defensive
-
-
Energy
-
-
Financial Services
-
-
Healthcare
-
-
Industrials
-
Real Estate
-
-
Technology
-
Utilities
-
-
Basic Materials
GDX
XLY
-
Communication Services
GDX
-
XLY
Consumer Cyclical
GDX
-
XLY
Consumer Defensive
GDX
-
XLY
-
Energy
GDX
-
XLY
-
Financial Services
GDX
-
XLY
-
Healthcare
GDX
-
XLY
-
Industrials
GDX
-
XLY
Real Estate
GDX
-
XLY
-
Technology
GDX
-
XLY
Utilities
GDX
-
XLY
-
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
GDX vs. XLY — Risk / Return Rank
GDX
XLY
GDX vs. XLY - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for VanEck Gold Miners ETF (GDX) and Consumer Discretionary Select Sector SPDR Fund (XLY). 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.
| GDX | XLY | 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.21 | 1.10 | +0.11 |
| Calmar ratioReturn relative to maximum drawdown | 1.40 | 0.67 | +0.73 |
| Martin ratioReturn relative to average drawdown | 3.87 | 2.05 | +1.82 |
Loading charts...
Drawdowns
GDX vs. XLY - Drawdown Comparison
The maximum GDX drawdown since its inception was -80.34%, which is greater than XLY's maximum drawdown of -59.05%. Use the drawdown chart below to compare losses from any high point for GDX and XLY.
Loading charts...
Drawdown Indicators
| GDX | XLY | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -80.34% | -59.05% | -21.29% |
Max Drawdown (1Y)Largest decline over 1 year | -36.28% | -14.98% | -21.30% |
Max Drawdown (3Y)Largest decline over 3 years | -36.28% | -26.01% | -10.27% |
Max Drawdown (5Y)Largest decline over 5 years | -46.51% | -39.67% | -6.84% |
Max Drawdown (10Y)Largest decline over 10 years | -49.79% | -39.67% | -10.12% |
Current DrawdownCurrent decline from peak | -30.91% | -6.17% | -24.74% |
Average DrawdownAverage peak-to-trough decline | -40.41% | -9.55% | -30.86% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 13.11% | 4.88% | +8.23% |
Volatility
GDX vs. XLY - Volatility Comparison
VanEck Gold Miners ETF (GDX) has a higher volatility of 17.20% compared to Consumer Discretionary Select Sector SPDR Fund (XLY) at 6.19%. This indicates that GDX's price experiences larger fluctuations and is considered to be riskier than XLY based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| GDX | XLY | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 17.20% | 6.19% | +11.01% |
Volatility (6M)Calculated over the trailing 6-month period | 39.15% | 13.44% | +25.71% |
Volatility (1Y)Calculated over the trailing 1-year period | 46.89% | 18.27% | +28.62% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 36.74% | 23.83% | +12.91% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 37.34% | 22.08% | +15.26% |
GDX vs. XLY - Expense Ratio Comparison
GDX has a 0.51% expense ratio, which is higher than XLY's 0.13% expense ratio.
Dividends
GDX vs. XLY - Dividend Comparison
GDX's dividend yield for the trailing twelve months is around 0.79%, more than XLY's 0.77% 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
GDX and XLY 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, GDX dropped -80.34% vs XLY's -59.05%.
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.
GDX is categorized as Gold, while XLY is Consumer Discretionary Equities. GDX tracks NYSE MarketVector Global Gold Miners Index, while XLY tracks Consumer Discretionary Select Sector Index. They also come from different issuers: VanEck and State Street. Their fees differ too: 0.51% for GDX and 0.13% for XLY.
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 GDX and XLY
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