Compare Stocks

2 / 10
Try these 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.

Specialty Retail

Consumer DefensiveNYSE • US
Market Cap$1.04T
5Y Perf.+214.6%
COST
Costco Wholesale Corporation

Discount Stores

Consumer DefensiveNASDAQ • US
Market Cap$450.51B
5Y Perf.+222.8%

WMT vs COST — Key Financials

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

Company Snapshot
WMT logoWMT
COST logoCOST
IndustrySpecialty RetailDiscount Stores
Market Cap$1.04T$450.51B
Revenue (TTM)$703.06B$286.26B
Net Income (TTM)$22.91B$8.55B
Gross Margin24.9%12.9%
Operating Margin4.1%3.8%
Forward P/E44.9x49.7x
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
StockMay 20May 26Return
Walmart Inc. (WMT)100314.6+214.6%
Costco Wholesale Co… (COST)100322.8+222.8%

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: WMT leads in 5 of 7 categories, making it the strongest pick for valuation and capital efficiency and profitability and margin quality. Costco Wholesale Corporation is the stronger pick specifically for growth and revenue expansion and operational efficiency and capital deployment. As sector peers, any of these can serve as alternatives in the same allocation.
WMT
Walmart Inc.
The Income Pick

WMT carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.

  • Dividend streak 37 yrs, beta 0.12, yield 0.7%
  • Lower volatility, beta 0.12, Low D/E 67.2%, current ratio 0.79x
  • Beta 0.12, yield 0.7%, current ratio 0.79x
Best for: income & stability and sleep-well-at-night
COST
Costco Wholesale Corporation
The Growth Play

COST is the clearest fit if your priority is growth exposure and long-term compounding.

  • Rev growth 8.2%, EPS growth 10.0%, 3Y rev CAGR 6.6%
  • 6.3% 10Y total return vs WMT's 5.2%
  • PEG 3.30 vs WMT's 4.08
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthCOST logoCOST8.2% revenue growth vs WMT's 4.7%
ValueWMT logoWMTLower P/E (44.9x vs 49.7x)
Quality / MarginsWMT logoWMT3.3% margin vs COST's 3.0%
Stability / SafetyWMT logoWMTBeta 0.12 vs COST's 0.13
DividendsWMT logoWMT0.7% yield, 37-year raise streak, vs COST's 0.5%
Momentum (1Y)WMT logoWMT+32.6% vs COST's +0.7%
Efficiency (ROA)COST logoCOST10.7% ROA vs WMT's 7.9%, ROIC 34.5% vs 14.7%

WMT vs COST — Revenue Breakdown by Segment

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

WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B
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 $703.1B annually — 2.5x COST's $286.3B. Profitability is closely matched — net margins range from 3.3% (WMT) to 3.0% (COST). On growth, COST holds the edge at +9.2% YoY revenue growth, suggesting stronger near-term business momentum.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
RevenueTrailing 12 months$703.1B$286.3B
EBITDAEarnings before interest/tax$42.8B$13.5B
Net IncomeAfter-tax profit$22.9B$8.5B
Free Cash FlowCash after capex$15.3B$9.1B
Gross MarginGross profit ÷ Revenue+24.9%+12.9%
Operating MarginEBIT ÷ Revenue+4.1%+3.8%
Net MarginNet income ÷ Revenue+3.3%+3.0%
FCF MarginFCF ÷ Revenue+2.2%+3.2%
Rev. Growth (YoY)Latest quarter vs prior year+5.8%+9.2%
EPS Growth (YoY)Latest quarter vs prior year+35.1%-2.1%
WMT leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

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

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

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
Market CapShares × price$1.04T$450.5B
Enterprise ValueMkt cap + debt − cash$1.10T$444.5B
Trailing P/EPrice ÷ TTM EPS47.91x55.82x
Forward P/EPrice ÷ next-FY EPS est.44.91x49.73x
PEG RatioP/E ÷ EPS growth rate4.35x3.70x
EV / EBITDAEnterprise value multiple24.96x34.70x
Price / SalesMarket cap ÷ Revenue1.46x1.64x
Price / BookPrice ÷ Book value/share10.50x15.50x
Price / FCFMarket cap ÷ FCF25.08x57.49x
WMT leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

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

COST delivers a 28.8% return on equity — every $100 of shareholder capital generates $29 in annual profit, vs $22 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.67x. 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.3%+28.8%
ROA (TTM)Return on assets+7.9%+10.7%
ROICReturn on invested capital+14.7%+34.5%
ROCEReturn on capital employed+17.5%+27.9%
Piotroski ScoreFundamental quality 0–967
Debt / EquityFinancial leverage0.67x0.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.85x77.52x
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 $28,774 today (with dividends reinvested), compared to $28,263 for COST. Over the past 12 months, WMT leads with a +32.6% total return vs COST's +0.7%. The 3-year compound annual growth rate (CAGR) favors WMT at 38.1% vs COST's 28.0% — a key indicator of consistent wealth creation.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
YTD ReturnYear-to-date+16.2%+19.3%
1-Year ReturnPast 12 months+32.6%+0.7%
3-Year ReturnCumulative with dividends+163.3%+109.6%
5-Year ReturnCumulative with dividends+187.7%+182.6%
10-Year ReturnCumulative with dividends+517.6%+631.6%
CAGR (3Y)Annualised 3-year return+38.1%+28.0%
WMT leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

WMT is the less volatile stock with a 0.12 beta — it tends to amplify market swings less than COST's 0.13 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricWMT logoWMTWalmart Inc.COST logoCOSTCostco Wholesale …
Beta (5Y)Sensitivity to S&P 5000.12x0.13x
52-Week HighHighest price in past year$134.69$1067.08
52-Week LowLowest price in past year$91.89$846.80
% of 52W HighCurrent price vs 52-week peak+97.1%+95.3%
RSI (14)Momentum oscillator 0–10057.156.0
Avg Volume (50D)Average daily shares traded17.5M1.6M
WMT 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 5.3% upside for COST (target: $1070) vs 4.8% for WMT (target: $137). For income investors, WMT offers the higher dividend yield at 0.72% vs COST's 0.48%.

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

WMT leads in 5 of 6 categories (Income & Cash Flow, Valuation Metrics). COST leads in 1 (Profitability & Efficiency).

Best OverallWalmart Inc. (WMT)Leads 5 of 6 categories
Loading custom metrics...

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 47. 9x trailing P/E (44. 9x forward), making it the more compelling value choice. Analysts rate Walmart Inc. (WMT) a "Buy" — based on 64 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 47. 9x versus Costco Wholesale Corporation at 55. 8x. On forward P/E, Walmart Inc. is actually cheaper at 44. 9x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Costco Wholesale Corporation wins at 3. 30x versus Walmart Inc. 's 4. 08x.

03

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

Over the past 5 years, Walmart Inc.

(WMT) delivered a total return of +187. 7%, compared to +182. 6% for Costco Wholesale Corporation (COST). Over 10 years, the gap is even starker: COST returned +631. 6% versus WMT's +517. 6%. 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), Walmart Inc.

(WMT) is the lower-risk stock at 0. 12β versus Costco Wholesale Corporation's 0. 13β — meaning COST is approximately 9% more volatile than WMT relative to the S&P 500. On balance sheet safety, Costco Wholesale Corporation (COST) carries a lower debt/equity ratio of 28% versus 67% 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. 30x versus Walmart Inc. 's 4. 08x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Walmart Inc. (WMT) trades at 44. 9x forward P/E versus 49. 7x for Costco Wholesale Corporation — 4. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for COST: 5. 3% to $1070. 00.

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. 7%, versus 0. 5% for Costco Wholesale Corporation (COST).

09

Is WMT or COST better for a retirement portfolio?

For long-horizon retirement investors, Walmart Inc.

(WMT) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 12), 0. 7% yield, +517. 6% 10Y return). Both have compounded well over 10 years (WMT: +517. 6%, COST: +631. 6%), 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.

WMT pays a dividend while COST does not, making them suitable for different income and tax situations. 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.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform both.

Stocks Like

WMT

Stable Dividend Mega-Cap

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Gross Margin > 14%
Run This Screen
Stocks Like

COST

Stable Dividend Mega-Cap

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Dividend Yield > 0.5%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform WMT and COST on the metrics below

Revenue Growth>
%
(WMT: 5.8% · COST: 9.2%)
Net Margin>
%
(WMT: 3.3% · COST: 3.0%)
P/E Ratio<
x
(WMT: 47.9x · COST: 55.8x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.