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.