LemmaAnalysis
Login
Stock comparison · AMZN vs WMT

Amazon vs Walmart

The cloud-funded retailer against the grocery-anchored one — increasingly the same fight from opposite directions.

Segment operating incomeE-commerce growthInventory turnoverFree cash flow after capital spending
Free to start · No credit card

Amazon or Walmart?

AMZN and WMT are converging: one built retail and grew a cloud and advertising business on top, the other built stores and is bolting e-commerce, marketplace and advertising onto them. Both now earn a meaningful share of profit from something other than selling goods. The comparison comes down to where the profit actually originates and how much you are paying for the part that is not retail.

What each company does

AMZN

Amazon

Online retail and logistics at enormous scale, with AWS and advertising supplying most of the operating profit.

Strengths
  • AWS turns a thin-margin retailer into a high-margin business at the group level.
  • A logistics network that is now a competitive asset in its own right, sold to third-party sellers.
  • Retail media has become a large, high-margin advertising business bolted onto the marketplace.
Risks
  • Group results depend disproportionately on cloud, which is competitive and capital-hungry.
  • Retail itself operates on slim margins and heavy fixed costs that hurt when volumes slow.
WMT

Walmart

The largest physical retailer in the world, increasingly combining stores with e-commerce, marketplace and advertising.

Strengths
  • Grocery drives repeat traffic and holds up in a downturn better than discretionary retail.
  • Thousands of stores double as fulfilment nodes, shortening the last mile at a cost that would be prohibitive to build from scratch.
  • A growing advertising and marketplace business that improves group margins without adding much cost.
Risks
  • Retail margins are structurally thin, so small cost changes swing profit noticeably.
  • Heavy exposure to wage inflation across an enormous workforce.

Metrics that decide this comparison

Segment operating income

Group margins mislead in both cases. What matters is how much profit comes from cloud and advertising versus from selling goods — the mix, not the total.

E-commerce growth

The most direct head-to-head number available, and the one that shows whether the incumbent retailer is genuinely closing the gap online.

Inventory turnover

Retail is an operations business. Turnover shows who is converting shelf space into cash fastest, independent of how the story is told.

Free cash flow after capital spending

Both spend heavily — one on data centres, one on stores and automation. Cash left after that spending is the honest basis for comparing them.

How to choose between them

Separate the retailer from the rest

Neither is valued as a retailer. Look at what cloud and advertising contribute to each, and ask whether the remaining retail operation would justify anything close to the rest of the price.

Consider how each behaves in a downturn

Grocery-weighted retail is defensive; discretionary online retail and enterprise cloud budgets are not. The two businesses respond to a weak consumer in genuinely different ways.

Educational only — not investment advice.

Compare AMZN vs WMT in Lemma Analysis

An illustrative sample. The live tool pulls current fundamentals for both companies once you sign in.
01

Create a free account

Sign up in a moment — no credit card. The comparison tool is on the free plan.

02

Pick the two companies

Enter both tickers and get profile, valuation, growth, profitability, dividends and performance side by side, with the stronger value on each row highlighted.

03

Take the winner further

Open whichever name holds up for a DCF you control, then save it to a watchlist with a margin-of-safety target so it carries an undervalued / fair / rich signal.

FAQ

Is Amazon still a retailer or a cloud company?

By revenue it is mostly retail; by operating profit it leans heavily on AWS and advertising. That gap is the single most important thing to understand before comparing it with a conventional retailer on any margin metric.

Can Walmart compete with Amazon online?

Its e-commerce growth and use of stores as fulfilment points have narrowed the gap in convenience, particularly in grocery. Whether that translates into profit is best judged from segment margins and the advertising business rather than from growth rates alone.

Which is safer in a recession?

Grocery-weighted retail tends to hold up better than discretionary spending, but cloud revenue is contracted and reasonably resilient too. Compare the revenue mix directly rather than relying on the label.

Other comparisons

HD vs LOWKO vs PEPUPS vs FDXAll comparisons

Settle it with the numbers.

Free to start. No credit card.