UNP vs. KO
UNP (Union Pacific Corporation) and KO (The Coca-Cola Company) are both stocks. UNP operates in Railroads (Industrials), while KO operates in Beverages - Non-Alcoholic (Consumer Defensive). Over the past 10 years, UNP returned 14.48%/yr vs 9.55%/yr for KO. At a 0.30 correlation, their price movements are largely independent.
Performance
UNP vs. KO - Performance Comparison
Loading charts...
Returns By Period
The year-to-date returns for both stocks are quite close, with UNP having a 19.12% return and KO slightly lower at 18.99%. Over the past 10 years, UNP has outperformed KO with an annualized return of 14.48%, while KO has yielded a comparatively lower 9.55% annualized return.
UNP
- 1D
- 1.65%
- 1M
- 3.58%
- YTD
- 19.12%
- 6M
- 14.84%
- 1Y
- 23.68%
- 3Y*
- 13.61%
- 5Y*
- 6.64%
- 10Y*
- 14.48%
KO
- 1D
- 0.11%
- 1M
- 2.94%
- YTD
- 18.99%
- 6M
- 17.96%
- 1Y
- 17.68%
- 3Y*
- 14.33%
- 5Y*
- 11.29%
- 10Y*
- 9.55%
UNP vs. KO - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
UNP Union Pacific Corporation | 19.12% | 3.86% | -5.10% | 21.61% | -15.93% | 23.31% | 17.64% | 33.70% | 5.26% | 32.30% |
KO The Coca-Cola Company | 18.99% | 15.60% | 8.88% | -4.43% | 10.61% | 11.37% | 2.47% | 20.60% | 6.77% | 14.38% |
Correlation
The correlation between UNP and KO is 0.22, 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.22 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.32 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.39 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.35 |
Correlation (All Time) Calculated using the full available price history since Jan 2, 1980 | 0.30 |
The correlation between UNP and KO shifts across timeframes, from 0.22 (1 year) to 0.39 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
UNP:
$161.87B
KO:
$356.42B
UNP:
$9.29
KO:
$3.18
UNP:
29.37
KO:
26.01
UNP:
5.88
KO:
3.14
UNP:
8.76
KO:
7.23
UNP:
8.34K
KO:
10.60
UNP:
$18.49B
KO:
$49.28B
UNP:
$8.47B
KO:
$30.43B
UNP:
$9.89B
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
UNP vs. KO — Risk / Return Rank
UNP
KO
UNP vs. KO - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Union Pacific Corporation (UNP) 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.
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.
| UNP | KO | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.04 | ||
| Sortino ratioReturn per unit of downside risk | -0.06 | ||
| Omega ratioGain probability vs. loss probability | 1.21 | 1.19 | +0.02 |
| Calmar ratioReturn relative to maximum drawdown | 1.94 | 2.26 | -0.32 |
| Martin ratioReturn relative to average drawdown | 4.69 | 4.51 | +0.18 |
Loading charts...
Drawdowns
UNP vs. KO - Drawdown Comparison
The maximum UNP drawdown since its inception was -67.49%, roughly equal to the maximum KO drawdown of -68.23%. Use the drawdown chart below to compare losses from any high point for UNP and KO.
Loading charts...
Drawdown Indicators
| UNP | KO | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -67.49% | -68.23% | +0.74% |
Max Drawdown (1Y)Largest decline over 1 year | -12.28% | -7.87% | -4.41% |
Max Drawdown (3Y)Largest decline over 3 years | -17.75% | -16.26% | -1.49% |
Max Drawdown (5Y)Largest decline over 5 years | -31.83% | -17.27% | -14.56% |
Max Drawdown (10Y)Largest decline over 10 years | -38.72% | -36.99% | -1.73% |
Current DrawdownCurrent decline from peak | -1.89% | -1.16% | -0.73% |
Average DrawdownAverage peak-to-trough decline | -17.07% | -16.09% | -0.98% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 5.06% | 3.98% | +1.08% |
Volatility
UNP vs. KO - Volatility Comparison
Union Pacific Corporation (UNP) has a higher volatility of 8.34% compared to The Coca-Cola Company (KO) at 6.70%. This indicates that UNP'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
| UNP | KO | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 8.34% | 6.70% | +1.64% |
Volatility (6M)Calculated over the trailing 6-month period | 17.35% | 12.87% | +4.48% |
Volatility (1Y)Calculated over the trailing 1-year period | 21.62% | 16.73% | +4.89% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.81% | 16.18% | +6.63% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 25.32% | 18.24% | +7.08% |
Dividends
UNP vs. KO - Dividend Comparison
UNP's dividend yield for the trailing twelve months is around 2.02%, less than KO's 2.49% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
KO The Coca-Cola Company | 2.49% | 2.92% | 3.12% | 3.12% | 2.77% | 2.84% | 2.99% | 2.89% | 3.29% | 3.23% | 3.38% | 3.07% |
UNP Union Pacific Corporation | 2.02% | 2.35% | 2.32% | 2.12% | 2.45% | 1.70% | 1.86% | 2.05% | 2.21% | 1.85% | 2.17% | 2.81% |
Financials
UNP vs. KO - Financials Comparison
This section allows you to compare key financial metrics between Union Pacific Corporation 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
UNP vs. KO - Profitability Comparison
UNP - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Union Pacific Corporation reported a gross profit of 4.35M and revenue of 6.22M. Therefore, the gross margin over that period was 69.9%.
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%.
UNP - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Union Pacific Corporation reported an operating income of 2.46M and revenue of 6.22M, resulting in an operating margin of 39.5%.
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%.
UNP - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Union Pacific Corporation reported a net income of 1.70M and revenue of 6.22M, resulting in a net margin of 27.4%.
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
UNP and KO have a correlation of 0.22, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
UNP has higher volatility (8.34%) compared to KO (6.70%). In terms of maximum drawdown, UNP dropped -67.49% vs KO's -68.23%.
UNP currently has the higher Sharpe Ratio (1.10 vs 1.06), 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 UNP 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