# COST vs DG stock comparison

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

Costco Wholesale Corp (COST) and Dollar General Corp. (DG) compared on valuation, profitability, price performance and market sentiment. COST sentiment is neutral; DG is positive. Last analyzed Jul 13, 2026 and Jul 30, 2026.

## Side-by-side metrics

| Metric | COST | DG |
| --- | ---: | ---: |
| Last close | $916.25 | $128.68 |
| Market capitalization | $410.93B | $28.39B |
| Trailing P/E | 46.6 | 18.2 |
| Forward P/E | 40.9 | 16.1 |
| Net margin | 3.01% | 3.63% |

## Company context

- [COST](https://synoptiv.com/stock/COST): Costco Wholesale Corp — Consumer Defensive, Discount Stores.
- [DG](https://synoptiv.com/stock/DG): Dollar General Corp. — Consumer Defensive, Discount Stores.

## Frequently asked questions

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

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

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

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

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

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

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

DG has the higher indicated dividend yield. COST yields 0.64%, compared with 1.83% for DG.

## 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)
