Home Depot (HD 0.86%) and Target (TGT -0.36%) are two of the largest retailers in the country, and yet investors have come to opposite judgments on the value of their respective businesses. The home-improvement retailer's stock has tripled over the last five years whereas Target's has dramatically underperformed the market.

Let's take a look at whether that stock price disparity might make Target a better buy over its far more successful retailing peer.

Two men in suits racing toward the finish line, with one raising his arms in victory.

Image source: Getty Images.

Home Depot vs. Target

Metric

Home Depot

Target

Market cap

$179 billion

$68 billion

Sales growth

5.6%

(0.5%)

Net profit margin

8.4%

3.9%

Dividend yield

2.4%

4.3%

Forward P/E

20

14

Sales growth is for existing locations. Profit margin is for the 2016 fiscal year. Data sources: Company financial filings and S&P Global Market Intelligence.

Operating trends

It's hard to overstate just how thoroughly Home Depot trounces Target on the key operating metrics that form a successful retailing business. Start with sales growth, where Home Depot recently beat management's expectations with a 5.6% gain in 2016 -- roughly the same as in the prior year. Sure, customer traffic gains slowed down to a 3% pace from 4%. But Home Depot more than made up for that decline by expanding into other business segments like professional contractors.

TGT Revenue (TTM) Chart

TGT Revenue (TTM) data by YCharts.

Target, in contrast, can't seem to find a way to drive customers to its shops. Comparable-store sales declined by less than 1% last year, dashing management's hopes for a flat result against 2015's 2% increase. Target's customer traffic fell 1%, too, reversing the prior year's slight uptick.

Home Depot is also far more profitable than its general retailing peer. The company produced $8 billion of net income last year, equating to over 8% of sales. Target's result was about half that percentage, and it endured a 1-percentage-point drop in gross profitability over the key holiday quarter as the company was forced to ramp up its clearance sales to keep inventory moving.

Given that Target sells commodity products like groceries, this might not be a fair comparison. But Home Depot also dominates its industry rivals. Lowe's (LOW 1.49%) net margin is stuck at the same mid-single-digit range as Target's.

Capital returns and valuation

The matchup isn't as clear-cut with respect to dividends, given that Target has Home Depot beat both on raw yield and dividend consistency. In fact, its over 4% payout makes the retailer one of the most generous on the market. Target has also increased its dividend in each of the last 45 years, which is a testament to the power of its business model. Home Depot, in contrast, had to pause dividend hikes during the worst of the housing crisis.

On the other hand, prospects look much brighter for dividend growth from Home Depot. Flush with operating cash, management's most recent raise was 29% -- compared to Target's 7%. CEO Craig Menear and his executive also boosted their target payout ratio to 55% of earnings from 50%. And, considering that Home Depot is targeting expanding profitability through 2018, that implies market-beating dividend growth at least through next year when the company is projected to pass $100 billion of annual sales.

As you might expect, there is a sharp valuation disparity between the two businesses right now. Investors today can purchase Target for about 14 times next year's earnings, compared to 20 for Home Depot and 18 for Lowe's. The gap is even more pronounced in terms of sales, where Home Depot is priced at almost twice its revenue, compared to 1.1 times for Lowe's and less than 0.5 times for Target.

In my view, Target still isn't a tempting buy, at least not unless the company can demonstrate that its business approach is still relevant with today's shoppers. A meaty 4% yield is the most attractive thing about this stock, but over the long run, investors are better off with a lower but faster-growing dividend that's attached to a highly successful business.