We have some exciting news to share! The Motley Fool UK has now become The Twelfth Magpie -- an independent, UK-owned company, led by our long-serving UK management team — Mark Rogers, Chris Nials and Heather Adlington. In practical terms, it’s the same team you know, now fully focused on serving our UK readers and members.

Just as importantly, our approach remains unchanged: long-term, jargon-free, and on your side. This site is our new home, and there will be extra tweaks made across the coming few days as we settle in. So if anything looks a little off, please bear with us!

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

Prediction: in 2 years these S&P 500 stocks will be much higher than they are today

These two S&P 500 stocks have been beaten down in recent weeks. But Edward Sheldon expects them to move much higher over the next two years.

| More on:
The flag of the United States of America flying in front of the Capitol building

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.

Many high-quality S&P 500 stocks are well off their highs right now. So there are a lot of opportunities for long-term investors like myself.

Here, I’m going to highlight two S&P stocks I believe are worth considering at the moment. I think that in two years, these two stocks are likely to be trading at much higher levels than they are today.

XXX

Double-digit gains?

Let’s start with ‘Magnificent 7’ stock Microsoft (NASDAQ: MSFT). It’s currently trading for around $381, about 19% below its all-time high of $468.

While this company is one of the largest in the world, it still has plenty of growth potential. It’s one of the world’s most dominant players in cloud computing, and this industry is forecast to grow by more than 10% a year over the next decade.

Microsoft is also a leading player in artificial intelligence (AI), video gaming, and business productivity software. And these industries have a lot of growth potential too, especially in AI.

For the year ending 30 June (FY26), analysts expect earnings per share (EPS) to be around $14.90, up 14% year on year. Let’s say that the company can grow its earnings at 10% a year over the following two years.

That would take EPS to around $18 by FY28. Stick an earnings multiple of 27 on this (roughly the price-to-earnings ratio right now) and we have a price target of $486.

That equates to a gain of about 28% from here. If the stock was to get there in the next two years, it would translate to a return of about 13% a year (14% when dividends are included) – not bad for a large-cap stock.

Of course, my forecasts here could be way off the mark. If the global economy weakens significantly in the next two years, cloud spending could drop sharply and Microsoft’s earnings growth could stall.

I’m optimistic about the long-term growth story though. I just bought some more Microsoft shares for my own portfolio.

Enormous potential

Another S&P 500 stock I believe has potential to perform well over the next two years is Palo Alto Networks (NASDAQ: PANW). It’s the largest player in the cybersecurity industry.

The cybersecurity market looks set for huge growth in the years ahead, and this company is well positioned to benefit. Recently, it has been pivoting to a ‘platformisation’ model where it can offer comprehensive protection to its customers via several different platforms (instead of providing individual solutions).

This pivot has slowed growth in the short term. But in the long run, it should support it. Currently, analysts expect revenue and earnings growth of 15% and 14% respectively for the year ending 31 July. If the company can continue to grow at that pace (and it may not as cybersecurity is a competitive industry and the company is up against the likes of CrowdStrike and Fortinet), its share price could rise significantly.

It’s worth noting that the average analyst price target for Palo Alto Networks is currently $211. That’s about 26% above the current share price.

That’s the 12-month price target however. If global markets recover over the next two years, and the company sees strong revenue and earnings growth, the share price could be even higher in 2027.

Edward Sheldon owns shares in CrowdStrike and Microsoft. The Motley Fool UK has recommended CrowdStrike, Fortinet, and Microsoft. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

Friends and sisters exploring the outdoors together in Cornwall. They are standing with their arms around each other at the coast.
Investing Articles

£503 buys 14 shares in this FTSE 250 stock that returned 23.9% annually for the last 15 years

This FTSE 250 stock has averaged a huge return for 15 years. At today's price, £503 buys 14 shares. But…

Read more »

Black woman using loudspeaker to be heard
Investing Articles

£1,000 buys 25 shares in this FTSE 100 stock that’s returned 29.2% annually for the last 10 years

This FTSE 100 mining stock has returned close to 30% a year for a decade. At 3,995p, £1,000 buys 25…

Read more »

Female student sitting at the steps and using laptop
Investing Articles

Down 47%, is this growth stock finally worth buying in May?

With a £288m order book and a hidden pipeline of defence and nuclear contracts, is this growth stock now too…

Read more »

House models and one with REIT - standing for real estate investment trust - written on it.
Investing Articles

2 REITs yielding 7%+ to consider for passive income in 2026

A REIT backed by the NHS and another backed by Tesco and Sainsbury's with both yielding 7%+. Here's why I'm…

Read more »

Woman riding her old fashioned bicycle along the Beach Esplanade at Aberdeen, Scotland.
Investing Articles

Just 97 shares of this UK dividend stock generate £238 in passive income

A 5.7% yield, £238 in passive income from just 97 shares, and one of the most divisive dividend stocks on…

Read more »

ISA coins
Investing Articles

£10,000 in an ISA generates a second income of…

The London Stock Exchange is home to some of the world's most generous dividends. But how big a second income…

Read more »

Shot of a senior man drinking coffee and looking thoughtfully out of a window
Investing Articles

Expert recommendations: 2 top income stocks yielding 7%+!

With yields of 7.2% and 7.8% respectively, these two income stocks are catching the eyes of institutional analysts. Should investors…

Read more »

Illustration of flames over a black background
Investing Articles

3 top income-focused stocks to buy in May 2026, according to experts

Looking for a stock to buy for income in May 2026? Experts have flagged these three UK dividend shares as…

Read more »