The S&P 500 outpaced US inflation in 16 of the past 20 calendar years. The index gained 13.5% in 2026, while US consumer prices rose 3.4% over the 12 months through July. The index failed to beat inflation in 2008, 2011, 2018, and 2022. The 2022 real loss was roughly 23%.