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
Bitcoin CME gaps at $35,000, $27,000 and $21,000, which one gets filled first?Prioritize filling the $27,000 gap and even try higher.
Author  FXStreet
Aug 22, 2023
Prioritize filling the $27,000 gap and even try higher.
placeholder
Pinduoduo Earnings Incoming: Morgan Stanley Sees Long-Term Profit Potential​Insights – On November 21, Chinese e-commerce giant Pinduoduo (PDD) will release its Q3 2024 earnings.
Author  Mitrade
Nov 20, 2024
​Insights – On November 21, Chinese e-commerce giant Pinduoduo (PDD) will release its Q3 2024 earnings.
placeholder
Elon Musk’s xAI and Neuralink Launch New Funding Rounds​Billionaire Elon Musk recently raised funds for his two high-profile tech companies, xAI and Neuralink.
Author  Insights
Jun 03, 2025
​Billionaire Elon Musk recently raised funds for his two high-profile tech companies, xAI and Neuralink.
placeholder
Bitcoin briefly loses 2025 gains as crypto plunges over the weekend.Bitcoin experienced a sharp decline this weekend, briefly erasing its 2025 gains and dipping below its year-opening value of $93,507. The cryptocurrency fell to a low of $93,029 on Sunday, representing a 25% drop from its all-time high in October. Although it has rebounded slightly to around $94,209, the pressures on the market remain significant. The downturn occurred despite the reopening of the U.S. government on Thursday, which many had hoped would provide essential support for crypto markets. This year initially appeared promising for cryptocurrencies, particularly after the inauguration of President Donald Trump, who has established the most pro-crypto administration thus far. However, ongoing political tensions—including Trump's tariff strategies and the recent government shutdown, lasting a historic 43 days—have contributed to several rapid price pullbacks for Bitcoin throughout the year. Market dynamics are also being influenced by Bitcoin whales—investors holding large amounts of Bitcoin—who have been offloading portions of their assets, consequently stalling price rallies even as positive regulatory developments emerge. Despite these sell-offs, analysts from Glassnode argue that this behavior aligns with typical patterns seen among long-term investors during the concluding stages of bull markets, suggesting it is not indicative of a mass exodus. Notably, Bitcoin is not alone in its struggles, as Ethereum and Solana have also recorded declines of 7.95% and 28.3%, respectively, since the start of the year, while numerous altcoins have faced even steeper losses. Looking ahead, questions linger regarding the viability of the four-year cycle thesis, particularly given the increasing institutional support and regulatory frameworks now in place in the crypto landscape. Matt Hougan, chief investment officer at Bitwise, remains optimistic, suggesting a potential Bitcoin resurgence in 2026 driven by the “debasement trade” thesis and a broader trend toward increased adoption of stablecoins, tokenization, and decentralized finance. Hougan emphasized the soundness of the underlying fundamentals, pointing to a positive outlook for the sector in the longer term.
Author  Mitrade
Nov 17, 2025
Bitcoin experienced a sharp decline this weekend, briefly erasing its 2025 gains and dipping below its year-opening value of $93,507. The cryptocurrency fell to a low of $93,029 on Sunday, representing a 25% drop from its all-time high in October. Although it has rebounded slightly to around $94,209, the pressures on the market remain significant. The downturn occurred despite the reopening of the U.S. government on Thursday, which many had hoped would provide essential support for crypto markets. This year initially appeared promising for cryptocurrencies, particularly after the inauguration of President Donald Trump, who has established the most pro-crypto administration thus far. However, ongoing political tensions—including Trump's tariff strategies and the recent government shutdown, lasting a historic 43 days—have contributed to several rapid price pullbacks for Bitcoin throughout the year. Market dynamics are also being influenced by Bitcoin whales—investors holding large amounts of Bitcoin—who have been offloading portions of their assets, consequently stalling price rallies even as positive regulatory developments emerge. Despite these sell-offs, analysts from Glassnode argue that this behavior aligns with typical patterns seen among long-term investors during the concluding stages of bull markets, suggesting it is not indicative of a mass exodus. Notably, Bitcoin is not alone in its struggles, as Ethereum and Solana have also recorded declines of 7.95% and 28.3%, respectively, since the start of the year, while numerous altcoins have faced even steeper losses. Looking ahead, questions linger regarding the viability of the four-year cycle thesis, particularly given the increasing institutional support and regulatory frameworks now in place in the crypto landscape. Matt Hougan, chief investment officer at Bitwise, remains optimistic, suggesting a potential Bitcoin resurgence in 2026 driven by the “debasement trade” thesis and a broader trend toward increased adoption of stablecoins, tokenization, and decentralized finance. Hougan emphasized the soundness of the underlying fundamentals, pointing to a positive outlook for the sector in the longer term.
placeholder
Silver Price Forecast: XAG/USD falls to near $72.00 amid fading safe-haven demandSilver price (XAG/USD) continues to lose ground after registering tiny losses in the previous day, trading around $72.90 during the Asian hours on Thursday. The safe-haven demand for the precious metal fades amid rising optimism over Middle East peace.
Author  FXStreet
Apr 02, Thu
Silver price (XAG/USD) continues to lose ground after registering tiny losses in the previous day, trading around $72.90 during the Asian hours on Thursday. The safe-haven demand for the precious metal fades amid rising optimism over Middle East peace.
goTop
quote