The wealth-building power of compound interest will never cease to amaze me. It's a story of patience and attention to detail, where small, short-term differences add up to massive divergence over decades. And in the end, the biggest winners don't always deliver the fattest share-price returns.

Soft-drink veteran Coca-Cola (KO 0.31%) most definitely fits that description. Sure, Coke stock has beaten its peers on the Dow Jones Industrial Average (^DJI -0.98%) over the last five years without accounting for dividend boosts, but those payouts make a huge difference in the magnitude of your winning returns.

KO Chart

KO data by YCharts.

Reinvesting Coke's dividend checks along the way would have turned a respectable 42% return into a market-crushing 66% jump. For those keeping score at home, that's a 54% higher return on your five-year investment. It's hard to say no to investment boosts like that, isn't it?

Cash flows through Coke's operations like its sugary syrup flows through a soda fountain. And the company is not shy about returning cash to shareholders. Coca-Cola increases its annual payouts like clockwork, and with a far heavier hand than sector rival PepsiCo (PEP -0.41%). That's the secret recipe for market-beating long-term returns.

KO Dividend Chart

KO Dividend data by YCharts.

Throw in the fact that it's been more than two years since Coke missed an earnings target, and it's easy to see why investing guru Warren Buffett loves this stock. Coke is the kind of share you can buy once and forget about entirely (except when the quarterly dividend checks roll in, of course). Then you can reap the rewards decades later -- and never lose any sleep over the business performance.