If you buy and hold a stock for many years, you'd hope to be making a profit. Better yet, you'd like to see the share price move up more than the market average. But RLI Corp. (NYSE:RLI) has fallen short of that second goal, with a share price rise of 65% over five years, which is below the market return. Zooming in, the stock is up a respectable 17% in the last year.

So let's investigate and see if the longer term performance of the company has been in line with the underlying business' progress.

View our latest analysis for RLI

To paraphrase Benjamin Graham: Over the short term the market is a voting machine, but over the long term it's a weighing machine. One imperfect but simple way to consider how the market perception of a company has shifted is to compare the change in the earnings per share (EPS) with the share price movement.

Over half a decade, RLI managed to grow its earnings per share at 21% a year. The EPS growth is more impressive than the yearly share price gain of 11% over the same period. So one could conclude that the broader market has become more cautious towards the stock.

The company's earnings per share (over time) is depicted in the image below (click to see the exact numbers). earnings-per-share-growth

This free interactive report on RLI's earnings, revenue and cash flow is a great place to start, if you want to investigate the stock further.

What About Dividends?

It is important to consider the total shareholder return, as well as the share price return, for any given stock. The TSR is a return calculation that accounts for the value of cash dividends (assuming that any dividend received was reinvested) and the calculated value of any discounted capital raisings and spin-offs. So for companies that pay a generous dividend, the TSR is often a lot higher than the share price return. In the case of RLI, it has a TSR of 92% for the last 5 years. That exceeds its share price return that we previously mentioned. This is largely a result of its dividend payments!

A Different Perspective

RLI shareholders are up 20% for the year (even including dividends). Unfortunately this falls short of the market return. The silver lining is that the gain was actually better than the average annual return of 14% per year over five year. This suggests the company might be improving over time. It's always interesting to track share price performance over the longer term. But to understand RLI better, we need to consider many other factors. Even so, be aware that  RLI is showing  2 warning signs in our investment analysis, and 1 of those shouldn't be ignored...



But note: RLI may not be the best stock to buy. So take a peek at this freelist of interesting companies with past earnings growth (and further growth forecast).

Please note, the market returns quoted in this article reflect the market weighted average returns of stocks that currently trade on American exchanges.

Have feedback on this article? Concerned about the content?Get in touch with us directly. Alternatively, email editorial-team (at) simplywallst.com.

This article by Simply Wall St is general in nature. We provide commentary based on historical data and analyst forecasts only using an unbiased methodology and our articles are not intended to be financial advice. It does not constitute a recommendation to buy or sell any stock, and does not take account of your objectives, or your financial situation. We aim to bring you long-term focused analysis driven by fundamental data. Note that our analysis may not factor in the latest price-sensitive company announcements or qualitative material. Simply Wall St has no position in any stocks mentioned.