PortfoliosLab logoPortfoliosLab logo
COST vs. WMT
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

COST vs. WMT - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Costco Wholesale Corporation (COST) and Walmart Inc. (WMT). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, COST achieves a 12.58% return, which is significantly higher than WMT's 1.92% return. Over the past 10 years, COST has outperformed WMT with an annualized return of 21.24%, while WMT has yielded a comparatively lower 18.63% annualized return.


COST

1D
1.58%
1M
1.64%
6M
0.06%
YTD
12.58%
1Y
4.24%
3Y*
21.39%
5Y*
19.12%
10Y*
21.24%
ALL TIME*
17.04%

WMT

1D
1.22%
1M
-2.24%
6M
-2.90%
YTD
1.92%
1Y
16.84%
3Y*
29.90%
5Y*
20.52%
10Y*
18.63%
ALL TIME*
18.40%
*Multi-year figures are annualized to reflect compound growth (CAGR)

Liquidity Comparison


PositionAvg. Volume Value (2W)Avg. Volume Value (1M)Avg. Volume Value (3M)
$1.96B$2.19B$2.34B
$2.38B$2.45B$2.68B

COST vs. WMT - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
COST
Costco Wholesale Corporation
12.58%-5.39%39.62%49.00%-19.05%51.82%32.67%45.70%10.60%22.37%
WMT
Walmart Inc.
1.92%24.49%73.99%12.88%-0.46%1.97%23.32%30.16%-3.43%46.56%

Correlation

The correlation between COST and WMT is 0.65, which is moderate. They have sometimes moved together and sometimes differently, sharing some price drivers without tracking each other closely.


Correlation
Correlation (1Y)
Focuses on recent behavior, but can change the most.

0.65

Correlation (3Y)
Balances recent behavior with more history.

0.59

Correlation (5Y)
Shows whether the relationship held over a longer period.

0.60

Correlation (10Y)
Provides a long-term view across more market conditions.

0.57

Correlation (All Time)
Calculated using the full available price history since Sep 22, 1993

0.49

The correlation between COST and WMT shifts across timeframes, from 0.49 (all time) to 0.65 (1 year), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

COST:

$428.66B

WMT:

$900.06B

EPS

COST:

$26.51

WMT:

$2.88

PE Ratio

COST:

36.47

WMT:

39.29

PEG Ratio

COST:

2.85

WMT:

2.57

PS Ratio

COST:

1.10

WMT:

1.25

Total Revenue (TTM)

COST:

$293.59B

WMT:

$725.31B

Gross Profit (TTM)

COST:

$11.12B

WMT:

$181.16B

EBITDA (TTM)

COST:

$12.48B

WMT:

$44.32B

Compare stocks, funds, or ETFs

Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.


Return for Risk

COST vs. WMT — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

COST
COST Risk / Return Rank: 5050
Overall Rank
COST Sharpe Ratio Rank: 5555
Sharpe Ratio Rank
COST Sortino Ratio Rank: 4646
Sortino Ratio Rank
COST Omega Ratio Rank: 4545
Omega Ratio Rank
COST Calmar Ratio Rank: 5353
Calmar Ratio Rank
COST Martin Ratio Rank: 5353
Martin Ratio Rank

WMT
WMT Risk / Return Rank: 6666
Overall Rank
WMT Sharpe Ratio Rank: 6969
Sharpe Ratio Rank
WMT Sortino Ratio Rank: 6363
Sortino Ratio Rank
WMT Omega Ratio Rank: 6363
Omega Ratio Rank
WMT Calmar Ratio Rank: 6666
Calmar Ratio Rank
WMT Martin Ratio Rank: 6969
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

COST vs. WMT - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Costco Wholesale Corporation (COST) and Walmart Inc. (WMT). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.

Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.


COSTWMTDifference
Sharpe ratioReturn per unit of total volatility

-0.47

Sortino ratioReturn per unit of downside risk

-0.69

Omega ratioGain probability vs. loss probability

1.05

1.14

-0.09

Calmar ratioReturn relative to maximum drawdown

0.26

0.88

-0.62

Martin ratioReturn relative to average drawdown

0.55

2.35

-1.80

COST vs. WMT - Sharpe Ratio Comparison

The current COST Sharpe Ratio is 0.21, which is lower than the WMT Sharpe Ratio of 0.69. The chart below compares the historical Sharpe Ratios of COST and WMT, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Drawdowns

COST vs. WMT - Drawdown Comparison

The maximum COST drawdown since its inception was -53.39%, smaller than the maximum WMT drawdown of -77.14%. Use the drawdown chart below to compare losses from any high point for COST and WMT.


Loading charts...

Drawdown Indicators


COSTWMTDifference

Max Drawdown

Largest peak-to-trough decline

-53.39%

-77.14%

+23.75%

Max Drawdown (1Y)

Largest decline over 1 year

-16.57%

-19.23%

+2.66%

Max Drawdown (3Y)

Largest decline over 3 years

-20.74%

-21.93%

+1.19%

Max Drawdown (5Y)

Largest decline over 5 years

-31.40%

-25.74%

-5.66%

Max Drawdown (10Y)

Largest decline over 10 years

-31.40%

-25.74%

-5.66%

Current Drawdown

Current decline from peak

-11.53%

-15.72%

+4.19%

Average Drawdown

Average peak-to-trough decline

-13.36%

-14.63%

+1.27%

Ulcer Index

Depth and duration of drawdowns from previous peaks

7.69%

7.17%

+0.52%

Volatility

COST vs. WMT - Volatility Comparison

Costco Wholesale Corporation (COST) and Walmart Inc. (WMT) have volatilities of 7.23% and 7.51%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


COSTWMTDifference

Volatility (1M)

Calculated over the trailing 1-month period

7.23%

7.51%

-0.28%

Volatility (6M)

Calculated over the trailing 6-month period

15.04%

19.41%

-4.37%

Volatility (1Y)

Calculated over the trailing 1-year period

19.86%

24.62%

-4.76%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

22.92%

21.93%

+0.99%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

22.03%

21.89%

+0.14%

Dividends

COST vs. WMT - Dividend Comparison

COST's dividend yield for the trailing twelve months is around 0.71%, less than WMT's 0.85% yield.


PositionTTM20252024202320222021202020192018201720162015
COST
Costco Wholesale Corporation
0.71%0.59%0.49%2.87%0.76%0.54%3.38%0.86%1.08%4.81%1.09%4.06%
WMT
Walmart Inc.
0.85%0.84%0.92%1.45%1.58%1.52%1.50%1.78%2.23%2.07%2.89%3.20%

Financials

COST vs. WMT - Financials Comparison

This section allows you to compare key financial metrics between Costco Wholesale Corporation and Walmart Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


Values in USD except per share items

COST vs. WMT - Profitability Comparison

The chart below illustrates the profitability comparison between Costco Wholesale Corporation and Walmart Inc. over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

COST - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, Costco Wholesale Corporation reported a gross profit of -17.68B and revenue of 70.53B. Therefore, the gross margin over that period was -25.1%.

WMT - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, Walmart Inc. reported a gross profit of 44.69B and revenue of 177.75B. Therefore, the gross margin over that period was 25.1%.

COST - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, Costco Wholesale Corporation reported an operating income of 2.82B and revenue of 70.53B, resulting in an operating margin of 4.0%.

WMT - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, Walmart Inc. reported an operating income of 7.49B and revenue of 177.75B, resulting in an operating margin of 4.2%.

COST - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, Costco Wholesale Corporation reported a net income of 2.19B and revenue of 70.53B, resulting in a net margin of 3.1%.

WMT - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, Walmart Inc. reported a net income of 5.65B and revenue of 177.75B, resulting in a net margin of 3.2%.


Frequently Asked Questions


COST and WMT have a correlation of 0.65, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

WMT has higher volatility (7.51%) compared to COST (7.23%). In terms of maximum drawdown, COST dropped -53.39% vs WMT's -77.14%.

WMT currently has the higher Sharpe Ratio (0.69 vs 0.21), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.

Portfolio Optimizer

Find the right allocation for COST and WMT

Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.

Open Portfolio Optimizer