Build Your Comparison

Side-by-side financial analysis
WMT logo
WMT
COST logo
COST
Try popular comparisons:

Stock Comparison

WMT vs COST

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
WMT
Walmart Inc.

Discount Stores

Consumer DefensiveNYSE • US
Market Cap$891.48B
5Y Perf.+159.3%
COST
Costco Wholesale Corporation

Discount Stores

Consumer DefensiveNASDAQ • US
Market Cap$422.05B
5Y Perf.+192.3%

WMT vs COST — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
WMT logoWMT
COST logoCOST
IndustryDiscount StoresDiscount Stores
Market Cap$891.48B$422.05B
Revenue (TTM)$725.30B$293.59B
Net Income (TTM)$23.06B$8.84B
Gross Margin25.0%12.9%
Operating Margin4.2%3.8%
Forward P/E38.5x46.3x
Total Debt$67.09B$8.17B
Cash & Equiv.$10.73B$14.16B

WMT vs COSTLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

WMT
COST
StockJul 20Jul 26Return
Walmart Inc. (WMT)100259.3+159.3%
Costco Wholesale Co… (COST)100292.3+192.3%

Price return only. Dividends and distributions are not included.

Quick Verdict: WMT vs COST

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: COST leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Walmart Inc. is the stronger pick specifically for profitability and margin quality and dividend income and shareholder returns. As sector peers, any of these can serve as alternatives in the same allocation.
🥇COST emerged as the overall leader. Track its performance:
WMT
Walmart Inc.
The Income Pick

WMT is the clearest fit if your priority is income & stability and defensive.

  • Dividend streak 52 yrs, beta -0.03, yield 0.8%
  • Beta -0.03, yield 0.8%, current ratio 0.79x
  • 3.2% margin vs COST's 3.0%
Best for: income & stability and defensive
COST
Costco Wholesale Corporation
The Growth Play

COST carries the broadest edge in this set and is the clearest fit for growth exposure and long-term compounding.

  • Rev growth 8.2%, EPS growth 10.0%, 3Y rev CAGR 6.6%
  • 5.5% 10Y total return vs WMT's 390.1%
  • Lower volatility, beta -0.08, Low D/E 28.0%, current ratio 1.03x
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthCOST logoCOST8.2% revenue growth vs WMT's 4.7%
ValueCOST logoCOSTPEG 3.07 vs 3.50
Quality / MarginsWMT logoWMT3.2% margin vs COST's 3.0%
Stability / SafetyCOST logoCOSTLower D/E ratio (28.0% vs 63.2%)
DividendsWMT logoWMT0.8% yield, 52-year raise streak, vs COST's 0.5%
Momentum (1Y)WMT logoWMT+15.6% vs COST's -2.6%
Efficiency (ROA)COST logoCOST10.7% ROA vs WMT's 8.1%, ROIC 34.5% vs 14.4%

WMT vs COST — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

WMTWalmart Inc.
FY 2026
Walmart U S
68.4%$483.0B
Walmart International
18.5%$130.4B
Sams Club
13.2%$93.0B
COSTCostco Wholesale Corporation
FY 2025
Food and Sundries
39.8%$109.6B
Non-Foods
25.9%$71.2B
Other
18.6%$51.2B
Fresh Food
13.8%$38.0B
Membership
1.9%$5.3B

WMT vs COST — Financial Metrics

Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLWMTLAGGINGCOST

Income & Cash Flow (Last 12 Months)

WMT leads this category, winning 4 of 6 comparable metrics.

WMT is the larger business by revenue, generating $725.3B annually — 2.5x COST's $293.6B. Profitability is closely matched — net margins range from 3.2% (WMT) to 3.0% (COST). On growth, COST holds the edge at +11.6% YoY revenue growth, suggesting stronger near-term business momentum.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
RevenueTrailing 12 months$725.3B$293.6B
EBITDAEarnings before interest/tax$41.4B$13.8B
Net IncomeAfter-tax profit$23.1B$8.8B
Free Cash FlowCash after capex$12.6B$8.8B
Gross MarginGross profit ÷ Revenue+25.0%+12.9%
Operating MarginEBIT ÷ Revenue+4.2%+3.8%
Net MarginNet income ÷ Revenue+3.2%+3.0%
FCF MarginFCF ÷ Revenue+1.7%+3.0%
Rev. Growth (YoY)Latest quarter vs prior year+7.3%+11.6%
EPS Growth (YoY)Latest quarter vs prior year+19.6%+15.2%
WMT leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

WMT leads this category, winning 5 of 7 comparable metrics.

At 41.0x trailing earnings, WMT trades at a 22% valuation discount to COST's 52.3x P/E. Adjusting for growth (PEG ratio), COST offers better value at 3.46x vs WMT's 3.72x — a lower PEG means you pay less per unit of expected earnings growth.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
Market CapShares × price$891.5B$422.0B
Enterprise ValueMkt cap + debt − cash$947.8B$416.1B
Trailing P/EPrice ÷ TTM EPS40.97x52.26x
Forward P/EPrice ÷ next-FY EPS est.38.52x46.34x
PEG RatioP/E ÷ EPS growth rate3.72x3.46x
EV / EBITDAEnterprise value multiple21.53x32.48x
Price / SalesMarket cap ÷ Revenue1.25x1.53x
Price / BookPrice ÷ Book value/share8.45x14.51x
Price / FCFMarket cap ÷ FCF59.74x53.85x
WMT leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

COST leads this category, winning 9 of 9 comparable metrics.

COST delivers a 28.3% return on equity — every $100 of shareholder capital generates $28 in annual profit, vs $23 for WMT. COST carries lower financial leverage with a 0.28x debt-to-equity ratio, signaling a more conservative balance sheet compared to WMT's 0.63x. On the Piotroski fundamental quality scale (0–9), COST scores 7/9 vs WMT's 6/9, reflecting strong financial health.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
ROE (TTM)Return on equity+22.7%+28.3%
ROA (TTM)Return on assets+8.1%+10.7%
ROICReturn on invested capital+14.4%+34.5%
ROCEReturn on capital employed+17.5%+27.9%
Piotroski ScoreFundamental quality 0–967
Debt / EquityFinancial leverage0.63x0.28x
Net DebtTotal debt minus cash$56.4B-$6.0B
Cash & Equiv.Liquid assets$10.7B$14.2B
Total DebtShort + long-term debt$67.1B$8.2B
Interest CoverageEBIT ÷ Interest expense11.70x81.54x
COST leads this category, winning 9 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

WMT leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in WMT five years ago would be worth $24,835 today (with dividends reinvested), compared to $24,766 for COST. Over the past 12 months, WMT leads with a +15.6% total return vs COST's -2.6%. The 3-year compound annual growth rate (CAGR) favors WMT at 33.0% vs COST's 23.7% — a key indicator of consistent wealth creation.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
YTD ReturnYear-to-date-0.4%+11.7%
1-Year ReturnPast 12 months+15.6%-2.6%
3-Year ReturnCumulative with dividends+117.1%+81.3%
5-Year ReturnCumulative with dividends+148.3%+147.7%
10-Year ReturnCumulative with dividends+390.1%+555.0%
CAGR (3Y)Annualised 3-year return+33.0%+23.7%
WMT leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

COST leads this category, winning 2 of 2 comparable metrics.

COST is the less volatile stock with a -0.08 beta — it tends to amplify market swings less than WMT's -0.03 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. COST currently trades 86.8% from its 52-week high vs WMT's 82.7% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
Beta (5Y)Sensitivity to S&P 500-0.03x-0.08x
52-Week HighHighest price in past year$135.16$1096.50
52-Week LowLowest price in past year$94.23$846.80
% of 52W HighCurrent price vs 52-week peak+82.7%+86.8%
RSI (14)Momentum oscillator 0–10025.833.4
Avg Volume (50D)Average daily shares traded19.4M2.0M
COST leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

WMT leads this category, winning 2 of 2 comparable metrics.

Wall Street rates WMT as "Buy" and COST as "Buy". Consensus price targets imply 24.7% upside for WMT (target: $139) vs 16.7% for COST (target: $1111). For income investors, WMT offers the higher dividend yield at 0.84% vs COST's 0.52%.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$139.44$1110.75
# AnalystsCovering analysts6658
Dividend YieldAnnual dividend ÷ price+0.8%+0.5%
Dividend StreakConsecutive years of raises5222
Dividend / ShareAnnual DPS$0.94$4.91
Buyback YieldShare repurchases ÷ mkt cap+0.9%+0.2%
WMT leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

WMT leads in 4 of 6 categories (Income & Cash Flow, Valuation Metrics). COST leads in 2 (Profitability & Efficiency, Risk & Volatility).

Best OverallWalmart Inc. (WMT)Leads 4 of 6 categories

Custom Comparison: WMT vs COST

Compare on any lens — Growth, Value, Income, or pick from 130+ individual metrics.

View as:

WMT vs COST: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is WMT or COST a better buy right now?

For growth investors, Costco Wholesale Corporation (COST) is the stronger pick with 8.

2% revenue growth year-over-year, versus 4. 7% for Walmart Inc. (WMT). Walmart Inc. (WMT) offers the better valuation at 41. 0x trailing P/E (38. 5x forward), making it the more compelling value choice. Analysts rate Walmart Inc. (WMT) a "Buy" — based on 66 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — WMT or COST?

On trailing P/E, Walmart Inc.

(WMT) is the cheapest at 41. 0x versus Costco Wholesale Corporation at 52. 3x. On forward P/E, Walmart Inc. is actually cheaper at 38. 5x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Costco Wholesale Corporation wins at 3. 07x versus Walmart Inc. 's 3. 50x.

03

Which is the better long-term investment — WMT or COST?

Over the past 5 years, Walmart Inc.

(WMT) delivered a total return of +148. 3%, compared to +147. 7% for Costco Wholesale Corporation (COST). Over 10 years, the gap is even starker: COST returned +555. 0% versus WMT's +390. 1%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — WMT or COST?

By beta (market sensitivity over 5 years), Costco Wholesale Corporation (COST) is the lower-risk stock at -0.

08β versus Walmart Inc. 's -0. 03β — meaning WMT is approximately -67% more volatile than COST relative to the S&P 500. On balance sheet safety, Costco Wholesale Corporation (COST) carries a lower debt/equity ratio of 28% versus 63% for Walmart Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — WMT or COST?

By revenue growth (latest reported year), Costco Wholesale Corporation (COST) is pulling ahead at 8.

2% versus 4. 7% for Walmart Inc. (WMT). On earnings-per-share growth, the picture is similar: Walmart Inc. grew EPS 13. 3% year-over-year, compared to 10. 0% for Costco Wholesale Corporation. Over a 3-year CAGR, COST leads at 6. 6% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — WMT or COST?

Walmart Inc.

(WMT) is the more profitable company, earning 3. 1% net margin versus 2. 9% for Costco Wholesale Corporation — meaning it keeps 3. 1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: WMT leads at 4. 2% versus 3. 8% for COST. At the gross margin level — before operating expenses — WMT leads at 24. 9%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is WMT or COST more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, Costco Wholesale Corporation (COST) is the more undervalued stock at a PEG of 3. 07x versus Walmart Inc. 's 3. 50x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Walmart Inc. (WMT) trades at 38. 5x forward P/E versus 46. 3x for Costco Wholesale Corporation — 7. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for WMT: 24. 7% to $139. 44.

08

Which pays a better dividend — WMT or COST?

All stocks in this comparison pay dividends.

Walmart Inc. (WMT) offers the highest yield at 0. 8%, versus 0. 5% for Costco Wholesale Corporation (COST).

09

Is WMT or COST better for a retirement portfolio?

For long-horizon retirement investors, Costco Wholesale Corporation (COST) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β -0.

08), 0. 5% yield, +555. 0% 10Y return). Both have compounded well over 10 years (COST: +555. 0%, WMT: +390. 1%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between WMT and COST?

Both stocks operate in the Consumer Defensive sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Related Comparisons

Other popular comparisons that include one of these companies.