Better Buy After the Cloud Stock Sell-Off: Oracle or Salesforce?

Source The Motley Fool

Key Points

  • Oracle's remaining performance obligations reached $638 billion last quarter.

  • Salesforce's Agentforce annual recurring revenue grew 205% year over year.

  • Both stocks sold off this month for very different reasons.

  • 10 stocks we like better than Salesforce ›

Investors hunting for bargains in cloud computing suddenly have two big ones to consider. Enterprise software company Oracle (NYSE: ORCL) tumbled this week after its fiscal fourth-quarter report (the period ended May 31, 2026) paired record results with a steep bill for its artificial intelligence (AI) data center expansion. Salesforce (NYSE: CRM), meanwhile, just touched a 52-week low, with shares down about 37% year to date as of this writing amid worries that AI could disrupt traditional subscription software.

The two sell-offs have very different causes. One company is being punished for spending too much on AI. The other is being punished by the fear that AI undermines its core product.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

So, which beaten-down stock is the better buy?

Let's size up each company and then pick a winner.

A digital-looking cloud.

Image source: Getty Images.

Oracle

Oracle's growth right now is impressive. Fiscal fourth-quarter revenue rose 21% year over year to $19.2 billion, with total cloud revenue jumping 47% and cloud infrastructure revenue surging 93%. Even more striking, the company's remaining performance obligations (contracted revenue it hasn't yet delivered) ended the quarter at $638 billion, up from $553 billion just three months earlier. For fiscal 2027, management confirmed its forecast of about $90 billion in total revenue, implying growth of about 34%.

But delivering that backlog is brutally expensive.

Oracle generated $32 billion in operating cash flow in fiscal 2026, yet its free cash flow was negative $23.7 billion as it spent heavily on data centers. Oracle raised $43 billion in debt and $5 billion in equity during the year, and it expects to raise about $40 billion more in fiscal 2027. On the company's fiscal fourth-quarter earnings call, management indicated net capital spending could reach about $70 billion this fiscal year.

Even after this week's drop, the stock's valuation isn't exactly cheap. Shares trade at a price-to-earnings ratio of about 32 and a forward price-to-earnings ratio of about 23 as of this writing. Investors, in other words, are still paying a premium for growth that requires enormous amounts of borrowed money to deliver.

Salesforce

The software-as-a-service company's story is quite different.

Growth is the concern -- fiscal first-quarter revenue (the period ended April 30, 2026) rose 13% year over year to $11.1 billion, helped along by the company's Informatica acquisition. But the business generates substantial cash. First-quarter free cash flow was $6.6 billion, and the company returned $27.5 billion to shareholders during the period, including a $25 billion accelerated share repurchase funded largely with new debt.

Interestingly, the AI fears hammering the stock haven't shown up in Salesforce's AI results. Agentforce, the company's AI agent product, reached $1.2 billion in annual recurring revenue in the fiscal first quarter, up 205% year over year.

"We remain confident in delivering organic revenue acceleration in the second half of FY27, driven by growth in Sales, Service, Slack, Agentforce, and Data 360," said Salesforce president and chief financial and operating officer Robin Washington in the company's fiscal first-quarter earnings release.

With the stock near its 52-week low, Salesforce trades at a price-to-earnings ratio of about 19 as of this writing -- a good-looking valuation considering the company's strong business economics and its solid growth. And this valuation is well below what investors are paying for Oracle.

The better buy

For me, this one comes down to risk versus price.

Oracle offers the faster growth by far, and its $638 billion backlog is a remarkable asset. But converting it into profit demands years of heavy spending, financed with more debt and equity, before shareholders see the payoff. And most of the recent additions to that backlog have come from large AI contracts, concentrating the risk.

Meanwhile, Salesforce makes money today and returns it to shareholders, all while growing its AI products at a triple-digit rate. Yet the market is pricing the stock as if its best days are behind it.

Neither choice is risk-free. If AI demand keeps compounding for years, Oracle could deliver far greater upside than its steadier rival. And if AI agents really do erode demand for subscription software over time, Salesforce's discount could prove deserved.

But at today's prices, I think Salesforce is the better buy. Paying about 19 times earnings for a highly profitable business with accelerating AI revenue strikes me as more attractive than paying a premium for a company that must borrow billions to fund its future. Sometimes the better opportunity is the one the market seems to hate the most.

Should you buy stock in Salesforce right now?

Before you buy stock in Salesforce, 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 Salesforce wasn’t one of them. The 10 stocks that made the cut 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 $438,283!* 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,257,427!*

Now, it’s worth noting Stock Advisor’s total average return is 938% — a market-crushing outperformance compared to 206% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of June 13, 2026.

Daniel Sparks and his clients have no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Oracle and Salesforce. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Natural Gas sinks to pivotal level as China’s demand slumpsNatural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
Author  FXStreet
Jul 01, 2024
Natural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
placeholder
ECB Policy Outlook for 2026: What It Could Mean for the Euro’s Next MoveWith the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
Author  Mitrade
Dec 26, 2025
With the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
placeholder
My Top 5 Stock Market Predictions for 2026Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
Author  Mitrade
Jan 06, Tue
Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
placeholder
Gold plummets below $4,200 as US‑Iran tensions spur hawkish rate bets ahead of US CPIGold (XAU/USD) extends the recent breakdown momentum below a technically significant 200-day Simple Moving Average (SMA) and drops to a fresh low since March 23, further below the $4,200 mark during the Asian session on Wednesday.
Author  FXStreet
Jun 10, Wed
Gold (XAU/USD) extends the recent breakdown momentum below a technically significant 200-day Simple Moving Average (SMA) and drops to a fresh low since March 23, further below the $4,200 mark during the Asian session on Wednesday.
placeholder
WTI steadies around $85.00 as Trump indicates potential Iran dealWest Texas Intermediate (WTI) oil price remains subdued after registering over 5.5% losses in the previous day, trading around $85.00 per barrel during the Asian hours on Friday.
Author  FXStreet
Yesterday 01: 24
West Texas Intermediate (WTI) oil price remains subdued after registering over 5.5% losses in the previous day, trading around $85.00 per barrel during the Asian hours on Friday.
goTop
quote