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.
| Figure | COST | Both figures drawn to one scale | WMT |
|---|---|---|---|
| Last close | $1092 | $132 | |
| Market cap | $484B | $1.0T | |
| Trailing P/Eshare price over earnings per share | 52.6 | 47.8 | |
| Dividend yield | 0.5% | 0.7% | |
| Revenue growthlast twelve months on the year before | +10% | +6.2% | |
| Operating margin | 3.9% | 4.4% | |
| Net margin | 3.0% | 3.0% | |
| Free cash flow yield | 1.9% | 1.3% | |
| Net cashcash minus all debt | $15B | $39B net debt | |
| Insiders, 12 monthsopen-market Form 4 trades | sold $12M net | sold $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.