PortfoliosLab logoPortfoliosLab logo
FLEX vs. SANM
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

FLEX vs. SANM - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Flex Ltd. (FLEX) and Sanmina Corporation (SANM). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, FLEX achieves a 157.88% return, which is significantly higher than SANM's 68.89% return. Over the past 10 years, FLEX has outperformed SANM with an annualized return of 36.71%, while SANM has yielded a comparatively lower 25.40% annualized return.


FLEX

1D
5.56%
1M
17.62%
YTD
157.88%
6M
144.29%
1Y
238.50%
3Y*
120.18%
5Y*
74.99%
10Y*
36.71%

SANM

1D
4.95%
1M
2.84%
YTD
68.89%
6M
65.77%
1Y
182.08%
3Y*
64.62%
5Y*
45.86%
10Y*
25.40%
*Multi-year figures are annualized to reflect compound growth (CAGR)

FLEX vs. SANM - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
FLEX
Flex Ltd.
157.88%57.38%127.87%41.94%17.08%1.95%42.47%65.83%-57.70%25.19%
SANM
Sanmina Corporation
68.89%98.32%47.30%-10.33%38.18%30.01%-6.86%42.31%-27.09%-9.96%

Correlation

The correlation between FLEX and SANM is 0.70, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.


Correlation
Correlation (1Y)
Calculated over the trailing 1-year period

0.70

Correlation (3Y)
Calculated over the trailing 3-year period

0.67

Correlation (5Y)
Calculated over the trailing 5-year period

0.69

Correlation (10Y)
Calculated over the trailing 10-year period

0.66

Correlation (All Time)
Calculated using the full available price history since Mar 18, 1994

0.50

The correlation between FLEX and SANM shifts across timeframes, from 0.50 (all time) to 0.70 (1 year), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

FLEX:

$58.27B

SANM:

$14.02B

EPS

FLEX:

$2.33

SANM:

$4.72

PE Ratio

FLEX:

66.88

SANM:

53.65

PEG Ratio

FLEX:

3.48

SANM:

10.46

PS Ratio

FLEX:

2.11

SANM:

1.23

PB Ratio

FLEX:

11.33

SANM:

1.99

Total Revenue (TTM)

FLEX:

$27.91B

SANM:

$11.34B

Gross Profit (TTM)

FLEX:

$2.57B

SANM:

$968.36M

EBITDA (TTM)

FLEX:

$1.66B

SANM:

$365.81M

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

FLEX vs. SANM — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

FLEX
FLEX Risk / Return Rank: 9797
Overall Rank
FLEX Sharpe Ratio Rank: 9898
Sharpe Ratio Rank
FLEX Sortino Ratio Rank: 9797
Sortino Ratio Rank
FLEX Omega Ratio Rank: 9696
Omega Ratio Rank
FLEX Calmar Ratio Rank: 9999
Calmar Ratio Rank
FLEX Martin Ratio Rank: 9898
Martin Ratio Rank

SANM
SANM Risk / Return Rank: 9292
Overall Rank
SANM Sharpe Ratio Rank: 9494
Sharpe Ratio Rank
SANM Sortino Ratio Rank: 8989
Sortino Ratio Rank
SANM Omega Ratio Rank: 9191
Omega Ratio Rank
SANM Calmar Ratio Rank: 9393
Calmar Ratio Rank
SANM Martin Ratio Rank: 9292
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

FLEX vs. SANM - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Flex Ltd. (FLEX) and Sanmina Corporation (SANM). 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.


FLEXSANMDifference
Sharpe ratioReturn per unit of total volatility

+1.21

Sortino ratioReturn per unit of downside risk

+1.57

Omega ratioGain probability vs. loss probability

1.59

1.43

+0.16

Calmar ratioReturn relative to maximum drawdown

13.06

5.60

+7.46

Martin ratioReturn relative to average drawdown

30.58

13.88

+16.70

FLEX vs. SANM - Sharpe Ratio Comparison

The current FLEX Sharpe Ratio is 3.89, which is higher than the SANM Sharpe Ratio of 2.68. The chart below compares the historical Sharpe Ratios of FLEX and SANM, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Drawdowns

FLEX vs. SANM - Drawdown Comparison

The maximum FLEX drawdown since its inception was -96.37%, roughly equal to the maximum SANM drawdown of -99.66%. Use the drawdown chart below to compare losses from any high point for FLEX and SANM.


Loading charts...

Drawdown Indicators


FLEXSANMDifference

Max Drawdown

Largest peak-to-trough decline

-96.37%

-99.66%

+3.29%

Max Drawdown (1Y)

Largest decline over 1 year

-18.38%

-32.69%

+14.31%

Max Drawdown (3Y)

Largest decline over 3 years

-39.99%

-32.69%

-7.30%

Max Drawdown (5Y)

Largest decline over 5 years

-39.99%

-33.92%

-6.07%

Max Drawdown (10Y)

Largest decline over 10 years

-70.02%

-55.85%

-14.17%

Current Drawdown

Current decline from peak

-3.79%

-28.40%

+24.61%

Average Drawdown

Average peak-to-trough decline

-55.24%

-71.40%

+16.16%

Ulcer Index

Depth and duration of drawdowns from previous peaks

7.84%

13.18%

-5.34%

Volatility

FLEX vs. SANM - Volatility Comparison

Flex Ltd. (FLEX) and Sanmina Corporation (SANM) have volatilities of 18.18% and 18.87%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


FLEXSANMDifference

Volatility (1M)

Calculated over the trailing 1-month period

18.18%

18.87%

-0.69%

Volatility (6M)

Calculated over the trailing 6-month period

50.42%

48.93%

+1.49%

Volatility (1Y)

Calculated over the trailing 1-year period

61.82%

68.46%

-6.64%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

47.33%

44.58%

+2.75%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

45.93%

42.13%

+3.80%

Dividends

FLEX vs. SANM - Dividend Comparison

Neither FLEX nor SANM has paid dividends to shareholders.


PositionTTM20252024
FLEX
Flex Ltd.
0.00%0.00%21.00%
SANM
Sanmina Corporation
0.00%0.00%0.00%

Financials

FLEX vs. SANM - Financials Comparison

This section allows you to compare key financial metrics between Flex Ltd. and Sanmina Corporation. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


2.00B3.00B4.00B5.00B6.00B7.00B8.00B20222023202420252026
7.48B
4.01B
(FLEX) Total Revenue
(SANM) Total Revenue
Values in USD except per share items

FLEX vs. SANM - Profitability Comparison

The chart below illustrates the profitability comparison between Flex Ltd. and Sanmina Corporation over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

0.0%2.0%4.0%6.0%8.0%10.0%20222023202420252026
9.4%
8.9%
Portfolio components
FLEX - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Flex Ltd. reported a gross profit of 702.00M and revenue of 7.48B. Therefore, the gross margin over that period was 9.4%.

SANM - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Sanmina Corporation reported a gross profit of 354.98M and revenue of 4.01B. Therefore, the gross margin over that period was 8.9%.

FLEX - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Flex Ltd. reported an operating income of 372.00M and revenue of 7.48B, resulting in an operating margin of 5.0%.

SANM - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Sanmina Corporation reported an operating income of 157.01M and revenue of 4.01B, resulting in an operating margin of 3.9%.

FLEX - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Flex Ltd. reported a net income of 250.00M and revenue of 7.48B, resulting in a net margin of 3.3%.

SANM - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Sanmina Corporation reported a net income of 93.65M and revenue of 4.01B, resulting in a net margin of 2.3%.


Frequently Asked Questions


FLEX and SANM have a correlation of 0.70, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

SANM has higher volatility (18.87%) compared to FLEX (18.18%). In terms of maximum drawdown, FLEX dropped -96.37% vs SANM's -99.66%.

FLEX currently has the higher Sharpe Ratio (3.89 vs 2.68), 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.

Portfolio Optimizer

Find the right allocation for FLEX and SANM

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