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 differences in the short term add up to massive divergence over decades. In the end, the biggest winners don't always deliver the fattest share-price returns.

Let's look at a well-known example. Home improvement retailer Home Depot (HD 0.74%) has been a fairly close proxy for the Dow Jones Industrial Average (^DJI 0.56%) over the years. An improving housing market has put some spring into Home Depot's step in 2012, and the stock has raced to new highs:

HD Chart

HD data by YCharts.

So far, so great. Home Depot beats its Dow peers in the long run and has absolutely crushed smaller rival Lowe's (LOW 0.63%), too. But you know what? You ain't seen nothin' yet. The plain share-price returns can't hold a halogen torch to reinvesting Home Depot's modest dividends along the way.

HD Total Return Price Chart

HD Total Return Price data by YCharts.

A generous 137% return suddenly turns into a fantastic 184% payout over 10 years, and all you have to do is set up an automatic DRIP plan. It's the easy way to juicing your wealth.

The stock's dividend yield may not look all that generous today, mainly due to the skyrocketing share prices. But Home Depot has a healthy habit of increasing the payouts whenever possible. Yields spiked in the mid-2000s, then the company took a break as the housing crisis unfolded. Now the company is back to annual increases.

HD Dividend Chart

HD Dividend data by YCharts.

Sure, you could play the resurgent home market by owning homebuilder giants Lennar (LEN -1.51%) or D. R. Horton (DHI -2.53%). Those stocks even have modest dividends to sweeten the deal.

But the homebuilders slashed their dividends in 2008 because they never had a plan B. They haven't increased their payouts since 2007. Home Depot weathered that storm unscathed and will almost certainly survive the next one as well. Could you say the same about Lennar? Didn't think so.