Recommended Free Tools
If I had to own only one of these two stocks for the next five years, I would choose Microsoft—provided its valuation is not stretched far beyond the company’s growth and I could tolerate normal equity-market volatility. Microsoft combines faster-disclosing cloud momentum with a more recurring software mix and stronger recent operating-income growth. Amazon could deliver the higher return if AWS growth and the retail business expand faster than expected, but its enormous infrastructure program makes near-term cash generation more difficult to underwrite.
This is a conditional, research-based opinion, not a promise of returns or individualized investment advice. The final decision should include a fresh, same-day valuation comparison for both shares; the available market snapshot covers Microsoft only.
As an Amazon Associate I earn from qualifying purchases.
The short answer: Microsoft gets the five-year vote
My choice is Microsoft because the five-year case rests on several reinforcing engines rather than one difficult transition: Azure and other cloud services, Microsoft 365 and its Copilot products, business applications, security, gaming and personal computing. That breadth can reduce dependence on any single product cycle while still giving shareholders substantial exposure to enterprise cloud and artificial-intelligence spending.
Amazon is a formidable alternative. AWS is growing rapidly and remains highly profitable, while retail, advertising and subscriptions provide additional ways to monetize customers. The trade-off is timing: Amazon is spending at an exceptional rate on property and equipment, so reported free cash flow can remain depressed while new capacity is being built and filled. If that capacity is monetized as management expects, Amazon’s long-term economics could look excellent. If demand, pricing or utilization disappoints, the same spending creates more risk.
#1 Best Overall
That makes the choice less about which company is “better” in the abstract and more about which business model and cash-flow path you can hold through a full investment cycle.
What the latest results actually show
The periods are not identical. Microsoft’s latest annual report covers the fiscal year ended June 30, 2026. Amazon’s cited annual figures cover the calendar year ended December 31, 2025, with a newer quarter ended June 30, 2026.
| Measure | Microsoft | Amazon |
|---|---|---|
| Annual period | Fiscal year ended June 30, 2026 | Calendar year ended Dec. 31, 2025 |
| Annual revenue | $331.8 billion, up 18% | $716.924 billion |
| Annual operating income | $155.2 billion, up 21% | AWS operating income was $45.606 billion |
| Cloud growth disclosed | Azure and other cloud services revenue grew 43% in the quarter ended June 30, 2026; Microsoft Cloud revenue grew 27% | AWS net sales grew 37% year over year in Q2 2026 |
| Commercial commitments | Commercial remaining performance obligation rose 84% to $678 billion | Comparable company-wide commitment measure is not provided in the cited releases |
Microsoft reported the annual results in its FY2026 earnings release. Amazon’s annual segment and cash-flow figures come from its 2025 Form 10-K, and the newer AWS figures come from its Q2 2026 results release.
Microsoft’s growth is broadening beyond Azure
Azure and other cloud services grew 43% in Microsoft’s June 2026 quarter, and Microsoft Cloud revenue grew 27%. Commercial remaining performance obligation—contracted revenue to be recognized in future periods—increased 84% to $678 billion. That does not mean Microsoft will collect the entire amount immediately, nor does it guarantee margins, but it does indicate a large contracted base against which future revenue can develop.
Rank #2
- Ideal for Gifting
- Ideal for a bookworm
- Compact for travelling
Chief executive Satya Nadella said in the release that Azure revenue surpassed $100 billion for the first time and that Microsoft 365 Copilot reached more than 30 million paid seats. Those are management’s reported milestones, not independent forecasts. The key five-year question is whether customers expand AI usage after initial pilots and whether Microsoft can price that usage profitably.
AWS remains Amazon’s profit engine
AWS net sales were $42.232 billion in Q2 2026, up 37% year over year, and AWS operating income was $16.621 billion. For calendar 2025, AWS net sales were $128.725 billion and AWS operating income was $45.606 billion. These results show a large, fast-growing cloud business inside a much larger company whose consolidated revenue also includes retail, advertising, subscriptions and international operations.
AWS growth can have an outsized effect on Amazon’s earnings because the segment’s operating profit is substantial relative to the rest of the company. At the same time, investors must evaluate whether retail margins, logistics efficiency and advertising growth offset periods when AWS investment rises faster than revenue.
Business mix: recurring software versus a four-engine conglomerate
Why Microsoft’s mix supports the default pick
- Enterprise subscriptions: Microsoft 365 and business software renew on recurring contracts, creating visibility that is different from one-time hardware or discretionary purchases.
- Cloud cross-selling: Azure, security, data tools and developer services can be sold to organizations already standardized on Microsoft products.
- AI distribution: Copilot can be introduced through existing productivity and enterprise relationships rather than requiring a brand-new customer channel.
- Multiple non-cloud segments: Personal computing, gaming and other businesses diversify revenue, although they grow differently from Azure.
This mix does not eliminate risk. Enterprise customers can delay projects, regulators can scrutinize bundling and AI products may require heavy infrastructure spending before their revenue contribution is proven.
Rank #3
Why Amazon can still win
- AWS: A broad cloud platform serves startups, public-sector organizations and large enterprises, with consumption-based revenue that can expand as workloads grow.
- Retail: The marketplace, logistics network and first-party sales generate massive customer and transaction volume, though retail is more operationally intensive than software.
- Advertising: Sponsored placements benefit from shopping intent and can add a high-margin revenue stream.
- Subscriptions and other services: Membership and digital services deepen customer relationships and diversify monetization.
Amazon therefore offers more exposure to logistics, consumer demand and advertising than Microsoft. That can be an advantage in a strong economy, but it also introduces more variables into a five-year earnings model.
Capital spending is the central difference
Amazon’s 2025 Form 10-K reports $11.194 billion of free cash flow after $128.320 billion of purchases of property and equipment, net of proceeds. The comparable 2024 free-cash-flow figure was $38.219 billion. Amazon defines free cash flow as operating cash flow minus those net property-and-equipment purchases and warns that the measure has limitations.
The decline does not by itself prove that AWS investment is destroying value. It shows that cash is being spent before the associated capacity has fully contributed to revenue and profit. Investors should track whether operating cash flow, AWS operating income and utilization improve as new facilities and equipment come online.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Andy Jassy explained the timing in his 2025 shareholder letter: “The FCF and ROIC for these investments are cumulatively quite attractive a couple years after being in service; however, in times of very high growth (like now), where the capex growth meaningfully outpaces the revenue growth, the early-years FCF is challenged until these initial tranches of capacity are being monetized and revenue growth out-paces capex growth.” This is management’s view and expectation, not an assurance. Jassy also said a substantial portion of expected 2026 AWS capital expenditure already had customer commitments.
Rank #4
Microsoft is also investing heavily in data centers, networking and AI hardware. Its reported growth and commitments do not guarantee that those investments will earn attractive returns. The practical difference is that Microsoft’s software subscriptions and enterprise contracts can make the cash-conversion story easier for a long-term shareholder to follow, while Amazon’s infrastructure cycle is more visibly affecting consolidated free cash flow today.
Customer commitments: useful evidence, not a guarantee
Microsoft’s $678 billion commercial remaining performance obligation is a meaningful indicator of contracted demand. It can support revenue visibility over several periods, but the figure is recognized over time and depends on customers continuing to take the contracted services.
Amazon’s cited materials emphasize AWS customer commitments in connection with planned capital expenditure, but they do not provide a directly comparable company-wide backlog number in the figures above. A commitment to capacity can reduce demand risk, yet it does not remove pricing, implementation, power, supply-chain or customer-concentration risk.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
For both companies, ask whether AI demand is incremental or simply shifting workloads from existing products, how much of the growth requires subsidized pricing, and whether gross margins hold as inference and training workloads scale.
Best Value
- It can be a gift option
- Comes with secure packaging
- Helpful in various ways
Valuation: do not declare a winner from one stock quote
A market-data snapshot showed Microsoft at $541.15 at the October 12, 2026 close with a forward price-to-earnings ratio of 27.39, according to Stock Analysis. The available data did not provide a same-date, same-provider forward multiple for Amazon. Comparing Microsoft’s multiple with an unmatched Amazon figure—or with a different date—would create false precision.
Before buying either stock, refresh these inputs from one provider and one timestamp:
- Share price and diluted share count.
- Forward earnings per share and the fiscal period used to calculate it.
- Expected revenue and operating-income growth for the next two to three years.
- Enterprise value relative to operating cash flow or free cash flow.
- Capital-expenditure assumptions, including whether AI infrastructure spending is expected to accelerate or normalize.
Microsoft’s quality can already be reflected in its price. Amazon’s lower near-term free cash flow can make a simple P/E comparison misleading if earnings are temporarily depressed by growth investment. Use valuation as a discipline, not as a substitute for understanding each company’s cash-flow cycle.
How the choice changes under different five-year scenarios
| Scenario | Likely advantage | Reason |
|---|---|---|
| Enterprise AI adoption is steady and customers expand existing software contracts | Microsoft | Azure, Microsoft 365, security and business applications can monetize through an established enterprise distribution system. |
| Cloud workloads grow sharply and AWS converts new capacity into profit | Amazon | AWS growth and operating leverage could outweigh the temporary free-cash-flow drag from infrastructure spending. |
| Consumer demand weakens but businesses keep software budgets relatively stable | Microsoft | Recurring enterprise subscriptions may be less cyclical than retail transactions, although no segment is immune to budget cuts. |
| AI infrastructure demand disappoints or pricing becomes highly competitive | Neither has a clean advantage | Both are committing substantial resources to cloud and AI; slower monetization would pressure returns on investment. |
| Amazon’s retail, advertising and subscriptions outperform while AWS remains strong | Amazon | The combination can produce more than a cloud-only thesis, but it also adds operating complexity. |
Risks that could overturn the Microsoft choice
Microsoft-specific risks
- AI infrastructure and data-center costs could rise faster than Copilot and Azure revenue.
- Customers may consolidate vendors or reduce software seats during an economic slowdown.
- Regulatory action could change how Microsoft bundles cloud, productivity and AI services.
- Personal computing and gaming can be more cyclical than the enterprise businesses.
Amazon-specific risks
- Free cash flow may remain weak if property-and-equipment purchases continue to outpace operating-cash-flow growth.
- AWS pricing pressure, service outages or slower workload migration could reduce returns on new capacity.
- Retail logistics, labor, inventory and international operations add execution risk.
- Management’s assumptions about customer commitments and future monetization may not materialize on schedule.
Amazon’s Q2 2026 release also highlighted uncertainty involving foreign exchange, energy prices, geopolitical conditions, tariffs and trade policy, supply volatility including memory chips, customer demand, inflation, interest rates, regulation, competition and other factors. Those risks can affect both revenue and the cost of building capacity.
A practical five-year buying framework
- Set a valuation ceiling. Decide what forward earnings or cash-flow multiple you are willing to pay before a price rally makes the decision emotional.
- Choose your cash-flow tolerance. If a multi-year period of lower free cash flow would cause you to sell, Amazon’s infrastructure cycle may be a poor fit.
- Measure operating evidence each quarter. For Microsoft, follow Azure growth, Microsoft Cloud growth, Copilot adoption, commercial remaining performance obligation and operating margin. For Amazon, follow AWS growth and operating income, consolidated operating income, capital expenditures and free cash flow.
- Separate reported results from promises. Treat management comments about future monetization, customer commitments and returns on invested capital as hypotheses to test against later filings.
- Rebalance your thesis, not every headline. A single quarter of foreign-exchange movement or a temporary data-center delay matters less than a sustained change in demand, margins or capital intensity.
Bottom line for a one-stock decision
Microsoft is my conditional five-year choice because its cloud and AI growth sits inside a broader, recurring enterprise-software ecosystem, and its latest reported operating-income growth exceeded revenue growth. The choice assumes a valuation that leaves room for execution risk.
Amazon is the stronger alternative for an investor who accepts heavier capital intensity in exchange for exposure to AWS, retail, advertising and subscriptions. Its 2025 free-cash-flow decline is a warning about timing, not proof that the investment will fail; the decisive evidence will be whether new AWS capacity produces the revenue and returns management expects.
Whichever stock you choose, update the valuation comparison immediately before buying, use the same measurement date for both companies and revisit the thesis as infrastructure spending, customer demand and margins change.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchQuick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




