Using Robert Shiller's monthly S&P data, we computed the annualized real total return for every possible holding period of 1, 3, 5, 10, 15, 20 and 30 years, starting in every month from Jan 1871 onward. That is 1,858 one-year windows down to 1,510 thirty-year windows.
"Real" means after inflation: a negative number means the investor lost purchasing power, even if the dollar balance grew.