# DG vs WMT stock comparison

Canonical page: https://synoptiv.com/compare/dg-vs-wmt
Last analyzed: DG Jul 30, 2026; WMT Jul 13, 2026

Dollar General Corp. (DG) and Walmart Inc. Common Stock (WMT) compared on valuation, profitability, price performance and market sentiment. DG sentiment is positive; WMT is neutral. Last analyzed Jul 30, 2026 and Jul 13, 2026.

## Side-by-side metrics

| Metric | DG | WMT |
| --- | ---: | ---: |
| Last close | $128.68 | $113.90 |
| Market capitalization | $28.39B | $914.3B |
| Trailing P/E | 18.2 | 40.5 |
| Forward P/E | 16.1 | 35 |
| Net margin | 3.63% | 3.14% |

## Company context

- [DG](https://synoptiv.com/stock/DG): Dollar General Corp. — Consumer Defensive, Discount Stores.
- [WMT](https://synoptiv.com/stock/WMT): Walmart Inc. Common Stock — Consumer Defensive, Discount Stores.

## Frequently asked questions

### Which has the higher market cap, DG or WMT?

WMT has the higher market capitalization. DG is about $28.39B, compared with about $914.3B for WMT.

### Which has the lower trailing P/E, DG or WMT?

DG has the lower trailing P/E. DG trades at 18.2 times trailing earnings, versus 40.5 for WMT.

### Which has stronger market sentiment, DG or WMT?

DG has the stronger composite sentiment score. DG scores 23 and WMT scores 6 on a −100 to +100 scale.

### Which pays the higher dividend yield, DG or WMT?

DG has the higher indicated dividend yield. DG yields 1.83%, compared with 0.87% for WMT.

## Important information

Market data can be delayed, incomplete, or wrong. This comparison is research and analysis, not financial advice.

- [Methodology](https://synoptiv.com/methodology)
- [Disclosures](https://synoptiv.com/disclosures)
