COST vs WMT

Costco and Walmart, both Consumer Defensive

Walmart is the larger company at $1.0T against $484B. On trailing earnings WMT has the lower P/E of the two, 47.8 against 52.6. WMT keeps 4 cents of operating profit from each dollar of sales against 4 for COST, and COST grew sales faster over the last year, +10% against +6.2%. Over the past year WMT returned +30% against +19% for COST.

Costco and Walmart compared on valuation multiples, growth, margins and return
FigureCOSTWMT
Last close$1092$132
Market cap$484B$1.0T
Trailing P/E52.647.8
Dividend yield0.5%0.7%
Revenue growth+10%+6.2%
Operating margin3.9%4.4%
Net margin3.0%3.0%
Free cash flow yield1.9%1.3%
Net cash$15B$39B net debt
Insiders, 12 monthssold $12M netsold $3.0B net
1-year return+19%+30%
5-year return+126%+181%

Figures from SEC filings and end-of-day closes. Highlighting marks the higher number in each row, nothing more.

Costco

Revenue of $96B in the quarter to Aug 30, 2026, net income $3.0B. Its largest reported line is Foods And Sundries, 38% of the disclosed total.

Walmart

Revenue of $188B in the quarter to Jul 31, 2026, net income $6.4B. Its largest reported line is Grocery, 57% of the disclosed total.

Open these two in the interactive comparison to add more names, change the period or see the correlation.