UNP vs. JNJ
UNP (Union Pacific Corporation) and JNJ (Johnson & Johnson) are both stocks. UNP operates in Railroads (Industrials), while JNJ operates in Drug Manufacturers - General (Healthcare). Over the past 10 years, UNP returned 14.48%/yr vs 10.46%/yr for JNJ. At a 0.30 correlation, their price movements are largely independent.
Performance
UNP vs. JNJ - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, UNP achieves a 19.12% return, which is significantly higher than JNJ's 17.68% return. Over the past 10 years, UNP has outperformed JNJ with an annualized return of 14.48%, while JNJ has yielded a comparatively lower 10.46% 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%
JNJ
- 1D
- 1.07%
- 1M
- 5.14%
- YTD
- 17.68%
- 6M
- 15.11%
- 1Y
- 57.60%
- 3Y*
- 17.82%
- 5Y*
- 10.94%
- 10Y*
- 10.46%
UNP vs. JNJ - 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% |
JNJ Johnson & Johnson | 17.68% | 47.48% | -4.81% | -8.58% | 5.97% | 11.44% | 10.82% | 16.22% | -5.13% | 24.43% |
Correlation
The correlation between UNP and JNJ is 0.23, 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.23 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.33 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.34 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.32 |
Correlation (All Time) Calculated using the full available price history since Jan 2, 1980 | 0.30 |
The correlation between UNP and JNJ shifts across timeframes, from 0.23 (1 year) to 0.34 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
UNP:
$161.87B
JNJ:
$588.98B
UNP:
$9.29
JNJ:
$8.65
UNP:
29.37
JNJ:
27.85
UNP:
5.88
JNJ:
0.93
UNP:
8.76
JNJ:
6.08
UNP:
8.34K
JNJ:
7.25
UNP:
$18.49B
JNJ:
$96.36B
UNP:
$8.47B
JNJ:
$66.60B
UNP:
$9.89B
JNJ:
$31.62B
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. JNJ — Risk / Return Rank
UNP
JNJ
UNP vs. JNJ - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Union Pacific Corporation (UNP) and Johnson & Johnson (JNJ). 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 | JNJ | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -2.32 | ||
| Sortino ratioReturn per unit of downside risk | -3.26 | ||
| Omega ratioGain probability vs. loss probability | 1.21 | 1.61 | -0.40 |
| Calmar ratioReturn relative to maximum drawdown | 1.94 | 5.28 | -3.34 |
| Martin ratioReturn relative to average drawdown | 4.69 | 15.52 | -10.83 |
Loading charts...
Drawdowns
UNP vs. JNJ - Drawdown Comparison
The maximum UNP drawdown since its inception was -67.49%, which is greater than JNJ's maximum drawdown of -50.67%. Use the drawdown chart below to compare losses from any high point for UNP and JNJ.
Loading charts...
Drawdown Indicators
| UNP | JNJ | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -67.49% | -50.67% | -16.82% |
Max Drawdown (1Y)Largest decline over 1 year | -12.28% | -10.96% | -1.32% |
Max Drawdown (3Y)Largest decline over 3 years | -17.75% | -15.95% | -1.80% |
Max Drawdown (5Y)Largest decline over 5 years | -31.83% | -18.41% | -13.42% |
Max Drawdown (10Y)Largest decline over 10 years | -38.72% | -27.37% | -11.35% |
Current DrawdownCurrent decline from peak | -1.89% | -2.54% | +0.65% |
Average DrawdownAverage peak-to-trough decline | -17.07% | -11.90% | -5.17% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 5.06% | 3.72% | +1.34% |
Volatility
UNP vs. JNJ - Volatility Comparison
Union Pacific Corporation (UNP) has a higher volatility of 8.34% compared to Johnson & Johnson (JNJ) at 5.47%. This indicates that UNP's price experiences larger fluctuations and is considered to be riskier than JNJ based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| UNP | JNJ | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 8.34% | 5.47% | +2.87% |
Volatility (6M)Calculated over the trailing 6-month period | 17.35% | 12.16% | +5.19% |
Volatility (1Y)Calculated over the trailing 1-year period | 21.62% | 16.94% | +4.68% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.81% | 16.87% | +5.94% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 25.32% | 18.48% | +6.84% |
Dividends
UNP vs. JNJ - Dividend Comparison
UNP's dividend yield for the trailing twelve months is around 2.02%, less than JNJ's 2.18% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JNJ Johnson & Johnson | 2.18% | 2.48% | 3.40% | 3.00% | 2.52% | 2.45% | 2.53% | 2.57% | 2.74% | 2.38% | 2.73% | 2.87% |
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. JNJ - Financials Comparison
This section allows you to compare key financial metrics between Union Pacific Corporation and Johnson & Johnson. 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. JNJ - 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%.
JNJ - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Johnson & Johnson reported a gross profit of 17.20B and revenue of 24.06B. Therefore, the gross margin over that period was 71.5%.
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%.
JNJ - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Johnson & Johnson reported an operating income of 6.40B and revenue of 24.06B, resulting in an operating margin of 26.6%.
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%.
JNJ - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Johnson & Johnson reported a net income of 5.24B and revenue of 24.06B, resulting in a net margin of 21.8%.
Frequently Asked Questions
UNP and JNJ have a correlation of 0.23, 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 JNJ (5.47%). In terms of maximum drawdown, UNP dropped -67.49% vs JNJ's -50.67%.
JNJ currently has the higher Sharpe Ratio (3.42 vs 1.10), 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 JNJ
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