PortfoliosLab logoPortfoliosLab logo
CGNX vs. CVS
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

CGNX vs. CVS - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Cognex Corporation (CGNX) and CVS Health Corporation (CVS). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, CGNX achieves a 86.18% return, which is significantly higher than CVS's 33.48% return. Over the past 10 years, CGNX has outperformed CVS with an annualized return of 12.61%, while CVS has yielded a comparatively lower 3.91% annualized return.


CGNX

1D
1.58%
1M
5.01%
6M
71.72%
YTD
86.18%
1Y
95.87%
3Y*
6.97%
5Y*
-4.44%
10Y*
12.61%

CVS

1D
1.30%
1M
2.15%
6M
31.92%
YTD
33.48%
1Y
66.66%
3Y*
17.97%
5Y*
8.61%
10Y*
3.91%
*Multi-year figures are annualized to reflect compound growth (CAGR)

CGNX vs. CVS - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
CGNX
Cognex Corporation
86.18%1.24%-13.45%-10.84%-39.11%-2.85%47.69%45.54%-36.53%92.91%
CVS
CVS Health Corporation
33.48%84.35%-40.77%-12.53%-7.63%54.87%-5.14%17.26%-7.04%-5.75%

Correlation

The correlation between CGNX and CVS is 0.05, 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.05

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

0.12

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

0.15

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

0.19

Correlation (All Time)
Calculated using the full available price history since Oct 9, 1989

0.22

The correlation between CGNX and CVS shifts across timeframes, from 0.05 (1 year) to 0.22 (all time), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

CGNX:

$11.12B

CVS:

$132.89B

EPS

CGNX:

$0.84

CVS:

$2.30

PE Ratio

CGNX:

79.14

CVS:

45.29

PS Ratio

CGNX:

10.78

CVS:

0.33

PB Ratio

CGNX:

7.61

CVS:

1.72

Total Revenue (TTM)

CGNX:

$1.05B

CVS:

$407.91B

Gross Profit (TTM)

CGNX:

$712.01M

CVS:

$56.59B

EBITDA (TTM)

CGNX:

$224.08M

CVS:

$9.99B

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

CGNX vs. CVS — Risk / Return Rank

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

CGNX
CGNX Risk / Return Rank: 8888
Overall Rank
CGNX Sharpe Ratio Rank: 8787
Sharpe Ratio Rank
CGNX Sortino Ratio Rank: 8989
Sortino Ratio Rank
CGNX Omega Ratio Rank: 8989
Omega Ratio Rank
CGNX Calmar Ratio Rank: 8989
Calmar Ratio Rank
CGNX Martin Ratio Rank: 8686
Martin Ratio Rank

CVS
CVS Risk / Return Rank: 9090
Overall Rank
CVS Sharpe Ratio Rank: 9292
Sharpe Ratio Rank
CVS Sortino Ratio Rank: 8787
Sortino Ratio Rank
CVS Omega Ratio Rank: 9090
Omega Ratio Rank
CVS Calmar Ratio Rank: 9191
Calmar Ratio Rank
CVS 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.

CGNX vs. CVS - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Cognex Corporation (CGNX) and CVS Health Corporation (CVS). 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.


CGNXCVSDifference
Sharpe ratioReturn per unit of total volatility

-0.51

Sortino ratioReturn per unit of downside risk

+0.23

Omega ratioGain probability vs. loss probability

1.36

1.38

-0.02

Calmar ratioReturn relative to maximum drawdown

3.38

3.94

-0.57

Martin ratioReturn relative to average drawdown

7.55

11.27

-3.73

CGNX vs. CVS - Sharpe Ratio Comparison

The current CGNX Sharpe Ratio is 1.58, which is comparable to the CVS Sharpe Ratio of 2.09. The chart below compares the historical Sharpe Ratios of CGNX and CVS, 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

CGNX vs. CVS - Drawdown Comparison

The maximum CGNX drawdown since its inception was -83.71%, which is greater than CVS's maximum drawdown of -64.07%. Use the drawdown chart below to compare losses from any high point for CGNX and CVS.


Loading charts...

Drawdown Indicators


CGNXCVSDifference

Max Drawdown

Largest peak-to-trough decline

-83.71%

-64.07%

-19.64%

Max Drawdown (1Y)

Largest decline over 1 year

-27.86%

-16.44%

-11.42%

Max Drawdown (3Y)

Largest decline over 3 years

-59.98%

-43.98%

-16.00%

Max Drawdown (5Y)

Largest decline over 5 years

-74.07%

-56.79%

-17.28%

Max Drawdown (10Y)

Largest decline over 10 years

-74.63%

-56.79%

-17.84%

Current Drawdown

Current decline from peak

-26.50%

-0.63%

-25.87%

Average Drawdown

Average peak-to-trough decline

-37.49%

-19.51%

-17.98%

Ulcer Index

Depth and duration of drawdowns from previous peaks

12.45%

5.81%

+6.64%

Volatility

CGNX vs. CVS - Volatility Comparison

Cognex Corporation (CGNX) has a higher volatility of 16.94% compared to CVS Health Corporation (CVS) at 6.94%. This indicates that CGNX's price experiences larger fluctuations and is considered to be riskier than CVS based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


CGNXCVSDifference

Volatility (1M)

Calculated over the trailing 1-month period

16.94%

6.94%

+10.00%

Volatility (6M)

Calculated over the trailing 6-month period

44.13%

26.27%

+17.86%

Volatility (1Y)

Calculated over the trailing 1-year period

59.69%

31.04%

+28.65%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

44.09%

30.05%

+14.04%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

42.04%

29.36%

+12.68%

Dividends

CGNX vs. CVS - Dividend Comparison

CGNX's dividend yield for the trailing twelve months is around 0.50%, less than CVS's 2.55% yield.


PositionTTM20252024202320222021202020192018201720162015
CGNX
Cognex Corporation
0.50%0.90%0.85%0.68%0.56%0.32%2.77%0.37%0.48%0.27%0.46%0.62%
CVS
CVS Health Corporation
2.55%3.35%5.93%3.06%2.36%1.94%2.93%2.69%3.05%2.76%2.15%1.43%

Financials

CGNX vs. CVS - Financials Comparison

This section allows you to compare key financial metrics between Cognex Corporation and CVS Health 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


0.0020.00B40.00B60.00B80.00B100.00BOctober2022AprilJulyOctober2023AprilJulyOctober2024AprilJulyOctober2025AprilJulyOctober2026April
268.44M
100.43B
(CGNX) Total Revenue
(CVS) Total Revenue
Values in USD except per share items

CGNX vs. CVS - Profitability Comparison

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

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

10.0%20.0%30.0%40.0%50.0%60.0%70.0%October2022AprilJulyOctober2023AprilJulyOctober2024AprilJulyOctober2025AprilJulyOctober2026April
71.1%
15.6%
Portfolio components
CGNX - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, Cognex Corporation reported a gross profit of 190.94M and revenue of 268.44M. Therefore, the gross margin over that period was 71.1%.

CVS - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, CVS Health Corporation reported a gross profit of 15.62B and revenue of 100.43B. Therefore, the gross margin over that period was 15.6%.

CGNX - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, Cognex Corporation reported an operating income of 59.87M and revenue of 268.44M, resulting in an operating margin of 22.3%.

CVS - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, CVS Health Corporation reported an operating income of 4.68B and revenue of 100.43B, resulting in an operating margin of 4.7%.

CGNX - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, Cognex Corporation reported a net income of 51.70M and revenue of 268.44M, resulting in a net margin of 19.3%.

CVS - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, CVS Health Corporation reported a net income of 2.94B and revenue of 100.43B, resulting in a net margin of 2.9%.


Frequently Asked Questions


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

CGNX has higher volatility (16.94%) compared to CVS (6.94%). In terms of maximum drawdown, CGNX dropped -83.71% vs CVS's -64.07%.

CVS currently has the higher Sharpe Ratio (2.09 vs 1.58), 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 CGNX and CVS

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