The companies that make the “best of” list are not at all random. Certain industries have specific economic, legal, and cultural benefits that make it possible for the components within them to compound money at rates far above average. These companies produce high total shareholder return even when the initial price-to-earnings ratio is not exactly cheap.  This means the highest returning stocks are clustered around a tiny portion of the overall economy, producing annual out-performance of 1% to 5%, which is a staggering wealth differential over periods of 10, 25, 50, or more years.

The Benefits of Boring Stocks

In his bestselling book, The Future for Investors: Why the Tried and the True Triumph Over the Bold and the New, Wharton professor Jeremy J. Siegal detailed why boring stocks you might find in your grandparents’ portfolio are almost always more profitable than the hot issues of the day. Siegel researched the total accumulation of an initial $1,000 investment, with dividends reinvested, put into each of the original S&P 500 surviving firms between 1957, when the index was established, and 2003, when he began drafting his findings. (Stocks have obviously grown in value significantly since that time, so the figures would be much higher today. Nevertheless, it is useful to look at his results.) Then, Siegel examined the top 20 firms, which represented the best stocks to buy—the top 4% of the original S&P 500—to try and figure out what made them so different.

The Best Stocks To Buy Are in Three Industries

You might expect that with so many different kinds of companies operating at the time, you’d have ended up with businesses ranging from railroads to cruise ship operators. Nothing could be further from the truth.  Between 1957 and 2003, an initial stake of $1,000 ultimately turned into:

Why Are These Sectors Successful?

These sectors have done well for several reasons. First, consumer staples and pharmaceuticals tend to enjoy several major advantages inherent to the business model that make them ideal compounding machines. Second, tobacco combines factors such as extreme pricing power, massive returns on capital, and an addictive product. Add to that the fact that share prices have been driven down by the perceived evil of the businesses.

What the Best Stocks Have in Common

The best stocks are of companies that create products that nobody else can legally produce, then deliver those products using super-efficient distribution channels, resulting in hard-to-replicate economies of scale.  Strong products are protected by trademarks, patents, and copyrights, which allow companies to price higher than they otherwise could, thus accelerating the virtuous cycle. This generates higher free cash flow that can then be used for advertising, marketing, rebates, and promotions. Most people don’t reach for the knockoff Hershey bar or Coca-Cola bottle. They want the real thing. Since the price differential is small enough, there is no utility trade-off on a per-transaction basis. In addition, the best stocks:

Have Strong Balance Sheets

The best stocks have strong balance sheets that allow them to weather nearly every sort of economic storm imaginable. This lowers their overall cost of capital.

Offer High Returns

These stocks generate a much higher-than-average return on capital employed, as well as return on equity.

Pay Dividends

The best stocks disproportionately have a history of paying ever-growing dividends, which imposes capital discipline on management. Though it’s not foolproof, it’s a lot harder to overspend on expensive acquisitions or executive perks when you have to send a lot of the profits out the door to the owners each quarter.  On a market-level analysis basis, the relationship is so clear that you can divide all stocks into quintiles and accurately predict total return based on dividend yields. (This correlation is so powerful that dividend growth stocks as a class make better-than-average buy-and-hold investments.) On top of all of these characteristics, the best stocks often have near-complete control of their respective market shares or, at worst, operate as part of a duopoly or triumvirate.

A Note About Mergers

Several of the top 20 stocks on that list have since merged into even stronger, more profitable firms, which should reinforce their advantages going forward:

Philip Morris spun off its Kraft Foods division, which then broke itself apart into two companies. One of those companies, Kraft Foods Group, consolidated with H.J. Heinz, becoming The Kraft Heinz Company.Wyeth was acquired by Pfizer.Schering-Plough and Merck merged, taking the latter’s name.

Companies With a Long History

Just as interestingly, many of these businesses were already giants and household names back in the 1950s.

Coke and Pepsi held a duopoly on all market share in the carbonated beverage category.Procter & Gamble and Colgate-Palmolive controlled the aisles of grocery stores, general stores, and other retail shops. Hershey, Tootsie Roll, and Wrigley, along with the privately held Mars Candy, were titans in their respective fields, long having established dominance in their respective corners of the confectionery, chocolate, candy, and gum industries.Royal Dutch was one of the biggest oil companies on the planet.H.J. Heinz had been the ketchup king since the 1800s with no serious competitor in sight. Philip Morris, with its Marlboro cigarettes, and Fortune Brands (then known as American Tobacco), with its Lucky Strike cigarettes, were enormous. Everybody in the country who paid attention knew that they printed money.

These were not startup enterprises. They were not initial public offerings that were bid up by overexcited speculators. Instead, these were established and substantial companies. They made real money, and most had been in business for between 75 and 150 years. You did not have to dig deep into the over-the-counter listings to find them. These were companies that practically everyone in the United States knew and patronized either directly or indirectly. They were written about in The New York Times. They ran national television, radio, and magazine ads.

Why Some of the Best Stocks Are Missing

Note that this list was restricted to original members of the S&P 500 that still survived as public businesses when Siegel wrote his book. When you look at other top-performing companies over the past few generations that aren’t on that particular roster, some of them were also extremely lucrative and could have been included if the methodology had been slightly altered.  Part of the reason they weren’t had to do with the rules that S&P employed at the time of establishment.  Originally, the index could only hold 425 industrials, 60 utilities, and 15 railroads. Entire areas of the economy were shut out, including financial and bank stocks, which wouldn’t be included in the stock market index for another couple of decades.  Sometimes, a profitable and prominent business was left off the list to fill the quota elsewhere. In addition, many very lucrative businesses were taken private before the 2003 end date of Siegel’s research and were therefore removed from consideration.

The Worst Stocks To Buy Had Similar Characteristics

Now that we’ve talked about the best stocks to buy, historically, what about the opposite end of the spectrum? When you survey the wreckage of the companies that went bust or returned very little over inflation and taxes, patterns also emerge. Though there are always firm-specific risks where good companies are taken down by mismanagement (e.g., AIG, Lehman Brothers), it’s impossible to predict that sort of fate. Here, we’re talking about structural issues in certain industries that make those industries, as a whole, extremely unattractive on a long-term basis. Substandard companies frequently:

Have huge capital outlay requirements that put them at enormous disadvantages in inflationary environments. Have a fixed-cost operating model that involves a lot of baseline expenses that need to be paid, regardless of revenue levels. Have little to no pricing power, often competing on the basis of price along with competitors who are in the same boat. That leads to a race to the bottom and an inevitable fight for survival. In some cases, the cycle of prosperity-struggle-bankruptcy court repeats itself over and over again, every decade or so. Generate low operating profit per employee, combined with high-skill employee requirements that give the workforce the ability to unionize or avoid automation, taking a larger share of the paltry returns Are subject to booms and busts. Are vulnerable to changes in technology.

The Best Stocks To Buy for the Next 50 Years

The odds are that you won’t be able to identify the next Microsoft or Apple.  However, the best predictor of the future is the past. The same economic forces that make some companies so profitable and cause others to struggle still remain largely identical to those of 1957 when the original S&P 500 was published. Highly lucrative, household-name companies that dominate their market share and are not subject to technological displacement still appear to be the perfect risk-reward tradeoff.  It may take you longer to get rich, but by patiently dollar-cost averaging into these top-shelf firms over many decades, you just may turn into one of those secret millionaires who leaves behind a fortune. The Balance does not provide tax, investment, or financial services or advice. The information is being presented without consideration of the investment objectives, risk tolerance, or financial circumstances of any specific investor and might not be suitable for all investors. Past performance is not indicative of future results. Investing involves risk, including the possible loss of principal.