Amazon's cloud computing division is accelerating its growth, while e-commerce keeps rising steadily.
The stock looks cheap if you believe in the company's margin improvement.
Did you know that Amazon (NASDAQ: AMZN) has actually underperformed the stock market indexes over the last five years? In that time frame, the S&P 500 index is up 98%, while Amazon's share price has risen by only 40%.
While that's not a terrible outcome, this is an unexpected development for one of the investing world's beloved technology stocks, which led the pack in both cloud computing and e-commerce in North America.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Continue »
However, Amazon's underlying business still appears to be performing well. Does that make the stock undervalued and a buy for your portfolio in 2026?
Amazon has been deemed a loser in the artificial intelligence (AI) race, as revenues for its cloud computing division, Amazon Web Services (AWS), have grown more slowly than those of rivals Google Cloud and Microsoft Azure.
However, last quarter, AWS' growth did accelerate to 20% year over year as its revenue hit $33 billion. It has an extensive relationship with the start-up Anthropic, which is growing its own revenue at a blistering clip and spending tens of billions of dollars on computing power to train and run its AI. A lot of that spending is going to AWS.
It may not be a monopoly, but AWS is highly profitable and should be a durable grower for Amazon, with or without the exposure to AI. With $44 billion in trailing-12-month operating income, this is a highly valuable part of the Amazon business, and one that is apparently being underrated by investors today.
Image source: Getty Images.
It seems like all the investing world can discuss right now is AI, cloud computing, and computer chips. But there is a much bigger part of the Amazon business that many investors are ignoring: online shopping. Its e-commerce and shipping business keeps chugging along as the entire e-commerce sector continues to take more market share in the retail space.
Amazon's North American retail sales grew 11% year over year last quarter to over $100 billion. Over the trailing 12 months, that division has now done over $64 billion in advertising revenue, $166.8 billion in third-party seller services revenue, and $48 billion in subscription revenue. Combined, that was almost $300 billion in annualized sales from business lines with higher margins than Amazon's original first-party e-commerce model, and should lead to expanding profit margins in the years to come.
Even in 2025, the North American retail division only has an operating margin of 6.6% as Amazon keeps investing in its growth efforts. In 2026, I expect these figures to slowly keep expanding.

AMZN EBIT (TTM) data by YCharts; TTM = trailing 12 months.
Amazon's stock currently trades at a price-to-earnings ratio (P/E) of 31, which is fairly low when compared to its big tech peers. With its potential to keep compounding its revenue growth as well as margin expansion opportunities in 2026, I think the stock is a good deal for any investor looking to buy today.
For example, let's do some math with Amazon's revenue and earnings growth. Its trailing revenue figure is $691 billion. If that grows at 10% annually for the next three years, it will hit $919 billion in annual revenue.
Today, its margin, calculated on the basis of earnings before interest and taxes (EBIT), is 11.5% on a consolidated basis. With fast growth from AWS and steady margin expansions in the retail business, it is reasonable to expect Amazon's operating margin to grow to 15% three years from now.
That would bring the company's operating earnings at that point to $138 billion compared to $80 billion today. The combination of that expected steady rise in earnings and Amazon's currently reasonable P/E makes the stock a buy in 2026 and a hold for the long term.
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 $509,039!* 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,109,506!*
Now, it’s worth noting Stock Advisor’s total average return is 972% — a market-crushing outperformance compared to 193% 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 December 20, 2025.
Brett Schafer has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Amazon. The Motley Fool has a disclosure policy.