TL;DR
- Costco's membership model is the deepest moat in retail. With 93% US/Canada renewal rates, $4.8B in annual membership fees at ~100% gross margin, and same-store sales compounding at 7–9% annually, the business functions more like a subscription company than a traditional retailer. At 50x NTM P/E, the stock is expensive by every historical standard — and it may still be worth it.
- Walmart's transformation from discount retailer to AI-powered omnichannel platform is the most underappreciated story in mega-cap equities. Walmart Connect (advertising) at $4.4B and 70%+ margins, Walmart Plus at 25–30M subscribers, and e-commerce at $100B+ GMV are reshaping the margin profile of a $680B revenue business.
- Target's fall from grace — down 30%+ from 2021 highs with same-store traffic declining — illustrates what happens when a retailer lacks either Costco's membership lock-in or Walmart's scale advantages. Not all discount retail is the same.
- Kirkland Signature, generating $75–80B in revenue, is the largest CPG brand in America and a self-reinforcing moat: it drives membership retention, improves margins, and cannot be replicated outside Costco's ecosystem.
- The market is pricing Costco for perfection and Walmart for steady-state. If Walmart's high-margin revenue streams scale as projected, the stock offers better risk-adjusted returns over the next 3 years despite the lower quality perception.
The Membership Moat: Why Costco's Business Model Breaks Retail Rules
Costco does not make money selling goods. That is not an exaggeration — it is the fundamental insight that most retail investors miss. In FY2024, Costco generated $254.2 billion in net sales and $7.9 billion in operating income, implying a merchandise operating margin of roughly 3.1%. Membership fees added $4.83 billion at effectively zero incremental cost. Strip out the membership revenue and Costco's merchandise business operates at a ~1.1% margin. The company could give away another 200 basis points of margin to undercut every competitor on price and still break even on operations.
This is the competitive moat that makes Costco nearly uninvestable for competitors. To match Costco's prices, you would need to accept sub-1% merchandise margins. To fund that, you would need a membership base of 130+ million cardholders paying $65–$130 annually. But you cannot build that membership base without first offering the price advantage. It is a chicken-and-egg problem that no competitor has solved in the 41 years since Costco opened its first warehouse.
Renewal Rates Tell the Story
The 93% US/Canada renewal rate is not just a number — it is the single most important KPI in retail. For context, Netflix's monthly churn rate of ~2.5% implies an annualized retention rate of roughly 74%. Amazon Prime retention is estimated at 93–95%. Costco matches the best subscription business on the planet despite requiring customers to physically drive to a warehouse, navigate a parking lot, and spend an average of $100+ per trip. When a physical experience retains customers as well as the most addictive digital products, something structurally powerful is happening.
The Executive Membership tier ($130/year vs. $65 for Gold Star) now represents over 46% of paid members and growing. Executive members spend approximately 2x more than Gold Star members, and their renewal rate exceeds 95%. The ongoing trade-up from Gold Star to Executive is a hidden growth driver: each conversion adds $65 in incremental annual revenue at 100% margin with minimal marketing spend.
Walmart's AI-Powered Reinvention: This Is Not Your Father's Discount Retailer
Walmart spends approximately $17 billion annually on technology, making it one of the ten largest tech investors globally. That number exceeds the total revenue of most enterprise software companies. The output of this investment is transforming Walmart from a low-margin discount retailer into a high-margin data and logistics platform that happens to sell groceries.
Three revenue streams are driving this transformation. Walmart Connect, the advertising business, generated approximately $4.4 billion in FY2025 revenue, growing 28% year-over-year. Advertising revenue carries estimated margins above 70% versus ~3.5% for core retail operations. Walmart Plus has reached an estimated 25–30 million subscribers at $98/year, building a Costco-like recurring revenue layer. And the fulfillment-as-a-service business (Walmart GoLocal and marketplace fulfillment) is monetizing the company's 4,700-store logistics network for third-party sellers.
The Margin Expansion Math
Here is what the market may be underappreciating. If Walmart Connect scales to $8–10B by FY2028 (roughly the trajectory Amazon Ads followed), it would add 60–80 basis points of blended operating margin. If Walmart Plus reaches 50M subscribers (plausible given Prime has 200M+), that is another $4.9B in high-margin recurring revenue. Combined with marketplace commission growth, these streams could lift Walmart's operating margin from ~4.2% today to 5.5–6.0% within four years — a 30–40% increase in operating profit on a $680B revenue base. That is $9–12 billion in incremental operating income at current revenue levels.
The Tale of the Tape: Costco vs. Walmart vs. Target vs. Amazon Retail
Numbers tell the story that narratives obscure. Here is how the four major players in US retail stack up on the metrics that actually matter for long-term revenue quality and growth durability:
| Metric | Costco | Walmart | Target | Amazon (Retail) |
|---|---|---|---|---|
| LTM Revenue | $254B | $680B | $107B | ~$250B (est.) |
| 5Y Revenue CAGR | 11.2% | 5.8% | 1.4% | ~9% |
| NTM P/E | ~50x | ~29x | ~14x | N/A (blended) |
| Operating Margin | 3.5% | 4.2% | 5.6% | ~2% (est.) |
| Membership/Sub Revenue | $4.8B | ~$2.7B (est.) | $0.8B (Circle) | ~$42B (Prime) |
| Same-Store Sales (LQ) | +7.1% | +4.6% | +0.7% | N/A |
| Private Label Penetration | ~31% | ~20% | ~18% | ~3% |
| ROIC (5Y Avg) | 22% | 15% | 13% | ~8% (retail) |
Target's story is a cautionary tale. Caught between Walmart's scale on everyday essentials and Costco's value proposition on bulk purchases, Target attempted to differentiate through discretionary merchandising and private-label fashion (Cat & Jack, Good & Gather). This worked brilliantly during the pandemic spending boom but collapsed when consumers reverted to value-first purchasing. At 14x NTM P/E, Target is priced for zero growth — and that may be exactly what it delivers.
Kirkland Signature: The $80 Billion Brand Nobody Manages
If Kirkland Signature were a standalone company, it would be among the ten largest CPG companies globally. Larger than Kellogg. Larger than Colgate-Palmolive. Approaching the scale of General Mills. And it accomplishes this with zero advertising spend, zero celebrity endorsements, and zero shelf placement fees. The brand is the warehouse. The warehouse is the brand.
Kirkland's expansion into premium categories has been one of the most underappreciated secular shifts in consumer goods. Kirkland Signature olive oil (produced by the same Italian mills supplying premium brands at half the price), Kirkland Irish Whiskey (distilled by an unnamed but well-known Irish distillery), and Kirkland Champagne (sourced from the same Champagne houses that supply prestige labels) have built a reputation that now extends Costco's moat into categories that were previously brand-impervious. The 200–400 bps gross margin advantage of private label over national brands means every percentage point of Kirkland penetration gain drops almost directly to the bottom line.
Walmart's Supply Chain as an AI Use Case
Walmart processes over 1 billion transactions per week across 10,500 stores in 19 countries. The data generated from these transactions — purchasing patterns, inventory velocity, demand forecasting signals, and price elasticity observations — is arguably the most valuable proprietary dataset in retail. Walmart is now applying machine learning to this dataset at scale.
The AI-driven supply chain manifests in several concrete ways. Demand forecasting models now predict store-level demand for 100,000+ SKUs with sufficient accuracy to reduce out-of-stock rates by an estimated 30%. Dynamic markdown optimization adjusts pricing on perishable goods based on real-time inventory levels, expiration dates, and historical demand curves, reducing food waste by an estimated 20–25% in pilot stores. Route optimization for the company's fleet of 10,000+ trucks (the second-largest private fleet in the US after UPS) has reduced fuel costs by an estimated 5–8%.
Quantifying the exact P&L impact of these AI applications is difficult, but sell-side estimates suggest $1.5–2.5 billion in annual cost savings once fully deployed across the network. At 4.2% operating margins, that represents a 5–8% uplift in operating income that is not yet reflected in consensus estimates.
Valuation: Is 50x Earnings for a Grocer Actually Rational?
Costco at 50x NTM P/E makes no sense if you view it as a grocery store. It makes complete sense if you view it as a subscription business with a physical fulfillment layer, 93% retention, and 7%+ organic revenue growth. The correct comp set is not Target and Kroger. It is Visa, MSCI, and S&P Global — businesses with similarly recurring, high-retention, inflation-protected revenue streams.
Run the math. If Costco grows EPS at 12% annually (conservative given the 14% five-year CAGR) and the multiple compresses from 50x to 40x over five years, total shareholder return is approximately 7% annualized. If the multiple holds at 50x — which it has for most of the past decade — the return matches EPS growth at 12%. The bear case is not a business deterioration; it is multiple compression in a rising rate environment where investors demand more yield from quality compounders.
Walmart at 29x presents a different setup. If the advertising and membership revenue streams scale as projected, NTM EPS growth could accelerate from the current 8–10% consensus to 12–14%. A re-rating from 29x to 33–35x (reflecting the higher-quality revenue mix) plus earnings growth delivers a 15–18% annualized return over three years. That is the bull case, and it requires execution on the tech transformation, not heroic assumptions.
The contrarian view: the market is overpaying for Costco's certainty and underpaying for Walmart's optionality. Both stocks are excellent businesses. But at current prices, Walmart offers better risk-adjusted forward returns because the market has not yet fully priced the margin expansion from advertising, membership, and marketplace growth.
Frequently Asked Questions
Why does Costco trade at such a high P/E multiple?
Costco trades at approximately 50x NTM P/E because the market assigns a premium to the most predictable, highest-quality revenue stream in retail. Membership fees generate roughly $4.8 billion annually at 93% renewal rates in the US and Canada, creating a recurring revenue base with near-zero marginal cost. The membership model inverts traditional retail economics: Costco effectively breaks even on merchandise (operating margins of 3.5%) and earns its profit from membership fees, which carry 100% gross margins. This makes Costco's earnings stream more similar to a subscription software company than a traditional retailer. Additionally, Costco's same-store sales have grown at a 7-9% CAGR over the past decade, driven by traffic growth (not just ticket inflation), which is exceedingly rare in physical retail. The valuation reflects the market's belief that Costco can sustain this compounding for another decade-plus, which membership renewal data and warehouse expansion plans support.
Is Walmart a growth stock or a value stock?
Walmart has become a rare hybrid: a mega-cap company with value-stock stability and growth-stock revenue diversification. Revenue is approximately $680 billion, but the growth narrative has shifted from US same-store sales (low single digits) to three high-growth verticals. First, Walmart Connect, the advertising business, grew 28% year-over-year to roughly $4.4 billion in FY2025 at estimated margins above 70%, making it one of the fastest-growing and most profitable ad platforms outside of Meta and Google. Second, Walmart Plus membership (estimated at 25-30 million subscribers) is building a Costco-like recurring revenue layer. Third, global e-commerce (over $100 billion GMV) continues taking share. On trailing metrics, Walmart looks like a value stock at 28-30x NTM P/E, but the margin expansion potential from mixing toward higher-margin revenue streams justifies a premium. The question is whether advertising and membership revenue can scale enough to meaningfully move margins at Walmart's enormous revenue base.
How does Costco's private label Kirkland Signature compare to national brands?
Kirkland Signature is the largest consumer packaged goods brand in the United States by revenue, generating an estimated $75-80 billion in annual sales. Kirkland products are priced 20-40% below comparable national brands while maintaining equivalent or superior quality, which is possible because Costco eliminates marketing costs, negotiates massive volume discounts, and accepts lower unit margins. Kirkland's penetration rate (percentage of total Costco sales) has grown from approximately 25% a decade ago to roughly 30-33% today. Every percentage point of Kirkland penetration gain is margin accretive because private label carries 200-400 basis points higher gross margins than national brands. Kirkland also functions as a membership retention tool: members who buy Kirkland products have higher renewal rates because they cannot purchase those products elsewhere. The brand has successfully expanded from commodities (paper towels, water) into premium categories (organic olive oil, Irish whiskey, wine) with strong consumer trust.
What is the biggest risk to Costco and Walmart's competitive moats?
The biggest structural risk is Amazon's continued expansion into everyday essentials and grocery. Amazon's Subscribe and Save program, one-day Prime delivery on household staples, and Whole Foods integration collectively represent the most credible competitive threat to the value retail model. Amazon can match on price and beat on convenience for many categories. However, both Costco and Walmart possess advantages that Amazon has struggled to replicate. Costco's treasure hunt experience and perishable grocery business drive in-store traffic that creates impulse purchases and emotional engagement no app can match. Walmart's 4,700 US stores function as a last-mile delivery network that Amazon is spending $100+ billion trying to replicate with fulfillment centers. The near-term risk is more mundane: consumer trade-down fatigue. If inflation-driven trade-down into Costco and Walmart reverses as consumer confidence improves, same-store sales comps could decelerate, compressing the premium multiples both stocks command.
Should investors own both Costco and Walmart, or choose one?
The answer depends on your portfolio construction goals and risk tolerance. Costco offers higher quality compounding with lower earnings volatility but at a significantly more expensive entry point (50x vs 28-30x NTM P/E). Walmart offers better valuation with more near-term earnings catalysts (advertising revenue scaling, international margin expansion, Walmart Plus growth) but carries more execution risk given the complexity of its business transformation. In a concentrated portfolio of 20-30 names, owning both creates sector overweight issues. In that context, Costco is the better single-stock pick for long-term compounders-only portfolios because the membership model is nearly impervious to disruption, while Walmart is superior for investors seeking multiple expansion potential from underappreciated revenue mix shift. For broader portfolios, owning both creates a retail barbell: Costco for predictability and Walmart for optionality. At current valuations, Walmart offers better risk-adjusted forward returns on a 3-year basis, but Costco has a higher probability of not disappointing.
Analyze Retail Moats with AI-Powered Research
DataToBrief generates institutional-quality competitive moat analyses in minutes — breaking down membership economics, same-store sales trends, private label penetration, and margin structures across the entire retail landscape. Stop guessing. Start analyzing.
This article is for informational purposes only and does not constitute investment advice. The opinions expressed are those of the authors and do not reflect the views of any affiliated organizations. Past performance is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before making investment decisions.