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

Source 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
Goldman Sachs raises 2026-end gold price forecast by $500 to $5,400/ozJan 22 (Reuters) - Goldman Sachs has raised its end-2026 gold price forecast to $5,400 per ounce from $4,900/oz earlier, noting private-sector and emerging market central banks' diversification into gold.Spot gold XAU= climbed to a peak of $4,887.82 per ounce on Wednesday. The safe‑haven metal h...
Author  Rachel Weiss
Jan 22, Thu
Jan 22 (Reuters) - Goldman Sachs has raised its end-2026 gold price forecast to $5,400 per ounce from $4,900/oz earlier, noting private-sector and emerging market central banks' diversification into gold.Spot gold XAU= climbed to a peak of $4,887.82 per ounce on Wednesday. The safe‑haven metal h...
placeholder
Solana Price Forecast: SOL approaches critical support as bearish outlook persistsSolana (SOL) is trading in the red, down 2% at press time on Thursday, aligning with the broader cryptocurrency market correction as the US Federal Reserve (Fed) kept the interest rates unchanged on Wednesday.
Author  Rachel Weiss
Jan 29, Thu
Solana (SOL) is trading in the red, down 2% at press time on Thursday, aligning with the broader cryptocurrency market correction as the US Federal Reserve (Fed) kept the interest rates unchanged on Wednesday.
placeholder
Gold Prices Surge Amid Rising U.S.-Iran Tensions, Driving Safe-Haven Demand to New HeightsGold prices rebounded Wednesday, climbing 0.9% to $4,995.60 an ounce as geopolitical tensions between the U.S. and Iran heightened demand for safe-haven assets, despite recent market volatility.
Author  Mitrade
Feb 04, Wed
Gold prices rebounded Wednesday, climbing 0.9% to $4,995.60 an ounce as geopolitical tensions between the U.S. and Iran heightened demand for safe-haven assets, despite recent market volatility.
placeholder
3 Altcoins to Watch In The Second Week Of February 2026Altcoin momentum is picking up as renewed buying pressure returns to select high-beta tokens. After a period of consolidation and volatility, several charts are now flashing continuation signals and r
Author  Beincrypto
Feb 10, Tue
Altcoin momentum is picking up as renewed buying pressure returns to select high-beta tokens. After a period of consolidation and volatility, several charts are now flashing continuation signals and r
placeholder
How Polymarket Is Turning Bitcoin Volatility Into a Five-Minute Betting MarketPrediction platform Polymarket recently launched a new feature that lets users bet on cryptocurrency price movements every five minutes.The event signals rising demand for real-time crypto sentiment d
Author  Beincrypto
Feb 13, Fri
Prediction platform Polymarket recently launched a new feature that lets users bet on cryptocurrency price movements every five minutes.The event signals rising demand for real-time crypto sentiment d
goTop
quote