Compare Stocks › MRK vs UNP

Merck & Co., Inc. (MRK) vs Union Pacific Corporation (UNP): Which Is the Better Buy in 2026?

As of 2026-11-01, MRK is undervalued at $150, with a DCF intrinsic value of $596 and a margin of safety of 75%. UNP is overvalued at $304, with an intrinsic value of $235 and a margin of safety of -29%. Of the two, MRK has the wider margin of safety.

MRK
Merck & Co., Inc.
$149.52
VS
UNP
Union Pacific Corporation
$304.00

Rewards

MRK
  • ★Gross margin of 76.9% indicates strong pricing power — typical of businesses with significant intellectual property or brand strength.
  • ★Each dollar of retained earnings has created $4.94 of earning power — management is an exceptional capital allocator.
  • ★Management has timed buybacks well — 2 out of 3 years showed value-accretive repurchases.
UNP
  • ★Union Pacific Corporation has maintained ROIC above 10% for 4 consecutive years, suggesting solid business economics.
  • ★Union Pacific Corporation scores 80/100 on the Economic Moat Score (Wide Moat), with margin stability as the strongest competitive dimension.
  • ★Return on equity has consistently exceeded 20% over 4 years, indicating efficient use of shareholder capital.

Risks

MRK
  • ⚠PEG ratio of 2.82 indicates the stock is expensive relative to its expected growth — the market may be pricing in more growth than analysts project.
  • ⚠7 insider sales totaling $30.0M with no purchases in the past 3 months — insiders are reducing their exposure.
  • ⚠Free cash flow has declined at a 5.6% CAGR over the past 4 years — a concerning trend.
UNP
  • ⚠Each dollar of retained earnings has produced only $0.15 of earning power — shareholders may have been better served by dividends.
  • ⚠FCF yield of 2.8% is below 3%, meaning the market is pricing in substantial future growth to justify the current price.
  • ⚠PEG ratio of 2.95 indicates the stock is expensive relative to its expected growth — the market may be pricing in more growth than analysts project.

Key Valuation Metrics

Learn more →
MRK
UNP
Valuation
N/A
Free Cash Flow
$5.07B
N/A
FCF Yield
2.81%
151.03
Trailing P/E
23.71
16.44
Forward P/E
21.12
Quality & Moat
22.88%
ROIC
16.20%
43.48%
ROE
38.75%
76.91%
Gross Margin
55.77%
2.82
PEG Ratio
2.95
Balance Sheet Safety
1.11
Net Debt / Equity
1.27
N/A
Interest Coverage
N/A
2.93
Net Debt / EBITDA
2.11
2.27%
Dividend Yield
1.87%
MRK: 6Ties: 2UNP: 2
MRKUNP

Historical Fundamentals

Learn more →
MRK

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

UNP

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

$1 Retained Earnings Test

Learn more →
MRK
$-1.72
created per $1 retained over 3 years
Market Cap Declined
Σ Retained
$12.28B
Δ Market Cap
$-21.09B
Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer
UNP
$0.98
created per $1 retained over 3 years
Mediocre Allocator
Σ Retained
$10.64B
Δ Market Cap
+$10.42B
Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
> $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

Discounted Cash Flow (DCF) Analysis

Learn more →
MRK
74.9% Margin of Safety
Price is 74.9% below estimated fair value
Current Price: $149.52
Fair Value: $596.15
Strongly undervalued
Undervalued
Fairly valued
Overvalued
Strongly overvalued
UNP
29.2% Overvalued
Price is 29.2% above estimated fair value
Current Price: $304.00
Fair Value: $235.26
Strongly undervalued
Undervalued
Fairly valued
Overvalued
Strongly overvalued

Reverse DCF — Market-Implied Growth

Learn more →
MRK

Requires positive FCF to compute implied growth rate.

UNP

What growth rate is the market pricing in at $304?

+12.9%
Market-Implied Owner Earnings Growth
Standard FCF implies +17.5%

The market implies +12.9% Owner Earnings growth, above historical trends.

Standard FCF implies a demanding +17.5%, reflecting heavy growth investment.

Economic Moat Score

Learn more →
MRK
68/100
Narrow Moat
70+ Wide · 40-69 Narrow · <40 None

Narrow moat with revenue predictability as the key competitive advantage. Improving margin stability would strengthen the moat.

Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.
UNP
80/100
Wide Moat
70+ Wide · 40-69 Narrow · <40 None

Wide moat driven primarily by margin stability. Reinvestment Efficiency is the area most vulnerable to competitive pressure.

Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.

Forensic Accounting

Learn more →
MRK
-2.31
Unlikely Manipulator
Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

M-Score Trend

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.
UNP
-2.61
Unlikely Manipulator
Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

M-Score Trend

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

Ownership Breakdown

Learn more →
MRK
Insiders 0.1%Institutions 82.9%Retail & Other 17.1%
No. of Institutional Holders4,903
High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.
UNP
Insiders 0.1%Institutions 91.6%Retail & Other 8.3%
No. of Institutional Holders3,670
High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.

High insider ownership aligns management incentives with shareholders. Institutional concentration can indicate smart-money conviction but also crowding risk.

Insider Buying Activity

Learn more →
MRK
0
Buys (3M)
0
Buys (12M)
THULIN INGE G
Director
$250,000
@ $88.28 · 2025-02-06
BAKER DOUGLAS M JR
Director
$1.33M
@ $88.50 · 2025-02-05
Open market purchases · includes direct & indirect ownership · excludes option exercises
UNP
0
Buys (3M)
0
Buys (12M)
No open market insider purchases found.
Open market purchases · includes direct & indirect ownership · excludes option exercises

Open market purchases · includes direct & indirect ownership · excludes option exercises.

Insider Selling Activity

Learn more →
MRK
7
Sells (3M)
21
Sells (12M)
Total value (12M): $72.01M
GUINDO CHIRFI
Officer
$1.35M
@ $135.00 · 2026-08-13
ZACHARY JENNIFER L
General Counsel
$10.72M
@ $133.46 · 2026-08-12
DELUCA RICHARD ROBERT JR.
Officer
$5.94M
@ $131.12 · 2026-08-12
GUINDO CHIRFI
Officer
$1.97M
@ $131.00 · 2026-08-06
DELUCA RICHARD ROBERT JR.
Officer
$788,773
@ $130.38 · 2026-08-06
MARALDO DAVID R.
Officer
$2.41M
@ $128.72 · 2026-08-05
WILLIAMS DAVID MICHAEL
Chief Technology Officer
$6.81M
@ $128.77 · 2026-08-05
GUINDO CHIRFI
Officer
$1.21M
@ $121.46 · 2026-02-12
LI DEAN Y
Officer
$1.20M
@ $117.52 · 2026-02-10
ZACHARY JENNIFER L
General Counsel
$14.49M
@ $119.15 · 2026-02-09
GUINDO CHIRFI
Officer
$1.18M
@ $118.41 · 2026-02-09
OOSTHUIZEN JOHANNES JACOBUS
Officer
$1.83M
@ $121.87 · 2026-02-06
WILLIAMS DAVID MICHAEL
Chief Technology Officer
$609,525
@ $121.91 · 2026-02-06
DELUCA RICHARD ROBERT JR.
Officer
$4.56M
@ $120.92 · 2026-02-06
GUINDO CHIRFI
Officer
$2.44M
@ $121.88 · 2026-02-05
SMART DALTON E. III
Officer
$765,920
@ $119.67 · 2026-02-04
LITCHFIELD CAROLINE
Chief Financial Officer
$5.02M
@ $119.61 · 2026-02-04
LI DEAN Y
Officer
$1.79M
@ $118.77 · 2026-02-04
DAVIS ROBERT M
Chief Executive Officer
$5.60M
@ $118.04 · 2026-02-04
DOWNING CRISTAL N.
Officer
$616,395
@ $87.00 · 2025-11-10
WILLIAMS DAVID MICHAEL
Chief Technology Officer
$720,040
@ $83.59 · 2025-11-03
SMART DALTON E. III
Officer
$352,723
@ $82.76 · 2025-04-25
OOSTHUIZEN JOHANNES JACOBUS
Officer
$714,745
@ $84.09 · 2025-02-19
WILLIAMS DAVID MICHAEL
Chief Technology Officer
$512,057
@ $85.34 · 2025-02-13
DOWNING CRISTAL N.
Officer
$209,551
@ $88.76 · 2025-02-06
Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives
UNP
0
Sells (3M)
4
Sells (12M)
Total value (12M): $9.25M
GEHRINGER ERIC J.
Officer
$789,504
@ $263.96 · 2026-06-03
ROCKER KENYATTA G.
Officer
$7.44M
@ $271.76 · 2026-04-24
HAMANN JENNIFER L
Chief Financial Officer
$549,400
@ $274.70 · 2026-04-24
GEHRINGER ERIC J.
Officer
$469,625
@ $234.93 · 2026-03-20
RICHARDSON CRAIG V
Officer
$1.64M
@ $252.00 · 2025-01-27
WHITED ELIZABETH F.
President
$1.88M
@ $250.00 · 2025-01-24
Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives

Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives.

🎭 Mr. Market's Mood

Learn more →
MRK
FearGreed
😏Greed(65/100)

"Market is optimistic — be cautious and ensure you have a margin of safety"

Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.
UNP
FearGreed
😏Greed(69/100)

"Market is optimistic — be cautious and ensure you have a margin of safety"

Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

Composite sentiment score based on market signals. Inspired by Buffett’s "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

⚖️ Buffett Signal

Learn more →
MRK
⚪Awaiting DCF Data

The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

DCF Margin of Safety: N/AMr. Market's Mood: Greed (65)
UNP
⚪Awaiting DCF Data

The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

DCF Margin of Safety: N/AMr. Market's Mood: Greed (69)
View MRK Full AnalysisView UNP Full Analysis

Frequently Asked Questions: MRK vs UNP

Is Merck & Co., Inc. or Union Pacific Corporation more undervalued in 2026?▼

Based on our discounted cash flow model, MRK trades at a 74.9% margin of safety (intrinsic value $596 vs. price $150), compared to UNP's -29.2% margin of safety (intrinsic $235 vs. $304).

Which stock has a wider economic moat, Merck & Co., Inc. or Union Pacific Corporation?▼

UNP scores 80/100 (Wide moat), while MRK scores 68/100 (Narrow moat). The moat score measures competitive advantage durability across ROIC consistency, margin stability, revenue predictability, and reinvestment efficiency.

Which stock has higher return on invested capital, Merck & Co., Inc. or Union Pacific Corporation?▼

MRK earns 22.9% ROIC versus UNP's 16.2%. A higher ROIC means the company generates more profit per dollar of capital employed, a hallmark of durable competitive advantage in Buffett-style analysis.

Which dividend is safer, Merck & Co., Inc.'s or Union Pacific Corporation's?▼

UNP's dividend earns a safety score of 94/100 (Very Safe), compared to MRK's 79/100 (Safe). UNP has raised its dividend for 3 consecutive years.

MRK vs UNP: Which Is the Better Buy in 2026? | SafetyMargin.io