Worried About Tariffs? This Artificial Intelligence (AI) Stock Could Be the Best Bet. Here's Why.

Source The Motley Fool

On April 2, President Donald Trump announced "Liberation Day" -- marking the event with a host of new tariff policies aimed at virtually all major trading partners. Following the announcement, the capital markets experienced a period of intense selling with the S&P 500 and Nasdaq Composite both dropping by double-digit percentages.

Since the initial shock, however, stocks have started to rebound as positive dialogue with important trade partners including China has come to light. While it appears that some progress is being made, smart investors understand that negotiations and tariff policies can change overnight. For these reasons, investors should be looking for businesses that are insulated from tariffs right now.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Learn More »

Let's explore why data analytics company Palantir Technologies (NASDAQ: PLTR) fits the bill and could be your best bet given the heightened uncertainty driving the direction of the stock market right now.

What type of companies tend to hold up well in a tariff environment?

Tariffs are taxes placed on imported and exported goods. One important detail to understand about tariffs is that businesses that manufacture physical items tend to be most vulnerable. In addition, tariff policies can exclude certain items underneath a broader category.

In other words, a policy could exempt automobile parts or semiconductor chips, for example. The big idea here is that unless you're following these policies down to the last detail, it can be quite daunting trying to identify a company that could hold up well during a period of pronounced tariffs.

One industry that tends to hold up well regardless of tariffs is software. All things considered, software tends to be relatively immune to tariffs because it's a service-oriented business that doesn't rely on importing or exporting physical goods.

A stamp imprinted with the word "tariffs."

Image source: Getty Images.

Why Palantir is in a unique position

Software businesses can be indirectly impacted by tariffs in two major ways. First, it's possible that the equipment they rely on to develop their services (i.e., data centers, hardware) is subject to higher prices due to tariffs. In addition, businesses may choose to reduce their IT budgets during periods of higher prices.

Nevertheless, Palantir appears to be in a unique position right now. Shortly after President Trump's "Liberation Day" announcement, Palantir released a new module showcasing how its artificial intelligence (AI) software suite can help retailers analyze the impacts of tariffs on their business.

I found this to be a savvy marketing tactic by Palantir, as it is essentially illustrating how tariffs can actually be a tailwind for the company. In other words, Palantir's ability to help its customers make AI-informed decisions rooted in real-time data indexed against a fluid tariff environment is a major value-add proposition.

I know the scenario above sounds great in theory, but how has Palantir actually held up as of late? Well, during the company's first-quarter earnings call earlier this month, management raised its revenue and profit guidance for the full year -- suggesting strong growth prospects despite a challenging macroeconomic picture featuring higher tariff-induced prices.

To me, this underscores how critical Palantir's products are for its customers, as well as the company's resiliency during a period of uncertainty.

Is Palantir stock a buy right now?

Even though Palantir is in a rare position to be experiencing growth during the current environment, the stock needs a closer look before investors pour in. So far in 2025, shares of Palantir have risen by 67% as of this writing (May 20). To put this into perspective, the S&P 500 and Nasdaq Composite are both at break-even levels for the year.

To better understand Palantir's valuation, just look at the chart below. At a price-to-sales (P/S) ratio of 101, Palantir is the priciest software stock in a cohort featuring both large-cap technology leaders such as Salesforce and SAP, as well as high-growth AI companies including CrowdStrike, Snowflake, and Cloudflare.

PLTR PS Ratio Chart

PLTR PS Ratio data by YCharts

Each of these companies develops important pieces of software and theoretically stands to thrive in the tariff environment. So why is Palantir stock experiencing such outsized momentum?

To me, I think it all boils down to hype. Palantir has an eccentric, charismatic CEO that is adored by the retail investing community. To boot, it's not uncommon for investors to follow momentum -- especially during a period when finding winners is tougher than usual.

While I think Palantir's current valuation is hard to justify, I do see the stock as a long-term buy. When it comes to AI-powered software businesses, Palantir is my top pick right now. I think the most prudent strategy for investors is to buy shares of Palantir at different price points over the course of many years, with the intention of holding on to the stock for the long run.

Should you invest $1,000 in Palantir Technologies right now?

Before you buy stock in Palantir Technologies, 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 Palantir Technologies 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 $644,254!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $807,814!*

Now, it’s worth noting Stock Advisor’s total average return is 962% — a market-crushing outperformance compared to 169% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.

See the 10 stocks »

*Stock Advisor returns as of May 19, 2025

Adam Spatacco has positions in Palantir Technologies. The Motley Fool has positions in and recommends Cloudflare, CrowdStrike, Datadog, MongoDB, Palantir Technologies, Salesforce, ServiceNow, and Snowflake. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Gold price hits two-week high as USD declines on deteriorating US fiscal outlookGold price (XAU/USD) prolongs the uptrend for the fourth consecutive day and climbs to a nearly two-week high, around the $3,344-3,345 area during the Asian session on Thursday.
Author  FXStreet
9 hours ago
Gold price (XAU/USD) prolongs the uptrend for the fourth consecutive day and climbs to a nearly two-week high, around the $3,344-3,345 area during the Asian session on Thursday.
placeholder
Shiba Inu’s Shibarium Struggles As New Accounts Crash To Fresh LowsFollowing its launch by the Shiba Inu team back in August 2023, the Shibarium network has been subject to the highs and lows of the market.
Author  NewsBTC
9 hours ago
Following its launch by the Shiba Inu team back in August 2023, the Shibarium network has been subject to the highs and lows of the market.
placeholder
GBP/USD falls to near 1.3400 following mixed UK PMI dataGBP/USD is depreciating after the mixed S&P Global/CIPS UK Manufacturing Purchasing Managers’ Index (PMI) data was released on Thursday. The pair has maintained its position near 1.3468, the highest since February 2022, reached on Wednesday, and is trading around 1.3410 during the European hours.
Author  FXStreet
9 hours ago
GBP/USD is depreciating after the mixed S&P Global/CIPS UK Manufacturing Purchasing Managers’ Index (PMI) data was released on Thursday. The pair has maintained its position near 1.3468, the highest since February 2022, reached on Wednesday, and is trading around 1.3410 during the European hours.
placeholder
EUR/USD briefly dips as Eurozone PMIs unexpectedly declineEUR/USD faces selling pressure and falls to near 1.1310 during European trading hours on Thursday. The major currency pair drops as the Euro (EUR) underperforms after the release of the surprisingly weak preliminary Eurozone HCOB Purchasing Managers’ Index (PMI) data for May.
Author  FXStreet
10 hours ago
EUR/USD faces selling pressure and falls to near 1.1310 during European trading hours on Thursday. The major currency pair drops as the Euro (EUR) underperforms after the release of the surprisingly weak preliminary Eurozone HCOB Purchasing Managers’ Index (PMI) data for May.
placeholder
AUD/JPY falls below 92.50, further downside appears due to rising odds of BoJ rate hikesAUD/JPY hits a fresh two-week low, with trading around 92.30 during the European hours on Thursday.
Author  FXStreet
10 hours ago
AUD/JPY hits a fresh two-week low, with trading around 92.30 during the European hours on Thursday.
goTop
quote