While earnings growth, dividends, and share buybacks provide parts of the total return, the largest contributing factor is the P/E ratio. The expansion or contraction of the broad market P/E ratio creates secular bull and bear markets and sometimes bargains in individual stocks like H-P.