Better megacap stock: Nvidia vs. Microsoft

Megacap stocks have ruled the year so far. Is Nvidia or Microsoft better positioned for the second half of the year?

| More on:
A woman walks along the street holding an oversized box wrapped as a gift.

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

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

Let's face it: 2024 has been all about the megacaps. Nvidia (NASDAQ: NVDA) is up 147% year to date; Meta Platforms is up 44%; Alphabet is up 33%.

Moreover, Nvidia, Apple, Microsoft, Amazon, Alphabet, and Meta Platforms now boast a combined market cap of $15.6 trillion. That's roughly equivalent to the size of the Eurozone economy, which has an annual gross domestic product of $15.4 billion, according to the latest estimates from the World Bank.

So, let's compare two of the best megacaps, Nvidia and Microsoft (NASDAQ: MSFT), to see which is better positioned to rule the second half of 2024 -- and beyond.

Nvidia

No company has experienced a more remarkable growth in its market cap over the past two years than Nvidia. The semiconductor giant has added a staggering $2.7 trillion in value, catapulting it to the position of the most valuable company on Earth, if only briefly.

Its rise is almost entirely thanks to the surge in demand for artificial intelligence (AI) and the hardware behind it. Nvidia designs graphics processing units (GPUs). These powerful devices are often linked together by the thousands -- even hundreds of thousands -- within data centers to help train the latest and greatest AI models.

While there are other companies in the GPU design space, Nvidia enjoys several key competitive advantages. The trust and familiarity AI developers have with Nvidia's GPUs and its software make it challenging for them to switch to another supplier. Moreover, Nvidia's extensive experience in GPU design prior to the AI boom gives it a unique edge over its competitors.

Microsoft

Despite the attention garnered by Nvidia's rapid ascent, it's important not to overlook Microsoft's impressive stock performance. The company once again holds the title of the most valuable company on Earth, a position it regained after briefly being overtaken by Nvidia. To maintain this lead, Microsoft is demonstrating its adaptability to the evolving tech landscape, particularly the AI revolution.

On that front, Microsoft has already begun integrating AI into its signature software applications. It now offers a generative AI assistant through its Microsoft Copilot add-on, which can analyze data, respond to queries, create images, and generate code.

What's more, Microsoft diverse business segments provide a layer of protection, should the AI revolution falter. The company has a massive cloud services unit and a successful gaming division among various other business segments.

Which stock is a better buy in the second half of 2024?

Simply put, both Nvidia and Microsoft are outstanding companies. They generate billions in revenue, profits, and free cash flow. They're also led by some of the top CEOs on the planet: Satya Nadella at Microsoft and Jensen Huang at Nvidia.

However, there are differences to evaluate.

For one, Nvidia's valuation is approaching record highs. Its price-to-sales (P/S) ratio is now 39x -- more than double its 10-year average of 15x.

Meanwhile, Microsoft's P/S ratio is also historically high at 14x. However, that value is less than half of Nvidia's on an absolute basis.

MSFT PS Ratio Chart

MSFT PS Ratio data by YCharts

In other words, both stocks are historically expensive, but Nvidia is far more costly in a head-to-head comparison.

At any rate, the rapid growth of the GPU market is what investors are counting on to bring Nvidia's valuation down. And while those growth estimates are impressive (analysts expect Nvidia's sales to rise 98% over last year), any signs of slowing growth could lead to a sharp sell-off in Nvidia shares.

In conclusion, I prefer Microsoft, given the stock's more reasonable valuation at current levels. That said, long-term Nvidia investors shouldn't bail on the stock now. Rather, they should remember that one of the keys to successful buy-and-hold investing is to let winners run. 

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

Wondering where you should invest $1,000 right now?

When investing expert Scott Phillips has a stock tip, it can pay to listen. After all, the flagship Motley Fool Share Advisor newsletter he has run for over ten years has provided thousands of paying members with stock picks that have doubled, tripled or even more.*

Scott just revealed what he believes could be the 'five best ASX stocks' for investors to buy right now. We believe these stocks are trading at attractive prices and Scott thinks they could be great buys right now...

See The 5 Stocks *Returns as of 3 April 2025

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool’s board of directors. Randi Zuckerberg, a former director of market development and spokeswoman for Facebook and sister to Meta Platforms CEO Mark Zuckerberg, is a member of The Motley Fool's board of directors. Jake Lerch has positions in Alphabet, Amazon, and Nvidia. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Alphabet, Amazon, Apple, Meta Platforms, Microsoft, and Nvidia. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has recommended the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool Australia has recommended Alphabet, Amazon, Apple, Meta Platforms, Microsoft, and Nvidia. 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 woman sits in a cafe wearing a polka dotted shirt and holding a latte in one hand while reading something on a laptop that is sitting on the table in front of her
International Stock News

Microsoft stock or Apple shares: Which is the world's largest company after Trump's tariffs?

Let's take a look.

Read more »

A man with a wide, eager smile on his face holds up three fingers.
International Stock News

Down 20% this year, here are 3 reasons why I'm still loading up on Amazon stock

I'm loading up on the stock as its share price falls.

Read more »

A man looking at his laptop and thinking.
International Stock News

Prediction: Alphabet will spin off Waymo within 5 years

Despite Waymo's promising potential, here's why I think it's highly likely that Alphabet will spin off the business within the…

Read more »

A person holds an electric vehicle charger.
International Stock News

Tesla is plummeting again — Is it time to buy the stock?

Let's take a look.

Read more »

Two excited woman pointing out a bargain opportunity on a laptop.
International Stock News

Why Nvidia stock could be tech's biggest bargain in 2025

For investors with the patience to weather trade-war disruptions, the stock's current valuation offers an attractive entry point.

Read more »

A businessman presents a company annual report in front of a group seated at a table
International Stock News

US reporting season kicks off tonight

This US reporting season is likely to be closely followed.

Read more »

A man leans forward over his phone in his hands with a satisfied smirk on his face although he has just learned something pleasing or received some satisfying news.
International Stock News

1 "Magnificent Seven" stock to buy hand over fist in the Nasdaq bear market

The "Magnificent Seven" stocks are experiencing heavy selling as the Nasdaq bear market continues.

Read more »

A woman sits at her computer with her hand to her mouth and a contemplative smile on her face as she reads about the performance of Allkem shares on her computer
International Stock News

Why shares of Apple are skyrocketing after one of its worst 4-day stretches in 25 years

Let's take a look.

Read more »