They are three of the biggest names among dividend investors. Coca-Cola (KO 0.34%), Procter & Gamble (PG -1.94%) , and PepsiCo (PEP 0.02%) have been offering investors dividend increases for a combined 162 consecutive years. That's the key to building dynastic wealth: the compounding power of dividend increases.

But between these three stalwarts, which is the better buy today? That's a question that many soon-to-be retirees may be asking themselves.

An elderly man thinking while holding part of his glasses between his lips

Surely, he's thinking about dividend stock choices. Image source: Getty Images

While there's no way to know the answer with 100% certainty, there are ways of breaking the question down into digestible pieces.

By looking at three key facets, you'll see which I believe is the best buy at today's prices.

Sustainable competitive advantage

In the investing world, there's nothing more important than a company's sustainable competitive advantage -- often referred to as a "moat." In its simplest sense, it is the thing that separates you from the competition, the thing that keeps customers coming back for more, week after week, and the thing that keeps your rivals at bay for decades.

All three of these companies rely upon the stable of their brands to supply a moat. The familiarity that consumers have with these brands breeds trust, and with that trust, these organizations have pricing power over their rivals. Here's a look at some of the most important brands at each company, and how much they are worth -- according to the most recent Forbes rating of brands.

Company

 Top 100 Brands

Combined Value

 Other Important Brands

Coca-Cola

Coca-Cola ($55 billion)

$55 billion

Fanta, Dasani, Sprite

PepsiCo

Pepsi ($18 billion)

Frito-Lay ($13 billion)

$31 billion

Gatorade, Quaker Oats, Aquafina

Procter & Gamble

Gillette ($19 billion)

Pampers ($12 billion)

$31 billion

Duracell, Oral-B, Tide

Data source: Forbes, company websites

While it may be a simplistic way of measuring a moat, Coke's brand value is by far the superior of the three -- especially on a worldwide level. Pepsi and Procter & Gamble are in a virtual tie for second place.

Winner = CocaCola

Runner-up = PepsiCo and Procter & Gamble 

Financial fortitude

Anyone who is putting a sizable portion of a retirement portfolio in these companies is likely doing so because of the aforementioned moats, and the sizable cash flows that they produce. That's why the dividends are such a draw.

But while it makes sense to want all of that cash to be paid out to you, it's not a wise stance in the long run. That's because every company, at one point or another, is going to face difficult economic times. Those that have cash on hand have options -- outspend rivals to gain market share, buy back shares on the cheap, or even make a splashy acquisition.

The bottom line is that over the decades, such companies -- and their investors -- can actually benefit from recessions; they drive out the weaker competition. Debt-heavy players are in the opposite boat. Their lack of leverage and cash flow make them more likely to be one of the "driven-out" than a survivor.

Keeping in mind that P&G is valued at a 45% premium to Pepsi and a 20% premium to Coke -- based on market capitalizations -- here's how the three stack up.

     Company

  Cash

  Debt

Net Income

 Free Cash Flow

Coca-Cola

$49 billion

$32 billion

$4.1 billion

$6.4 billion

PepsiCo

$19 billion

$31 billion

$6.8 billion

$6.5 billion

Procter & Gamble

$35 billion

$18 billion

$10 billion

$9.4 billion

Data source: SEC filings, Yahoo! Finance. Net income and free cash flow presented on trailing 12-month basis. Figures rounded to nearest billion. P&G net income backs out one-time benefit of $5.3 billion

None of these companies is in dire straits -- they all produce tons of cash flow.

But when it comes to balance sheet leverage, there are some clear winners -- and a loser. Pepsi has more debt than cash on hand, Coke doesn't, and Procter & Gamble has almost twice as much cash than debt.

Winner = P&G

Runner-up = Coca-Cola

Loser = PepsiCo

Valuation

And then we have the can of worms that is valuation. There's no one metric that can tell you just how expensive a stock is. Instead, I like to use a number of data points to get a more holistic picture.

Company

P/E

P/FCF

PEG Ratio

Dividend

FCF Payout

Coca-Cola

25

31

3.9

3.2%

97%

PepsiCo

23

25

3.0

2.8%

66%

Procter & Gamble

24

25

3.0

3.2%

77%

Data source: SEC filings, Yahoo! Finance, E*Trade, Nasdaq.com. P/E represents non-GAAP earnings.

There's no doubt that Coke has the least favorable valuation out of the three. Not only is it more expensive on all of the valuations, but the company is perilously close to having an unsustainable dividend.

Between Pepsi and Procter & Gamble, it's too close to call a winner. While Procter & Gamble has a higher yield, it also has a higher payout ratio -- meaning Pepsi may have slightly more room to grow its dividend.

Winner = PepsiCo and P&G

Loser = Coca-Cola

My winner is...

Combine all of these factors, and I have Procter & Gamble coming out as the best deal out of the three -- with a stellar balance sheet and a favorable valuation. PepsiCo comes in last, as its balance sheet is more leveraged and the value of its brands not as impressive as Coca-Cola -- which ends up right in the middle.