vs

Side-by-side financial comparison of CANADIAN PACIFIC KANSAS CITY LTD (CP) and SANMINA CORP (SANM). Click either name above to swap in a different company.

SANMINA CORP is the larger business by last-quarter revenue ($3.2B vs $2.8B, roughly 1.1× CANADIAN PACIFIC KANSAS CITY LTD). CANADIAN PACIFIC KANSAS CITY LTD runs the higher net margin — 27.7% vs 1.5%, a 26.1% gap on every dollar of revenue. On growth, SANMINA CORP posted the faster year-over-year revenue change (59.0% vs 1.3%). CANADIAN PACIFIC KANSAS CITY LTD produced more free cash flow last quarter ($537.3M vs $91.9M). Over the past eight quarters, SANMINA CORP's revenue compounded faster (31.9% CAGR vs 5.6%).

The Canadian National Railway Company is a Canadian Class I freight railway headquartered in Montreal, Quebec, which serves Canada and the Midwestern and Southern United States. It is one of Canada's two main freight rail companies, along with Canadian Pacific Kansas City.

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.

CP vs SANM — Head-to-Head

Bigger by revenue
SANM
SANM
1.1× larger
SANM
$3.2B
$2.8B
CP
Growing faster (revenue YoY)
SANM
SANM
+57.7% gap
SANM
59.0%
1.3%
CP
Higher net margin
CP
CP
26.1% more per $
CP
27.7%
1.5%
SANM
More free cash flow
CP
CP
$445.4M more FCF
CP
$537.3M
$91.9M
SANM
Faster 2-yr revenue CAGR
SANM
SANM
Annualised
SANM
31.9%
5.6%
CP

Income Statement — Q4 FY2025 vs Q1 FY2026

Metric
CP
CP
SANM
SANM
Revenue
$2.8B
$3.2B
Net Profit
$786.2M
$49.3M
Gross Margin
7.6%
Operating Margin
41.4%
2.3%
Net Margin
27.7%
1.5%
Revenue YoY
1.3%
59.0%
Net Profit YoY
-10.3%
-24.2%
EPS (diluted)
$0.89

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
CP
CP
SANM
SANM
Q4 25
$2.8B
$3.2B
Q3 25
$2.7B
$2.1B
Q2 25
$2.7B
$2.0B
Q1 25
$2.8B
$2.0B
Q4 24
$2.8B
$2.0B
Q3 24
$2.6B
$2.0B
Q2 24
$2.6B
$1.8B
Q1 24
$2.5B
$1.8B
Net Profit
CP
CP
SANM
SANM
Q4 25
$786.2M
$49.3M
Q3 25
$671.6M
$48.1M
Q2 25
$900.8M
$68.6M
Q1 25
$664.3M
$64.2M
Q4 24
$876.7M
$65.0M
Q3 24
$611.0M
$61.4M
Q2 24
$660.6M
$51.6M
Q1 24
$565.8M
$52.5M
Gross Margin
CP
CP
SANM
SANM
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%
Q1 24
8.4%
Operating Margin
CP
CP
SANM
SANM
Q4 25
41.4%
2.3%
Q3 25
36.8%
3.7%
Q2 25
36.6%
4.7%
Q1 25
35.0%
4.6%
Q4 24
40.6%
4.4%
Q3 24
34.3%
4.4%
Q2 24
35.4%
4.5%
Q1 24
32.9%
4.1%
Net Margin
CP
CP
SANM
SANM
Q4 25
27.7%
1.5%
Q3 25
25.3%
2.3%
Q2 25
33.6%
3.4%
Q1 25
24.2%
3.2%
Q4 24
31.2%
3.2%
Q3 24
23.9%
3.0%
Q2 24
25.3%
2.8%
Q1 24
22.2%
2.9%
EPS (diluted)
CP
CP
SANM
SANM
Q4 25
$0.89
Q3 25
$0.88
Q2 25
$1.26
Q1 25
$1.16
Q4 24
$1.16
Q3 24
$1.09
Q2 24
$0.91
Q1 24
$0.93

Balance Sheet & Financial Strength

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

Metric
CP
CP
SANM
SANM
Cash + ST InvestmentsLiquidity on hand
$134.3M
$1.4B
Total DebtLower is stronger
$14.6B
$2.2B
Stockholders' EquityBook value
$33.5B
$2.7B
Total Assets
$62.7B
$9.8B
Debt / EquityLower = less leverage
0.43×
0.82×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CP
CP
SANM
SANM
Q4 25
$134.3M
$1.4B
Q3 25
$300.0M
$926.3M
Q2 25
$583.3M
$797.9M
Q1 25
$507.4M
$647.1M
Q4 24
$539.5M
$642.4M
Q3 24
$338.0M
$625.9M
Q2 24
$406.6M
$657.7M
Q1 24
$378.9M
$650.9M
Total Debt
CP
CP
SANM
SANM
Q4 25
$14.6B
$2.2B
Q3 25
$15.8B
$300.5M
Q2 25
$15.5B
Q1 25
$15.4B
Q4 24
$14.5B
Q3 24
$13.7B
Q2 24
$13.8B
Q1 24
$13.7B
Stockholders' Equity
CP
CP
SANM
SANM
Q4 25
$33.5B
$2.7B
Q3 25
$33.4B
$2.5B
Q2 25
$33.7B
$2.5B
Q1 25
$35.2B
$2.4B
Q4 24
$35.0B
$2.4B
Q3 24
$32.2B
$2.4B
Q2 24
$32.0B
$2.3B
Q1 24
$31.3B
$2.3B
Total Assets
CP
CP
SANM
SANM
Q4 25
$62.7B
$9.8B
Q3 25
$63.3B
$5.9B
Q2 25
$62.2B
$5.2B
Q1 25
$64.3B
$5.0B
Q4 24
$64.1B
$4.8B
Q3 24
$60.0B
$4.8B
Q2 24
$60.4B
$4.7B
Q1 24
$59.6B
$4.7B
Debt / Equity
CP
CP
SANM
SANM
Q4 25
0.43×
0.82×
Q3 25
0.47×
0.12×
Q2 25
0.46×
Q1 25
0.44×
Q4 24
0.41×
Q3 24
0.42×
Q2 24
0.43×
Q1 24
0.44×

Cash Flow & Capital Efficiency

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

Metric
CP
CP
SANM
SANM
Operating Cash FlowLast quarter
$1.1B
$178.7M
Free Cash FlowOCF − Capex
$537.3M
$91.9M
FCF MarginFCF / Revenue
18.9%
2.9%
Capex IntensityCapex / Revenue
20.2%
2.7%
Cash ConversionOCF / Net Profit
1.42×
3.63×
TTM Free Cash FlowTrailing 4 quarters
$1.6B
$518.3M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CP
CP
SANM
SANM
Q4 25
$1.1B
$178.7M
Q3 25
$930.0M
$199.1M
Q2 25
$989.1M
$200.8M
Q1 25
$843.9M
$156.9M
Q4 24
$1.2B
$63.9M
Q3 24
$928.6M
$51.9M
Q2 24
$932.9M
$90.0M
Q1 24
$741.0M
$72.3M
Free Cash Flow
CP
CP
SANM
SANM
Q4 25
$537.3M
$91.9M
Q3 25
$302.2M
$136.6M
Q2 25
$446.8M
$163.7M
Q1 25
$324.9M
$126.1M
Q4 24
$702.3M
$46.9M
Q3 24
$382.5M
$27.2M
Q2 24
$343.1M
$67.2M
Q1 24
$356.2M
$42.7M
FCF Margin
CP
CP
SANM
SANM
Q4 25
18.9%
2.9%
Q3 25
11.4%
6.5%
Q2 25
16.7%
8.0%
Q1 25
11.8%
6.4%
Q4 24
25.0%
2.3%
Q3 24
15.0%
1.4%
Q2 24
13.1%
3.7%
Q1 24
14.0%
2.3%
Capex Intensity
CP
CP
SANM
SANM
Q4 25
20.2%
2.7%
Q3 25
23.7%
3.0%
Q2 25
20.2%
1.8%
Q1 25
18.9%
1.5%
Q4 24
19.3%
0.9%
Q3 24
21.4%
1.2%
Q2 24
22.6%
1.2%
Q1 24
15.1%
1.6%
Cash Conversion
CP
CP
SANM
SANM
Q4 25
1.42×
3.63×
Q3 25
1.38×
4.14×
Q2 25
1.10×
2.93×
Q1 25
1.27×
2.44×
Q4 24
1.42×
0.98×
Q3 24
1.52×
0.85×
Q2 24
1.41×
1.74×
Q1 24
1.31×
1.38×

Financial Flow Comparison

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

Revenue Breakdown by Segment

CP
CP

Segment breakdown not available.

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%

Related Comparisons