PortfoliosLab logoPortfoliosLab logo
UNP vs. PEP
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

UNP vs. PEP - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Union Pacific Corporation (UNP) and PepsiCo, Inc. (PEP). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, UNP achieves a 19.12% return, which is significantly higher than PEP's 2.49% return. Over the past 10 years, UNP has outperformed PEP with an annualized return of 14.48%, while PEP has yielded a comparatively lower 6.62% 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%

PEP

1D
0.38%
1M
-2.33%
YTD
2.49%
6M
-2.36%
1Y
13.36%
3Y*
-4.09%
5Y*
2.73%
10Y*
6.62%
*Multi-year figures are annualized to reflect compound growth (CAGR)

UNP vs. PEP - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
UNP
Union Pacific Corporation
19.12%3.86%-5.10%21.61%-15.93%23.31%17.64%33.70%5.26%32.30%
PEP
PepsiCo, Inc.
2.49%-1.85%-7.60%-3.29%6.78%20.56%11.67%27.38%-4.81%17.82%

Correlation

The correlation between UNP and PEP is 0.26, 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.26

Correlation (3Y)
Calculated over the trailing 3-year period

0.32

Correlation (5Y)
Calculated over the trailing 5-year period

0.34

Correlation (10Y)
Calculated over the trailing 10-year period

0.29

Correlation (All Time)
Calculated using the full available price history since Jan 2, 1980

0.26

Fundamentals

Market Cap

UNP:

$161.87B

PEP:

$197.79B

EPS

UNP:

$9.29

PEP:

$6.37

PE Ratio

UNP:

29.37

PEP:

22.64

PEG Ratio

UNP:

5.88

PEP:

7.83

PS Ratio

UNP:

8.76

PEP:

2.07

PB Ratio

UNP:

8.34K

PEP:

9.25

Total Revenue (TTM)

UNP:

$18.49B

PEP:

$95.45B

Gross Profit (TTM)

UNP:

$8.47B

PEP:

$51.60B

EBITDA (TTM)

UNP:

$9.89B

PEP:

$15.08B

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. PEP — Risk / Return Rank

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

UNP
UNP Risk / Return Rank: 7474
Overall Rank
UNP Sharpe Ratio Rank: 7676
Sharpe Ratio Rank
UNP Sortino Ratio Rank: 7171
Sortino Ratio Rank
UNP Omega Ratio Rank: 7070
Omega Ratio Rank
UNP Calmar Ratio Rank: 7676
Calmar Ratio Rank
UNP Martin Ratio Rank: 7676
Martin Ratio Rank

PEP
PEP Risk / Return Rank: 6060
Overall Rank
PEP Sharpe Ratio Rank: 6464
Sharpe Ratio Rank
PEP Sortino Ratio Rank: 5959
Sortino Ratio Rank
PEP Omega Ratio Rank: 5555
Omega Ratio Rank
PEP Calmar Ratio Rank: 6060
Calmar Ratio Rank
PEP Martin Ratio Rank: 6363
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.

UNP vs. PEP - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Union Pacific Corporation (UNP) and PepsiCo, Inc. (PEP). 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.


UNPPEPDifference
Sharpe ratioReturn per unit of total volatility

+0.48

Sortino ratioReturn per unit of downside risk

+0.57

Omega ratioGain probability vs. loss probability

1.21

1.12

+0.09

Calmar ratioReturn relative to maximum drawdown

1.94

0.83

+1.11

Martin ratioReturn relative to average drawdown

4.69

2.11

+2.59

UNP vs. PEP - Sharpe Ratio Comparison

The current UNP Sharpe Ratio is 1.10, which is higher than the PEP Sharpe Ratio of 0.62. The chart below compares the historical Sharpe Ratios of UNP and PEP, 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

UNP vs. PEP - Drawdown Comparison

The maximum UNP drawdown since its inception was -67.49%, smaller than the maximum PEP drawdown of -73.92%. Use the drawdown chart below to compare losses from any high point for UNP and PEP.


Loading charts...

Drawdown Indicators


UNPPEPDifference

Max Drawdown

Largest peak-to-trough decline

-67.49%

-73.92%

+6.43%

Max Drawdown (1Y)

Largest decline over 1 year

-12.28%

-16.25%

+3.97%

Max Drawdown (3Y)

Largest decline over 3 years

-17.75%

-29.17%

+11.42%

Max Drawdown (5Y)

Largest decline over 5 years

-31.83%

-30.32%

-1.51%

Max Drawdown (10Y)

Largest decline over 10 years

-38.72%

-30.32%

-8.40%

Current Drawdown

Current decline from peak

-1.89%

-17.75%

+15.86%

Average Drawdown

Average peak-to-trough decline

-17.07%

-13.65%

-3.42%

Ulcer Index

Depth and duration of drawdowns from previous peaks

5.06%

6.37%

-1.31%

Volatility

UNP vs. PEP - Volatility Comparison

Union Pacific Corporation (UNP) has a higher volatility of 8.34% compared to PepsiCo, Inc. (PEP) at 5.39%. This indicates that UNP's price experiences larger fluctuations and is considered to be riskier than PEP based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


UNPPEPDifference

Volatility (1M)

Calculated over the trailing 1-month period

8.34%

5.39%

+2.95%

Volatility (6M)

Calculated over the trailing 6-month period

17.35%

14.62%

+2.73%

Volatility (1Y)

Calculated over the trailing 1-year period

21.62%

21.71%

-0.09%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

22.81%

18.39%

+4.42%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

25.32%

19.67%

+5.65%

Dividends

UNP vs. PEP - Dividend Comparison

UNP's dividend yield for the trailing twelve months is around 2.02%, less than PEP's 3.98% yield.


PositionTTM20252024202320222021202020192018201720162015
PEP
PepsiCo, Inc.
3.98%3.92%3.51%2.91%2.50%2.45%2.71%2.77%3.25%2.64%2.83%2.76%
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. PEP - Financials Comparison

This section allows you to compare key financial metrics between Union Pacific Corporation and PepsiCo, 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


0.005.00B10.00B15.00B20.00B25.00B30.00B20222023202420252026
6.22M
19.44B
(UNP) Total Revenue
(PEP) Total Revenue
Values in USD except per share items

UNP vs. PEP - Profitability Comparison

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

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

45.0%50.0%55.0%60.0%65.0%70.0%20222023202420252026
69.9%
55.2%
Portfolio components
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%.

PEP - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported a gross profit of 10.73B and revenue of 19.44B. Therefore, the gross margin over that period was 55.2%.

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

PEP - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported an operating income of 3.21B and revenue of 19.44B, resulting in an operating margin of 16.5%.

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

PEP - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported a net income of 2.34B and revenue of 19.44B, resulting in a net margin of 12.0%.


Frequently Asked Questions


UNP and PEP have a correlation of 0.26, 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 PEP (5.39%). In terms of maximum drawdown, UNP dropped -67.49% vs PEP's -73.92%.

UNP currently has the higher Sharpe Ratio (1.10 vs 0.62), 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 UNP and PEP

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