Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

COST vs WMT

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

Live fundamentals10-year financials5-year price chart
COST
Costco Wholesale Corporation

Discount Stores

Consumer DefensiveNASDAQ • US
Market Cap$450.51B
5Y Perf.+229.5%
WMT
Walmart Inc.

Specialty Retail

Consumer DefensiveNYSE • US
Market Cap$1.04T
5Y Perf.+216.3%

COST vs WMT — Key Financials

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

Company Snapshot
COST logoCOST
WMT logoWMT
IndustryDiscount StoresSpecialty Retail
Market Cap$450.51B$1.04T
Revenue (TTM)$286.26B$703.06B
Net Income (TTM)$8.55B$22.91B
Gross Margin12.9%24.9%
Operating Margin3.8%4.1%
Forward P/E49.7x44.9x
Total Debt$8.17B$67.09B
Cash & Equiv.$14.16B$10.73B

COST vs WMTLong-Term Stock Performance

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

COST
WMT
StockMay 20May 26Return
Costco Wholesale Co… (COST)100329.5+229.5%
Walmart Inc. (WMT)100316.3+216.3%

Price return only. Dividends and distributions are not included.

Quick Verdict: COST vs WMT

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.
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%
  • Lower volatility, beta 0.13, Low D/E 28.0%, current ratio 1.03x
Best for: growth exposure and long-term compounding
WMT
Walmart Inc.
The Income Pick

WMT carries the broadest edge in this set and is the clearest fit for income & stability and defensive.

  • Dividend streak 37 yrs, beta 0.12, yield 0.7%
  • Beta 0.12, yield 0.7%, current ratio 0.79x
  • Lower P/E (44.9x vs 49.7x)
Best for: income & stability and defensive
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%

COST vs WMT — Revenue Breakdown by Segment

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

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
WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B

COST vs WMT — 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.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
RevenueTrailing 12 months$286.3B$703.1B
EBITDAEarnings before interest/tax$13.5B$42.8B
Net IncomeAfter-tax profit$8.5B$22.9B
Free Cash FlowCash after capex$9.1B$15.3B
Gross MarginGross profit ÷ Revenue+12.9%+24.9%
Operating MarginEBIT ÷ Revenue+3.8%+4.1%
Net MarginNet income ÷ Revenue+3.0%+3.3%
FCF MarginFCF ÷ Revenue+3.2%+2.2%
Rev. Growth (YoY)Latest quarter vs prior year+9.2%+5.8%
EPS Growth (YoY)Latest quarter vs prior year-2.1%+35.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.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
Market CapShares × price$450.5B$1.04T
Enterprise ValueMkt cap + debt − cash$444.5B$1.10T
Trailing P/EPrice ÷ TTM EPS55.82x47.91x
Forward P/EPrice ÷ next-FY EPS est.49.73x44.91x
PEG RatioP/E ÷ EPS growth rate3.70x4.35x
EV / EBITDAEnterprise value multiple34.70x24.96x
Price / SalesMarket cap ÷ Revenue1.64x1.46x
Price / BookPrice ÷ Book value/share15.50x10.50x
Price / FCFMarket cap ÷ FCF57.49x25.08x
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.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
ROE (TTM)Return on equity+28.8%+22.3%
ROA (TTM)Return on assets+10.7%+7.9%
ROICReturn on invested capital+34.5%+14.7%
ROCEReturn on capital employed+27.9%+17.5%
Piotroski ScoreFundamental quality 0–976
Debt / EquityFinancial leverage0.28x0.67x
Net DebtTotal debt minus cash-$6.0B$56.4B
Cash & Equiv.Liquid assets$14.2B$10.7B
Total DebtShort + long-term debt$8.2B$67.1B
Interest CoverageEBIT ÷ Interest expense77.52x11.85x
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.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
YTD ReturnYear-to-date+19.3%+16.2%
1-Year ReturnPast 12 months+0.7%+32.6%
3-Year ReturnCumulative with dividends+109.6%+163.3%
5-Year ReturnCumulative with dividends+182.6%+187.7%
10-Year ReturnCumulative with dividends+631.6%+517.6%
CAGR (3Y)Annualised 3-year return+28.0%+38.1%
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.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
Beta (5Y)Sensitivity to S&P 5000.13x0.12x
52-Week HighHighest price in past year$1067.08$134.69
52-Week LowLowest price in past year$846.80$91.89
% of 52W HighCurrent price vs 52-week peak+95.3%+97.1%
RSI (14)Momentum oscillator 0–10056.057.1
Avg Volume (50D)Average daily shares traded1.6M17.5M
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 COST as "Buy" and WMT 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%.

MetricCOST logoCOSTCostco Wholesale …WMT logoWMTWalmart Inc.
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$1070.00$137.04
# AnalystsCovering analysts5864
Dividend YieldAnnual dividend ÷ price+0.5%+0.7%
Dividend StreakConsecutive years of raises037
Dividend / ShareAnnual DPS$4.91$0.94
Buyback YieldShare repurchases ÷ mkt cap+0.2%+0.8%
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...

COST vs WMT: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is COST or WMT 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 Costco Wholesale Corporation (COST) a "Buy" — based on 58 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 — COST or WMT?

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 — COST or WMT?

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 — COST or WMT?

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 — COST or WMT?

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 — COST or WMT?

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 COST or WMT 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 — COST or WMT?

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 COST or WMT 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 COST and WMT?

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

COST

Stable Dividend Mega-Cap

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

WMT

Stable Dividend Mega-Cap

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

Beat Both

Find stocks that outperform COST and WMT on the metrics below

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

You Might Also Compare

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