PortfoliosLab logoPortfoliosLab logo
CGNX vs. CVS
Performance
Return for Risk
Dividends
Drawdowns
Volatility
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 graphics...

CGNX vs. CVS - Yearly Performance Comparison


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

Fundamentals

Market Cap

CGNX:

$8.33B

CVS:

$92.57B

EPS

CGNX:

$0.68

CVS:

$1.39

PE Ratio

CGNX:

72.83

CVS:

52.15

PS Ratio

CGNX:

8.38

CVS:

0.23

PB Ratio

CGNX:

5.59

CVS:

1.23

Total Revenue (TTM)

CGNX:

$994.36M

CVS:

$402.07B

Gross Profit (TTM)

CGNX:

$665.39M

CVS:

$55.36B

EBITDA (TTM)

CGNX:

$191.13M

CVS:

$8.69B

Returns By Period

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


CGNX

1D
0.71%
1M
-8.34%
YTD
37.34%
6M
8.06%
1Y
65.74%
3Y*
0.62%
5Y*
-9.59%
10Y*
10.55%

CVS

1D
0.93%
1M
-11.23%
YTD
-7.91%
6M
-4.14%
1Y
10.70%
3Y*
3.08%
5Y*
2.82%
10Y*
-0.66%
*Multi-year figures are annualized to reflect compound growth (CAGR)

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: 7878
Overall Rank
CGNX Sharpe Ratio Rank: 7575
Sharpe Ratio Rank
CGNX Sortino Ratio Rank: 7979
Sortino Ratio Rank
CGNX Omega Ratio Rank: 8080
Omega Ratio Rank
CGNX Calmar Ratio Rank: 8080
Calmar Ratio Rank
CGNX Martin Ratio Rank: 7676
Martin Ratio Rank

CVS
CVS Risk / Return Rank: 5252
Overall Rank
CVS Sharpe Ratio Rank: 5353
Sharpe Ratio Rank
CVS Sortino Ratio Rank: 4545
Sortino Ratio Rank
CVS Omega Ratio Rank: 4747
Omega Ratio Rank
CVS Calmar Ratio Rank: 5656
Calmar Ratio Rank
CVS Martin Ratio Rank: 5757
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.


CGNXCVSDifference

Sharpe ratio

Return per unit of total volatility

1.09

0.35

+0.74

Sortino ratio

Return per unit of downside risk

2.10

0.62

+1.48

Omega ratio

Gain probability vs. loss probability

1.29

1.09

+0.20

Calmar ratio

Return relative to maximum drawdown

2.40

0.67

+1.72

Martin ratio

Return relative to average drawdown

5.07

1.65

+3.42

CGNX vs. CVS - Sharpe Ratio Comparison

The current CGNX Sharpe Ratio is 1.09, which is higher than the CVS Sharpe Ratio of 0.35. The chart below compares the historical Sharpe Ratios of CGNX and CVS, offering insights into how both investments have performed under varying market conditions. These values are calculated using daily returns over the previous 12 months.


Loading graphics...

Sharpe Ratios by Period


CGNXCVSDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

1.09

0.35

+0.74

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.22

0.10

-0.32

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.25

-0.02

+0.28

Sharpe Ratio (All Time)

Calculated using the full available price history

0.26

0.31

-0.05

Correlation

The correlation between CGNX and CVS is 0.22, which is considered to be low. This implies their price changes are not closely related. A low correlation is generally favorable for portfolio diversification, as it helps to reduce overall risk by spreading it across multiple assets with different performance patterns.


Dividends

CGNX vs. CVS - Dividend Comparison

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


TTM20252024202320222021202020192018201720162015
CGNX
Cognex Corporation
0.67%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
3.67%3.35%5.93%3.06%2.36%1.94%2.93%2.69%3.05%2.76%2.15%1.43%

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 graphics...

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 (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

-45.78%

-24.78%

-21.00%

Average Drawdown

Average peak-to-trough decline

-37.53%

-19.59%

-17.94%

Ulcer Index

Depth and duration of drawdowns from previous peaks

13.17%

6.72%

+6.45%

Volatility

CGNX vs. CVS - Volatility Comparison

Cognex Corporation (CGNX) has a higher volatility of 13.36% compared to CVS Health Corporation (CVS) at 6.10%. 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 graphics...

Volatility by Period


CGNXCVSDifference

Volatility (1M)

Calculated over the trailing 1-month period

13.36%

6.10%

+7.26%

Volatility (6M)

Calculated over the trailing 6-month period

45.30%

23.05%

+22.25%

Volatility (1Y)

Calculated over the trailing 1-year period

60.50%

30.81%

+29.69%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

43.02%

29.35%

+13.67%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

41.89%

28.93%

+12.96%

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.00B20212022202320242025
252.34M
105.69B
(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%80.0%20212022202320242025
65.8%
12.8%
Portfolio components
CGNX - Gross Margin

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

CVS - Gross Margin

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

CGNX - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Apr 2026, Cognex Corporation reported an operating income of 35.28M and revenue of 252.34M, resulting in an operating margin of 14.0%.

CVS - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Apr 2026, CVS Health Corporation reported an operating income of 2.11B and revenue of 105.69B, resulting in an operating margin of 2.0%.

CGNX - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Apr 2026, Cognex Corporation reported a net income of 32.66M and revenue of 252.34M, resulting in a net margin of 12.9%.

CVS - Net Margin

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