How do the two business models differ, and what does that mean for the two stocks? That is the question behind most comparisons of Walmart Inc. (Walmart, $WMT) and Costco Wholesale Corporation (Costco, $COST), two of the largest retailers in the United States.
Walmart earns its profit from scale across about 10,955 stores, a fast-growing e-commerce and advertising business and a smaller membership stream. Costco's membership fees equal about half its operating income, and it sells a narrow range in bulk at a gross margin of about 11%.
The numbers reflect that difference. Costco has grown faster over five years (revenue about 9.1% a year versus about 5.0% for Walmart, fiscal 2021 to fiscal 2026) and earns a higher return on assets (11.1% versus 8.2% in fiscal 2026). At the December 1, 2026 close, both shares traded near 50 times trailing earnings (Walmart 48.6, Costco 51.9).
The sections below put the two companies side by side on matched definitions: where the profit comes from, what a shopping trip looks like, how each has grown, how each stock is valued against its own history and how each returns cash. The figures describe reported results and do not rank the two stocks.
Key Takeaways
- Costco's membership fees of $5.9 billion equal about half (50.6%) of its operating income. At Walmart, membership fees equal about 14.8% of operating income.
- From fiscal 2021 to fiscal 2026, Costco's revenue grew about 9.1% a year and Walmart's about 5.0%. In fiscal 2026 Costco's return on assets was 11.1% and Walmart's was 8.2%.
- Operating margins on total revenue are close (4.2% at Walmart, 3.9% at Costco). The two gross margins are not like for like.
- At the December 1, 2026 close, Walmart traded at 48.6 times trailing earnings and Costco at 51.9. Each is above its own five-year average (35.1 and 46.0).
- Walmart returns cash mainly through a rising regular dividend and large share repurchases. Costco uses a smaller regular dividend and occasional special dividends.
Walmart vs Costco at a Glance
The two fiscal years do not line up. Walmart's fiscal year ends January 31, so its fiscal 2026 ran from February 1, 2025 to January 31, 2026. It reported the year on February 19, 2026.
Costco's year ends on the Sunday nearest August 31. Its fiscal 2026 covered the 52 weeks ended August 30, 2026 and was reported on September 24, 2026.
The annual tables compare each company's own fiscal 2026, so the two years end about seven months apart. The valuation section uses the latest four reported quarters instead: Walmart to October 31, 2026 and Costco to August 30, 2026.
| Measure | Walmart (year to Jan 31, 2026) | Costco (year to Aug 30, 2026) |
|---|---|---|
| Total revenue | $713.2B | $303.2B |
| Revenue growth | 4.7% | 10.1% |
| Membership fee revenue | $4.4B | $5.9B |
| Membership fees as a share of operating income | 14.8% | 50.6% |
| Gross margin (share of net sales) | 24.2% | 11.1% |
| Operating income | $29.8B | $11.7B |
| Operating margin (share of total revenue) | 4.2% | 3.9% |
| Net income | $21.9B | $9.2B |
| Diluted EPS | $2.73 | $20.76 |
| Return on assets | 8.2% | 11.1% |
| Free cash flow | $14.9B | $9.4B |
The gross margins are not like for like: Costco's excludes membership fees, and the two companies sell a different mix of goods. Operating margin on total revenue is the comparable line.
On that comparable line the two are close: 4.2% at Walmart and 3.9% at Costco. The bigger gaps are in scale and in returns. Walmart's total revenue was about 2.35 times Costco's in fiscal 2026, while Costco earned more net income per dollar of assets.
These terms come up throughout the comparison:
- Total revenue is everything a company books: net sales of merchandise plus membership fees and other income.
- Membership fee revenue is the annual fees members pay to shop or to get extra benefits.
- Comparable sales measure growth at stores and linked digital channels that have been open long enough to compare with a year earlier.
- Gross margin is net sales minus the cost of the goods, as a share of net sales. Operating margin is operating income as a share of total revenue.
- Return on assets (ROA) is net income divided by average total assets.
- Diluted EPS is net income per share. It counts the extra shares that options and similar awards could add.
- The price-to-earnings ratio (P/E) is the share price divided by EPS. Trailing twelve months means the latest four reported quarters.
- Free cash flow is operating cash flow minus capital expenditure.
- A special dividend is a one-off payment on top of the regular dividend. A fiscal year is the company's own reporting year.
Where the Profit Comes From
Costco: Membership Fees on Top of Thin Merchandise Margins
Costco's membership fees of $5.907 billion in fiscal 2026 were about 1.9% of total revenue. The same fees equal about half (50.6%) of operating income of $11.685 billion.
The merchandise side works on narrow margins. Costco sold goods at a gross margin of 11.09% of net sales, and selling, general and administrative expenses took 9.15% of net sales. Operating margin came to 3.85% of total revenue.
The membership base behind the fees, at the end of fiscal 2026:
- 84.1 million paid members, 42.3 million of them Executive members
- a renewal rate of 92.3% in the U.S. and Canada and 89.8% worldwide
- a U.S. Gold Star fee of $65 a year
Walmart: Volume, Segments and Newer Income Lines
Membership plays a smaller part at Walmart. Its membership fee revenue was $4.4 billion in fiscal 2026, up from $3.1 billion in fiscal 2024 and $3.8 billion in fiscal 2025. That equals about 14.8% of operating income of $29.825 billion.
The fees come from Sam's Club (Club at $50 a year, Plus at $110 a year) and from Walmart+. In the third quarter of fiscal 2027, Walmart launched a U.S. bundle combining Walmart+ and Sam's Club Plus for $120 a year.
Advertising is the other newer line. Walmart's global advertising business grew 46% to nearly $6.4 billion in fiscal 2026, including VIZIO. Advertising does not appear as a separate revenue line: it is recorded in net sales or as a reduction of cost of sales.
Walmart's three segments in fiscal 2026:
- Walmart U.S.: net sales of $483.0 billion and operating income of $25.2 billion
- Walmart International: $130.4 billion and $5.1 billion
- Sam's Club U.S.: $93.0 billion and $2.4 billion
For the group as a whole, the gross profit rate was 24.2% of net sales and operating expenses were 20.9%. Put simply, Costco's model depends on members renewing. Walmart's depends on volume across a much larger store base and on newer income lines such as advertising.
The Shopping Trip: A Few Thousand Items in Bulk vs Everything Under One Roof
Costco carries fewer than 4,000 active stock keeping units (SKUs) per warehouse in its core business. Its fiscal 2026 Form 10-K calls that range "significantly less than other broadline retailers." Online it offers 9,000 to 11,000 SKUs, and many consumables are sold only in case, carton or multiple-pack quantities.
At August 30, 2026 Costco operated 939 warehouses (647 in the United States and Puerto Rico) averaging about 148,000 square feet. By November 10, 2026 the count had reached 945.
Walmart operates at a different scale. It had 10,955 retail units worldwide at January 31, 2026. These included 3,566 U.S. supercenters with an average selling area of about 178,000 square feet and 601 Sam's Club U.S. clubs averaging about 134,000 square feet.
A supercenter is a full grocery and general-merchandise store. About 280 million customers and members visit Walmart each week.
The main differences on the shop floor:
- Assortment: Costco keeps fewer than 4,000 active SKUs per warehouse, while a Walmart supercenter carries a full grocery and general-merchandise range.
- Pack sizes: many Costco consumables come only in case, carton or multiple-pack quantities.
- Store count and size: 945 Costco warehouses of about 148,000 square feet each, against 10,955 Walmart retail units that include supercenters of about 178,000 square feet.
- Membership requirement: you need a membership to shop at Costco. Walmart stores do not require one, but Sam's Club does.
Both companies are growing online. Costco's digitally-enabled comparable sales rose 20.9% in fiscal 2026. Walmart's global e-commerce sales grew 24% in the fourth quarter of fiscal 2026 and 17% in the third quarter of fiscal 2027, when Walmart U.S. e-commerce rose 23%.
Growth, Margins and Returns Over Five Years
| Measure | Walmart (FY2021 to FY2026) | Costco (FY2021 to FY2026) |
|---|---|---|
| Revenue growth a year | 5.0% | 9.1% |
| Operating income growth a year | 5.8% | 11.7% |
| Diluted EPS growth a year | 11.5% | 13.0% |
| Operating margin, lowest and highest (FY2022 to FY2026) | 3.3% to 4.5% | 3.4% to 3.9% |
Gains and losses on equity investments boost Walmart's EPS growth (net gains were $2.075 billion in fiscal 2026), so operating income growth is the cleaner measure. On that basis, Costco's operating income grew about twice as fast as Walmart's over the period: 11.7% a year against 5.8%.
Two adjustments sit behind the figures. Walmart EPS before fiscal 2024 is adjusted for the 3-for-1 stock split of February 2024. Costco's fiscal 2023 had 53 weeks, which slightly distorts growth into and out of that year.
Costco's margins have been steadier. Its operating margin rose every year from fiscal 2023 (3.35%) to fiscal 2026 (3.85%). Walmart's has ranged from 3.34% in fiscal 2023 to 4.53% in fiscal 2022.
A year earlier, returns on assets were close to these levels: 7.9% at Walmart and 11.0% at Costco in fiscal 2025. Past performance does not indicate future results. Five years of growth show what happened, not what the next five will bring.
The Latest Quarter
The most recent reported quarters are different lengths: 13 weeks to October 31, 2026 for Walmart and 16 weeks to August 30, 2026 for Costco. The table therefore compares only year-over-year growth rates, not dollar amounts.
| Measure | Walmart Q3 FY2027 | Costco Q4 FY2026 |
|---|---|---|
| Period | 13 weeks to Oct 31, 2026 | 16 weeks to Aug 30, 2026 |
| Total revenue growth | 5.2% | 11.1% |
| Comparable sales | 2.9% (Walmart U.S.) | 9.4% (total) |
| E-commerce growth | 17% (global) | 19.5% (digital comps) |
| Membership fee revenue growth | 17% | 7.3% |
| Diluted EPS change | -19.5% (to $0.62) | +15.0% (to $6.75) |
Walmart's comparable sales figure excludes fuel. At Sam's Club U.S., comparable sales excluding fuel rose 4.9% in the same quarter. Excluding gasoline and currency, Costco's total comparable sales growth of 9.4% was 6.7%.
Two items affect the EPS figures. Walmart's prior-year quarter included $0.20 a share of net gains on equity investments, and its operating income rose 16.0% (5.5% adjusted, in constant currency). Costco's quarter included a one-time benefit of $0.15 a share from IEEPA tariff refunds.
A separate piece covers how Walmart reported its latest quarter and its tariff refunds, comparing these results with those of other large U.S. retailers.
Valuation: Each Stock Against Its Own History and Against the Other
Share prices on their own tell you little about Costco and Walmart stock. At the December 1, 2026 close a Costco share cost $1,077.06 and a Walmart share $127.35. The P/E ratio puts the two on the same footing by dividing the price by a year of earnings per share.
The two stocks have traded at different multiples for years, so it helps to compare each with its own past first. Each year-end P/E below is the closing price on the last trading day of that fiscal year divided by that year's diluted EPS. For Walmart that means January 2022 to January 2026; for Costco, late August or early September each year from 2022 to 2026 (its 53-week fiscal 2023 ended on September 3, 2023).
| Point in time | Walmart P/E | Costco P/E |
|---|---|---|
| Fiscal 2022 year-end | 28.8 | 40.5 |
| Fiscal 2023 year-end | 33.8 | 38.4 |
| Fiscal 2024 year-end | 28.8 | 53.9 |
| Fiscal 2025 year-end | 40.7 | 51.8 |
| Fiscal 2026 year-end | 43.6 | 45.5 |
| Five-year average | 35.1 | 46.0 |
| December 1, 2026 (trailing) | 48.6 | 51.9 |
Past performance does not indicate future results, and a valuation multiple can move in either direction.
Both stocks sit above their own records. Walmart's trailing P/E of 48.6 is about 38% above its own five-year average of 35.1. Costco's 51.9 is about 13% above its own average of 46.0.
The gap between the two has also narrowed. At the fiscal 2022 year-ends, Costco's P/E was about 11.7 points higher than Walmart's. On December 1, 2026 the difference was about 3.3 points.
One reading is that the narrowing reflects a higher multiple being placed on Walmart's e-commerce, advertising and membership growth. The figures alone do not establish a cause.
Walmart's GAAP P/E also moves with gains and losses on equity investments, because these pass through net income. As a cross-check, Walmart's own fiscal 2027 adjusted EPS guidance is $2.84 to $2.89. At the midpoint, the multiple is about 44.5. Adjusted EPS is a non-GAAP measure, and the guidance can change.
For a single-company view that projects Costco's figures forward, see the bull, base and bear scenarios for Costco's next five years.
Snapshot at the December 1, 2026 Close
Data as of the December 1, 2026 close
| Measure | Walmart | Costco |
|---|---|---|
| Share price | $127.35 | $1,077.06 |
| Market value | about $1,008B | about $477B |
| 52-week closing range | $102.63 (Aug 27, 2026) to $134.20 (May 19, 2026) | $850.00 (Dec 22, 2025) to $1,113.74 (Nov 16, 2026) |
| Trailing P/E | 48.6 | 51.9 |
| Price to sales (trailing) | 1.35 | 1.57 |
| Free cash flow yield (trailing) | 1.3% | 2.0% |
| Dividend yield (regular) | 0.78% | 0.55% |
Costco closes before November 24, 2026 include the right to the $30 special dividend, so Costco price changes across that date are not like for like.
Current figures are on the Walmart and Costco live quote pages.
At the close, Walmart's market value was about 2.1 times Costco's. The trailing earnings used here are Walmart's diluted EPS of $2.62 for the four quarters to October 31, 2026 and Costco's $20.76 for fiscal 2026.
From December 1, 2021 to December 1, 2026, Walmart's share price rose about 179% (price only). Over the same five years Costco's share price rose about 103% (price only). That figure excludes Costco's special dividends of $15 in January 2024 and $30 in December 2026.
Dividends and Share Repurchases: Steady Increases vs Occasional Specials
| Measure | Walmart | Costco |
|---|---|---|
| Regular dividend | $0.99 a year (four payments of $0.2475), fiscal 2027 | $1.47 a quarter ($5.88 a year) since April 2026 |
| Previous regular rate | $0.94 a year (fiscal 2026) | $1.30 a quarter |
| Special dividends | none | $30 (payable Dec 4, 2026); $15 (January 2024) |
| Dividends paid, latest year | $7.8B (four quarters to Oct 31, 2026) | $2.5B (fiscal 2026, before the $30 special of about $13.3B) |
| Share of net income paid as regular dividends | 37% | 27% |
| Share repurchases, latest year | $8.9B | $0.8B |
| Repurchase authorization | $30B (February 2026) | $4B (to November 2030) |
The two companies' figures cover different periods. Walmart's dividends paid, payout share and repurchases cover the four quarters to October 31, 2026. Costco's cover fiscal 2026 and do not include the $30 special, which is paid after that year ended.
Walmart returns cash mainly through a regular dividend that has risen in each recent year ($0.83 a share in fiscal 2025, $0.94 in fiscal 2026 and $0.99 in fiscal 2027) and through large share repurchases. It announced a $30 billion repurchase authorization in February 2026.
By contrast, Costco pays a smaller regular dividend and has returned large sums through occasional special dividends. The $30 special declared in November 2026, about $13.3 billion in total, equals about 2.8% of the December 1, 2026 share price. Only shareholders on the record date of November 24, 2026 receive it, so shares bought on or after that date do not carry the payment.
Costco's repurchases were also smaller: $0.8 billion in fiscal 2026, under a $4 billion program that runs to November 2030. Regular dividends took 27% of Costco's fiscal 2026 net income, against 37% at Walmart over the trailing four quarters.
How the Two Profiles Differ on Common Investment Considerations
Investors give different features different weight depending on their aims. For several common considerations, the points below give the relevant measured feature and each company's figure.
- Regular income: at the December 1, 2026 close, the regular dividend yield was 0.78% for Walmart and 0.55% for Costco. Walmart's regular dividend rose from $0.83 (fiscal 2025) to $0.94 (fiscal 2026) and $0.99 (fiscal 2027). Costco's cash returns are lumpier because of special dividends.
- Growth record: from fiscal 2021 to fiscal 2026, revenue grew about 5.0% a year at Walmart and about 9.1% a year at Costco.
- Sensitivity to the multiple: both stocks trade near 50 times trailing earnings, above their own five-year averages. As simple arithmetic, a lower multiple would weigh on both share prices even if earnings grow.
- Business mix: Walmart is spread across segments, countries, e-commerce and advertising. Costco depends on membership renewals and a narrow warehouse format.
Which of these matter depends on each investor's goals, time horizon and existing holdings, and this article does not assess any reader's situation. Readers who want advice on their own circumstances can speak to an FCA-authorised financial adviser.
Risks for Each Company
Walmart
- Tariffs and refunds: in the second quarter of fiscal 2027, Walmart recorded approximately $2.9 billion of tariff refunds as a reduction of cost of sales and invested a significant portion in price.
- Investment gains and losses: net gains or losses on equity investments move GAAP earnings, and the GAAP P/E moves with them.
- International exposure and currency: Walmart International contributed $130.4 billion of net sales in fiscal 2026, so exchange rates affect reported results.
- Rising capital spending: capital expenditure was $30.6 billion in the four quarters to October 31, 2026, up from $26.6 billion in fiscal 2026. Walmart's fiscal 2027 guidance puts it at about 3.5% of net sales.
- Valuation against its own history: a trailing P/E about 38% above its own five-year average.
Costco
- Dependence on membership renewals: the worldwide renewal rate eased from 90.5% in fiscal 2024 to 89.8% in fiscal 2025 and fiscal 2026.
- Thin margins: with an operating margin under 4%, there is little room to absorb cost pressure.
- Gasoline prices and currency: gasoline makes up about 11% of net sales. Costco therefore also reports comparable sales excluding gasoline and currency.
- Tariffs: Costco received IEEPA tariff refunds of $184 million in fiscal 2026.
- Valuation against its own history: a trailing P/E about 13% above its own five-year average.
Costco's own risk factors address the last point:
"We believe that the price of our stock currently reflects high market expectations for our future operating results.
— Costco Wholesale Corporation (Form 10-K for fiscal 2026, risk factors)
What to Watch Next
The next two reports come on different schedules:
- Costco's first quarter of fiscal 2027 (12 weeks to November 22, 2026) is due in December 2026. It is the first report since the $30 special dividend was declared.
- Walmart's fourth quarter of fiscal 2027 follows the end of its fiscal year on January 31, 2027. On November 19, 2026 Walmart raised its fiscal 2027 guidance to net sales growth of 4.9% to 5.2% in constant currency and adjusted EPS of $2.84 to $2.89. This is the company's own guidance and may change.
For Costco, the indicators that bear most directly on the model:
- membership fee growth and renewal rates
- comparable sales excluding gasoline
For Walmart, the equivalent set:
- comparable sales
- e-commerce and advertising growth
- membership fee growth
- operating income growth compared with sales growth
One year's results do not settle a long-term comparison. This comparison will be updated as new reports come out.
Frequently Asked Questions
Is Walmart or Costco stock better?
This article does not and cannot answer that for any reader. The answer depends on each person's goals, time horizon and existing holdings, which a general comparison cannot see.
What the figures show are measured differences. Costco has grown revenue faster (about 9.1% versus 5.0% a year over five years) and earns a higher return on assets. Walmart has the higher regular dividend yield and a broader mix of segments and income lines. Readers who want advice on their own circumstances can speak to an FCA-authorised financial adviser.
Why do Walmart and Costco both trade at about 50 times earnings?
At the December 1, 2026 close, Walmart's trailing P/E was 48.6 and Costco's 51.9. Each was above its own five-year average (35.1 and 46.0). One reading is that both multiples reflect the value placed on large retailers with steady growth in membership and digital sales, but the figures alone do not establish a cause.
Gains and losses on equity investments also affect Walmart's GAAP multiple. Using the midpoint of its adjusted EPS guidance, the multiple is about 44.5. In its fiscal 2026 Form 10-K, Costco says its stock price "currently reflects high market expectations for our future operating results."
How much of Costco's profit comes from membership fees?
In fiscal 2026 Costco's membership fees were $5.907 billion. That was about 1.9% of total revenue but equal to about half (50.6%) of operating income of $11.685 billion. The merchandise business sold goods at a gross margin of 11.09% of net sales. Fees rose from $5.323 billion in fiscal 2025, and the worldwide renewal rate was 89.8%.
Does Costco pay a higher dividend than Walmart?
On regular dividends alone, no. At the December 1, 2026 close Walmart's regular yield was 0.78% and Costco's 0.55%. Costco has also paid special dividends: $15 a share in January 2024, and $30 a share payable on December 4, 2026 to shareholders on the November 24, 2026 record date. Special dividends are one-off payments declared separately each time.
Is Sam's Club the same business as Costco?
No. Sam's Club is Walmart's warehouse club and part of Walmart Inc., while Costco is a separate company. In fiscal 2026 Sam's Club U.S. operated 601 clubs and reported $93.0 billion of net sales and $2.4 billion of operating income. Its comparable sales excluding fuel rose 5.1%. Membership costs $50 a year for Club and $110 for Plus.
