By Daniel Sparks – Mar 9, 2026 at 10:00PM EST
Key Points
-
Walmart’s e-commerce and high-margin advertising businesses are growing rapidly.
-
Costco continues to deliver exceptional comparable sales and membership metrics, demanding a premium valuation.
-
While both businesses are executing at a high level, one stock’s valuation and diversified revenue streams make it the better buy.
Walmart’s high-margin momentum
Walmart’s latest results do a good job of capturing the company’s current state. The results highlight a business that is steadily becoming more digital and more profitable.
In its fiscal fourth quarter (ended Jan. 31, 2026), Walmart’s revenue rose 5.6% year over year. And adjusted earnings per in the period came in at $0.74 — up more than 12% year over year. And Walmart U.S. comparable store sales increased 4.6%, driven by a healthy 2.6% increase in customer transactions. Sam’s Club — a membership-based wholesale retailer that is a Walmart subsidiary — also saw comparable sales growth in the U.S., rising 2.8%.
Expand

NASDAQ: WMT
Walmart
Today’s Change
(0.53%) $0.66
Current Price
$124.46
Key Data Points
Market Cap
$987B
Day’s Range
$122.51 – $124.50
52wk Range
$79.81 – $134.69
Volume
1.2M
Avg Vol
31M
Gross Margin
25.40%
Dividend Yield
0.76%
Further, Walmart’s global e-commerce sales surged 24% in the quarter, now representing a meaningful 23% of total net sales. And Walmart’s global advertising business jumped 37%.
This shift toward higher-margin revenue streams is already impacting the bottom line.
Operating income rose 10.8% in the quarter, outpacing top-line growth, with management explicitly calling out improved economics in e-commerce as one of the drivers of this outsize growth.
Looking ahead, management expects this trend to persist, guiding for fiscal 2027 constant-currency-adjusted operating income to grow 6% to 8% — a rate that meaningfully outpaces its projected 3.5% to 4.5% net sales growth.
Of course, buying into this growth story isn’t cheap. As of this writing, Walmart trades at about 44 times the midpoint of management’s fiscal 2027 adjusted earnings-per-guidance. At this valuation, the company must maintain strong comparable sales growth and continue expanding its margins not just for the next few years but for the next decade and beyond.
Costco’s steady execution
Costco is executing just as impressively, if not more so.
The membership-based warehouse retailer recently reported net sales of $68.2 billion for its fiscal second quarter (ended Feb. 15, 2026), up 9.1% year over year. When adjusted for changes in gasoline prices and foreign exchange, total company comparable sales rose 6.7% for the period.
This robust growth rate is a testament to the company’s incredibly loyal customer base and its recurring revenue stream from membership fees.
Highlighting the power of its recurring revenue engine, Costco’s membership fee income grew a stellar 13.6% year over year to $1.36 billion during fiscal Q2. This line item, however, benefited from a membership fee increase that the company rolled out in late 2024.
Expand

NASDAQ: COST
Costco Wholesale
Today’s Change
(0.80%) $7.95
Current Price
$1006.05
Key Data Points
Market Cap
$443B
Day’s Range
$988.00 – $1007.41
52wk Range
$844.06 – $1067.08
Volume
103K
Avg Vol
2.6M
Gross Margin
13.60%
Dividend Yield
0.52%
Even more encouraging is Costco’s recent digital momentum.
The retailer’s adjusted digitally enabled comparable sales soared 21.7% in fiscal Q2, and the momentum persisted with 20.8% adjusted digital sales growth in the retail month of February.
But the market is well aware of Costco’s consistently strong growth. This is why the stock currently trades at a staggering price-to-earnings ratio of about 54. A valuation this leaves essentially no room for error, requiring years of mid-single-digit comparable sales growth, a steadily expanding operating margin, and continued membership fee increases just to justify the current price.
Which stock is the better buy?
So, which stock is the better buy today?
Both companies are firing on all cylinders. But Walmart looks the slightly better choice for investors right now.
While both retailers command premium valuations, Walmart seems more deserving of its slightly lower premium valuation. I the company’s aggressive push into highly profitable alternative revenue streams — particularly its advertising business — giving it a clearer path to sustained margin expansion.
Costco is certainly ramping up its own digital efforts, and its recent e-commerce growth figures are promising.
But at 54 times earnings, Costco’s stock is priced for near perfection. Walmart’s valuation, while still demanding, offers a slightly more attractive setup given its increasingly diversified business and lower price-to-earnings ratio multiple.
Of course, I could be wrong, and Costco’s loyal membership base could continue to defy valuation concerns. But at these prices, I’d rather bet on Walmart’s evolving business model.
Read Next
•By William Dahl
Why It’s Time to Start Thinking of Walmart as a Tech Stock
•By Sean Williams
Move Over, AI Stocks: Wall Street Is ly to Welcome a New Member to the Trillion-Dollar Club in 2026
“If Walmart Is Under Pressure to Raise Prices, It’s Going to Have Broader Effects on the Economy.”
•By Daniel Sparks
Walmart vs. Target: Which Stock Is a Better Buy?
•By Keith Speights
$1.2 Trillion Generative AI Boom in 3 Industries: Here Are the Top Stocks to Buy
•By Neil Rozenbaum
4 Dividend Paying Stocks to Buy in August
About the Author
Daniel Sparks is a contributing Motley Fool stock market analyst covering technology, industrials, financials, and consumer goods. Daniel is the owner and chief investment officer of Sparks Capital Management. He holds a master’s degree in business administration from Colorado State University. The Globe and Mail profiled him and his investing philosophy in an article titled, “This stock picker is outperforming nearly everybody else. Here’s how he is doing it.”
Stocks Mentioned

Walmart
NASDAQ: WMT
$124.46
(+0.53%)+$0.66

Costco Wholesale
NASDAQ: COST
$1,006.05
(+0.80%)+$7.95
*Average returns of all recommendations since inception. Cost basis and return based on previous market day close.
Sumber Artikel:
Fool.com






