When it comes to internet stocks, a few names stand out from the crowd. Amazon.com (AMZN -0.18%), Facebook (META 0.27%), and Alphabet (GOOG 0.77%) (GOOGL 0.66%) -- investment banker Deutsche Bank calls these three the "best-of-breed names" in the internet industry. But there's one other name that Deutsche likes even more: eBay (EBAY 0.36%).

This morning, Deutsche Bank upgraded its rating on eBay stock from hold to buy, and assigned the stock a new $40 price target that is 33% higher than its previous estimate of the stock's worth. Even better, if eBay hits the new target, it promises to reward shareholders with a 21% profit.

Here are three things you need to know.

Deutsche Bank thinks eBay is on sale. Is it time to buy? Image source: Getty Images.

1. What eBay has done

Central to Deutsche Bank's buy thesis is its belief that eBay "is in the latter stages of its replatforming," and that "this is the time period where select internet stocks historically tend to generate the most alpha" -- the time when they deliver the most market-beating gains in stock price. Deutsche Bank explains, via StreetInsider.com: "Expedia went from a $6B market cap to over $30B in the 24 months coming out of its replatforming back in 2011 (if you add the TRIP spin) and while we don't expect a 5-bagger at EBAY, it could certainly outperform the group over the next 2 years."

2. Come again? What is this "replatforming" you speak of?

eBay itself describes its replatforming initiative thusly: It's a "multiyear evolution" to "organize, catalogue, curate, and present our vast inventory in ways that enable every person who shops on eBay to find" what they're looking for.

eBay brags that it already has "robust and vast inventory" and "one of the very best search engines optimized for e-commerce" to sort it. What eBay intends to do now is make that search engine even better. Using "machine learning," eBay says it will move "beyond the listing-based approaches that have typified the past" to create "powerful, new ways for consumers to shop."

A lot of that may sound like mere marketing chatter. But in fact, eBay is already rolling out its new shopping platform "in some categories" of products, such as digital cameras. Whether the improvements result in better sales and profits for eBay stock remains to be seen. Last quarter, for example, eBay's profits per share surged more than 420% -- but sales grew less than 6%.

3. What happens next?

According to Deutsche, eBay is turning into an "accelerating-growth" story "with upside to estimates and a reasonably low valuation." Guesstimating what the company might earn in 2018, the analyst says the stock sells for an "8% FCF field on conservative 2018 numbers."

Right now, eBay stock is generating $2.45 billion in annual free cash flow on a market capitalization of $37.25 billion. That works out to a 15.2 price-to-free-cash-flow ratio, or a free cash flow "yield" of 6.6%. But two years from now, Deutsche thinks the stock will be generating enough free cash flow to drop that ratio down to just 12.5 -- and give eBay an 8% yield.

The most important thing: Valuation

So what is Deutsche Bank really saying about eBay's prospects?

Growing the yield from 6.6% to 8% amounts to growing free cash flow from $2.45 billion to nearly $3 billion, or 22%, two years from now. That's basically an 11% compound growth rate. It's also way, way, way below the 55% growth rate that analysts expect Amazon.com to produce, below the 34% growth expected from Facebook, and the 17% growth rate expected out of Alphabet.

On the other hand, at just 20 times earnings, and 15 times free cash flow, eBay also costs a lot less than Amazon (207 times earnings), Facebook (61 times earnings), or Alphabet (31 times). Additionally, it's worth pointing out that Deutsche's estimate of 11% growth for eBay is about half-again as much as the 7.3% growth rate that most analysts ascribe to eBay, according to data from S&P Global Market Intelligence. So while eBay may not be growing as fast as its peers, Deutsche does think it will grow faster than many investors expect it to. And that, says Deutsche Bank, is the reason eBay will outperform its faster-growing, pricier peers over the next two years.

Is Deutsche Bank right about that? Check out the analyst's record on Motley Fool CAPS, and decide for yourself.