Back to Analysis

Walmart vs Costco: Which Retailer's Capital Allocation Wins From Here?

Both trade at premium multiples, but Walmart's advertising-driven margin expansion and accelerating dividend growth create a widening capital allocation advantage over Costco's consistency.

April 13, 2026
6 min read

Two Trillion-Dollar Retailers, Two Capital Allocation Philosophies

Walmart and Costco are both extraordinary businesses. They dominate US retail, they generate enormous cash flows, and their stocks have rewarded long-term shareholders handsomely. But they allocate capital in fundamentally different ways, and that difference matters more for forward returns than any near-term earnings comparison.

Walmart, at $1.01 trillion market capitalisation and 46x trailing earnings, is deploying capital aggressively into e-commerce fulfilment, advertising technology, and international expansion. The dividend yield is 0.73%, modest by historical standards, but the dividend growth rate has been accelerating as margins expand from the advertising and marketplace businesses.

Costco, at $443 billion and 52x trailing earnings, runs the leanest operation in retail. Margins are deliberately thin because the membership model captures profit upfront. Capital allocation is conservative: steady dividends, occasional special dividends, and minimal debt. The stock trades at a permanent premium because the membership renewal rate (over 93%) makes revenue as predictable as a subscription business.

The question for capital allocators is straightforward: which philosophy produces better risk-adjusted returns from here? We think Walmart wins, and the margin is wider than the market appreciates.

Walmart: The Transformation Story

Walmart's revenue trajectory tells a story of relentless scale. From $573 billion in fiscal 2022 to $713 billion in fiscal 2026, the company has added $140 billion in annual revenue in four years. That is the equivalent of adding an entire Target to the top line, every single year.

The more important story is margin expansion. Net income grew from $13.7 billion to $21.9 billion over the same period, a 60% increase on revenue growth of 24%. The wedge between revenue growth and profit growth is where the capital allocation thesis lives. Walmart's advertising business (Walmart Connect) now generates over $4 billion in annual revenue at margins estimated above 70%. The marketplace business, which allows third-party sellers to access Walmart's customer base, adds high-margin take-rate revenue without inventory risk.

These businesses did not exist at meaningful scale five years ago. Management's decision to invest heavily in e-commerce and advertising technology during 2020-2022, when the market punished the stock for compressed margins, is now producing returns that justify the 46x multiple. Historically, when a retailer successfully develops a high-margin platform business alongside its core operations, the multiple re-rates permanently. Amazon's trajectory from 2015 to 2020, when AWS transformed the investment case, is the closest parallel.

TickerXray Report

Run the full forensic analysis on Walmart

Get the complete Walmart 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

Walmart Revenue (USD Billions)

Costco: The Consistency Machine

Costco's appeal is simplicity. The company charges members $65 to $130 per year for access to a curated selection of bulk goods at near-cost prices. Membership fees, not product margins, are the profit engine. The membership renewal rate has remained above 93% for over a decade, making Costco's core profit stream as reliable as any subscription business in the S&P 500.

Revenue has grown from approximately $222 billion in fiscal 2022 to over $265 billion on a trailing basis. The growth is steady, driven by same-store sales increases of 5-7% annually and modest new warehouse openings. Net income has expanded from roughly $5.8 billion to $7.4 billion over the same period, maintaining the characteristically thin profit margin of approximately 2.8%.

The thin margin is not a weakness; it is the strategy. Costco deliberately sacrifices product margin to deliver value to members, which drives renewal rates, which drives the high-margin membership fee stream. The result is a business with remarkably stable economics regardless of the competitive environment. When Amazon entered grocery with Whole Foods in 2017, Costco's membership renewal rate did not flinch. When inflation surged in 2022, Costco's traffic grew because the value proposition strengthened relative to conventional retailers.

Costco Revenue (USD Billions)

Head-to-Head: Four Dimensions That Decide the Winner

Dimension one: margin trajectory. Walmart's operating margin has expanded from 4.0% to 4.6% over three years, driven by advertising and marketplace revenue. Costco's operating margin has remained flat at 3.5-3.7% by design. The gap is widening in Walmart's favour, and the advertising business has years of growth ahead. On margin trajectory, Walmart wins.

Dimension two: capital efficiency. Costco generates approximately $7.4 billion in net income on $443 billion of market capitalisation, a 1.67% return on market cap. Walmart generates $21.9 billion on $1.01 trillion, a 2.17% return. More interestingly, Walmart has been reinvesting at higher returns than its cost of capital through the e-commerce and advertising investments. Costco's return on invested capital is higher in absolute terms (roughly 20% versus Walmart's 15%), but Costco reinvests far less capital, which limits the compounding effect. On capital efficiency with a growth lens, Walmart wins.

Dimension three: valuation. Costco at 52x trailing earnings versus Walmart at 46x. Both are expensive by retail standards, but Walmart's earnings are growing faster (net income CAGR of approximately 12% versus Costco's 6%) with a higher ceiling from the advertising and marketplace optionality. On valuation relative to growth, Walmart wins.

Dimension four: downside protection. Costco's membership model provides a floor under earnings that Walmart cannot match. In a recession, Costco's membership fees are among the last expenses consumers cut. Walmart is more exposed to discretionary spending shifts and competitive pricing pressure. On downside protection, Costco wins.

Net Income Comparison (USD Billions)

The Dividend Angle

Both companies are dividend aristocrats, but their approaches differ materially. Walmart has increased its dividend for over 50 consecutive years. The current yield of 0.73% is low historically, but the payout is growing at 9-10% annually as earnings accelerate. At the current growth rate, the yield on a position initiated today would exceed 1.5% within five years.

Costco's regular dividend yield is even lower, around 0.5%. But Costco supplements its regular dividend with special dividends, most recently a $15 per share special dividend in January 2024. Including specials, the effective yield is higher, but the timing is unpredictable. Investors who depend on dividend income for portfolio construction prefer the predictability of Walmart's annual increases.

The news that triggered this comparison, a report noting Walmart's dividend is growing twice as fast as Costco's, understates the divergence. Walmart's dividend growth is accelerating because the advertising and marketplace profits provide incremental cash flow that does not need to be reinvested in the core retail operation. Costco's dividend growth is constrained by the thin-margin model; there is simply less profit available to distribute.

Across the past three retail cycles (2008-2010, 2015-2016, 2020), companies that combined accelerating dividend growth with earnings momentum outperformed pure dividend yield plays by 200-400 basis points annually. Walmart fits that profile today. Costco does not.

Walmart Wins on Three of Four Dimensions

Costco is an exceptional business. The membership model creates a moat that almost no competitor can breach, and the stock deserves a premium for that predictability. But at 52x trailing earnings with 6% earnings growth, the premium is fully priced.

Walmart, at 46x trailing earnings with 12% earnings growth and a high-margin advertising business that is still in its early innings, offers better risk-adjusted return potential. The analyst consensus of $136 (27 Strong Buys, 12 Buys) reflects broad conviction that the transformation is real. The dividend growth trajectory provides a compounding advantage that widens over time.

We would own Walmart over Costco from current prices, with a 12-month fair value estimate of $140 to $150. Costco remains a hold for existing shareholders, not a sell, because the membership moat provides genuine downside protection. But for new capital, the capital allocation framework at Walmart is producing superior returns, and the market has not yet fully priced in the advertising margin expansion that sits ahead.

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.