SANM vs FLEX Stock Comparison

Sanmina and Flex Prices as of Oct 26, 2026 Peers: Industry group
SANM Sanmina Corp
$161.34 -28.2% 1M +20.6% 1Y
Market cap
$9.14B
P/E
29.6x
Revenue (TTM)
$12.76B
Div. yield
–
Electronic Manufacturing Services Technology
6 wins
FLEX Flex Ltd.
$76.99 -32.9% 1M +19.8% 1Y
Market cap
$30.60B
P/E
31.5x
Revenue (TTM)
$29.27B
Div. yield
–
Electronic Manufacturing Services Technology
5 wins

Head to Head

11 decided of 12

Sanmina leads on 6 of the 12 questions below (Sanmina 6, Flex 5). Which ones matter depends on what you are buying for; a cheap multiple and slow growth often come together.

QuestionSANMFLEXLeader
Larger companyMarket capitalisation $9.14B $30.60B FLEX
Cheaper on earningsLower P/E, profitable companies only 29.6x 31.5x SANM
Cheaper on forward earningsLower price / next fiscal year consensus EPS 14.3x 15.8x SANM
Faster revenue growthRevenue growth, trailing twelve months +58.6% +12.2% SANM
More profitableNet margin, trailing twelve months 2.4% 3.3% FLEX
Better return on capitalReturn on invested capital 7.8% 11.3% FLEX
Less leveragedLower net debt / EBITDA 0.5x 1.5x SANM
Higher dividend yieldTrailing dividend yield 0.00% 0.00% –
Better 1-year returnPrice return, last 12 months +20.6% +19.8% SANM
Better 5-year returnAnnualised price return, 5 years +33.7%/yr +41.1%/yr FLEX
Less volatileAnnualised volatility, 1 year 71.1% 68.7% FLEX
Higher overall scoreMean of the five percentile scores vs peers 63/100 55/100 SANM

Percentile Scorecard

SANMFLEX

Each axis is the mean percentile of its metrics against the company's industry group. 100 is the best in the group, 50 the middle.

Scores by Axis

AxisSANMFLEX
Valuation 82 #21 of 111 66 #38 of 111
Growth 84 #18 of 108 49 #56 of 108
Profitability 60 #42 of 104 56 #46 of 104
Financial Health 26 #85 of 115 19 #93 of 115
Shareholder Returns – 84 #14 of 81
Overall 63 55
  • SANM ranked among 121 companies in Computer Hardware
  • FLEX ranked among 121 companies in Computer Hardware

Price Performance

Price return, split-adjusted, before dividends. Click a name to hide or show it.

Returns

PeriodSANMFLEXSPY
1 month -28.2%-32.9% -0.8%
3 months -22.8%-33.7% +3.5%
6 months -14.2%-14.5% +7.0%
Year to date +7.5%+27.4% +12.2%
1 year +20.6%+19.8% +13.0%
3 years +218.0%+297.3% +86.3%
3 years, per year +47.1%+58.4% +23.1%
5 years +326.6%+458.7% +68.6%
5 years, per year +33.7%+41.1% +11.0%
10 years +448.8%+645.3% +258.0%
10 years, per year +18.6%+22.2% +13.6%

Risk

MeasureSANMFLEXSPY
Volatility, 1Y 71.1%68.7% 12.7%
Downside volatility, 1Y 81.0%64.2% 12.7%
Beta vs S&P 500, 1Y 2.623.09 1.00
Return / volatility, 1Y 0.290.29 1.02
Max drawdown, 5Y -45.4%-52.8% -25.4%
From 52-week high -42.9%-52.5% -1.8%
52-week high $282.72$162.07 $779.14
52-week low $122.86$54.51 $631.97

Valuation History

Weekly multiples on trailing twelve-month fundamentals. Negative or extreme readings (a loss year, a collapsed denominator) are left out so the chart stays readable.

MultipleSANMFLEX
P/E now vs peer median 28.2xmedian 32.0x 29.0xmedian 32.0x
P/S now vs peer median 0.7xmedian 2.8x 1.0xmedian 2.8x
EV/EBITDA now vs peer median 12.9xmedian 19.4x 19.8xmedian 19.4x
P/FCF now vs peer median 14.6xmedian 29.0x 34.4xmedian 29.0x
P/B now vs peer median 3.1xmedian 2.9x 5.2xmedian 2.9x
PEG now vs peer median 10.04median 1.13 2.01median 1.13

Financial History

Reported figures by fiscal period, placed on the calendar year (or quarter) each period ended in, so companies with different fiscal years line up.

Trailing twelve monthsSANMFLEX
Revenue $12.76B $29.27B
Gross profit $1.15B $2.74B
Operating income $530.30M $1.45B
Net income $326.85M $973.00M
Free cash flow $594.15M $826.00M
R&D $33.59M –
EPS (diluted) $5.59 $2.60
Cash & equivalents $1.84B $2.84B
Total debt $2.17B $5.22B
Shares (diluted) 55.13M 374.00M
Enterprise value $3.37B $20.07B

All Metrics

58 metrics · best in bold

Bold marks the best reading: the lowest positive value for multiples, leverage and payout, the highest for everything else. The bar under each value is its percentile against that company's own peers. Hover a value for its rank and the peer median.

Valuation

12 metrics
MetricSANMFLEX
P/E 28.2x 29.0x
P/FCF 14.6x 34.4x
P/Operating cash flow 9.6x 18.2x
P/S 0.7x 1.0x
P/B 3.1x 5.2x
P/Tangible book 3.1x 6.0x
EV/EBITDA 12.9x 19.8x
EV/EBIT 16.9x 21.3x
EV/Revenue 0.7x 1.1x
EV/FCF 15.1x 37.3x
EV/Operating cash flow 10.0x 19.7x
PEG (3Y EPS CAGR) 10.04 2.01

Growth

14 metrics
MetricSANMFLEX
Revenue growth (1Y) 58.6% 12.2%
Revenue CAGR (3Y) 11.9% 1.0%
Gross profit growth (1Y) 65.2% 21.3%
Gross profit CAGR (3Y) 15.7% 11.7%
Operating income growth (1Y) 45.0% 16.2%
Operating income CAGR (3Y) 4.9% 14.0%
Net income growth (1Y) 16.1% 9.2%
Net income CAGR (3Y) 0.7% -2.5%
EPS growth (1Y) 17.5% 11.2%
EPS CAGR (3Y) 2.8% 14.4%
Operating cash flow growth (1Y) 90.3% -0.1%
Operating cash flow CAGR (3Y) 55.4% 19.4%
Free cash flow growth (1Y) 62.5% -25.2%
Free cash flow CAGR (3Y) 146.2% 54.7%

Profitability

14 metrics
MetricSANMFLEX
Gross margin 9.0% 9.4%
EBITDA margin 5.4% 5.3%
Operating margin 4.2% 5.0%
Pretax margin 3.6% 4.4%
Net margin 2.4% 3.3%
FCF margin 4.7% 2.8%
Operating cash flow margin 7.1% 5.3%
Return on equity 12.2% 18.3%
Return on assets 3.4% 4.1%
Return on invested capital 7.8% 11.3%
Return on capital employed 10.0% 13.9%
Asset turnover 1.3x 1.2x
Cash conversion (OCF / net income) 2.8x 1.6x
Stock comp / revenue 0.7% –

Financial Health

11 metrics
MetricSANMFLEX
Debt / assets 22.3% 20.7%
Debt / equity 0.8x 0.9x
Net debt / EBITDA 0.5x 1.5x
Debt / FCF 3.7x 6.3x
Liabilities / assets 71.7% 78.2%
Equity / assets 28.3% 21.8%
Interest coverage 5.6x 6.5x
Current ratio 1.8x 1.4x
Quick ratio 1.0x 0.6x
Cash ratio 0.4x 0.2x
Altman Z-score – 2.59

Shareholder Returns

7 metrics
MetricSANMFLEX
Dividend yield – –
Net buyback yield – 2.5%
Shareholder yield – 2.5%
Payout ratio (earnings) – –
Payout ratio (FCF) – –
Dividend growth (1Y) – –
Dividend CAGR (3Y) – –

Analyst Estimates

Solid lines are reported fiscal-year results; dashed lines are the consensus for the years ahead. Hover a year for the analysts' high and low, and how each result compared with its estimate.

ConsensusSANMFLEX
Forward P/E 14.3xFY2026 15.8xFY2026
EPS, next fiscal year $11.31FY2026 $4.88FY2026
EPS growth, next FY +87.3%FY2026 +47.9%FY2026
EPS growth, the year after +19.5% +38.7%
Revenue, next fiscal year $13.27BFY2026 $36.41BFY2026
Revenue growth, next FY +63.3%FY2026 +30.4%FY2026
Revenue growth, the year after +33.4% +29.4%

Institutional Ownership

13F filings, quarter ended Jun 30, 2026
HoldersSANMFLEX
Held by institutions 93.3% 94.3%
Institutions holding 569 1,106
Change in shares held, QoQ -5.4% -0.8%
Institutions buying 317 674
Institutions selling 207 342
Buyers to sellers 1.53 1.97

Return Correlation

Daily returns, last 12 months

1.00 means two stocks move in lockstep, 0 that they move independently. Pairs below about 0.5 diversify each other.

SANMFLEX
SANM 1.00 0.61
FLEX 0.61 1.00

Add a Peer

Largest companies in the same industry

Related Comparisons

Frequently Asked Questions

Which is bigger, SANM and FLEX?

Flex (FLEX) is the largest by market capitalisation: Sanmina (SANM) $9.14B, Flex (FLEX) $30.60B.

Which stock is cheaper, SANM and FLEX?

Sanmina (SANM) trades on the lowest price-to-earnings ratio (Sanmina (SANM) 29.6x, Flex (FLEX) 31.5x). On next year's consensus earnings, Sanmina (SANM) is cheapest (Sanmina (SANM) 14.3x, Flex (FLEX) 15.8x). A lower multiple can reflect slower expected growth, so read it next to the growth figures.

Which company is growing faster?

Sanmina (SANM) grew revenue fastest over the trailing twelve months: Sanmina (SANM) +58.6%, Flex (FLEX) +12.2%.

Which company is more profitable?

Flex (FLEX) has the highest net margin (Sanmina (SANM) 2.4%, Flex (FLEX) 3.3%). On return on invested capital, Flex (FLEX) leads (Sanmina (SANM) 7.8%, Flex (FLEX) 11.3%).

Which stock has performed better?

Over the past year Sanmina (SANM) returned the most: Sanmina (SANM) +20.6%, Flex (FLEX) +19.8%. Over five years, Flex (FLEX) compounded fastest (Sanmina (SANM) +33.7%/yr, Flex (FLEX) +41.1%/yr). Returns are price only, before dividends.

Which stock is riskier?

By one-year price volatility, Flex (FLEX) has been the steadiest (Sanmina (SANM) 71.1%, Flex (FLEX) 68.7%). Volatility measures how widely the price swings, not the risk of the business.

Do SANM and FLEX move together?

Their daily returns over the past year have a correlation of 0.61, a moderate positive relationship. Holding both diversifies more than two closely linked stocks would.

Which is the better stock, SANM and FLEX?

There is no single answer; it depends on what you are buying for. On the 12 head-to-head measures on this page, Sanmina (SANM) leads on 6. Business Quant does not give investment advice; use the comparison as a starting point for your own research.

Data from SEC filings, exchange prices and consensus estimates, via Business Quant. Percentile scores compare each company with its own peer group, so two companies' scores are each relative to different peers unless you rank against the whole market. Price returns exclude dividends. Nothing on this page is investment advice.