FLEX vs. SANM
FLEX (Flex Ltd.) and SANM (Sanmina Corporation) are both stocks. Both operate in the Electronic Components industry within the Technology sector. Over the past 10 years, FLEX returned 36.71%/yr vs 25.40%/yr for SANM. A 0.50 correlation means they provide meaningful diversification when combined.
Performance
FLEX vs. SANM - Performance Comparison
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%
FLEX vs. SANM - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
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
FLEX:
$58.27B
SANM:
$14.02B
FLEX:
$2.33
SANM:
$4.72
FLEX:
66.88
SANM:
53.65
FLEX:
3.48
SANM:
10.46
FLEX:
2.11
SANM:
1.23
FLEX:
11.33
SANM:
1.99
FLEX:
$27.91B
SANM:
$11.34B
FLEX:
$2.57B
SANM:
$968.36M
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
FLEX
SANM
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.
| FLEX | SANM | Difference | |
|---|---|---|---|
| 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 |
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
| FLEX | SANM | Difference | |
|---|---|---|---|
Max DrawdownLargest 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 DrawdownCurrent decline from peak | -3.79% | -28.40% | +24.61% |
Average DrawdownAverage peak-to-trough decline | -55.24% | -71.40% | +16.16% |
Ulcer IndexDepth 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
| FLEX | SANM | Difference | |
|---|---|---|---|
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.
| Position | TTM | 2025 | 2024 |
|---|---|---|---|
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.
Total Revenue: Total amount of money received from sales and other business activities
FLEX vs. SANM - Profitability Comparison
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.
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