COST vs DG

Costco and Dollar General, both Consumer Defensive

Costco is the larger company at $445B against $29B. On trailing earnings DG is the cheaper of the two at a P/E of 17.2 against 48.3, a gap that is only a bargain if the two are growing at similar rates. Over the past year DG returned +29% against +8.8% for COST. The RyuScore puts DG ahead, 69 against 67 out of 100.

Costco and Dollar General compared on valuation, return and the RyuScore
FigureCOSTDG
Last close$1003$133
Market cap$445B$29B
Trailing P/Elower is cheaper for the same earnings, not automatically better48.317.2
Dividend yield0.5%1.8%
1-year return+8.8%+29%
5-year return+135%-32%
RyuScoresector-relative, 1–1067/10069/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.

Dollar General

Revenue of $11B in Q2 2026, net income $550M. Its largest reported line is Consumables, 82% of the disclosed total.

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