vs

Side-by-side financial comparison of SANMINA CORP (SANM) and Union Pacific Corporation (UNP). Click either name above to swap in a different company.

Union Pacific Corporation is the larger business by last-quarter revenue ($6.2B vs $3.2B, roughly 1.9× SANMINA CORP). Union Pacific Corporation runs the higher net margin — 27.4% vs 1.5%, a 25.8% gap on every dollar of revenue. On growth, SANMINA CORP posted the faster year-over-year revenue change (59.0% vs 3.2%). Union Pacific Corporation produced more free cash flow last quarter ($631.0M vs $91.9M). Over the past eight quarters, SANMINA CORP's revenue compounded faster (31.9% CAGR vs 1.7%).

Sanmina Corporation is an American electronics manufacturing services (EMS) provider headquartered in San Jose, California that serves original equipment manufacturers (OEMs) in communications and computer hardware fields. The firm has nearly 80 manufacturing sites, and is one of the world’s largest independent manufacturers of printed circuit boards and backplanes. As of 2022, it is ranked number 482 in the Fortune 500 list.

The Union Pacific Railroad Company is a Class I freight-hauling railroad that operates 8,300 locomotives over 32,200 miles (51,800 km) routes in 23 U.S. states west of Chicago and New Orleans. Union Pacific is the second-largest railroad in the United States after BNSF.

SANM vs UNP — Head-to-Head

Bigger by revenue
UNP
UNP
1.9× larger
UNP
$6.2B
$3.2B
SANM
Growing faster (revenue YoY)
SANM
SANM
+55.8% gap
SANM
59.0%
3.2%
UNP
Higher net margin
UNP
UNP
25.8% more per $
UNP
27.4%
1.5%
SANM
More free cash flow
UNP
UNP
$539.1M more FCF
UNP
$631.0M
$91.9M
SANM
Faster 2-yr revenue CAGR
SANM
SANM
Annualised
SANM
31.9%
1.7%
UNP

Income Statement — Q1 FY2026 vs Q1 FY2026

Metric
SANM
SANM
UNP
UNP
Revenue
$3.2B
$6.2B
Net Profit
$49.3M
$1.7B
Gross Margin
7.6%
Operating Margin
2.3%
39.5%
Net Margin
1.5%
27.4%
Revenue YoY
59.0%
3.2%
Net Profit YoY
-24.2%
4.6%
EPS (diluted)
$0.89
$2.87

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
SANM
SANM
UNP
UNP
Q1 26
$6.2B
Q4 25
$3.2B
$6.1B
Q3 25
$2.1B
$6.2B
Q2 25
$2.0B
$6.2B
Q1 25
$2.0B
$6.0B
Q4 24
$2.0B
$6.1B
Q3 24
$2.0B
$6.1B
Q2 24
$1.8B
$6.0B
Net Profit
SANM
SANM
UNP
UNP
Q1 26
$1.7B
Q4 25
$49.3M
$1.8B
Q3 25
$48.1M
$1.8B
Q2 25
$68.6M
$1.9B
Q1 25
$64.2M
$1.6B
Q4 24
$65.0M
$1.8B
Q3 24
$61.4M
$1.7B
Q2 24
$51.6M
$1.7B
Gross Margin
SANM
SANM
UNP
UNP
Q1 26
Q4 25
7.6%
Q3 25
9.1%
Q2 25
8.9%
Q1 25
8.9%
Q4 24
8.4%
Q3 24
8.5%
Q2 24
8.3%
Operating Margin
SANM
SANM
UNP
UNP
Q1 26
39.5%
Q4 25
2.3%
39.5%
Q3 25
3.7%
40.8%
Q2 25
4.7%
41.0%
Q1 25
4.6%
39.3%
Q4 24
4.4%
41.3%
Q3 24
4.4%
39.7%
Q2 24
4.5%
40.0%
Net Margin
SANM
SANM
UNP
UNP
Q1 26
27.4%
Q4 25
1.5%
30.4%
Q3 25
2.3%
28.6%
Q2 25
3.4%
30.5%
Q1 25
3.2%
27.0%
Q4 24
3.2%
28.8%
Q3 24
3.0%
27.4%
Q2 24
2.8%
27.9%
EPS (diluted)
SANM
SANM
UNP
UNP
Q1 26
$2.87
Q4 25
$0.89
$3.12
Q3 25
$0.88
$3.01
Q2 25
$1.26
$3.15
Q1 25
$1.16
$2.70
Q4 24
$1.16
$2.91
Q3 24
$1.09
$2.75
Q2 24
$0.91
$2.74

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
SANM
SANM
UNP
UNP
Cash + ST InvestmentsLiquidity on hand
$1.4B
$735.0M
Total DebtLower is stronger
$2.2B
Stockholders' EquityBook value
$2.7B
Total Assets
$9.8B
$69.6B
Debt / EquityLower = less leverage
0.82×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
SANM
SANM
UNP
UNP
Q1 26
$735.0M
Q4 25
$1.4B
$1.3B
Q3 25
$926.3M
$808.0M
Q2 25
$797.9M
$1.1B
Q1 25
$647.1M
$1.4B
Q4 24
$642.4M
$1.0B
Q3 24
$625.9M
$947.0M
Q2 24
$657.7M
$1.1B
Total Debt
SANM
SANM
UNP
UNP
Q1 26
Q4 25
$2.2B
$30.3B
Q3 25
$300.5M
$30.3B
Q2 25
$30.3B
Q1 25
$30.6B
Q4 24
$29.8B
Q3 24
$29.8B
Q2 24
$31.2B
Stockholders' Equity
SANM
SANM
UNP
UNP
Q1 26
Q4 25
$2.7B
$18.5B
Q3 25
$2.5B
$17.3B
Q2 25
$2.5B
$16.3B
Q1 25
$2.4B
$16.0B
Q4 24
$2.4B
$16.9B
Q3 24
$2.4B
$16.6B
Q2 24
$2.3B
$16.5B
Total Assets
SANM
SANM
UNP
UNP
Q1 26
$69.6B
Q4 25
$9.8B
$69.7B
Q3 25
$5.9B
$68.6B
Q2 25
$5.2B
$68.6B
Q1 25
$5.0B
$68.5B
Q4 24
$4.8B
$67.7B
Q3 24
$4.8B
$67.6B
Q2 24
$4.7B
$67.8B
Debt / Equity
SANM
SANM
UNP
UNP
Q1 26
Q4 25
0.82×
1.64×
Q3 25
0.12×
1.75×
Q2 25
1.86×
Q1 25
1.91×
Q4 24
1.76×
Q3 24
1.79×
Q2 24
1.89×

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
SANM
SANM
UNP
UNP
Operating Cash FlowLast quarter
$178.7M
Free Cash FlowOCF − Capex
$91.9M
$631.0M
FCF MarginFCF / Revenue
2.9%
10.1%
Capex IntensityCapex / Revenue
2.7%
Cash ConversionOCF / Net Profit
3.63×
TTM Free Cash FlowTrailing 4 quarters
$518.3M
$4.8B

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
SANM
SANM
UNP
UNP
Q1 26
Q4 25
$178.7M
$2.2B
Q3 25
$199.1M
$2.5B
Q2 25
$200.8M
$2.3B
Q1 25
$156.9M
$2.2B
Q4 24
$63.9M
$2.7B
Q3 24
$51.9M
$2.7B
Q2 24
$90.0M
$1.9B
Free Cash Flow
SANM
SANM
UNP
UNP
Q1 26
$631.0M
Q4 25
$91.9M
$1.2B
Q3 25
$136.6M
$1.6B
Q2 25
$163.7M
$1.4B
Q1 25
$126.1M
$1.3B
Q4 24
$46.9M
$1.7B
Q3 24
$27.2M
$1.8B
Q2 24
$67.2M
$1.0B
FCF Margin
SANM
SANM
UNP
UNP
Q1 26
10.1%
Q4 25
2.9%
20.1%
Q3 25
6.5%
25.2%
Q2 25
8.0%
22.7%
Q1 25
6.4%
21.6%
Q4 24
2.3%
28.4%
Q3 24
1.4%
29.9%
Q2 24
3.7%
16.8%
Capex Intensity
SANM
SANM
UNP
UNP
Q1 26
Q4 25
2.7%
16.4%
Q3 25
3.0%
15.2%
Q2 25
1.8%
15.2%
Q1 25
1.5%
15.0%
Q4 24
0.9%
15.1%
Q3 24
1.2%
13.6%
Q2 24
1.2%
15.0%
Cash Conversion
SANM
SANM
UNP
UNP
Q1 26
Q4 25
3.63×
1.20×
Q3 25
4.14×
1.41×
Q2 25
2.93×
1.24×
Q1 25
2.44×
1.36×
Q4 24
0.98×
1.51×
Q3 24
0.85×
1.59×
Q2 24
1.74×
1.14×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

SANM
SANM

Industrial And Energy Medical Defense And Aerospace And Automotive And Transportation$1.2B38%
ZT Systems$1.1B34%
Other Segments CPS$434.3M14%
CPS Third Party Revenue$412.7M13%
Change In Accounting Method Accounted For As Change In Estimate$2.7M0%

UNP
UNP

Freight revenues$5.9B95%
Other revenues$324.0M5%

Related Comparisons