Walmart is on track to beat the S&P 500 for the third consecutive year.
It could maintain that streak in 2027, even if the broader market pulls back.
Walmart (NASDAQ:WMT) isn't usually considered a high-growth stock, but it outperformed the S&P 500 (SNPINDEX:^GSPC) in 2024, 2025, and year-to-date in 2026. Let's see why it beat the market -- and why it could continue that streak in 2026 and 2027.
Image source: Walmart.
Missed AI’s "Act 1"? Act 2 Could Be 15x Bigger. Most investors think they missed the AI boat because they didn't buy Nvidia in 2005. But according to our analysts, we’re only at the end of "Act 1"—the R&D phase. "Act 2" is the global rollout. Continue »
Walmart operates over 10,900 stores and warehouse clubs in 19 countries, as well as e-commerce websites and smaller regional banners in overseas markets. Its scale enables it to sell its products at lower margins than its smaller competitors, and it uses its brick-and-mortar stores as a fulfillment network for its online orders.
Those core strengths enabled Walmart to keep pace with Amazon (NASDAQ:AMZN) as other big box retailers struggled. Walmart also consistently matched Amazon's prices, upgraded its e-commerce and in-store pickup capabilities, and expanded its Walmart+ subscription service.
In fiscal 2023 (which ended in Jan. 2023), Walmart's EPS dipped as inflation squeezed its margins and it divested some of its weaker overseas assets. But over the following four years, its adjusted EPS growth accelerated again as it expanded its higher-margin advertising, e-commerce marketplace, and subscription segments to offset the inflationary headwinds.
| Metric | FY 2023 | FY 2024 | FY 2025 | FY 2026 | 9M 2027 |
|---|---|---|---|---|---|
| Walmart U.S. Comps Growth | 6.6% | 5.6% | 4.5% | 4.6% | 3.3% |
| Sam’s Club U.S. Comps Growth | 10.5% | 4.8% | 5.9% | 5.0% | 4.4% |
| Walmart International Sales Growth | 0.0% | 10.6% | 6.3% | 7.0% | 12.4% |
| Net Sales Growth | 6.7% | 6.0% | 5.1% | 4.7% | 6.0% |
| Adjusted EPS Growth | (2.6%) | 5.7% | 9.0% | 9.1% | 11.0% |
Data source: Walmart. Comps growth excludes fuel sales. Year-over-year comparisons.
Analysts expect Walmart's adjusted EPS to rise 9.5% in fiscal 2027, 11.4% in fiscal 2028, and 9.9% in fiscal 2029. It isn't cheap at 38 times forward earnings, but its strengths could justify its higher valuation.
Since the beginning of 2024, Walmart's stock has rallied 142%, outpacing the S&P 500's 54% gain. Assuming Walmart matches analysts' estimates through fiscal 2028 (which ends in Jan. 2028), stays on track to hit its fiscal 2029 estimates, and still trades at 40 times forward earnings at the end of calendar 2027, its stock price could reach the low $140s by the end of 2027.
That would only be roughly 10% above its current levels, but it could still outpace the S&P 500 -- which has generated an average total return of about 10% since its inception. Moreover, a market pullback would likely hurt the S&P 500 -- which hosts top tech stocks like Nvidia (NASDAQ:NVDA) -- much more than Walmart's evergreen business.
Leo Sun has positions in Amazon. The Motley Fool has positions in and recommends Amazon, Nvidia, and Walmart. The Motley Fool has a disclosure policy.