Better AI stock: Microsoft vs. Amazon

These companies are rapidly expanding in AI, but one is trading at a better value.

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

The launch of OpenAI's ChatGPT in November 2022 triggered a boom in artificial intelligence (AI), with countless tech firms pivoting their businesses toward the budding industry.

According to Grand View Research, the AI market is projected to expand at a compound annual growth rate of 37% through 2030. That trajectory would see the sector exceed a value of $1 trillion before the end of the decade, suggesting there's no better time than the present to invest in AI-minded companies.

Microsoft (NASDAQ: MSFT) and Amazon (NASDAQ: AMZN) are two attractive options, with both companies investing heavily in the market and active in one of the biggest growth areas of AI: cloud computing. These companies have emerged as some of the biggest threats in the industry and could deliver significant gains over the long term.

So, let's take a closer look at these companies and determine whether Microsoft or Amazon is the better AI stock right now.

Microsoft

Microsoft was an early investor in AI, sinking $1 billion into OpenAI in 2019. The company has since increased its investment, achieving a 49% stake in the start-up. The partnership with OpenAI has granted Microsoft exclusive access to some of the most advanced AI models, which it has used to bring upgrades across its product lineup.

Over the last year, elements of ChatGPT have been integrated into Microsoft's search engine Bing, a range of new AI tools have been added to its cloud platform Azure, and its various Office services now offer improved productivity with the help of AI.

Microsoft is a behemoth in the tech world, with millions of consumers and businesses relying on its software. The popularity of its services and OpenAI's tech could be a powerful combination over the long term.

In the first quarter of 2024 (ending September 2023), Microsoft posted 13% in year-over-year revenue growth, beating Wall Street estimates by nearly $2 billion. Significant gains came from the company's cloud and productivity segments, which saw revenue rise 19% and 13%, respectively. These divisions are hyperfocused on AI development, which appears to be paying off.

Alongside free cash flow that hit $63 billion last year, Microsoft is on a promising growth path. The company has the brand power and financial resources to become one of the biggest threats in AI.

Amazon

Amazon pulled off an impressive turnaround in 2023 after its stock plunged roughly 50% the year before. Since last January, its shares have soared over 62% thanks to a return to profitability in its e-commerce business and significant potential in AI.

Over the last year, various cost-cutting measures have seen Amazon's free cash flow skyrocket 427% to $16 billion. The company has restructured its business to prioritize profit growth and is, therefore, investing heavily in its most profitable division: Amazon Web Services (AWS).

The cloud platform is responsible for over 62% of Amazon's operating income despite earning the lowest revenue out of its three segments. In Q3 2023, AWS achieved nearly $7 billion in profits, representing growth of 29% year over year.

The cloud market is expanding quickly, boosted by the emergence of AI. Businesses are increasingly looking for ways to boost efficiency with the help of AI and turning to cloud services to do so. Meanwhile, AWS' leading 32% market share in cloud computing positions it well to see big gains as AI develops.

Amazon's dominant position in cloud computing makes the company one of the best ways to invest in AI.

Is Microsoft or Amazon the better AI stock?

Microsoft and Amazon have emerged as two of the biggest names in AI over the last year. These companies have similar potential in the industry thanks to booming cloud businesses and lucrative opportunities in other areas of tech.

As a result, the best way to determine the better AI stock is to consider which is trading at a better value.

AMZN PS Ratio Chart

Data by YCharts. PS Ratio = price-to-sales ratio. PEG Ratio = price-to-earnings-to-growth ratio.

This chart compares Amazon and Microsoft's price-to-sales (P/S) and price-to-earnings-to-growth (PEG) ratios. These are helpful valuation metrics as they take into account a company's financial health against its stock price.

P/S is calculated by dividing a firm's market cap by its revenue. Meanwhile, PEG divides a stock's price-to-earnings ratio by the growth rate of its earnings. For both metrics, the lower the figure, the better the value.

In this case, Amazon's stock is a bargain compared to Microsoft. So, if you're between these two AI stocks, Amazon is the better buy this month and a screaming buy at the start of 2024. 

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Dani Cook has no position in any of the stocks mentioned. John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Amazon and Microsoft. The Motley Fool Australia has recommended Amazon. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on International Stock News

A rocket blasts off into space with planet behind it.
Opinions

SpaceX shares are flying. Here's the price I'd wait for

SpaceX is on my watchlist, but I’m staying patient.

Read more »

Flag of America on a processor on a motherboard.
International Stock News

Nvidia shares jump after earnings report. Here's what has investors excited

The world's biggest company delivered another huge quarter and a bullish outlook.

Read more »

A tech worker wearing a mask holds a computer chip.
International Stock News

Up 15% in 2026! Why Nvidia shares could be in for a huge week

The AI behemoth heads into earnings with expectations already running very high.

Read more »

A distressed young woman reads bad news on her smartphone while standing in a modern indoor setting.
ASX Share Market News

How the KOSPI crash impacted ASX investors

The South Korean market rose 170% in FY26 before crashing 44% last month.

Read more »

Man looks shocked as he works on laptop on top a skyscraper with stockmarket figures in graphic behind him.
ASX Share Market News

Imagine the ASX 200 near-tripling in a year. That's what the KOSPI did in FY26

Then came last month's 44% crash. Here's the full story behind the KOSPI's boom and bust.

Read more »

Man controlling a drone in the sky.
International Stock News

Why investors are rotating out of defence stocks: Expert

Should investors buy the dip on this billion dollar sector?

Read more »

Three rockets heading to space
International Stock News

SpaceX shares under pressure despite revenue beat

Solid results have failed to lift the stock.

Read more »

A young woman drinking coffee in a cafe smiles as she checks her phone.
International Stock News

What do Microsoft's strong earnings mean for these ASX shares?

Hyperscaler spending is the demand catalyst for these ASX shares.

Read more »