FLEX vs. COST
FLEX (Flex Ltd.) and COST (Costco Wholesale Corporation) are both stocks. FLEX operates in Electronic Components (Technology), while COST operates in Discount Stores (Consumer Defensive). Over the past 10 years, FLEX returned 36.85%/yr vs 22.34%/yr for COST. At a 0.27 correlation, their price movements are largely independent.
Performance
FLEX vs. COST - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, FLEX achieves a 168.02% return, which is significantly higher than COST's 11.85% return. Over the past 10 years, FLEX has outperformed COST with an annualized return of 36.85%, while COST has yielded a comparatively lower 22.34% annualized return.
FLEX
- 1D
- 1.57%
- 1M
- 76.33%
- YTD
- 168.02%
- 6M
- 175.55%
- 1Y
- 274.69%
- 3Y*
- 123.77%
- 5Y*
- 72.90%
- 10Y*
- 36.85%
COST
- 1D
- 0.79%
- 1M
- -5.03%
- YTD
- 11.85%
- 6M
- 4.58%
- 1Y
- -8.37%
- 3Y*
- 25.00%
- 5Y*
- 21.24%
- 10Y*
- 22.34%
FLEX vs. COST - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
FLEX Flex Ltd. | 168.02% | 57.38% | 127.87% | 41.94% | 17.08% | 1.95% | 42.47% | 65.83% | -57.70% | 25.19% |
COST Costco Wholesale Corporation | 11.85% | -5.39% | 39.62% | 49.00% | -19.05% | 51.82% | 32.67% | 45.70% | 10.60% | 22.37% |
Correlation
The correlation between FLEX and COST is -0.08, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.08 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.14 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.26 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.28 |
Correlation (All Time) Calculated using the full available price history since Mar 21, 1994 | 0.27 |
The correlation between FLEX and COST shifts across timeframes, from -0.08 (1 year) to 0.28 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
FLEX:
$2.33
COST:
$26.51
FLEX:
69.51
COST:
36.29
FLEX:
3.62
COST:
2.84
FLEX:
2.19
COST:
1.09
FLEX:
$27.91B
COST:
$293.59B
FLEX:
$2.57B
COST:
$11.12B
FLEX:
$1.66B
COST:
$12.48B
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. COST — Risk / Return Rank
FLEX
COST
FLEX vs. COST - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Flex Ltd. (FLEX) and Costco Wholesale Corporation (COST). 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.
| FLEX | COST | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +5.03 | ||
| Sortino ratioReturn per unit of downside risk | +5.58 | ||
| Omega ratioGain probability vs. loss probability | 1.68 | 0.94 | +0.73 |
| Calmar ratioReturn relative to maximum drawdown | 15.05 | -0.44 | +15.49 |
| Martin ratioReturn relative to average drawdown | 36.21 | -0.88 | +37.09 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| FLEX | COST | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 4.59 | -0.44 | +5.03 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 1.56 | 0.94 | +0.62 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.81 | 1.02 | -0.21 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.31 | 0.59 | -0.27 |
Drawdowns
FLEX vs. COST - Drawdown Comparison
The maximum FLEX drawdown since its inception was -96.37%, which is greater than COST's maximum drawdown of -53.39%. Use the drawdown chart below to compare losses from any high point for FLEX and COST.
Loading charts...
Drawdown Indicators
| FLEX | COST | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -96.37% | -53.39% | -42.98% |
Max Drawdown (1Y)Largest decline over 1 year | -18.38% | -18.95% | +0.57% |
Max Drawdown (3Y)Largest decline over 3 years | -39.99% | -20.74% | -19.25% |
Max Drawdown (5Y)Largest decline over 5 years | -39.99% | -31.40% | -8.59% |
Max Drawdown (10Y)Largest decline over 10 years | -70.02% | -31.40% | -38.62% |
Current DrawdownCurrent decline from peak | 0.00% | -12.11% | +12.11% |
Average DrawdownAverage peak-to-trough decline | -55.26% | -13.36% | -41.90% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 7.63% | 9.86% | -2.23% |
Volatility
FLEX vs. COST - Volatility Comparison
Flex Ltd. (FLEX) has a higher volatility of 36.68% compared to Costco Wholesale Corporation (COST) at 8.05%. This indicates that FLEX's price experiences larger fluctuations and is considered to be riskier than COST based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| FLEX | COST | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 36.68% | 8.05% | +28.63% |
Volatility (6M)Calculated over the trailing 6-month period | 49.96% | 14.83% | +35.13% |
Volatility (1Y)Calculated over the trailing 1-year period | 60.25% | 19.12% | +41.13% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 47.00% | 22.73% | +24.27% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 45.72% | 21.95% | +23.77% |
Dividends
FLEX vs. COST - Dividend Comparison
FLEX has not paid dividends to shareholders, while COST's dividend yield for the trailing twelve months is around 0.56%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 0.56% | 0.59% | 0.49% | 2.87% | 0.76% | 0.54% | 3.38% | 0.86% | 1.08% | 4.81% | 1.09% | 4.06% |
FLEX Flex Ltd. | 0.00% | 0.00% | 21.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
FLEX vs. COST - Financials Comparison
This section allows you to compare key financial metrics between Flex Ltd. and Costco Wholesale 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. COST - 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%.
COST - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Costco Wholesale Corporation reported a gross profit of -17.68B and revenue of 70.53B. Therefore, the gross margin over that period was -25.1%.
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%.
COST - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Costco Wholesale Corporation reported an operating income of 2.82B and revenue of 70.53B, resulting in an operating margin of 4.0%.
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%.
COST - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Costco Wholesale Corporation reported a net income of 2.19B and revenue of 70.53B, resulting in a net margin of 3.1%.
Frequently Asked Questions
FLEX and COST have a correlation of -0.08, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
FLEX has higher volatility (36.68%) compared to COST (8.05%). In terms of maximum drawdown, FLEX dropped -96.37% vs COST's -53.39%.
FLEX currently has the higher Sharpe Ratio (4.59 vs -0.44), 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 COST
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