COST vs HD: How Costco Wholesale and The Home Depot Compare (2026)

Last updated July 2026

Short answer

COST is the larger of the two ($430.88B market cap): the incumbent the market prices for continued execution (42.90x forward earnings, beta 0.87). HD is the smaller challenger ($338.78B), cheaper on forward earnings (21.11x): more room to run, but more to prove. The real question is which set of drivers you believe, and whether owning one (or both) leaves you over-concentrated.

COST vs HD: the tie-breaker metrics

Same yardstick, side by side (as of July 2026). Valuation lined up like this is most meaningful for two names in the same corner of the market, which these are. Figures are approximate; verify before investing.

MetricCOSTHDWhat it tells you
Market cap$430.88B$338.78BSize. The larger name is the incumbent; the smaller has more room to grow and more to prove.
Forward P/E42.9021.11Valuation on next year's expected earnings, the same yardstick for both. Lower is cheaper for that growth; higher means the market is paying up.
Trailing P/E48.8024.11Valuation on the last 12 months. A big drop from trailing to forward means the market expects earnings to jump, so more growth is already in the price.
Beta0.870.95Volatility vs the market. Above 1 swings harder than the index; below 1 is steadier. Higher beta means bigger drawdowns to hold through.
Price vs 52-week range51% of range37% of rangeWhere today's price sits between the 52-week low and high. Near the high is momentum with less margin of safety; near the low is out of favor or a discount, depending on why.
Price / book26.0624.42How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price.

Reading it: HD is the cheaper of the two on forward earnings, but cheaper is not the same as better. Pair the valuation with growth (how far the forward P/E sits below the trailing P/E) and risk (beta) before you decide.

Before you buy: how COST and HD affect your concentration

The metrics above tell you which is the marginally better business. The bigger risk for most people is not picking the slightly worse stock, it is over-concentrating. COST and HD share themes, so owning both, or adding either to what you already hold, can quietly push a large share of your portfolio into one bet.

This is the part a generic comparison page cannot answer, because it depends on what you own. Connect your brokerage and Walnut shows your real, combined COST and HD exposure, flags overlap with your existing positions, and tells you if adding one would tip you past a concentration you are comfortable with, read-only by default, with your login staying at your broker. Walnut is not an investment adviser.

What does Costco Wholesale (COST) do?

Costco Wholesale operates a membership-based warehouse club chain. Members pay an annual fee (currently $65 for basic Gold Star, $130 for Executive) for access to Costco warehouses, where they can buy products at lower markups than traditional retailers. Costco operates approximately 900 warehouses globally, with the largest concentration in the United States plus meaningful presence in Canada, Mexico, the UK, Japan, South Korea, Taiwan, Australia, and other markets.

Full COST guide

What does The Home Depot (HD) do?

The Home Depot, Inc. is the world's largest home improvement retailer, operating approximately 2,300 stores across the United States, Canada, and other locations in North America. The company sells building materials, home improvement products, lawn and garden supplies, and provides installation and tool-rental services to two main customer groups: do-it-yourself homeowners (DIY) and professional contractors (Pros). Revenue is generated almost entirely through retail store sales and, increasingly, through digital channels (online sales reached 15.9% of total revenue in fiscal 2025) and through its specialty trade distribution arm, SRS Distribution, which serves Pros directly with roofing, landscaping, pool supplies, and now drywall and steel framing products following the September 2025 acquisition of GMS Inc. The company earns a gross margin of roughly 33% and an operating margin in the low-to-mid teens, with strong free cash flow that funds a steadily growing dividend (156 consecutive quarterly payments as of early 2026) and periodic share repurchases.

Full HD guide

COST vs HD: how do they differ?

Both fit overlapping themes, but they are not interchangeable. The useful comparison is which set of drivers and risks you want exposure to.

  • COST drivers: Membership fee growth; International expansion.
  • HD drivers: Pro contractor ecosystem buildout; Pent-up housing demand and a potential mortgage rate cycle turn.

Which fits which kind of investor

A faster-growing, richer-valued name usually swings harder, so it suits a longer horizon and a higher tolerance for volatility; a steadier, more cash-generative business suits a more conservative or income-minded investor. The honest test is which set of risks you could hold through a drawdown: Costco's premium valuation embeds high expectations for continued same-store sales growth and margin expansion. For HD, the most direct risk is a prolonged freeze in the US housing market: low inventory, elevated mortgage rates, and high home prices have kept transaction volumes near multi-decade lows, directly suppressing demand for the large remodeling projects that drive Home Depot's highest-ticket sales.

COST or HD: which should you pick?

Growth-minded investors who believe the theme has years to run tend to accept the richer multiple for more upside; value-minded investors lean toward the cheaper forward earnings and steadier profile. Pick COST if you believe its drivers more; HD if you believe its. Many investors hold both, but since they share themes, that is a concentrated bet, not diversification. Decide deliberately and check overlap. For the full detail, see the COST and HD guides.

COST vs HD: the full fundamentals

COST. Costco trades at one of the highest P/E ratios in retail, reflecting the durable membership model, consistent same-store sales growth, and the long runway for international expansion. The premium is also driven by Costco being widely viewed as a quality compounder in retail. The valuation has compressed historically only during severe market drawdowns.

HD. Home Depot grew total revenue 3.2% in fiscal 2025, but most of that growth came from the SRS and GMS acquisitions rather than organic comparable-store performance, which was essentially flat at +0.3%. Profitability softened modestly as acquisition-related costs, higher debt service, and integration expenses weighed on margins and pushed ROIC down from 31.3% to approximately 25.7%. The stock's trailing P/E of roughly 23x sits near its 10-year historical average and above the peer group, reflecting investor confidence in the long-term Pro strategy but leaving limited cushion if the housing market remains depressed longer than expected.

Headline figures (approximate, early 2026): COST shows revenue (ttm) ~$260 billion, operating margin ~3.5% (low, by design; membership fees are the profit lever), net income (ttm) ~$7.5 billion, eps (ttm) ~$17.00; HD shows revenue (fiscal 2025, ended feb 1, 2026) ~$164.7 billion, net earnings (fiscal 2025) ~$14.2 billion, diluted eps (fiscal 2025) $14.23 (adjusted: $14.69), gross margin (fiscal 2026 guidance) ~33.1%.

The bottom line: COST vs HD

COST and HD are related but distinct: same themes, different businesses and risks. Neither wins in the abstract; the right pick is whichever thesis you actually believe, sized so you are not over-concentrated in one theme. Walnut can show your combined COST and HD exposure against your real portfolio. It is not an investment adviser.

Investing in Costco Wholesale with AI

Connect the broker you already use and ask Walnut's AI how COST fits what you actually hold: whether you own it already through a fund, what it would do to your concentration, and how it has tracked the S&P 500. Read-only by default, and you approve anything before it reaches your broker.

FAQ

What is the difference between COST and HD?

+

Costco Wholesale operates a membership-based warehouse club chain. The Home Depot, Inc. They show up together because they share investment themes, but they are different businesses, so the better fit depends on which thesis you are expressing.

Is COST or HD the better stock?

+

Neither is universally better. COST is the larger incumbent; HD is the smaller challenger and looks cheaper on forward earnings. Walnut is informational, not investment advice. Compare what each does, the tie-breaker metrics above, and the risks, then decide which fits your thesis and what you already own.

Which is cheaper, COST or HD?

+

On forward P/E (as of July 2026), COST trades at 42.90x and HD at 21.11x, so HD is the cheaper of the two on next year's expected earnings. A lower multiple is not automatically the better buy: a richer valuation can be justified by faster growth, and a lower one can reflect real risk. Weigh the multiple against how fast each business is compounding.

Should you own both COST and HD?

+

Because they share themes, owning both concentrates you in that theme. That can be intentional (a focused bet) or accidental (less diversification than it looks). Walnut can show your combined exposure across both, and whether adding either over-concentrates you, before you buy.

What are the risks of COST vs HD?

+

COST: Costco's premium valuation embeds high expectations for continued same-store sales growth and margin expansion. Any consumer slowdown or competitive pressure from BJ's, Sam's Club, or Amazon would compress the multiple. HD: The most direct risk is a prolonged freeze in the US housing market: low inventory, elevated mortgage rates, and high home prices have kept transaction volumes near multi-decade lows, directly suppressing demand for the large remodeling projects that drive Home Depot's highest-ticket sales. Tariffs on imported goods (a significant portion of Home Depot's product mix is sourced internationally) could compress margins or require price increases that dampen consumer demand, even as management has worked to diversify its supply chain. The SRS and GMS acquisitions added substantial long-term debt to the balance sheet and pushed ROIC down to approximately 25.7% from 31.3%, and integration execution risk remains elevated while buybacks are paused. Finally, the stock trades at a P/E of roughly 23x, a premium to the broader retail industry, which leaves limited margin for error if earnings guidance is revised lower.

Related comparisons

Browse all stock comparisons.

Walnut is informational, not investment advice. This page is descriptive and not a recommendation to buy or sell COST or HD; figures are approximate and dated (as of July 2026). Verify current data before investing.

    COST vs HD: How Costco Wholesale and The Home Depot Compare (2026), Walnut