How Important Is Ad Revenue to Facebook Inc.?

Following the big sell-off after its 2012 IPO, Facebook (NASDAQ: FB) has rebounded to become one of the best-performing large-cap tech stocks.

FB data by YCharts

And the shares' continued outperformance has been propelled by an equally robust financial performance from the social-media leader.

But where does that profit come from? Turns out the online media giant relies on one of the most well-worn business models around: advertising.

Inside Facebook's advertising empire

Much like its larger tech counterpart, Alphabet, Facebook funds its operations almost exclusively through ads. In its most recent fiscal year, 95% of Facebook's revenues came from advertisements, and the company has become increasingly reliant on ads in recent years.

Here's how Facebook's sales, profits, and overall reliance on ads have shifted:

Data source: Facebook Investor Relations.

Facebook is about as direct an advertising play as it gets these days. The good news is that -- thanks to all the user data Facebook has on all of us --its ads are tremendously profitable in comparison with alternatives such as display ads. And it appears likely to continue its impressive momentum in the years to come.

The future is bright for Facebook

Facebook and Alphabet enjoy leading roles in the long-term secular growth storythat is the online advertising market. Market researcher eMarketer predicts that online advertising in the U.S. alone will increase from $59 billion last year to over $105 billion by 2020, and eMarketer's data doesn't even capture the additional multibillion-dollar opportunity in online video, which it estimates will garner a further $16 billion in ad spending in 2020.

Today, Alphabet leads this space, controlling a slight majority of all online ad spending in the United States. However, as the ascending No. 2 player in this booming market, Facebook has a favorable outlook for the coming years.

Image source: Facebook.

To get more specific, Bank of America's investment research division currently estimates that Facebook's sales will rise 53% in 2016, 24.5% in 2017, and 27.7% in 2018. B of A's model also calls for Facebook's profit to rise at a similarly spectacular rate over this period. All told, B of A expects Facebook's sales and profit to total $47.2 billion and $20.4 billion in two years' time. That outlook isn't the sole factor influencing Facebook's stock price, but it does suggest that Facebook will be able to maintain the upward trajectory in its shares.

If there is a looming impediment for sustained stock price gains in the near term, it's Facebook's own elevated valuation. After its 44% gain in the past year, Facebook stock trades at a price-to-earnings ratio of nearly 60. Yes, such an elevated trading multiple may be justified, given Facebook's outsized growth potential, but the reality is that it's probably as close to "fairly" valued as you can get in a long-term growth stock like Facebook, Alphabet, and

Either way, investors would do well to note that Facebook's ad-based business model is likely to be a long-term tailwind for the company.

A secret billion-dollar stock opportunity The world's biggest tech company forgot to show you something, but a few Wall Street analysts and the Fool didn't miss a beat: There's a small company that's powering their brand-new gadgets and the coming revolution in technology. And we think its stock price has nearly unlimited room to run for early in-the-know investors! To be one of them, just click here.

Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool's board of directors. Andrew Tonner owns shares of Bank of America. The Motley Fool owns shares of and recommends Alphabet (A shares), Alphabet (C shares),, and Facebook. The Motley Fool recommends Bank of America. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.