The worst result, after buying shares in a company (assuming no leverage), would be if you lose all the money you put in. But on the bright side, if you buy shares in a high quality company at the right price, you can gain well over 100%. One great example is Cognex Corporation ( NASDAQ:CGNX ) which saw its share price drive 227% higher over five years. Also pleasing for shareholders was the 39% gain in the last three months.
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, Cognex managed to grow its earnings per share at 27% a year. This EPS growth is remarkably close to the 27% average annual increase in the share price. Therefore one could conclude that sentiment towards the shares hasn't morphed very much. Rather, the share price has approximately tracked EPS growth.
The graphic below depicts how EPS has changed over time (unveil the exact values by clicking on the image).
It's probably worth noting that the CEO is paid less than the median at similar sized companies. It's always worth keeping an eye on CEO pay, but a more important question is whether the company will grow earnings throughout the years. Dive deeper into the earnings by checking this interactive graph of Cognex's earnings, revenue and cash flow .
What About Dividends?
As well as measuring the share price return, investors should also consider the total shareholder return (TSR). The TSR incorporates the value of any spin-offs or discounted capital raisings, along with any dividends, based on the assumption that the dividends are reinvested. Arguably, the TSR gives a more comprehensive picture of the return generated by a stock. As it happens, Cognex's TSR for the last 5 years was 234%, which exceeds the share price return mentioned earlier. This is largely a result of its dividend payments!
A Different Perspective
It's nice to see that Cognex shareholders have received a total shareholder return of 18% over the last year. That's including the dividend. However, the TSR over five years, coming in at 27% per year, is even more impressive. The pessimistic view would be that be that the stock has its best days behind it, but on the other hand the price might simply be moderating while the business itself continues to execute. Most investors take the time to check the data on insider transactions. You can click here to see if insiders have been buying or selling.
We will like Cognex better if we see some big insider buys. While we wait, check out this free list of growing companies with considerable, recent, insider buying.
Please note, the market returns quoted in this article reflect the market weighted average returns of stocks that currently trade on US exchanges.
We aim to bring you long-term focused research analysis driven by fundamental data. Note that our analysis may not factor in the latest price-sensitive company announcements or qualitative material.
If you spot an error that warrants correction, please contact the editor at email@example.com . This article by Simply Wall St is general in nature. It does not constitute a recommendation to buy or sell any stock, and does not take account of your objectives, or your financial situation. Simply Wall St has no position in the stocks mentioned. Thank you for reading.