PortfoliosLab logo
COST vs. WMT
Performance
Risk-Adjusted Performance
Dividends
Drawdowns
Volatility
Financials

Correlation

The correlation between COST and WMT is 0.48, which is considered to be moderate. This suggests that the two assets have some degree of positive relationship in their price movements. Moderate correlation can be acceptable for portfolio diversification, offering a balance between risk and potential returns.


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 data...

Key characteristics

Sharpe Ratio

COST:

1.29

WMT:

2.25

Sortino Ratio

COST:

1.81

WMT:

2.97

Omega Ratio

COST:

1.24

WMT:

1.41

Calmar Ratio

COST:

1.65

WMT:

2.43

Martin Ratio

COST:

4.74

WMT:

7.88

Ulcer Index

COST:

6.04%

WMT:

6.77%

Daily Std Dev

COST:

22.13%

WMT:

24.07%

Max Drawdown

COST:

-53.39%

WMT:

-77.24%

Current Drawdown

COST:

-3.28%

WMT:

-5.54%

Fundamentals

Market Cap

COST:

$461.51B

WMT:

$789.85B

EPS

COST:

$17.68

WMT:

$2.38

PE Ratio

COST:

58.83

WMT:

41.48

PEG Ratio

COST:

5.51

WMT:

3.71

PS Ratio

COST:

1.72

WMT:

1.15

PB Ratio

COST:

18.04

WMT:

9.27

Total Revenue (TTM)

COST:

$205.57B

WMT:

$519.48B

Gross Profit (TTM)

COST:

$27.77B

WMT:

$129.16B

EBITDA (TTM)

COST:

$8.41B

WMT:

$28.91B

Returns By Period

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


COST

YTD

13.80%

1M

4.25%

6M

7.29%

1Y

29.10%

3Y*

32.50%

5Y*

29.64%

10Y*

24.24%

WMT

YTD

9.83%

1M

1.59%

6M

7.51%

1Y

51.66%

3Y*

33.83%

5Y*

20.72%

10Y*

17.03%

*Annualized

Compare stocks, funds, or ETFs

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


Costco Wholesale Corporation

Walmart Inc.

Go deeper with the Portfolio Analysis tool — backtest performance, assess risk, compare to benchmarks, and more

Risk-Adjusted Performance

COST vs. WMT — Risk-Adjusted Performance Rank

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

COST
The Risk-Adjusted Performance Rank of COST is 8585
Overall Rank
The Sharpe Ratio Rank of COST is 8787
Sharpe Ratio Rank
The Sortino Ratio Rank of COST is 8282
Sortino Ratio Rank
The Omega Ratio Rank of COST is 8181
Omega Ratio Rank
The Calmar Ratio Rank of COST is 9090
Calmar Ratio Rank
The Martin Ratio Rank of COST is 8585
Martin Ratio Rank

WMT
The Risk-Adjusted Performance Rank of WMT is 9494
Overall Rank
The Sharpe Ratio Rank of WMT is 9696
Sharpe Ratio Rank
The Sortino Ratio Rank of WMT is 9494
Sortino Ratio Rank
The Omega Ratio Rank of WMT is 9494
Omega Ratio Rank
The Calmar Ratio Rank of WMT is 9494
Calmar Ratio Rank
The Martin Ratio Rank of WMT is 9292
Martin Ratio Rank
The risk-adjusted ranks indicate the investment's position relative to the market. A rank closer to 100 signifies top-performing investments, while a rank closer to 0 might suggest underperformance, based on the selected ratio. The values are calculated based on the past 12 months of returns.

COST vs. WMT - Risk-Adjusted Performance 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.


The current COST Sharpe Ratio is 1.29, which is lower than the WMT Sharpe Ratio of 2.25. The chart below compares the historical Sharpe Ratios of COST and WMT, offering insights into how both investments have performed under varying market conditions. These values are calculated using daily returns over the previous 12 months.


Loading data...

Go to the full Sharpe Ratio tool to analyze any stock or portfolio. Customize time frames, set your own risk-free rate, and more

Dividends

COST vs. WMT - Dividend Comparison

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


TTM20242023202220212020201920182017201620152014
COST
Costco Wholesale Corporation
0.46%0.49%2.87%0.76%0.54%3.38%0.86%1.08%4.81%1.09%4.06%0.97%
WMT
Walmart Inc.
0.90%0.92%1.45%1.58%1.52%1.50%1.78%2.23%2.07%2.89%3.20%2.24%

Drawdowns

COST vs. WMT - Drawdown Comparison

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


Loading data...

Go to the full Drawdowns tool for more analysis options, including inflation-adjusted drawdowns, and more

Volatility

COST vs. WMT - Volatility Comparison

Costco Wholesale Corporation (COST) has a higher volatility of 5.12% compared to Walmart Inc. (WMT) at 4.34%. This indicates that COST's price experiences larger fluctuations and is considered to be riskier than WMT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading data...

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


50.00B100.00B150.00B200.00BJulyOctober2021AprilJulyOctober2022AprilJulyOctober2023AprilJulyOctober2024AprilJulyOctober2025
63.72B
180.55B
(COST) Total Revenue
(WMT) Total Revenue
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

10.0%15.0%20.0%25.0%JulyOctober2021AprilJulyOctober2022AprilJulyOctober2023AprilJulyOctober2024AprilJulyOctober2025
15.1%
24.6%
(COST) Gross Margin
(WMT) Gross Margin
COST - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2025, Costco Wholesale Corporation reported a gross profit of 9.61B and revenue of 63.72B. Therefore, the gross margin over that period was 15.1%.

WMT - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2025, Walmart Inc. reported a gross profit of 44.38B and revenue of 180.55B. Therefore, the gross margin over that period was 24.6%.

COST - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2025, Costco Wholesale Corporation reported an operating income of 2.32B and revenue of 63.72B, resulting in an operating margin of 3.6%.

WMT - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2025, Walmart Inc. reported an operating income of 7.86B and revenue of 180.55B, resulting in an operating margin of 4.4%.

COST - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2025, Costco Wholesale Corporation reported a net income of 1.79B and revenue of 63.72B, resulting in a net margin of 2.8%.

WMT - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2025, Walmart Inc. reported a net income of 5.25B and revenue of 180.55B, resulting in a net margin of 2.9%.