Last month, leading retailer Walmart (WMT -0.08%) announced that it would conduct a 3-for-1 stock split on Feb. 23. In recent years, investors have a seen a number of high-profile tech companies such as Alphabet, Amazon, and Tesla conduct stock splits. However, this is Walmart's first split in over two decades. It last completed a stock split back in 1999.

Let's dig into how stock splits work and what investors should understand before pouring into Walmart stock.

What savvy investors understand about stock splits

The dynamics of stock splits are quite simple: The number of shares rises by the split ratio, while the stock price drops by the same multiple. For example, following Walmart's 3-for-1 split, shareholders will have triple the amount of shares they held previously. But the price of those shares will be at one-third their original value.

To be clear, stock splits do not inherently change the value of a company since the number of shares increases and the share price decreases by the same ratio. However, while it's not a guarantee, share prices can rise following a split since the stock is perceived as being cheaper, thereby enticing a larger cohort of investors to buy the stock.

Stock-split stocks can therefore attract a lot of momentum traders. While that can be a strategy to book a quick profit, it's highly risky and can leave you holding the bag. Investors interested in Walmart stock should be thinking longer-term beyond the stock split. It's important to analyze what the company is doing to continue performing at a high level.

People shopping at the mall.

Image source: Getty Images.

Walmart's earnings are slowing...

For the quarter ended Jan. 31, Walmart reported earnings per share (EPS) of $2.04, a roughly 12% year-over-year decline. Management spent some time during the earnings call outlining what Walmart is doing to accelerate its earnings power, and how the company is evolving beyond brick-and-mortar stores.

More specifically, management referenced advertising services as well as fulfillment services as areas that carry particularly higher margin than the company's core retail setting. Moreover, Walmart's previously announced improvements to stores and fulfillment centers could help drive synergies on its e-commerce platform as well.

Management's stated goal is to grow "operating income faster than sales." This dynamic should help accelerate earnings growth over the long term. Although Walmart appears to have many exciting catalysts, investors should look at the stock's valuation before pouring in.

... and the stock isn't cheap

WMT PE Ratio (Forward) Chart

WMT PE Ratio (Forward) data by YCharts

This chart illustrates the forward price-to-earnings (P/E) ratio, benchmarked against Costco Wholesale and Target. While Walmart's forward P/E of 24.6 is in the middle of its two peers, it's slightly higher than the S&P 500's forward P/E of 22.9.

One aspect that might be overlooked at the moment is Walmart's induction into the realm of the Dividend Kings. While that's encouraging, the bigger theme here is that Walmart has demonstrated it can consistently generate robust cash flow and use these funds to reward shareholders.

While the stock isn't a bargain, there are plenty of reasons to consider scooping up some shares, and dividend investors in particular may want to consider Walmart for their portfolio. Nevertheless, I see Walmart as a stock that's worth keeping on your radar. However, investors may be best-suited sitting on the sidelines at the moment and assessing the price action following the imminent stock split.