Back to Analysis

Costco vs Walmart: Which Retail Giant Deserves The Premium

Costco trades at 54 times trailing earnings against Walmart at 48 times. Both have delivered superior comparable sales. Both have invested heavily in supply chain. Only one of the two has membership economics that justify the multiple gap. This is our framework for picking.

May 15, 2026
10 min read

The Comparison That Matters

Costco and Walmart are the two highest-quality scaled retail franchises in the United States. Both have outperformed the consumer discretionary index over the trailing five years. Both have invested aggressively in digital, automation, and supply chain. Both have produced earnings consistency through the inflation cycle and the consumer trade-down dynamic that has compressed peers.

Costco trades at $1,005 per share, a market cap of $462 billion, a P/E of 54.1 times, and a dividend yield of 0.50 percent. Walmart trades at $132 per share, a market cap of $1,056 billion, a P/E of 48.5 times, and a dividend yield of 0.71 percent. The Valuation Desk framework comparison: at first glance, the multiples look similar. The structural differences in the underlying businesses justify a wider gap.

We are buyers of both. The relative call: Costco is the better risk-adjusted hold over the next 24 months because the membership renewal economics produce earnings durability that the market still under-values. Walmart is the better hold for capital appreciation through fiscal 2027 if the Walmart Connect advertising business reaches its 2028 run-rate ahead of schedule. The decision tree depends on which catalyst materialises first. Our base case has both contributing.

The Two Businesses Look Similar But Are Not

On the surface, Costco and Walmart compete for the same dollar in the consumer wallet. Both sell groceries. Both sell consumer products. Both have built private label programs that have taken margin from national brands. Both operate at scale that gives them buying power no smaller retailer can match.

Under the surface, the businesses are structurally different. Costco generates approximately 80 percent of total operating income from membership fees rather than merchandise margin. That structure means Costco is essentially a membership business with a retail distribution function attached. Walmart, by contrast, generates the vast majority of operating income from merchandise margin plus a fast-growing advertising business. The earnings quality across the two structures is therefore different.

Membership economics produce three structural advantages. First, membership fees are paid annually and produce recurring revenue with renewal rates above 90 percent for the executive tier. Second, members visit more frequently than non-members, which increases share of wallet and lowers customer acquisition cost. Third, the membership renewal cycle creates a price-anchored relationship that the consumer values, which gives Costco pricing power that pure-merchandise retailers do not have.

Walmart's advertising business, sold under the Walmart Connect banner, is the closest analogue Walmart has to a high-quality recurring revenue line. The advertising revenue base has scaled to approximately $4-5 billion at industry-leading take rates. The margin profile on advertising is meaningfully higher than the merchandise margin profile. That mix shift is doing real work on consolidated operating margin.

TickerXray Report

Run the full forensic analysis on Costco

Get the complete Costco report with all 12 quantitative models, AI-generated investment thesis, and real-time data.

12 forensic models
AI investment thesis
Manipulation detection
Expected return forecast

Costco Revenue by Year (USD Billions)

Walmart Has Scaled But With Heavy Capex

Walmart's fiscal 2026 revenue (year ended January 2026) reached $713 billion, an increase from $681 billion the prior year. That is more than 2.5 times Costco's revenue base. The growth rate has been similar in percentage terms, but the absolute scale is materially larger. The challenge for Walmart at this scale is finding incremental revenue without incremental capex.

Capital expenditure at Walmart has scaled materially in recent years. Fiscal 2026 capex of $26.6 billion is up from $20.6 billion in fiscal 2024. The capex investment is principally directed at supply chain automation, store remodelling, and ecommerce fulfilment capacity. The return profile on the capex spend is positive but modest. Each incremental dollar of capex produces approximately $0.30-0.50 of incremental operating income on a steady-state basis.

Free cash flow at Walmart finished fiscal 2026 at $14.9 billion, a meaningful recovery from the $12.7 billion of fiscal 2025. That recovery reflects both operating cash flow expansion and capex moderation in select areas. The free cash flow yield on Walmart's market cap of $1.056 trillion sits at approximately 1.4 percent, which is below the consumer staples average and reflects the multiple expansion of the past 18 months.

The Valuation Desk read on Walmart capex is that it is value-additive but at a rate that is now less attractive than it was three years ago. The most attractive capex returns have been booked. The next wave is more incremental.

Walmart Revenue by Year (USD Billions)

The Membership Economics Argument

The single structural advantage Costco has over Walmart is the membership economics. Costco's executive members pay $130 per year for a tier that includes 2 percent cash back plus a suite of additional benefits. Gold Star members pay $65 per year for basic access. The renewal rate for executive members exceeds 92 percent and has been remarkably stable across cycles.

The member count finished fiscal 2025 at approximately 80 million paid memberships covering approximately 140 million card holders. Membership fee revenue contributed approximately $5.0 billion in fiscal 2025, which flows largely to operating income at 100 percent contribution margin. That single revenue line accounts for approximately 50 percent of consolidated operating income.

The Valuation Desk framework values Costco's membership business separately from the merchandise business. The membership economics support a 25-30 times EBIT multiple given the recurring revenue profile and high renewal rates. The merchandise business supports a 15-18 times EBIT multiple consistent with high-quality retail. The blended valuation on the two-segment framework produces an implied fair value range of $980-1,080 per share, compared to today's $1,005. That puts Costco near fair value rather than overpriced.

Walmart's earnings stream does not have an equivalent structural advantage. The advertising business is high quality but contributes only approximately 3 percent of consolidated revenue. The membership analogue is Walmart+, which has scaled to approximately 25 million members but at a price point of $98 per year. The revenue contribution is approximately $2.5 billion, against $700+ billion of total revenue. The mix is much smaller relative to total earnings.

Costco Operating Income by Year (USD Billions)

The Walmart Advertising Argument

The bull case on Walmart is principally a bet on the advertising business reaching the run-rate that Amazon's advertising business has demonstrated is achievable at retail scale. Walmart Connect generated approximately $4.5 billion of advertising revenue in fiscal 2026. The growth rate has been 25-30 percent annually for the past three years. Management has guided to a $10-12 billion run-rate by fiscal 2028.

The operating margin on advertising revenue is approximately 60-70 percent contribution margin once fixed costs are absorbed. That margin profile is materially higher than the 4-5 percent operating margin on the merchandise business. Each incremental dollar of advertising revenue therefore contributes 6-10 times more to operating income than each incremental dollar of merchandise revenue.

The scale of the advertising opportunity matters for the equity. If Walmart Connect reaches the $10-12 billion run-rate, it would contribute approximately $6-8 billion of operating income at high margin. That single segment alone could add 25 percent to consolidated operating income from current levels. The multiple would re-rate to reflect the higher earnings quality.

The Valuation Desk view is that the advertising opportunity is real and the growth path is plausible. The risk is execution. Building an advertising sales force at scale, integrating ad placement across stores and ecommerce, and managing the trade-off between advertiser experience and member experience are operational challenges. Amazon has spent a decade getting it right. Walmart is approximately five years behind on the maturity curve.

Walmart Operating Income by Year (USD Billions)

The Capital Return Comparison

Costco's capital return framework is centred around special dividends. The franchise has paid five special dividends since 2012, including a $15 special dividend in early 2024. The regular dividend currently runs at $5.20 annualised, producing the 0.50 percent yield. The buyback program has been small in absolute dollar terms, averaging approximately $1 billion annually. Total capital return is therefore approximately $4-5 billion per year on average, with episodic special dividend events that contribute another $6-7 billion in some years.

Walmart returns capital through a more conventional combination of dividend and buyback. The current $0.94 annualised dividend produces a 0.71 percent yield. The buyback program has scaled to approximately $7-9 billion annually. Total capital return for fiscal 2026 was approximately $11 billion, or roughly 1.0 percent of market cap.

The Valuation Desk view on the capital return frameworks is that both are appropriate for the respective business models. Costco's framework reflects a board that prefers to maintain a fortress balance sheet and return excess cash through special dividends when accumulated cash exceeds the operational requirement. Walmart's framework reflects the larger, more diversified business that runs more leverage and more buyback in normal years.

Neither framework is currently producing a high enough yield to materially affect the equity case. Both equities are growth-and-quality rather than yield-and-value setups. The capital return is sustainable but not the primary driver of return.

The Cost Structure Difference

The two franchises operate at very different gross margin profiles. Costco's gross margin for fiscal 2025 was approximately 12.8 percent, which is intentionally compressed to deliver the lowest possible price to members. Walmart's gross margin for fiscal 2026 was approximately 24.9 percent, which reflects both the merchandise mix difference and the higher advertising revenue contribution.

The gross margin gap of approximately 12 percentage points might suggest that Costco is operationally inferior. The Valuation Desk read is the opposite. Costco's compressed gross margin is the product of a deliberate strategy to price merchandise just above cost and capture profit through the membership fee. The strategy is sustainable only because Costco operates at a higher SKU turnover rate than any other large retailer. Inventory turns at Costco exceed 12 times annually versus Walmart at approximately 8 times.

The higher inventory turn supports a lower gross margin requirement and lower working capital intensity. Costco can therefore operate profitably at gross margin levels that would bankrupt a conventional retailer. The franchise has built a business model that competitors structurally cannot replicate without either crushing their own gross margin or destroying member value.

This structural advantage is what justifies the multiple premium. Investors who frame the comparison through gross margin alone miss the underlying business model logic.

The Relative Multiple Question

Costco at 54.1 times trailing earnings and Walmart at 48.5 times trailing earnings. The gap is approximately 5.6 multiple points, or roughly 12 percent. The Valuation Desk view on whether the gap should be wider, narrower, or about right comes down to the relative quality of the earnings streams.

The argument for Costco at a wider premium: membership economics produce more recurring revenue, the renewal rate provides earnings visibility, the international growth runway is longer (Costco has approximately 900 warehouses globally against 11,000+ Walmart stores so the addressable expansion is meaningful), and the franchise has been more disciplined on pricing through the inflation cycle. A wider gap of 8-10 multiple points would be defensible.

The argument for Walmart at a narrower discount: the advertising business creates a higher-margin growth vector, the supply chain automation investment is producing operating leverage, the ecommerce penetration is now meaningful (approximately 18 percent of US revenue), and the international portfolio has been rationalised toward higher-return markets. A narrower gap of 3-5 multiple points would be defensible.

Our framework lands the gap at approximately 6-8 multiple points, which is close to the current 5.6 point gap. The implication is that both equities are near fair value on a relative basis and the absolute valuation question depends on whether you believe earnings can compound at 10 percent or higher annualised through the next cycle. We believe both can deliver that growth rate, which makes both names attractive long holds.

Historically, when high-quality scaled retailers have traded at 45-55 times trailing earnings, the next three-year total returns have averaged 8-12 percent annualised. The current setup matches that historical band. The total return potential is good but not exceptional.

Buy Both. Tilt To Costco On Relative Weakness.

The Valuation Desk recommendation is to own both Costco and Walmart in a quality retail allocation. Costco at $1,005 with a fair value range of $1,030-1,100. Walmart at $132 with a fair value range of $135-148. The relative tilt is to Costco at any 8-10 percent pullback because the membership economics are structurally underpriced by the market.

The catalyst on Costco to watch is the next membership fee increase, which historically has been implemented every five to six years. The most recent increase was in September 2024. The next one is therefore due in 2029-2030 under the historical pattern. Each fee increase has contributed approximately $300-500 million of incremental operating income at full member roll-through.

The catalyst on Walmart to watch is Walmart Connect advertising revenue scale. A $6 billion or higher run-rate by fiscal 2027 would confirm the bull case. A sub-$5 billion run-rate would suggest the growth is decelerating ahead of schedule. The reporting transparency on the segment is currently limited, which is itself an issue worth flagging.

We rate both as buys with conviction. The decision tree depends on time horizon and tolerance for episodic special dividend dynamics on Costco. Long-duration capital should weight Costco. Income-focused capital should weight Walmart slightly more.

TickerXray Reports

Forensic-grade stock analysis, powered by AI

Every report runs 12 quantitative models and generates an AI investment thesis. From Piotroski scores to manipulation detection -- get the full picture in seconds.

12 forensic models

Piotroski, Altman, Beneish, DuPont & more

AI investment thesis

Synthesized outlook on every stock

Manipulation detection

Spot red flags before they hit the news

150,000+ tickers

Global coverage across 60+ exchanges

Expected return

Forward return projections for every stock

Real-time data

Live prices, insider trades, news sentiment

Free accounts get 1 report per month. Pro gets unlimited.