Skip to content

Stock Comparison Backtest

SPY vs GLD: total return backtest

From Nov 18, 2004 to Nov 20, 2026, $10,000 invested in SPY grew to $86,717 and in GLD to $72,751, with dividends reinvested. That is 10.31% and 9.44% a year, or 7.49% and 6.63% after inflation.

  • SPY$86,717
  • GLD$72,751

Daily closes adjusted for splits and dividends through Nov 20, 2026, in nominal dollars before taxes and trading costs. The interactive backtest loads the latest prices.

Key findings

  • SPY had the higher annualized return, by 0.88 percentage points a year.
  • GLD was the less volatile of the two: 18.32% a year against 18.84%.
  • GLD had the smaller maximum drawdown, -45.56%, against -55.19% for SPY from Oct 2007 to Mar 2009.
  • SPY returned more in 10 of 21 full calendar years and GLD in 11.
  • The correlation of their monthly returns was 0.10.
  • The comparison starts on Nov 18, 2004, the first day GLD has prices.

Results

Scroll horizontally to compare all columns.

TickerFinal valueTotal returnAnnualized returnVolatilityMax drawdownBest yearWorst year
SPY$86,717767.17%10.31%18.84%-55.19%Oct 2007 – Mar 200932.31%2013-36.80%2008
GLD$72,751627.51%9.44%18.32%-45.56%Aug 2011 – Dec 201563.68%2025-28.33%2013

Annualized return by period

PeriodSPYGLD
1 year6.86%-13.88%
5 years9.56%13.88%
10 years13.89%10.82%
20 years10.28%8.62%
Since Nov 18, 200410.31%9.44%

The two funds

  • SPY

    SPDR S&P 500 ETF Trust

    S&P 500 index fund

    Prices from Jan 29, 1993

  • GLD

    SPDR Gold Shares

    Gold bullion

    Prices from Nov 18, 2004

Calendar-year returns

YearSPYGLD
2026*1.95%-18.53%
202517.72%63.68%
202424.89%26.66%
202326.18%12.69%
2022-18.18%-0.77%
202128.73%-4.15%
202018.33%24.81%
201931.22%17.86%
2018-4.57%-1.94%
201721.71%12.81%
201612.00%8.03%
20151.23%-10.67%
201413.46%-2.19%
201332.31%-28.33%
201215.99%6.60%
20111.90%9.57%
201015.06%29.27%
200926.35%24.03%
2008-36.80%4.92%
20075.15%30.45%
200615.85%22.55%
20054.83%17.76%
2004*2.27%-1.31%

* Partial year: the period starts or ends inside it.

Historical returns before taxes and trading costs. Not a forecast, a recommendation or financial advice.

How it is calculated

Total return
Each ticker's daily close is adjusted for splits and dividends, so a dividend is reinvested in the same ticker on its ex-dividend date. Growth = amount × adjusted close on the date ÷ adjusted close on the start date.
Common start
Every ticker is bought on the first trading day on or after the chosen start date on which all of them have prices. A younger ticker moves the start later for the whole comparison.
Inflation
With inflation adjustment on, each value is multiplied by CPI-U on the start date ÷ CPI-U on that date, so every figure is in start-date dollars. Monthly CPI-U values are interpolated between months.
Statistics
Annualized return = (final value ÷ amount)^(1 ÷ years) − 1. Volatility is the standard deviation of daily returns, scaled to a year. Max drawdown is the largest fall from a previous peak.

What the result leaves out

Past returns do not predict future returns. The result is history for the period you choose, and a few years earlier or later can change the ranking.

Taxes on dividends, trading costs and fund fees beyond those already in a fund's price are not deducted. Prices are in each ticker's own trading currency without exchange-rate conversion, and the inflation adjustment always uses US CPI-U.

Track the holdings you actually own

In the 1cc.ai app, the stocks and ETFs you hold are valued with supported real-time prices, with estimated dividends, target allocation and net worth alongside. A read-only Longbridge connection can keep positions in sync.

Portfolio Tracker
Download free

Download 1cc.ai for iOS or Android and enter positions yourself or sync them from Longbridge. Core features are free forever; Pro is an optional subscription for AI and advanced option analysis.

Related

Frequently asked questions

Which has performed better, SPY or GLD?

From Nov 18, 2004 to Nov 20, 2026, SPY returned 10.31% a year and GLD 9.44%, with dividends reinvested. Past returns do not show which will do better next.

Which has been riskier, SPY or GLD?

Over the same period, SPY had annualized volatility of 18.84% and a maximum drawdown of -55.19%. GLD had 18.32% and -45.56%.

How did SPY and GLD do over the last 10 years?

Over the 10 years to Nov 20, 2026, SPY returned 13.89% a year and GLD 10.82%, with dividends reinvested.

What were the SPY and GLD returns after inflation?

Adjusted with US CPI-U, SPY returned 7.49% a year and GLD 6.63%. Inflation averaged 2.63% a year over the period.

Do these SPY and GLD returns include dividends?

Yes. They use daily closes adjusted for dividends and splits, so each dividend is reinvested in the same fund on its ex-dividend date, before tax.