Warren Buffett says inflation is coming. Here are the best ways to trade it

Warren Buffett at Berkshire Hathaway's annual meeting in Los Angeles California. May 1, 2021.
Gerard Miller | CNBC

Legendary investor Warren Buffett said on Saturday that he is seeing rising input costs in several different parts of his business empire, leaving many wondering how this will affect the stock market.

The "Oracle of Omaha" said during Berkshire Hathaway's annual meeting that he is seeing "very substantial inflation" and his companies are raising prices.

Berkshire joins many other companies, such as Clorox, to say they are hiking prices due in part to rising input costs. Commodity prices, from lumber to corn to palladium, have surged in recent months.

The rise in inflation is not completely unexpected, as Federal Reserve officials have warned of a spike in prices as the U.S. economy reopens.

Many Wall Street firms have already built lists or model portfolios for investors to consider when preparing for inflation.

More In Pro Insight

CNBC ProFrenzied trading in meme stocks is a warning sign for the broader market
CNBC ProCiti says sell into any strength as the S&P 500's comeback takes out its year-end target
CNBC ProA market signal with a perfect track record says the bottom is not in, Bank of America claims