Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

M vs AMZN vs WMT vs SHOP

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

Live fundamentals10-year financials5-year price chart
M
Macy's, Inc.

Department Stores

Consumer CyclicalNYSE • US
Market Cap$5.50B
5Y Perf.+214.6%
AMZN
Amazon.com, Inc.

Specialty Retail

Consumer CyclicalNASDAQ • US
Market Cap$2.96T
5Y Perf.+10.7%
WMT
Walmart Inc.

Specialty Retail

Consumer DefensiveNYSE • US
Market Cap$1.04T
5Y Perf.+22.6%
SHOP
Shopify Inc.

Software - Application

TechnologyNASDAQ • CA
Market Cap$136.90B
5Y Perf.+39.1%

M vs AMZN vs WMT vs SHOP — Key Financials

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

Company Snapshot
M logoM
AMZN logoAMZN
WMT logoWMT
SHOP logoSHOP
IndustryDepartment StoresSpecialty RetailSpecialty RetailSoftware - Application
Market Cap$5.50B$2.96T$1.04T$136.90B
Revenue (TTM)$22.62B$742.78B$703.06B$12.37B
Net Income (TTM)$642M$90.80B$22.91B$1.33B
Gross Margin36.5%50.6%24.9%48.0%
Operating Margin4.6%11.5%4.1%13.3%
Forward P/E9.1x35.3x44.7x57.5x
Total Debt$5.20B$152.99B$67.09B$188M
Cash & Equiv.$1.25B$86.81B$10.73B$1.53B

M vs AMZN vs WMT vs SHOPLong-Term Stock Performance

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

M
AMZN
WMT
SHOP
StockMay 20May 26Return
Macy's, Inc. (M)100311.6+211.6%
Amazon.com, Inc. (AMZN)100225.1+125.1%
Walmart Inc. (WMT)100314.6+214.6%
Shopify Inc. (SHOP)100139.1+39.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: M vs AMZN vs WMT vs SHOP

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

Bottom line: M leads in 3 of 7 categories, making it the strongest pick for valuation and capital efficiency and dividend income and shareholder returns. Amazon.com, Inc. is the stronger pick specifically for profitability and margin quality and operational efficiency and capital deployment. WMT and SHOP also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
M
Macy's, Inc.
The Defensive Pick

M carries the broadest edge in this set and is the clearest fit for defensive.

  • Beta 1.42, yield 3.6%, current ratio 1.49x
  • Lower P/E (9.1x vs 57.5x)
  • 3.6% yield, 4-year raise streak, vs WMT's 0.7%, (2 stocks pay no dividend)
  • +78.8% vs SHOP's +12.4%
Best for: defensive
AMZN
Amazon.com, Inc.
The Growth Play

AMZN is the #2 pick in this set and the best alternative if growth exposure and long-term compounding is your priority.

  • Rev growth 12.4%, EPS growth 29.7%, 3Y rev CAGR 11.7%
  • 7.2% 10Y total return vs WMT's 5.0%
  • PEG 1.26 vs WMT's 4.06
  • 12.2% margin vs M's 2.8%
Best for: growth exposure and long-term compounding
WMT
Walmart Inc.
The Income Pick

WMT is the clearest fit if your priority is 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 vs SHOP's 2.64
Best for: income & stability and sleep-well-at-night
SHOP
Shopify Inc.
The Growth Leader

SHOP is the clearest fit if your priority is growth.

  • 30.1% revenue growth vs M's -1.7%
Best for: growth
See the full category breakdown
CategoryWinnerWhy
GrowthSHOP logoSHOP30.1% revenue growth vs M's -1.7%
ValueM logoMLower P/E (9.1x vs 57.5x)
Quality / MarginsAMZN logoAMZN12.2% margin vs M's 2.8%
Stability / SafetyWMT logoWMTBeta 0.12 vs SHOP's 2.64
DividendsM logoM3.6% yield, 4-year raise streak, vs WMT's 0.7%, (2 stocks pay no dividend)
Momentum (1Y)M logoM+78.8% vs SHOP's +12.4%
Efficiency (ROA)AMZN logoAMZN11.5% ROA vs M's 4.0%, ROIC 14.7% vs 8.7%

M vs AMZN vs WMT vs SHOP — Revenue Breakdown by Segment

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

MMacy's, Inc.
FY 2024
Women's Accessories, Shoes, Cosmetics and Fragrances
40.6%$9.3B
Womens Apparel
21.0%$4.8B
Mens And Kids
20.7%$4.8B
Home Other
14.7%$3.4B
Credit Card Revenues, Net
2.3%$537M
Macy's Media Network Revenue, Net
0.8%$176M
AMZNAmazon.com, Inc.
FY 2025
Online Stores
37.6%$269.3B
Third-Party Seller Services
24.0%$172.2B
Amazon Web Services
18.0%$128.7B
Advertising Services
9.6%$68.6B
Subscription Services
6.9%$49.6B
Physical Stores
3.1%$22.6B
Other Services
0.8%$5.9B
WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B
SHOPShopify Inc.
FY 2025
Service
76.2%$8.8B
Subscription and Circulation
23.8%$2.8B

M vs AMZN vs WMT vs SHOP — Financial Metrics

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

BEST OVERALLMLAGGINGSHOP

Income & Cash Flow (Last 12 Months)

Evenly matched — AMZN and SHOP each lead in 3 of 6 comparable metrics.

AMZN is the larger business by revenue, generating $742.8B annually — 60.1x SHOP's $12.4B. AMZN is the more profitable business, keeping 12.2% of every revenue dollar as net income compared to M's 2.8%. On growth, SHOP holds the edge at +34.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
RevenueTrailing 12 months$22.6B$742.8B$703.1B$12.4B
EBITDAEarnings before interest/tax$1.9B$155.9B$42.8B$1.7B
Net IncomeAfter-tax profit$642M$90.8B$22.9B$1.3B
Free Cash FlowCash after capex$1.1B-$2.5B$15.3B$1.7B
Gross MarginGross profit ÷ Revenue+36.5%+50.6%+24.9%+48.0%
Operating MarginEBIT ÷ Revenue+4.6%+11.5%+4.1%+13.3%
Net MarginNet income ÷ Revenue+2.8%+12.2%+3.3%+10.8%
FCF MarginFCF ÷ Revenue+4.7%-0.3%+2.2%+13.4%
Rev. Growth (YoY)Latest quarter vs prior year-1.1%+16.6%+5.8%+34.3%
EPS Growth (YoY)Latest quarter vs prior year+51.2%+74.8%+35.1%+15.1%
Evenly matched — AMZN and SHOP each lead in 3 of 6 comparable metrics.

Valuation Metrics

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

At 8.5x trailing earnings, M trades at a 92% valuation discount to SHOP's 112.2x P/E. Adjusting for growth (PEG ratio), AMZN offers better value at 1.37x vs WMT's 4.33x — a lower PEG means you pay less per unit of expected earnings growth.

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
Market CapShares × price$5.5B$2.96T$1.04T$136.9B
Enterprise ValueMkt cap + debt − cash$9.5B$3.02T$1.09T$135.6B
Trailing P/EPrice ÷ TTM EPS8.54x38.35x47.65x112.17x
Forward P/EPrice ÷ next-FY EPS est.9.06x35.26x44.67x57.48x
PEG RatioP/E ÷ EPS growth rate1.37x4.33x3.83x
EV / EBITDAEnterprise value multiple4.92x20.74x24.83x90.43x
Price / SalesMarket cap ÷ Revenue0.24x4.12x1.45x11.85x
Price / BookPrice ÷ Book value/share1.13x7.24x10.44x10.21x
Price / FCFMarket cap ÷ FCF5.21x384.26x24.94x68.21x
M leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

AMZN leads this category, winning 4 of 9 comparable metrics.

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

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
ROE (TTM)Return on equity+14.2%+23.3%+22.3%+10.5%
ROA (TTM)Return on assets+4.0%+11.5%+7.9%+9.0%
ROICReturn on invested capital+8.7%+14.7%+14.7%+9.4%
ROCEReturn on capital employed+8.7%+15.3%+17.5%+11.4%
Piotroski ScoreFundamental quality 0–97666
Debt / EquityFinancial leverage1.07x0.37x0.67x0.01x
Net DebtTotal debt minus cash$4.0B$66.2B$56.4B-$1.3B
Cash & Equiv.Liquid assets$1.2B$86.8B$10.7B$1.5B
Total DebtShort + long-term debt$5.2B$153.0B$67.1B$188M
Interest CoverageEBIT ÷ Interest expense10.62x39.96x11.85x
AMZN leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in WMT five years ago would be worth $28,531 today (with dividends reinvested), compared to $9,665 for SHOP. Over the past 12 months, M leads with a +78.8% total return vs SHOP's +12.4%. The 3-year compound annual growth rate (CAGR) favors WMT at 37.5% vs M's 13.3% — a key indicator of consistent wealth creation.

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
YTD ReturnYear-to-date-12.0%+21.4%+15.6%-32.9%
1-Year ReturnPast 12 months+78.8%+48.6%+33.0%+12.4%
3-Year ReturnCumulative with dividends+45.4%+159.8%+160.2%+63.8%
5-Year ReturnCumulative with dividends+32.9%+66.3%+185.3%-3.3%
10-Year ReturnCumulative with dividends-22.8%+715.9%+505.0%+3703.8%
CAGR (3Y)Annualised 3-year return+13.3%+37.5%+37.5%+17.9%
WMT leads this category, winning 3 of 6 comparable metrics.

Risk & Volatility

Evenly matched — AMZN and WMT each lead in 1 of 2 comparable metrics.

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

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
Beta (5Y)Sensitivity to S&P 5001.42x1.51x0.12x2.64x
52-Week HighHighest price in past year$24.41$278.56$134.69$182.19
52-Week LowLowest price in past year$10.54$183.85$91.89$88.14
% of 52W HighCurrent price vs 52-week peak+81.2%+98.7%+96.6%+57.9%
RSI (14)Momentum oscillator 0–10049.880.558.136.1
Avg Volume (50D)Average daily shares traded6.6M45.6M17.2M8.4M
Evenly matched — AMZN and WMT each lead in 1 of 2 comparable metrics.

Analyst Outlook

Evenly matched — M and WMT each lead in 1 of 2 comparable metrics.

Analyst consensus: M as "Hold", AMZN as "Buy", WMT as "Buy", SHOP as "Buy". Consensus price targets imply 56.3% upside for SHOP (target: $165) vs -3.1% for M (target: $19). For income investors, M offers the higher dividend yield at 3.59% vs WMT's 0.72%.

MetricM logoMMacy's, Inc.AMZN logoAMZNAmazon.com, Inc.WMT logoWMTWalmart Inc.SHOP logoSHOPShopify Inc.
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuy
Price TargetConsensus 12-month target$19.20$306.77$137.04$164.75
# AnalystsCovering analysts40946463
Dividend YieldAnnual dividend ÷ price+3.6%+0.7%
Dividend StreakConsecutive years of raises437
Dividend / ShareAnnual DPS$0.71$0.94
Buyback YieldShare repurchases ÷ mkt cap+4.5%0.0%+0.8%0.0%
Evenly matched — M and WMT each lead in 1 of 2 comparable metrics.
Key Takeaway

M leads in 1 of 6 categories (Valuation Metrics). AMZN leads in 1 (Profitability & Efficiency). 3 tied.

Best OverallMacy's, Inc. (M)Leads 1 of 6 categories
Loading custom metrics...

M vs AMZN vs WMT vs SHOP: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is M or AMZN or WMT or SHOP a better buy right now?

For growth investors, Shopify Inc.

(SHOP) is the stronger pick with 30. 1% revenue growth year-over-year, versus -1. 7% for Macy's, Inc. (M). Macy's, Inc. (M) offers the better valuation at 8. 5x trailing P/E (9. 1x forward), making it the more compelling value choice. Analysts rate Amazon. com, Inc. (AMZN) a "Buy" — based on 94 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 — M or AMZN or WMT or SHOP?

On trailing P/E, Macy's, Inc.

(M) is the cheapest at 8. 5x versus Shopify Inc. at 112. 2x. On forward P/E, Macy's, Inc. is actually cheaper at 9. 1x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Amazon. com, Inc. wins at 1. 26x versus Walmart Inc. 's 4. 06x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — M or AMZN or WMT or SHOP?

Over the past 5 years, Walmart Inc.

(WMT) delivered a total return of +185. 3%, compared to -3. 3% for Shopify Inc. (SHOP). Over 10 years, the gap is even starker: SHOP returned +37. 0% versus M's -22. 8%. 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 — M or AMZN or WMT or SHOP?

By beta (market sensitivity over 5 years), Walmart Inc.

(WMT) is the lower-risk stock at 0. 12β versus Shopify Inc. 's 2. 64β — meaning SHOP is approximately 2157% more volatile than WMT relative to the S&P 500. On balance sheet safety, Shopify Inc. (SHOP) carries a lower debt/equity ratio of 1% versus 107% for Macy's, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — M or AMZN or WMT or SHOP?

By revenue growth (latest reported year), Shopify Inc.

(SHOP) is pulling ahead at 30. 1% versus -1. 7% for Macy's, Inc. (M). On earnings-per-share growth, the picture is similar: Amazon. com, Inc. grew EPS 29. 7% year-over-year, compared to -39. 4% for Shopify Inc.. Over a 3-year CAGR, SHOP leads at 27. 3% 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 — M or AMZN or WMT or SHOP?

Amazon.

com, Inc. (AMZN) is the more profitable company, earning 10. 8% net margin versus 2. 8% for Macy's, Inc. — meaning it keeps 10. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: SHOP leads at 12. 7% versus 4. 2% for WMT. At the gross margin level — before operating expenses — AMZN leads at 50. 3%, 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 M or AMZN or WMT or SHOP 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, Amazon. com, Inc. (AMZN) is the more undervalued stock at a PEG of 1. 26x versus Walmart Inc. 's 4. 06x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, Macy's, Inc. (M) trades at 9. 1x forward P/E versus 57. 5x for Shopify Inc. — 48. 4x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for SHOP: 56. 3% to $164. 75.

08

Which pays a better dividend — M or AMZN or WMT or SHOP?

In this comparison, M (3.

6% yield), WMT (0. 7% yield) pay a dividend. AMZN, SHOP do not pay a meaningful dividend and should not be held primarily for income.

09

Is M or AMZN or WMT or SHOP 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, +505. 0% 10Y return). Shopify Inc. (SHOP) carries a higher beta of 2. 64 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (WMT: +505. 0%, SHOP: +37. 0%), 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 M and AMZN and WMT and SHOP?

These companies operate in different sectors (M (Consumer Cyclical) and AMZN (Consumer Cyclical) and WMT (Consumer Defensive) and SHOP (Technology)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: M is a small-cap deep-value stock; AMZN is a mega-cap quality compounder stock; WMT is a mega-cap quality compounder stock; SHOP is a mid-cap high-growth stock. M, WMT pay a dividend while AMZN, SHOP do 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 all of them.

Stocks Like

M

Income & Dividend Stock

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Gross Margin > 21%
  • Dividend Yield > 1.4%
Run This Screen
Stocks Like

AMZN

High-Growth Compounder

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Net Margin > 7%
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
Stocks Like

SHOP

High-Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 17%
  • Net Margin > 6%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform M and AMZN and WMT and SHOP on the metrics below

Revenue Growth>
%
(M: -1.1% · AMZN: 16.6%)
Net Margin>
%
(M: 2.8% · AMZN: 12.2%)
P/E Ratio<
x
(M: 8.5x · AMZN: 38.3x)

You Might Also Compare

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