COST vs WMT

Costco and Walmart, both Consumer Defensive

Walmart is the larger company at $933B against $422B. On trailing earnings WMT is the cheaper of the two at a P/E of 40.2 against 51.7, a gap that is only a bargain if the two are growing at similar rates. Over the past year WMT returned +8.1% against -0.4% for COST. The RyuScore puts COST ahead, 67 against 65 out of 100.

Costco and Walmart compared on valuation, return and the RyuScore
FigureCOSTWMT
Last close$945$111
Market cap$422B$933B
Trailing P/Elower is cheaper for the same earnings, not automatically better51.740.2
Dividend yield0.5%0.9%
1-year return-0.4%+8.1%
5-year return+117%+145%
RyuScoresector-relative, 1–1067/10065/100

Figures from SEC filings and end-of-day closes. Highlighting marks the higher or lower number, which is not the same as the better investment, a low P/E can be a warning and a high one can be deserved.

Costco

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

Walmart

Revenue of $188B in Q2 2027, 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.