CGNX vs. CVS
CGNX (Cognex Corporation) and CVS (CVS Health Corporation) are both stocks. CGNX operates in Scientific & Technical Instruments (Technology), while CVS operates in Healthcare Plans (Healthcare). Over the past 10 years, CGNX returned 12.44%/yr vs 2.37%/yr for CVS. At a 0.22 correlation, their price movements are largely independent.
Performance
CGNX vs. CVS - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, CGNX achieves a 84.18% return, which is significantly higher than CVS's 14.70% return. Over the past 10 years, CGNX has outperformed CVS with an annualized return of 12.44%, while CVS has yielded a comparatively lower 2.37% annualized return.
CGNX
- 1D
- 2.23%
- 1M
- 18.29%
- YTD
- 84.18%
- 6M
- 73.52%
- 1Y
- 124.18%
- 3Y*
- 5.93%
- 5Y*
- -2.62%
- 10Y*
- 12.44%
CVS
- 1D
- -1.24%
- 1M
- 9.03%
- YTD
- 14.70%
- 6M
- 17.27%
- 1Y
- 45.87%
- 3Y*
- 12.84%
- 5Y*
- 3.94%
- 10Y*
- 2.37%
CGNX vs. CVS - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 84.18% | 1.24% | -13.45% | -10.84% | -39.11% | -2.85% | 47.69% | 45.54% | -36.53% | 92.91% |
CVS CVS Health Corporation | 14.70% | 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.06, 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.06 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.13 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.16 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.20 |
Correlation (All Time) Calculated using the full available price history since Oct 10, 1989 | 0.22 |
The correlation between CGNX and CVS shifts across timeframes, from 0.06 (1 year) to 0.22 (all time), reflecting how their relationship changes across market environments.
Fundamentals
CGNX:
$11.13B
CVS:
$114.47B
CGNX:
$0.84
CVS:
$2.30
CGNX:
78.25
CVS:
38.88
CGNX:
10.66
CVS:
0.28
CGNX:
7.52
CVS:
1.48
CGNX:
$1.05B
CVS:
$407.91B
CGNX:
$712.01M
CVS:
$56.59B
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
CGNX
CVS
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.
| CGNX | CVS | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | 2.17 | 1.50 | +0.67 |
Sortino ratioReturn per unit of downside risk | 3.49 | 1.93 | +1.57 |
Omega ratioGain probability vs. loss probability | 1.47 | 1.29 | +0.18 |
Calmar ratioReturn relative to maximum drawdown | 4.38 | 2.73 | +1.65 |
Martin ratioReturn relative to average drawdown | 9.94 | 7.06 | +2.88 |
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
| CGNX | CVS | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 2.17 | 1.50 | +0.67 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | -0.06 | 0.13 | -0.19 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.30 | 0.08 | +0.22 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.28 | 0.33 | -0.05 |
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
| CGNX | CVS | Difference | |
|---|---|---|---|
Max DrawdownLargest 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 DrawdownCurrent decline from peak | -27.29% | -8.78% | -18.51% |
Average DrawdownAverage peak-to-trough decline | -37.52% | -19.56% | -17.96% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 12.27% | 6.36% | +5.91% |
Volatility
CGNX vs. CVS - Volatility Comparison
Cognex Corporation (CGNX) has a higher volatility of 14.08% compared to CVS Health Corporation (CVS) at 10.91%. 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
| CGNX | CVS | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 14.08% | 10.91% | +3.17% |
Volatility (6M)Calculated over the trailing 6-month period | 41.55% | 26.02% | +15.53% |
Volatility (1Y)Calculated over the trailing 1-year period | 57.58% | 30.74% | +26.84% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 43.44% | 29.90% | +13.54% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 41.80% | 29.28% | +12.52% |
Dividends
CGNX vs. CVS - Dividend Comparison
CGNX's dividend yield for the trailing twelve months is around 0.51%, less than CVS's 2.97% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 0.51% | 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.97% | 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.
Total Revenue: Total amount of money received from sales and other business activities
CGNX vs. CVS - Profitability Comparison
CGNX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 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 Jun 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 Jun 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 Jun 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 Jun 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 Jun 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.06, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
CGNX has higher volatility (14.08%) compared to CVS (10.91%). In terms of maximum drawdown, CGNX dropped -83.71% vs CVS's -64.07%.
CGNX currently has the higher Sharpe Ratio (2.17 vs 1.50), 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 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