Comprehensive Stock Comparison

Compare Amazon.com, Inc. (AMZN) vs Walmart Inc. (WMT) Stock

Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.

Tickers 2 / 10100+ Metrics

Selected Stocks

Add up to 10 tickers. Use presets or search to get started.

2 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthAMZN12.4% revenue growth vs WMT's 4.7%
ValueAMZNLower P/E (27.0x vs 43.8x), PEG 0.97 vs 3.98
Quality / MarginsAMZN10.8% net margin vs WMT's 3.3%
Stability / SafetyWMTBeta 0.53 vs AMZN's 1.31
DividendsWMT0.7% yield; 37-year raise streak; AMZN pays no meaningful dividend
Momentum (1Y)WMT+30.7% vs AMZN's -1.1%
Efficiency (ROA)AMZN9.5% ROA vs WMT's 7.9%, ROIC 14.7% vs 14.7%
Bottom line: AMZN leads in 4 of 7 categories, making it the stronger pick for investors who prioritize growth and revenue expansion and valuation and capital efficiency. Walmart Inc. is the better choice for capital preservation and lower volatility and dividend income and shareholder returns. They serve different portfolio roles — they are not true substitutes.

Who Each Stock Is For

Income & stability

Growth exposure

Long-term compounding (10Y)

Sleep-well-at-night portfolio

Valuation efficiency (growth/$)

Defensive / Recession hedge

Business Model

What each company does and how it makes money

AMZNAmazon.com, Inc.
Consumer Cyclical

Amazon is a global e-commerce and technology giant that operates online marketplaces, physical stores, and cloud computing services. It generates revenue primarily from online retail sales (~80% of total), Amazon Web Services cloud computing (~15%), and advertising/subscription services like Prime. Its key competitive advantage is an immense logistics network and data infrastructure moat—including AWS's dominant cloud position—that creates massive scale economies and ecosystem lock-in.

WMTWalmart Inc.
Consumer Defensive

Walmart is the world's largest retailer operating a vast network of physical stores and e-commerce platforms. It generates revenue primarily through retail sales — with Walmart U.S. contributing about 65% of total revenue, Walmart International around 20%, and Sam's Club membership warehouse clubs roughly 15%. Its key competitive advantage is massive scale and supply chain efficiency, enabling everyday low prices that competitors struggle to match.

Revenue Breakdown by Segment

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

AMZNAmazon.com, Inc.
FY 2024
Online Stores
38.7%$247.0B
Third-Party Seller Services
24.5%$156.1B
Amazon Web Services
16.9%$107.6B
Advertising Services
8.8%$56.2B
Subscription Services
7.0%$44.4B
Physical Stores
3.3%$21.2B
Other Services
0.9%$5.4B
WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B

Financial Metrics Comparison

Side-by-side fundamentals across 2 stocks. BestLagging

Financial Scorecard

AMZN 2WMT 2
Financial MetricsAMZN4/6 metrics
Valuation MetricsAMZN5/7 metrics
Profitability & EfficiencyTie4/8 metrics
Total ReturnsWMT5/6 metrics
Risk & VolatilityWMT2/2 metrics
Analyst Outlook0/0 metrics

AMZN leads in 2 of 6 categories (Financial Metrics, Valuation Metrics). WMT leads in 2 (Total Returns, Risk & Volatility). 1 tied.

Financial Metrics (TTM)

AMZN and WMT operate at a comparable scale, with $716.9B and $703.1B in trailing revenue. AMZN is the more profitable business, keeping 10.8% of every revenue dollar as net income compared to WMT's 3.3%. On growth, AMZN holds the edge at +13.6% YoY revenue growth, suggesting stronger near-term business momentum.

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
RevenueTrailing 12 months$716.9B$703.1B
EBITDAEarnings before interest/tax$126.3B$42.8B
Net IncomeAfter-tax profit$77.7B$22.9B
Free Cash FlowCash after capex$7.7B$15.3B
Gross MarginGross profit ÷ Revenue+50.3%+24.9%
Operating MarginEBIT ÷ Revenue+11.2%+4.1%
Net MarginNet income ÷ Revenue+10.8%+3.3%
FCF MarginFCF ÷ Revenue+1.1%+2.2%
Rev. Growth (YoY)Latest quarter vs prior year+13.6%+5.8%
EPS Growth (YoY)Latest quarter vs prior year+4.8%+35.1%
AMZN leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

At 29.3x trailing earnings, AMZN trades at a 38% valuation discount to WMT's 46.9x P/E. Adjusting for growth (PEG ratio), AMZN offers better value at 1.05x vs WMT's 4.26x — a lower PEG means you pay less per unit of expected earnings growth.

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
Market CapShares × price$2.25T$1.02T
Enterprise ValueMkt cap + debt − cash$2.32T$1.08T
Trailing P/EPrice ÷ TTM EPS29.29x46.87x
Forward P/EPrice ÷ next-FY EPS est.27.03x43.76x
PEG RatioP/E ÷ EPS growth rate1.05x4.26x
EV / EBITDAEnterprise value multiple18.38x24.44x
Price / SalesMarket cap ÷ Revenue3.14x1.43x
Price / BookPrice ÷ Book value/share5.55x10.27x
Price / FCFMarket cap ÷ FCF292.96x24.53x
AMZN leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

WMT delivers a 22.3% return on equity — every $100 of shareholder capital generates $22 in annual profit, vs $19 for AMZN. AMZN carries lower financial leverage with a 0.37x debt-to-equity ratio, signaling a more conservative balance sheet compared to WMT's 0.67x.

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
ROE (TTM)Return on equity+18.9%+22.3%
ROA (TTM)Return on assets+9.5%+7.9%
ROICReturn on invested capital+14.7%+14.7%
ROCEReturn on capital employed+15.3%+17.5%
Piotroski ScoreFundamental quality 0–966
Debt / EquityFinancial leverage0.37x0.67x
Net DebtTotal debt minus cash$66.2B$56.4B
Cash & Equiv.Liquid assets$86.8B$10.7B
Total DebtShort + long-term debt$153.0B$67.1B
Interest CoverageEBIT ÷ Interest expense42.78x11.85x
Evenly matched — AMZN and WMT each lead in 4 of 8 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in WMT five years ago would be worth $30,135 today (with dividends reinvested), compared to $13,349 for AMZN. Over the past 12 months, WMT leads with a +30.7% total return vs AMZN's -1.1%. The 3-year compound annual growth rate (CAGR) favors WMT at 40.2% vs AMZN's 30.6% — a key indicator of consistent wealth creation.

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
YTD ReturnYear-to-date-7.3%+13.5%
1-Year ReturnPast 12 months-1.1%+30.7%
3-Year ReturnCumulative with dividends+122.9%+175.4%
5-Year ReturnCumulative with dividends+33.5%+201.3%
10-Year ReturnCumulative with dividends+660.0%+512.5%
CAGR (3Y)Annualised 3-year return+30.6%+40.2%
WMT leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
Beta (5Y)Sensitivity to S&P 5001.31x0.53x
52-Week HighHighest price in past year$258.60$134.69
52-Week LowLowest price in past year$161.38$79.81
% of 52W HighCurrent price vs 52-week peak+81.2%+95.0%
RSI (14)Momentum oscillator 0–10039.949.9
Avg Volume (50D)Average daily shares traded40.7M29.5M
WMT leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Wall Street rates AMZN as "Buy" and WMT as "Buy". Consensus price targets imply 35.2% upside for AMZN (target: $284) vs 6.5% for WMT (target: $136). WMT is the only dividend payer here at 0.73% yield — a key consideration for income-focused portfolios.

MetricAMZNAmazon.com, Inc.WMTWalmart Inc.
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$283.97$136.31
# AnalystsCovering analysts9464
Dividend YieldAnnual dividend ÷ price+0.7%
Dividend StreakConsecutive years of raises37
Dividend / ShareAnnual DPS$0.94
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.8%
Insufficient data to determine a leader in this category.

Historical Charts

Charts are rendered on first load. Hover for details.

Chart 1Total Return — 5 Years (Rebased to 100)

StockMar 20Feb 26Change
Amazon.com, Inc. (AMZN)100248.68+148.7%
Walmart Inc. (WMT)100321.15+221.1%

Walmart Inc. (WMT) returned +201% over 5 years vs Amazon.com, Inc. (AMZN)'s +33%. A $10,000 investment in WMT 5 years ago would be worth $30,135 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20172026Change
Amazon.com, Inc. (AMZN)$177.9B$716.9B+303.1%
Walmart Inc. (WMT)$485.9B$713.2B+46.8%

Walmart Inc.'s revenue grew from $485.9B (2017) to $713.2B (2026) — a 4.4% CAGR.

Chart 3Net Margin Trend — 10 Years

Stock20172026Change
Amazon.com, Inc. (AMZN)1.7%10.8%+535.3%
Walmart Inc. (WMT)2.8%3.1%+9.3%

Walmart Inc.'s net margin went from 3% (2017) to 3% (2026).

Chart 4P/E Ratio History — 10 Years

Stock20172026Change
Amazon.com, Inc. (AMZN)188.632.2-82.9%
Walmart Inc. (WMT)22.546.9+108.4%

Amazon.com, Inc. has traded in a 32x–189x P/E range over 8 years; current trailing P/E is ~29x. Walmart Inc. has traded in a 23x–53x P/E range over 10 years; current trailing P/E is ~47x.

Chart 5EPS Growth — 10 Years

Stock20172026Change
Amazon.com, Inc. (AMZN)0.317.17+2212.9%
Walmart Inc. (WMT)1.462.73+87.0%

Walmart Inc.'s EPS grew from $1.46 (2017) to $2.73 (2026) — a 7% CAGR.

Chart 6Free Cash Flow — 5 Years

2022
$-17B
$11B
2023
$32B
$12B
2024
$33B
$15B
2025
$8B
$13B
2026
$42B
Amazon.com, Inc. (AMZN)Walmart Inc. (WMT)

Amazon.com, Inc. generated $8B FCF in 2025 (+152% vs 2021). Walmart Inc. generated $42B FCF in 2026 (+61% vs 2021).

Loading custom metrics...

AMZN vs WMT: Frequently Asked Questions

9 questions · data-driven answers · updated daily

01

Is AMZN or WMT a better buy right now?

Amazon.com, Inc. (AMZN) offers the better valuation at 29.3x trailing P/E (27.0x 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 — AMZN or WMT?

On trailing P/E, Amazon.com, Inc. (AMZN) is the cheapest at 29.3x versus Walmart Inc. at 46.9x. On forward P/E, Amazon.com, Inc. is actually cheaper at 27.0x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Amazon.com, Inc. wins at 0.97x versus Walmart Inc.'s 3.98x — a PEG below 1.0 traditionally signals the market is underpricing earnings growth.

03

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

Over the past 5 years, Walmart Inc. (WMT) delivered a total return of +201.3%, compared to +33.5% for Amazon.com, Inc. (AMZN). A $10,000 investment in WMT five years ago would be worth approximately $30K today (assuming dividends reinvested). Over 10 years, the gap is even starker: AMZN returned +660.0% versus WMT's +512.5%. 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 — AMZN or WMT?

By beta (market sensitivity over 5 years), Walmart Inc. (WMT) is the lower-risk stock at 0.53β versus Amazon.com, Inc.'s 1.31β — meaning AMZN is approximately 148% more volatile than WMT relative to the S&P 500. On balance sheet safety, Amazon.com, Inc. (AMZN) carries a lower debt/equity ratio of 37% versus 67% for Walmart Inc. — giving it more financial flexibility in a downturn.

05

Which has better profit margins — AMZN or WMT?

Amazon.com, Inc. (AMZN) is the more profitable company, earning 10.8% net margin versus 3.1% for Walmart Inc. — meaning it keeps 10.8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: AMZN leads at 11.2% 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.

06

Is AMZN 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, Amazon.com, Inc. (AMZN) is the more undervalued stock at a PEG of 0.97x versus Walmart Inc.'s 3.98x. A PEG below 1.0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Amazon.com, Inc. (AMZN) trades at 27.0x forward P/E versus 43.8x for Walmart Inc. — 16.7x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for AMZN: 35.2% to $283.97.

07

Which pays a better dividend — AMZN or WMT?

In this comparison, WMT (0.7% yield) pays a dividend. AMZN does not pay a meaningful dividend and should not be held primarily for income.

08

Is AMZN 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.53), 0.7% yield, +512.5% 10Y return). Both have compounded well over 10 years (WMT: +512.5%, AMZN: +660.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.

09

What are the main differences between AMZN and WMT?

These companies operate in different sectors (AMZN (Consumer Cyclical) and WMT (Consumer Defensive)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced. WMT pays a dividend while AMZN 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 beat both.

📊
Stocks Like

AMZN

Steady Growth Compounder

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

Better Than Both

Find stocks that beat AMZN and WMT on the metrics you choose

Revenue Growth>
%
(AMZN: 13.6% · WMT: 5.8%)
Net Margin>
%
(AMZN: 10.8% · WMT: 3.3%)
P/E Ratio<
x
(AMZN: 29.3x · WMT: 46.9x)