COST vs WMT: How Costco Wholesale and Walmart Compare (2026)

Last updated July 2026

Short answer

WMT is the larger of the two ($900.22B market cap): the incumbent the market prices for continued execution (34.47x forward earnings, beta 0.60). COST is the smaller challenger ($430.88B), actually pricier on forward earnings (42.90x): 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 WMT: 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.

MetricCOSTWMTWhat it tells you
Market cap$430.88B$900.22BSize. The larger name is the incumbent; the smaller has more room to grow and more to prove.
Forward P/E42.9034.47Valuation 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.8039.83Valuation 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.60Volatility 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 range45% 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.069.55How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price.

Reading it: WMT 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 WMT 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 WMT 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 WMT 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 Walmart (WMT) do?

Walmart is the largest retailer in the world by revenue and the biggest private employer in the United States. It runs more than 10,000 stores and clubs globally under the Walmart and Sam's Club banners, plus a large and fast-growing e-commerce and digital business. Its core proposition is everyday low prices on groceries and general merchandise, achieved through enormous purchasing scale and a highly efficient supply chain. Walmart makes most of its money from US grocery and general merchandise, but it is increasingly building higher-margin profit engines on top of that traffic: Walmart Connect (a retail advertising business), Walmart+ (a subscription membership), marketplace and fulfillment services for third-party sellers, and financial and health services. Roughly a quarter of revenue comes from outside the US, led by operations in Mexico (Walmex), China, and India (Flipkart). Headquartered in Bentonville, Arkansas, Walmart is a defensive, scale-driven retailer competing with Amazon, Costco, and Target.

Full WMT guide

COST vs WMT: 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.
  • WMT drivers: Advertising and high-margin profit pools; Omnichannel scale and grocery dominance.

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 WMT, walmart's core retail margins are thin, so it depends on enormous volume and on the new high-margin businesses scaling to lift profitability.

COST or WMT: 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; WMT 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 WMT guides.

COST vs WMT: 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.

WMT. Walmart trades at a historically high P/E for a retailer, reflecting the market's enthusiasm for its higher-margin advertising, marketplace, and membership businesses layered on a defensive grocery base. The thin core margin means earnings growth depends heavily on these new profit pools scaling. Walmart is valued as a quality, recession-resilient compounder rather than a pure low-margin retailer.

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; WMT shows revenue (ttm) ~$680 billion, operating margin ~4-4.5% (thin, by design), net income (ttm) ~$17-20 billion, eps (ttm) ~$2.30-2.60 adjusted.

The bottom line: COST vs WMT

COST and WMT 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 WMT 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 WMT?

+

Costco Wholesale operates a membership-based warehouse club chain. Walmart is the largest retailer in the world by revenue and the biggest private employer in the United States. 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 WMT the better stock?

+

Neither is universally better. WMT is the larger incumbent; COST is the smaller challenger and looks pricier 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 WMT?

+

On forward P/E (as of July 2026), COST trades at 42.90x and WMT at 34.47x, so WMT 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 WMT?

+

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 WMT?

+

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. WMT: Walmart's core retail margins are thin, so it depends on enormous volume and on the new high-margin businesses scaling to lift profitability. It competes directly with Amazon online and Costco in value, plus dollar stores and Target, in a low-margin, price-sensitive industry where any misstep on pricing or inventory hurts. Consumer-spending weakness, wage inflation, and supply-chain or tariff disruptions can pressure costs and demand, though Walmart's value positioning is somewhat defensive. The premium valuation it now carries (well above its historical multiple) embeds optimism about advertising and margin expansion, leaving little room for disappointment. International operations add currency and execution risk, and labor and regulatory issues are a persistent overhang for the largest US private employer.

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 WMT; figures are approximate and dated (as of July 2026). Verify current data before investing.

    COST vs WMT: How Costco Wholesale and Walmart Compare (2026), Walnut