DG vs WMT
Dollar General and Walmart, both Consumer Defensive
Walmart is the larger company at $933B against $25B. On trailing earnings DG is the cheaper of the two at a P/E of 17.4 against 36.6, a gap that is only a bargain if the two are growing at similar rates. Over the past year DG returned +9.9% against +1.9% for WMT. Ryufin's sector-relative Smart Score puts DG ahead, 9/10 against 6/10.
| Figure | DG | WMT |
|---|---|---|
| Last close | $123 | $104 |
| Market cap | $25B | $933B |
| Trailing P/Elower is cheaper for the same earnings, not automatically better | 17.4 | 36.6 |
| Dividend yield | 1.9% | 0.9% |
| 1-year return | +9.9% | +1.9% |
| 5-year return | -43% | +134% |
| Ryufin Smart Scoresector-relative, 1–10 | 9/10 | 6/10 |
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.
Dollar General
Revenue of $11B in Q2 2026, net income $550M. Its largest reported line is Consumables, 82% of the disclosed total.
Walmart
Revenue of $178B in Q1 2027, net income $5.3B. Its largest reported line is Grocery, 59% of the disclosed total.
Open these two in the interactive comparison to add more names, change the period or read the correlation.