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

Performance

FLEX vs. COST - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Flex Ltd. (FLEX) and Costco Wholesale Corporation (COST). 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 94.39% return, which is significantly higher than COST's 11.13% return. Over the past 10 years, FLEX has outperformed COST with an annualized return of 32.59%, while COST has yielded a comparatively lower 21.05% annualized return.


FLEX

1D
3.25%
1M
-14.18%
6M
81.59%
YTD
94.39%
1Y
137.18%
3Y*
98.79%
5Y*
64.44%
10Y*
32.59%
ALL TIME*
15.67%

COST

1D
0.23%
1M
0.41%
6M
-1.17%
YTD
11.13%
1Y
0.75%
3Y*
21.68%
5Y*
18.27%
10Y*
21.05%
ALL TIME*
16.99%
*Multi-year figures are annualized to reflect compound growth (CAGR)

Liquidity Comparison


PositionAvg. Volume Value (2W)Avg. Volume Value (1M)Avg. Volume Value (3M)
$1.88B$2.07B$2.36B
$699.10M$604.53M$1.03B

FLEX vs. COST - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
FLEX
Flex Ltd.
94.39%57.38%127.87%41.94%17.08%1.95%42.47%65.83%-57.70%25.19%
COST
Costco Wholesale Corporation
11.13%-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.19, meaning they have often moved in opposite directions in the past. This relationship can weaken or reverse as market conditions change.


Correlation
Correlation (1Y)
Focuses on recent behavior, but can change the most.

-0.19

Correlation (3Y)
Balances recent behavior with more history.

0.10

Correlation (5Y)
Shows whether the relationship held over a longer period.

0.23

Correlation (10Y)
Provides a long-term view across more market conditions.

0.26

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

0.27

The correlation between FLEX and COST shifts across timeframes, from -0.19 (1 year) to 0.27 (all time), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

FLEX:

$43.03B

COST:

$423.11B

EPS

FLEX:

$2.59

COST:

$26.51

PE Ratio

FLEX:

45.39

COST:

35.99

PEG Ratio

FLEX:

7.12

COST:

2.81

PS Ratio

FLEX:

1.51

COST:

1.08

Total Revenue (TTM)

FLEX:

$29.27B

COST:

$293.59B

Gross Profit (TTM)

FLEX:

$2.78B

COST:

$11.12B

EBITDA (TTM)

FLEX:

$1.90B

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

Compare historical risk-adjusted metric ranks over the past 12 months.

FLEX
FLEX Risk / Return Rank: 9292
Overall Rank
FLEX Sharpe Ratio Rank: 9292
Sharpe Ratio Rank
FLEX Sortino Ratio Rank: 9292
Sortino Ratio Rank
FLEX Omega Ratio Rank: 9090
Omega Ratio Rank
FLEX Calmar Ratio Rank: 9191
Calmar Ratio Rank
FLEX Martin Ratio Rank: 9494
Martin Ratio Rank

COST
COST Risk / Return Rank: 4242
Overall Rank
COST Sharpe Ratio Rank: 4646
Sharpe Ratio Rank
COST Sortino Ratio Rank: 3838
Sortino Ratio Rank
COST Omega Ratio Rank: 3737
Omega Ratio Rank
COST Calmar Ratio Rank: 4545
Calmar Ratio Rank
COST Martin Ratio Rank: 4545
Martin Ratio Rank
The rank (0–100) uses a weighted average of the Sharpe, Sortino, Omega, Calmar, and Martin percentile ranks for the trailing 12 months. Higher means stronger historical risk-adjusted performance within the peer group.

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.

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.


FLEXCOSTDifference
Sharpe ratioReturn per unit of total volatility

+2.03

Sortino ratioReturn per unit of downside risk

+2.75

Omega ratioGain probability vs. loss probability

1.37

1.02

+0.35

Calmar ratioReturn relative to maximum drawdown

3.79

0.05

+3.74

Martin ratioReturn relative to average drawdown

13.24

0.10

+13.14

FLEX vs. COST - Sharpe Ratio Comparison

The current FLEX Sharpe Ratio is 2.07, which is higher than the COST Sharpe Ratio of 0.04. The chart below compares the historical Sharpe Ratios of FLEX and COST, 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. 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


FLEXCOSTDifference

Max Drawdown

Largest peak-to-trough decline

-96.37%

-53.39%

-42.98%

Max Drawdown (1Y)

Largest decline over 1 year

-36.43%

-16.57%

-19.86%

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 Drawdown

Current decline from peak

-27.53%

-12.68%

-14.85%

Average Drawdown

Average peak-to-trough decline

-55.11%

-13.36%

-41.75%

Ulcer Index

Depth and duration of drawdowns from previous peaks

10.40%

7.85%

+2.55%

Volatility

FLEX vs. COST - Volatility Comparison

Flex Ltd. (FLEX) has a higher volatility of 20.60% compared to Costco Wholesale Corporation (COST) at 6.76%. 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


FLEXCOSTDifference

Volatility (1M)

Calculated over the trailing 1-month period

20.60%

6.76%

+13.84%

Volatility (6M)

Calculated over the trailing 6-month period

56.88%

15.08%

+41.80%

Volatility (1Y)

Calculated over the trailing 1-year period

66.94%

19.91%

+47.03%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

48.74%

22.93%

+25.81%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

46.63%

22.04%

+24.59%

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.58%.


PositionTTM20252024202320222021202020192018201720162015
COST
Costco Wholesale Corporation
0.58%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.


Quarterly
Annual

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


Values in USD except per share items

FLEX vs. COST - Profitability Comparison

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

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

FLEX - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Aug 2026, Flex Ltd. reported a gross profit of 747.00M and revenue of 7.93B. 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 Aug 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 Aug 2026, Flex Ltd. reported an operating income of 392.00M and revenue of 7.93B, resulting in an operating margin of 4.9%.

COST - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Aug 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 Aug 2026, Flex Ltd. reported a net income of 285.00M and revenue of 7.93B, resulting in a net margin of 3.6%.

COST - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Aug 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.19, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

FLEX has higher volatility (20.60%) compared to COST (6.76%). In terms of maximum drawdown, FLEX dropped -96.37% vs COST's -53.39%.

FLEX currently has the higher Sharpe Ratio (2.07 vs 0.04), 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 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