PortfoliosLab logoPortfoliosLab logo
XLP vs. GDX
Performance
Return for Risk
Drawdowns
Volatility
Dividends

Performance

XLP vs. GDX - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in State Street Consumer Staples Select Sector SPDR ETF (XLP) and VanEck Gold Miners ETF (GDX). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, XLP achieves a 7.54% return, which is significantly higher than GDX's -8.28% return. Over the past 10 years, XLP has underperformed GDX with an annualized return of 7.21%, while GDX has yielded a comparatively higher 12.82% annualized return.


XLP

1D
-0.44%
1M
-1.32%
YTD
7.54%
6M
8.22%
1Y
4.50%
3Y*
7.23%
5Y*
6.10%
10Y*
7.21%

GDX

1D
-0.22%
1M
-16.83%
YTD
-8.28%
6M
0.10%
1Y
53.51%
3Y*
37.89%
5Y*
17.28%
10Y*
12.82%
*Multi-year figures are annualized to reflect compound growth (CAGR)

XLP vs. GDX - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
XLP
State Street Consumer Staples Select Sector SPDR ETF
7.54%1.52%12.20%-0.82%-0.81%17.20%10.11%27.43%-8.07%12.98%
GDX
VanEck Gold Miners ETF
-8.28%154.77%10.63%9.98%-9.01%-9.52%23.66%39.84%-8.77%11.99%

Correlation

The correlation between XLP and GDX is 0.08, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.


Correlation
Correlation (1Y)
Calculated over the trailing 1-year period

0.08

Correlation (3Y)
Calculated over the trailing 3-year period

0.14

Correlation (5Y)
Calculated over the trailing 5-year period

0.20

Correlation (10Y)
Calculated over the trailing 10-year period

0.16

Correlation (All Time)
Calculated using the full available price history since May 23, 2006

0.15

The correlation between XLP and GDX shifts across timeframes, from 0.08 (1 year) to 0.20 (5 years), reflecting how their relationship changes across market environments.

XLP vs. GDX - Sectors Allocation Comparison


Sectors
XLP
GDX

Consumer Defensive

99.0%

-

Consumer Cyclical

1.0%

-

Basic Materials

-

100.0%

Communication Services

-

-

Energy

-

-

Financial Services

-

-

Healthcare

-

-

Industrials

-

-

Real Estate

-

-

Technology

-

-

Utilities

-

-

Consumer Defensive

XLP
99.0%
GDX

-

Consumer Cyclical

XLP
1.0%
GDX

-

Basic Materials

XLP

-

GDX
100.0%

Communication Services

XLP

-

GDX

-

Energy

XLP

-

GDX

-

Financial Services

XLP

-

GDX

-

Healthcare

XLP

-

GDX

-

Industrials

XLP

-

GDX

-

Real Estate

XLP

-

GDX

-

Technology

XLP

-

GDX

-

Utilities

XLP

-

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

XLP vs. GDX — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

XLP
XLP Risk / Return Rank: 1515
Overall Rank
XLP Sharpe Ratio Rank: 1515
Sharpe Ratio Rank
XLP Sortino Ratio Rank: 1515
Sortino Ratio Rank
XLP Omega Ratio Rank: 1414
Omega Ratio Rank
XLP Calmar Ratio Rank: 1515
Calmar Ratio Rank
XLP Martin Ratio Rank: 1414
Martin Ratio Rank

GDX
GDX Risk / Return Rank: 3535
Overall Rank
GDX Sharpe Ratio Rank: 3535
Sharpe Ratio Rank
GDX Sortino Ratio Rank: 3232
Sortino Ratio Rank
GDX Omega Ratio Rank: 3737
Omega Ratio Rank
GDX Calmar Ratio Rank: 3737
Calmar Ratio Rank
GDX Martin Ratio Rank: 3232
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

XLP vs. GDX - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for State Street Consumer Staples Select Sector SPDR ETF (XLP) 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.


XLPGDXDifference
Sharpe ratioReturn per unit of total volatility

-0.81

Sortino ratioReturn per unit of downside risk

-0.98

Omega ratioGain probability vs. loss probability

1.07

1.22

-0.15

Calmar ratioReturn relative to maximum drawdown

0.47

1.68

-1.21

Martin ratioReturn relative to average drawdown

0.91

4.32

-3.41

XLP vs. GDX - Sharpe Ratio Comparison

The current XLP Sharpe Ratio is 0.36, which is lower than the GDX Sharpe Ratio of 1.16. The chart below compares the historical Sharpe Ratios of XLP and GDX, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Sharpe Ratios by Period


XLPGDXDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

0.36

1.16

-0.81

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

0.46

0.47

-0.01

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.49

0.35

+0.15

Sharpe Ratio (All Time)

Calculated using the full available price history

0.44

0.12

+0.32

Drawdowns

XLP vs. GDX - Drawdown Comparison

The maximum XLP drawdown since its inception was -35.90%, smaller than the maximum GDX drawdown of -80.34%. Use the drawdown chart below to compare losses from any high point for XLP and GDX.


Loading charts...

Drawdown Indicators


XLPGDXDifference

Max Drawdown

Largest peak-to-trough decline

-35.90%

-80.34%

+44.44%

Max Drawdown (1Y)

Largest decline over 1 year

-9.69%

-32.09%

+22.40%

Max Drawdown (3Y)

Largest decline over 3 years

-12.39%

-32.09%

+19.70%

Max Drawdown (5Y)

Largest decline over 5 years

-16.30%

-46.51%

+30.21%

Max Drawdown (10Y)

Largest decline over 10 years

-24.51%

-49.79%

+25.28%

Current Drawdown

Current decline from peak

-7.19%

-32.09%

+24.90%

Average Drawdown

Average peak-to-trough decline

-7.06%

-40.43%

+33.37%

Ulcer Index

Depth and duration of drawdowns from previous peaks

4.97%

12.42%

-7.45%

Volatility

XLP vs. GDX - Volatility Comparison

The current volatility for State Street Consumer Staples Select Sector SPDR ETF (XLP) is 4.30%, while VanEck Gold Miners ETF (GDX) has a volatility of 16.05%. This indicates that XLP 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


XLPGDXDifference

Volatility (1M)

Calculated over the trailing 1-month period

4.30%

16.05%

-11.75%

Volatility (6M)

Calculated over the trailing 6-month period

9.97%

38.61%

-28.64%

Volatility (1Y)

Calculated over the trailing 1-year period

12.75%

46.36%

-33.61%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

13.31%

36.61%

-23.30%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

14.74%

37.27%

-22.53%

XLP vs. GDX - Expense Ratio Comparison

XLP has a 0.08% expense ratio, which is lower than GDX's 0.51% expense ratio.


Dividends

XLP vs. GDX - Dividend Comparison

XLP's dividend yield for the trailing twelve months is around 2.62%, more than GDX's 0.80% yield.


PositionTTM20252024202320222021202020192018201720162015
GDX
VanEck Gold Miners ETF
0.80%0.74%1.19%1.61%1.66%1.67%0.53%0.67%0.50%0.76%0.26%0.85%
XLP
State Street Consumer Staples Select Sector SPDR ETF
2.62%2.75%2.77%2.63%2.47%2.28%2.50%2.57%3.04%2.62%2.53%2.52%

Frequently Asked Questions


XLP and GDX have a correlation of 0.08, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

GDX has higher volatility (16.05%) compared to XLP (4.30%). In terms of maximum drawdown, XLP dropped -35.90% vs GDX's -80.34%.

On 10-year performance, GDX leads with 12.82% vs 7.21% for XLP. On fees, XLP is cheaper at 0.08% per year. On volatility, XLP has been the lower-risk option at 4.30%. 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 12.82% return vs 7.21%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.

XLP is cheaper with a 0.08% expense ratio, compared with 0.51% for GDX.

XLP has the higher dividend yield at 2.62%, compared with 0.80% for GDX.

XLP is categorized as Consumer Staples Equities, while GDX is Gold. XLP tracks Consumer Staples 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.08% for XLP and 0.51% for GDX.

GDX currently has the higher Sharpe Ratio (1.16 vs 0.36), 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.

Portfolio Optimizer

Find the right allocation for XLP 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