StockComparison Logo
vs

CGNX vs EHC

Comparison between Cognex Corp (CGNX, Company) and Encompass Health Corp (EHC, Company).

CGNX is from the Technology sector, while EHC is from the Healthcare sector.

5-Year PerformanceEHC has outperformed CGNX, delivering a return of +10.3% compared to -2.7%

CGNX vs EHC - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap
CGNX
$10B
Winner
EHC
$10B
Max Drawdown
CGNX
85.19%
Winner
EHC
48.97%
Sharpe Ratio
Winner
CGNX
1.68
EHC
-0.38
5Y Beta
CGNX
1.38
Winner
EHC
0.47
Industry
CGNX
Scientific & Technical Instruments
EHC
Medical Care Facilities
P/E Ratio
CGNX
91.17
Winner
EHC
17.11
Forward P/E
CGNX
33.90
Winner
EHC
17.06
PEG Ratio
CGNX
8.99
Winner
EHC
0.37
Dividend Yield
CGNX
0.50%
Winner
EHC
0.69%
5Y Dividends CAGR
CGNX
-29.08%
Winner
EHC
-4.07%
5Y EPS CAGR
CGNX
-7.52%
Winner
EHC
10.00%
Debt to Equity
CGNX
0.00%
EHC
0.00%
Free Cash Flow Yield
Winner
CGNX
2.28%
EHC
0.00%
P/S Ratio
CGNX
10.46
Winner
EHC
1.75
P/B Ratio
CGNX
6.30
Winner
EHC
4.13

CGNX vs EHC - Historical Returns

Returns include dividend reinvestment.

1M
Winner
CGNX
+22.09%
EHC
-0.66%
3M
Winner
CGNX
+50.41%
EHC
+0.14%
6M
Winner
CGNX
+67.84%
EHC
-7.61%
1Y
Winner
CGNX
+125.02%
EHC
-7.85%
5Y(CAGR)
CGNX
-2.66%
Winner
EHC
+10.25%
10Y(CAGR)
CGNX
+13.45%
Winner
EHC
+13.91%
Max(CAGR)
CGNX
+9.54%
Winner
EHC
+13.91%

CGNX vs EHC - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearCGNXEHC
2026+78.07%-0.06%
2025+1.71%+16.09%
2024-10.44%+38.24%
2023-12.34%+13.28%
2022-38.45%+13.04%
2021-2.77%-19.55%
2020+46.09%+21.56%
2019+45.84%+15.03%
2018-36.76%+22.01%
2017+93.98%+0.00%
2016+92.37%N/A
2015-16.87%N/A
2014+9.22%N/A
2013+98.75%N/A
2012+4.12%N/A
2011+19.53%N/A
2010+64.06%N/A
2009+19.35%N/A
2008-23.48%N/A
2007-15.44%N/A
2006-18.91%N/A
2005+12.82%N/A
2004-0.78%N/A
2003+47.96%N/A
2002-27.56%N/A
2001+33.87%N/A
2000-40.24%N/A
1999+29.44%N/A

CGNX vs EHC Drawdown Comparison

The maximum drawdown for CGNX was -83.73%, occurring on Mar 9, 2009. Recovery took 3348 trading sessions.

The maximum drawdown for EHC was -39.54%, occurring on Mar 23, 2020. Recovery took 195 trading sessions.

The current CGNX drawdown is -27.83%. The current EHC drawdown is -16.26%.

RankCGNXEHC
#1-83.73%
Apr 7, 2000 - Aug 1, 2013
-39.54%
Feb 19, 2020 - Nov 24, 2020
#2-74.63%
Feb 12, 2021 - Apr 8, 2025
-38.15%
Apr 23, 2021 - Aug 2, 2023
#3-51.57%
Nov 21, 2017 - Nov 4, 2020
-29.04%
Aug 22, 2018 - Feb 10, 2020
#4-44.58%
Apr 13, 2015 - Sep 21, 2016
-26.09%
Oct 27, 2025 - Feb 2, 2026
#5-20.02%
Feb 13, 2014 - Jul 3, 2014
-15.38%
Aug 14, 2023 - Jan 26, 2024
#6-19.62%
Aug 22, 2014 - Feb 26, 2015
-12.52%
Jun 30, 2025 - Aug 20, 2025
#7-14.73%
Mar 9, 2000 - Mar 23, 2000
-12.10%
Nov 26, 2024 - Apr 25, 2025
#8-11.49%
Jun 8, 2017 - Aug 1, 2017
-10.83%
Jan 21, 2021 - Apr 21, 2021
#9-9.92%
Dec 31, 1999 - Jan 14, 2000
-8.97%
Aug 1, 2024 - Aug 30, 2024
#10-9.83%
Oct 29, 2013 - Nov 27, 2013
-6.80%
Jan 26, 2018 - Feb 27, 2018
#11-8.95%
Oct 24, 2016 - Nov 7, 2016
-5.69%
Apr 5, 2024 - Apr 29, 2024
#12-8.81%
Nov 22, 1999 - Dec 21, 1999
-5.34%
Jan 5, 2018 - Jan 22, 2018
#13-8.46%
Sep 10, 2013 - Oct 29, 2013
-4.52%
Nov 7, 2024 - Nov 26, 2024
#14-6.60%
Jan 21, 2000 - Feb 2, 2000
-4.52%
Mar 12, 2018 - Apr 4, 2018
#15-6.42%
Jan 14, 2021 - Feb 5, 2021
-4.46%
Dec 9, 2020 - Jan 6, 2021

Correlation

Correlation between CGNX and EHC is -0.33 which considered as a weak negative correlation - the stocks show a slight tendency to move in opposite directions.

-0.33
-101

Dividend Comparison (2003 - 2026)

CGNX vs EHC dividend yield comparison.

YearCGNXEHC
20260.13%0.36%
20250.90%0.66%
20240.85%0.51%
20230.68%0.90%
20220.56%20.45%
20210.32%1.72%
20202.77%1.35%
20190.37%1.59%
20180.48%1.69%
20170.27%0.51%
20160.46%0.00%
20150.62%0.00%
20123.89%0.00%
20111.01%0.00%
20100.85%0.00%
20091.69%0.00%
20083.18%0.00%
20071.69%0.00%
20061.39%0.00%
20051.06%0.00%
20041.00%0.00%
20030.42%0.00%

Select Stocks to Compare