Walmart vs. Amazon: Which Trillion-Dollar Stock Is a Better Buy Right Now?

Source The Motley Fool

Key Points

  • Walmart is showing excellent revenue and earnings growth in the face of economic uncertainty.

  • Amazon's cloud computing business is accelerating as it steps up its AI spending plans.

  • One stock trades at a much more attractive valuation than the other.

  • 10 stocks we like better than Amazon ›

Walmart (NASDAQ: WMT) was once the 800-pound gorilla in U.S. retail, and Amazon (NASDAQ: AMZN) was the young disruptor with its e-commerce business. Today, Amazon's worth more than twice as much as Walmart.

Much of Amazon's value stems from its cloud computing segment, Amazon Web Services (AWS), which has benefited from the growing demand for artificial intelligence (AI) compute in recent years. But investors have sold off Amazon shares amid fears that its $200 billion capital expenditure budget for 2026 won't deliver the return on invested capital needed to justify the massive expense. Meanwhile, Walmart's stock price has climbed as investors see it as largely insulated from the impact of AI. The stock's momentum carried the company's valuation past the $1 trillion milestone this month.

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 »

With the stocks headed in different directions, investors may be wondering which is the better buy right now.

Several packages in front of a door.

Image source: Getty Images.

Walmart is firing on all cylinders

Walmart is regaining market share as it attracts more middle-class shoppers amid economic uncertainty created by President Donald Trump's tariffs and the growing impact of AI. Revenue for the retailer grew 4.9% in the fourth quarter and 5.1% for the full year on a constant currency basis. Comparable sales grew 4% for the quarter and 5.1% for the full year. That was helped by strength in its e-commerce business, which climbed 24% last quarter.

Those results compare favorably with those of other retailers, including Amazon. Amazon's physical store sales grew just 5% last quarter. Its e-commerce operations -- including first-party sales, third-party seller services, advertising, and subscriptions -- grew about 12%.

Strong top-line results have enabled it to grow earnings per share and free cash flow. EPS climbed 13.3% last year, and free cash flow reached $14.9 billion, up from $12.7 billion the year before. But investors were disappointed by the company's outlook for this year. Management expects sales growth of just 4% at the midpoint of guidance and for earnings per share to climb between 4% and 8%. Analysts were expecting $2.97 on average versus the $2.80 at the midpoint of Walmart's guidance.

While Walmart is historically conservative with its financial guidance, even the high end of its outlook is underwhelming. It may simply be giving new CEO John Furner some extra room for error.

But with the stock trading at about 45 times management's fiscal 2027 earnings-per-share guidance, there's not much room for error. In fact, the stock looks very overpriced, considering the company is only positioned to grow earnings at a high-single-digit rate in the long term. For Walmart's shares to climb significantly higher from here, it'll have to substantially outperform expectations.

Amazon is spending big on AI

Amazon's announcement that it will spend $200 billion on capital expenditures this year overshadowed strong fourth-quarter results. While its e-commerce business isn't growing quite as fast as Walmart's, it's also growing off a much larger revenue base. Its high-margin advertising business stood out as a key growth driver throughout 2025, producing significant improvements in operating margin for its retail business.

But the highlight was Amazon's strong AWS revenue growth, which accelerated to 24% last quarter. That's perhaps the biggest reason it's surprising that Amazon shares sold off when management said it's going to accelerate its capital expenditures to build out AWS capacity. It's already showing a meaningful return on its invested capital. The massive increase in spending should drive continued strength in AWS revenue growth, considering management's commentary that demand continues to outstrip its supply. That sentiment is echoed throughout the industry and supported by its $244 billion contracted backlog.

To be sure, Amazon is making a big bet on its AWS buildout, which will likely push its free cash flow into negative territory this year. But management has an excellent track record of growing its investments in building out new facilities in both its retail and cloud computing operations. It has plenty of experience interpreting demand signals and investing appropriately to capitalize on the opportunities they present. Odds are this case will play out much as in previous investment cycles at Amazon, with free cash flow moving to even higher levels in the long run.

For now, though, investors have the chance to pick up shares of Amazon for cheap. The stock now trades at about 26 times forward earnings estimates, far lower than Walmart's. And while analysts expect somewhat sluggish earnings growth this year, that should accelerate next year as more AWS capacity comes online. Overall, the P/E ratio looks like a fair price to pay for a company growing its top line at a midteens rate and expanding operating margins. Amazon's shares look far more attractive than Walmart's right now.

Should you buy stock in Amazon right now?

Before you buy stock in Amazon, 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 Amazon 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 $424,262!* 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,163,635!*

Now, it’s worth noting Stock Advisor’s total average return is 904% — a market-crushing outperformance compared to 194% 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 February 22, 2026.

Adam Levy has positions in Amazon. The Motley Fool has positions in and recommends Amazon and Walmart. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Ethereum (ETH) Price Closes Above $3,900 — Is a New All-Time High Possible Before 2024 Ends?Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
Author  Beincrypto
Dec 17, 2024
Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
placeholder
Silver Price Forecast: XAG/USD rises to near $78.00 on safe-haven demandSilver price (XAG/USD) extends its gains for the second successive session, trading around $78.00 per troy ounce during the Asian hours on Thursday. The precious metal Silver receives support from rising safe-haven demand amid persistent tensions between the United States (US) and Iran.
Author  FXStreet
Feb 19, Thu
Silver price (XAG/USD) extends its gains for the second successive session, trading around $78.00 per troy ounce during the Asian hours on Thursday. The precious metal Silver receives support from rising safe-haven demand amid persistent tensions between the United States (US) and Iran.
placeholder
Gold drifts higher to $5,000 on heightened US-Iran tensions Gold price (XAU/USD) holds positive ground near $5,000 during the early Asian session on Friday. The precious metal edges higher as escalating tensions between the United States (US) and Iran boost safe-haven demand.
Author  FXStreet
Feb 20, Fri
Gold price (XAU/USD) holds positive ground near $5,000 during the early Asian session on Friday. The precious metal edges higher as escalating tensions between the United States (US) and Iran boost safe-haven demand.
placeholder
WTI Price Forecast: Sits above mid-$66.00, over six-month top amid rising US-Iran tensionsWest Texas Intermediate (WTI) US Crude Oil prices reverse a modest Asian session dip to sub-$66.00 levels and climb back closer to the highest level since August 4, touched earlier this Friday.
Author  FXStreet
Feb 20, Fri
West Texas Intermediate (WTI) US Crude Oil prices reverse a modest Asian session dip to sub-$66.00 levels and climb back closer to the highest level since August 4, touched earlier this Friday.
placeholder
Top 3 Price Prediction: BTC, ETH and XRP remain range-bound as breakdown risks riseBitcoin (BTC), Ethereum (ETH), and Ripple (XRP) are trading sideways within consolidation ranges on Friday, signaling a lack of directional bias in the broader crypto market.
Author  FXStreet
Feb 20, Fri
Bitcoin (BTC), Ethereum (ETH), and Ripple (XRP) are trading sideways within consolidation ranges on Friday, signaling a lack of directional bias in the broader crypto market.
goTop
quote