Dividends are an important part of a stock's total return.
Walmart and McDonald's have raised dividends annually for decades.
One has become a Dividend King and the other remains on track to become one shortly.
Investors can profit from stock investing through price appreciation and collecting dividends. The latter is an important component in an equity investment's total return.
It's important to pick stocks that have growth prospects and the ability to sustain dividend payments, which isn't easy.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Learn More »
Walmart (NYSE: WMT) and McDonald's (NYSE: MCD) should top your list of stocks to aggressively buy for long-term appreciation and dividends.
Image source: Getty Images.
It's tough to find retail companies like Walmart that have maintained a company advantage for decades. Often, they achieve a level of success before fading from the scene. These include once-popular destinations like Sears.
Walmart has a simple formula that it has employed since opening its first discount store more than six decades ago. That's to keep costs down and pass those savings along to customers in the form of low prices.
That continues to drive shoppers to its stores and website. Fiscal second-quarter same-store sales (comps) at the key Walmart U.S. unit increased 4.6%. Higher traffic contributed 1.5 percentage points with increased spending responsible for the balance. The quarter ended on July 31.
The business generates plenty of operating cash flow to invest in capital expenditures that allow Walmart to remain competitive. This includes technology investments that improve shoppers' experience by allowing efficient online ordering and faster delivery.
Walmart produced first-half free cash flow (FCF), or operating cash flow less capital expenditures, of $6.9 billion. That left it a nice cushion to pay the $3.8 billion in dividends.
Early this year, the board of directors increased the quarterly dividend by an impressive 13%, running its streak to 52 straight years. That makes Walmart a Dividend King, although you can find stocks with a higher dividend yield than its 0.9%.
This year, through Sept. 8, the stock's 13.3% gain has beaten the S&P 500 index's 10.4%.
Walmart's stock has a P/E of 38 compared to the S&P 500's 30. However, with the company's consistently strong performance, investments designed to stay ahead of the competition, and reliably higher dividends, I believe Walmart deserves a higher valuation.
Most people know McDonald's and its fast-food fare. A global presence, you don't have to travel far before seeing its trademark golden arches.
It also operates the business in a capital-efficient manner. That's because it doesn't own most of its restaurants. Rather, the company franchises about 95% of its roughly 44,000 locations, which means McDonald's isn't responsible for upkeep or operating costs. The parent company collects a percentage of sales and rent if it owns the land.
The restaurants remaining a popular eating destination clearly benefits McDonald's. While the company has been affected by consumers slowing discretionary spending, its recent comps turned positive, increasing 3.8% in the second quarter. Management previously made missteps by charging too much for certain menu items, but it looks like it's taking corrective action. That includes adding value items. That should result in traffic returning and accelerated sales growth.
In the meantime, McDonald's produced $3.1 billion in FCF during the first half of the year. That's much higher than the $2.5 billion in dividends the company paid.
The company hasn't become a Dividend King yet, but it's on its way. Last September, the board of directors made it 48 straight years when it raised the payout by 6%. The stock has a 2.3% dividend yield, nearly double the S&P 500's 1.2%.
Year to date, McDonald's shares gained 7.9%, trailing the S&P 500 by about 2.5 percentage points. While the P/E ratio has increased slightly from 25 to 26, the stock trades at a lower valuation than the S&P 500. Returning to its roots of affordable menu items should result in faster sales and earnings growth. In the meantime, you can collecting an above-market dividend yield.
Before you buy stock in Walmart, 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 Walmart 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 $671,288!* 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,031,659!*
Now, it’s worth noting Stock Advisor’s total average return is 1,056% — a market-crushing outperformance compared to 185% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.
See the 10 stocks »
*Stock Advisor returns as of September 8, 2025
Lawrence Rothman has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Walmart. The Motley Fool has a disclosure policy.