WMT vs. KO
WMT (Walmart Inc.) and KO (The Coca-Cola Company) are both stocks. Both are in the Consumer Defensive sector — WMT in Discount Stores, KO in Beverages - Non-Alcoholic. Over the past 10 years, WMT returned 19.37%/yr vs 9.11%/yr for KO. At a 0.32 correlation, their price movements are largely independent.
Performance
WMT vs. KO - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, WMT achieves a 5.33% return, which is significantly lower than KO's 13.43% return. Over the past 10 years, WMT has outperformed KO with an annualized return of 19.37%, while KO has yielded a comparatively lower 9.11% annualized return.
WMT
- 1D
- 3.39%
- 1M
- -10.14%
- YTD
- 5.33%
- 6M
- 2.78%
- 1Y
- 17.89%
- 3Y*
- 34.52%
- 5Y*
- 21.38%
- 10Y*
- 19.37%
KO
- 1D
- 0.45%
- 1M
- 0.73%
- YTD
- 13.43%
- 6M
- 11.99%
- 1Y
- 13.89%
- 3Y*
- 12.09%
- 5Y*
- 10.20%
- 10Y*
- 9.11%
WMT vs. KO - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
WMT Walmart Inc. | 5.33% | 24.49% | 73.99% | 12.88% | -0.46% | 1.97% | 23.32% | 30.16% | -3.43% | 46.56% |
KO The Coca-Cola Company | 13.43% | 15.60% | 8.88% | -4.43% | 10.61% | 11.37% | 2.47% | 20.60% | 6.77% | 14.38% |
Correlation
The correlation between WMT and KO is 0.30, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.30 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.32 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.38 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.35 |
Correlation (All Time) Calculated using the full available price history since Aug 28, 1972 | 0.32 |
Fundamentals
WMT:
$935.00B
KO:
$339.77B
WMT:
$2.88
KO:
$3.18
WMT:
40.60
KO:
24.80
WMT:
2.65
KO:
2.99
WMT:
1.29
KO:
6.89
WMT:
9.91
KO:
10.10
WMT:
$725.31B
KO:
$49.28B
WMT:
$181.16B
KO:
$30.43B
WMT:
$44.32B
KO:
$18.35B
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
WMT vs. KO — Risk / Return Rank
WMT
KO
WMT vs. KO - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Walmart Inc. (WMT) and The Coca-Cola Company (KO). 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.
| WMT | KO | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.12 | ||
| Sortino ratioReturn per unit of downside risk | -0.23 | ||
| Omega ratioGain probability vs. loss probability | 1.16 | 1.16 | 0.00 |
| Calmar ratioReturn relative to maximum drawdown | 1.14 | 1.77 | -0.63 |
| Martin ratioReturn relative to average drawdown | 3.84 | 3.48 | +0.36 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| WMT | KO | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.76 | 0.88 | -0.12 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.99 | 0.64 | +0.35 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.89 | 0.50 | +0.39 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.64 | 0.53 | +0.10 |
Drawdowns
WMT vs. KO - Drawdown Comparison
The maximum WMT drawdown since its inception was -77.14%, which is greater than KO's maximum drawdown of -68.23%. Use the drawdown chart below to compare losses from any high point for WMT and KO.
Loading charts...
Drawdown Indicators
| WMT | KO | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -77.14% | -68.23% | -8.91% |
Max Drawdown (1Y)Largest decline over 1 year | -15.75% | -7.89% | -7.86% |
Max Drawdown (3Y)Largest decline over 3 years | -21.93% | -16.26% | -5.67% |
Max Drawdown (5Y)Largest decline over 5 years | -25.74% | -17.27% | -8.47% |
Max Drawdown (10Y)Largest decline over 10 years | -25.74% | -36.99% | +11.25% |
Current DrawdownCurrent decline from peak | -12.90% | -3.86% | -9.04% |
Average DrawdownAverage peak-to-trough decline | -14.63% | -16.09% | +1.46% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.74% | 4.00% | +0.74% |
Volatility
WMT vs. KO - Volatility Comparison
Walmart Inc. (WMT) has a higher volatility of 10.05% compared to The Coca-Cola Company (KO) at 4.16%. This indicates that WMT's price experiences larger fluctuations and is considered to be riskier than KO based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| WMT | KO | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.05% | 4.16% | +5.89% |
Volatility (6M)Calculated over the trailing 6-month period | 18.63% | 11.79% | +6.84% |
Volatility (1Y)Calculated over the trailing 1-year period | 23.70% | 15.86% | +7.84% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 21.68% | 16.00% | +5.68% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.72% | 18.16% | +3.56% |
Dividends
WMT vs. KO - Dividend Comparison
WMT's dividend yield for the trailing twelve months is around 0.83%, less than KO's 2.62% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
KO The Coca-Cola Company | 2.62% | 2.92% | 3.12% | 3.12% | 2.77% | 2.84% | 2.99% | 2.89% | 3.29% | 3.23% | 3.38% | 3.07% |
WMT Walmart Inc. | 0.83% | 0.84% | 0.92% | 1.45% | 1.58% | 1.52% | 1.50% | 1.78% | 2.23% | 2.07% | 2.89% | 3.20% |
Financials
WMT vs. KO - Financials Comparison
This section allows you to compare key financial metrics between Walmart Inc. and The Coca-Cola Company. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
WMT vs. KO - Profitability Comparison
WMT - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 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%.
KO - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, The Coca-Cola Company reported a gross profit of 7.85B and revenue of 12.47B. Therefore, the gross margin over that period was 63.0%.
WMT - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Walmart Inc. reported an operating income of 7.49B and revenue of 177.75B, resulting in an operating margin of 4.2%.
KO - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, The Coca-Cola Company reported an operating income of 4.36B and revenue of 12.47B, resulting in an operating margin of 35.0%.
WMT - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Walmart Inc. reported a net income of 5.65B and revenue of 177.75B, resulting in a net margin of 3.2%.
KO - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, The Coca-Cola Company reported a net income of 3.92B and revenue of 12.47B, resulting in a net margin of 31.5%.
Frequently Asked Questions
WMT and KO have a correlation of 0.30, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
WMT has higher volatility (10.05%) compared to KO (4.16%). In terms of maximum drawdown, WMT dropped -77.14% vs KO's -68.23%.
KO currently has the higher Sharpe Ratio (0.88 vs 0.76), 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.
Find the right allocation for WMT and KO
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