The above button links to Coinbase. Yahoo Finance is not a broker-dealer or investment adviser and does not offer securities or cryptocurrencies for sale or facilitate trading. Coinbase pays us for certain activity generated through this link. Prices displayed are informational.

Alphabet (NASDAQ: GOOGL) (NASDAQ: GOOG) has been a great addition to equity portfolios. In the past five years, the share price has soared 144% (as of July 27). This is a strong performance for one of the most valuable companies.

I don't believe this technology enterprise's winning returns are over for investors. I predict that this artificial intelligence (AI) stock will double by 2031. Here's the clear math behind this view.

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »

The most powerful catalyst for the share price to rise 100% in the coming five years is profit growth. Alphabet has historically had zero issues in this area. Its diluted earnings per share (EPS) increased at a compound annual rate of 30% between 2020 and 2025.

Analysts expect diluted EPS to grow at an annualized rate of 17% between 2025 and 2028. If Alphabet reports a 15% compound yearly growth rate over the next five years, then its stock price can double (assuming the valuation remains constant).

Investors might also benefit from valuation expansion, however. As of this writing, Alphabet shares trade at a forward price-to-earnings (P/E) ratio of 22.7. That's barely more expensive than the S&P 500 index, despite this clearly being one of the world's most outstanding companies.

Five years from now, there's a possibility that Alphabet's forward P/E multiple will be higher. If this happens, it provides investors with another tailwind.

The biggest story defining Alphabet these days is its all-in strategy when it comes to AI, particularly around building data centers. The leadership team just raised its spending guidance, as the company now plans for $195 billion to $205 billion in 2026 capital expenditures. This number will be even higher in 2027.

The spending spree has resulted in negative free cash flow. Shareholders aren't used to seeing this from Alphabet.

The business will get the benefit of the doubt here. It's monetizing that spending within Google Cloud, which posted 82% year-over-year revenue growth in the second quarter (ended June 30).

The leadership team also highlighted that there is utility for AI across the organization. "Our AI investments are redefining what's possible across every part of our business," CEO Sundar Pichai said on the Q2 2026 earnings call.

While the burgeoning capex figures might make some investors jittery, Alphabet's financial gains are impressive, and it has a wide economic moat, most notably due to the presence of robust network effects. This makes it a high-quality business to own that has a good shot at doubling in five years.

Before you buy stock in Alphabet, 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 Alphabet wasn't one of them. The 10 stocks that made the cut are built for long-term growth and 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 $397,081!* 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,166,221!*

That performance is why people listen. With a track record of beating the S&P 500 by 4x, Stock Advisor offers a distinct advantage. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built for the long haul.

See the 10 stocks »

*Stock Advisor returns as of July 31, 2026.

Neil Patel has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet. The Motley Fool has a disclosure policy.

Prediction: This AI Stock Will Double by 2031 -- Here's the Math was originally published by The Motley Fool