Whether you're a beginning investor or a near-retiree, the importance of purchasing stocks that pay dividends cannot be overstated. Not only do companies that have quarterly or annual payouts provide you with a steady stream of income, they also have the potential for capital appreciation. Simply put, dividend stocks can give your portfolio what almost no other investment can -- both income and growth.

At The Motley Fool, we're avid fans of dividends -- and not just because we like that steady stream of cash. Studies have shown that from 1972 to 2006, stocks in the S&P 500 that don't pay dividends have earned an average annual return of 4.1%; dividend stocks, however, have averaged a whopping 10.1% per year. That is an incredible difference -- one that you'd be crazy to not take advantage of!

But investing in dividends can be dangerous -- companies can cut, slash, or suspend dividends at any time, often without notice. Fortunately, there are several warnings signs that may alert you, and these red flags could be the crucial factor in determining whether a company is likely to continue paying its dividend. Today, let's drill beneath the surface and check out H.J. Heinz (NYSE: HNZ).

What's on the surface?
H.J. Heinz, which operates in the packaged foods and meats industry, currently pays a dividend of 3.8%. That's certainly nothing to sneeze at, as the average dividend payer in the S&P 500, in 2009, sported a yield of 2%.

But what's more important than the dividend itself is H.J. Heinz's ability to keep that cash rolling. The first thing to look at is the company's reported dividends versus its reported earnings. If you happen to see dividend payments that are growing faster than earnings per share, it may be an initial signal that something just isn't right. Check out the graph below for details of the past five years:


Clearly, there doesn't seem to be a problem, here. H.J. Heinz has been able to boost its earnings at an adequate pace and keep its dividends in check at the same time.

The more secure, the better
One of the most common metrics that investors use to judge the safety of a dividend is the payout ratio. This number tells you what percentage of net income is paid out to investors in the form of a dividend. Normally, anything above 50% is cause to look a bit further. According to the most recent data, HJ Heinz's payout ratio is 61.7%. While this payout ratio isn't necessarily outrageous, it would serve us well to dig a bit deeper. Let's take a look at H.J. Heinz's free cash flow to see if there are enough greenbacks to support that 61.7% payout ratio.

Free cash flow -- all the cash left over after subtracting out capital expenditures -- is used by firms to make acquisitions, develop new products, and of course, pay dividends! We can use a simple metric called the cash flow coverage ratio, which is cash per share divided by dividends per share. Normally, anything above 1.2 should make you feel comfortable; anything less, and you may have a problem on your hands. H.J. Heinz's coverage ratio is 1.84 -- which is more than enough cash on hand to keep pumping out that 3.8% yield. Barring any unforeseen circumstances, there really shouldn't be any major problems moving forward.

Either way, it's always beneficial to compare an investment with its most immediate competitors, so in the chart below, I've included the above metrics with that of H.J. Heinz's closest competitors. In addition, I've included the five-year dividend growth rate, which is also a very important indicator. If H.J. Heinz can illustrate that it has grown dividends over the past five years then there's a good chance that it will continue to put shareholders first in the future. Check out how H.J. Heinz stacks up below:

Company

Dividend

Yield

Payout

Ratio

Coverage Ratio

5-Year Compounded Dividend Growth Rate

H.J. Heinz

3.8%

61.7%

1.84

8.1%

General Mills (NYSE: GIS)

3.2%

42.1%

2.48

9.1%

Kellogg (NYSE: K)

3.2%

45.5%

2.08

8.2%

Campbell Soup (NYSE: CPB)

3%

44.9%

2.45

9.5%

ConAgra Foods (NYSE: CAG)

3.6%

47.8%

2.85

(6%)

The Foolish bottom line
Only you can decide what numbers you're comfortable with in the end; sometimes a higher yield and a higher reward mean additional risk. However, in this situation, H.J. Heinz's payout ratio seems to be above the peer average, which means if you're a prudent investor, you may want to look elsewhere for the most secure payment possible (not that Heinz seems in any immediate danger of suspending its dividend -- on the contrary, it looks quite safe). The bottom line, however, is to make sure that with anything -- whether it be a dividend, a share repurchase, or an ordinary earnings report -- you do your own due diligence. Looking at all of the numbers in the proper context is just the best place to start.