1 Consumer Stock I'd Be Comfortable Holding for 20 Years: Costco, Coca-Cola, or Walmart?​

Source The Motley Fool

Key Points

  • Costco and Walmart have outperformed Coca-Cola over the past 20 years, but that may not necessarily be the case in the 20 years ahead.

  • It's possible that the market overestimates how long these two leading retailers will continue to report above-average levels of earnings growth.

  • Coca-Cola could outperform both these stocks, especially considering its ever-increasing payouts.

  • 10 stocks we like better than Coca-Cola ›

Costco (NASDAQ: COST), Walmart (NASDAQ: WMT), and Coca-Cola (NYSE: KO) are among the most popular blue chip stocks in the consumer sector. Coca-Cola is also a longtime Warren Buffett stock.

Buffett, during his tenure as CEO of Berkshire Hathaway, may have occasionally held Costco and Walmart shares within the Berkshire stock portfolio, but Berkshire's investment in Coca-Cola spans nearly 40 years. Shares in the soft drink maker remain one of Berkshire's top stock holdings.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

Buffett's seal of approval notwithstanding, it's well worth acknowledging that Coca-Cola has underperformed compared to Costco and Walmart. Since January 2006, Walmart is up by nearly eightfold. Costco is up by nearly eighteenfold over this same timeframe. Coca-Cola, however? Shares are up by a relatively modest 240%.

Yet while the aforementioned retailer stocks have outpaced Coca-Cola's performance by a wide margin, it's possible that past performance is not indicative of future results. That is, over the next 20 years, Coca-Cola could outperform Costco and Walmart in term of stock total returns. Here's why.

Person writing in ledger, with rising bar chart superimposed in front of it.

Image source: Getty Images.

High valuation means high expectations

Higher levels of earnings growth partially explain why Costco and Walmart have outperformed Coca-Cola since 2006, but that's not the whole story. Valuation expansion is another factor. During this time, both of these top-performing blue chip stocks have experienced a massive increase in their respective forward valuations.

As a result, Costco currently trades for around 46.5 times forward earnings. Walmart trades for nearly 39 times forward earnings. Coca-Cola, however, trades at a much lower 21.5 times forward earnings. Again, growth rates play a big role in this valuation discrepancy. It's not as if Coca-Cola itself is necessarily deserving of a higher forward price-to-earnings ratio.

However, for Costco and Walmart, besides being indicative of strong recent growth, their respective rich valuations underscore how investors expect both companies to grow earnings at an above-average pace in the years ahead.

If, at any point in the two decades ahead, either company experiences a growth hiccup -- or, worse, a permanent slowdown -- expect the market to de-rate their respective shares accordingly.

Why this could mean stronger, steadier gains for Coca-Cola

Long-term sell-side analyst forecasts for Costco and Walmart call for earnings growth of around 10%. Yet, while such growth may be enough to sustain their valuations, if the growth falls short, Costco's and Walmart's respective valuations could drift significantly lower.

Historically, Costco's valuation was more similar to Coca-Cola's current valuation. A decade ago, Walmart traded at a forward multiple in the low to mid-teens. Don't get me wrong. I'm not saying that either of these stocks could generate negative returns going forward. What I am saying is that both stocks are at risk of becoming stagnant, stuck "growing into their valuation."

In contrast, forecasts for Coca-Cola are much more conservative. If the company can sustain high single-digit earnings growth, shares could continue to steadily climb higher.

Add in the stock's 2.9% dividend yield, and consider the likelihood that this Dividend King will continue to increase its cash payouts by around 4% to 5% annually. Put it all together, and it's not far-fetched to see Coca-Cola ending up being the stronger performer among consumer stocks. Hence, it's the one stock among these three I'd be most comfortable owning.

Should you buy stock in Coca-Cola right now?

Before you buy stock in Coca-Cola, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Coca-Cola wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $477,544!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,122,686!*

Now, it’s worth noting Stock Advisor’s total average return is 952% — a market-crushing outperformance compared to 195% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of January 16, 2026.

Thomas Niel has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Berkshire Hathaway, Costco Wholesale, and Walmart. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Silver Price Forecast: XAG/USD corrects to near $86.50 as Iran stops killing protestersSilver price corrects almost 6% to near $86.50 during the Asian trading session on Thursday.
Author  FXStreet
Yesterday 05: 55
Silver price corrects almost 6% to near $86.50 during the Asian trading session on Thursday.
placeholder
Standard Chartered lifts Ethereum call to $7,500, arguing institutional demand could leave Bitcoin trailingStandard Chartered raised its year-end Ethereum target to $7,500 (from $4,000), citing institutional demand, while projecting $25,000 by 2028 and scenarios toward $40,000 by 2030 amid ETF- and treasury-driven accumulation.
Author  Mitrade
Yesterday 06: 11
Standard Chartered raised its year-end Ethereum target to $7,500 (from $4,000), citing institutional demand, while projecting $25,000 by 2028 and scenarios toward $40,000 by 2030 amid ETF- and treasury-driven accumulation.
placeholder
Bitcoin Flashes Classic Bottom Signals as BTC Nears $101K ReclaimBitcoin nears two-month highs with key indicators signaling potential for further gains as it targets $101,000.
Author  Mitrade
11 hours ago
Bitcoin nears two-month highs with key indicators signaling potential for further gains as it targets $101,000.
placeholder
XRP ‘Super Cycle’ talk runs into a weekly SuperTrend sell signalXRP “super cycle” chatter faces a weekly SuperTrend sell signal, with XRP down 2% to $2.07 over the past week even as broader crypto markets tick higher.
Author  Mitrade
7 hours ago
XRP “super cycle” chatter faces a weekly SuperTrend sell signal, with XRP down 2% to $2.07 over the past week even as broader crypto markets tick higher.
placeholder
Bitcoin breaks above $97,000 as crypto kicks off first major rally of 2026Cryptocurrency markets are experiencing the first major rally of 2026. Bitcoin reached a high of over $97,000, and Ethereum edged close to $3,400 on Wednesday afternoon. Some analysts predict this is part of a larger bullish trend. Cryptocurrency markets appear to be coming out of hibernation as Bitcoin and key altcoins reach price levels not […]
Author  Cryptopolitan
7 hours ago
Cryptocurrency markets are experiencing the first major rally of 2026. Bitcoin reached a high of over $97,000, and Ethereum edged close to $3,400 on Wednesday afternoon. Some analysts predict this is part of a larger bullish trend. Cryptocurrency markets appear to be coming out of hibernation as Bitcoin and key altcoins reach price levels not […]
goTop
quote