StockComparison Logo
vs

CGNX vs VIAV

Comparison between Cognex Corp (CGNX, Company) and Viavi Solutions Inc (VIAV, Company).

Both CGNX and VIAV are from the Technology sector.

5-Year PerformanceVIAV has outperformed CGNX, delivering a return of +22.5% compared to -2.5%

CGNX vs VIAV - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap
CGNX
$11B
Winner
VIAV
$11B
Max Drawdown
CGNX
85.19%
Winner
VIAV
62.88%
Sharpe Ratio
CGNX
1.58
Winner
VIAV
2.84
5Y Beta
CGNX
1.42
Winner
VIAV
1.20
Industry
CGNX
Scientific & Technical Instruments
VIAV
Communication Equipment
P/E Ratio
CGNX
77.51
Winner
VIAV
-195.76
Forward P/E
Winner
CGNX
33.90
VIAV
38.91
PEG Ratio
CGNX
3.30
VIAV
N/A
Dividend Yield
CGNX
0.50%
VIAV
N/A
5Y Dividends CAGR
CGNX
-31.58%
VIAV
N/A
5Y EPS CAGR
CGNX
-7.89%
VIAV
N/A
Debt to Equity
Winner
CGNX
0.00%
VIAV
127.68%
Free Cash Flow Yield
Winner
CGNX
2.19%
VIAV
0.41%

CGNX vs VIAV - Historical Returns

Returns include dividend reinvestment.

1M
Winner
CGNX
+6.92%
VIAV
-5.19%
3M
CGNX
+32.72%
Winner
VIAV
+45.41%
6M
CGNX
+83.27%
Winner
VIAV
+171.09%
1Y
CGNX
+122.10%
Winner
VIAV
+405.03%
5Y(CAGR)
CGNX
-2.54%
Winner
VIAV
+22.47%
10Y(CAGR)
CGNX
+13.01%
Winner
VIAV
+20.98%
Max(CAGR)
CGNX
+9.53%
Winner
VIAV
+20.45%

CGNX vs VIAV - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearCGNXVIAV
2026+79.50%+159.89%
2025+1.71%+76.44%
2024-10.44%+0.90%
2023-12.34%-5.53%
2022-38.45%-41.05%
2021-2.77%+19.54%
2020+46.09%-2.16%
2019+45.84%+51.06%
2018-36.76%+12.17%
2017+93.98%+4.55%
2016+92.37%+34.32%
2015-16.87%-2.40%
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 VIAV Drawdown Comparison

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

The maximum drawdown for VIAV was -62.88%, occurring on Jun 26, 2024. Recovery took 1098 trading sessions.

The current CGNX drawdown is -27.25%. The current VIAV drawdown is -14.75%.

RankCGNXVIAV
#1-83.73%
Apr 7, 2000 - Aug 1, 2013
-62.88%
Jun 28, 2021 - Nov 10, 2025
#2-74.63%
Feb 12, 2021 - Apr 8, 2025
-44.13%
Nov 1, 2019 - Jan 20, 2021
#3-51.57%
Nov 21, 2017 - Nov 4, 2020
-27.79%
May 12, 2017 - Oct 1, 2018
#4-44.58%
Apr 13, 2015 - Sep 21, 2016
-27.57%
Nov 6, 2015 - Feb 26, 2016
#5-20.02%
Feb 13, 2014 - Jul 3, 2014
-26.49%
Oct 3, 2018 - Feb 15, 2019
#6-19.62%
Aug 22, 2014 - Feb 26, 2015
-21.13%
Mar 2, 2026 - Mar 24, 2026
#7-14.73%
Mar 9, 2000 - Mar 23, 2000
-17.65%
Aug 5, 2015 - Nov 3, 2015
#8-11.49%
Jun 8, 2017 - Aug 1, 2017
-16.09%
May 1, 2026 - Jun 9, 2026
#9-9.92%
Dec 31, 1999 - Jan 14, 2000
-14.65%
Mar 25, 2026 - Apr 7, 2026
#10-9.83%
Oct 29, 2013 - Nov 27, 2013
-13.16%
May 6, 2019 - Jul 1, 2019
#11-8.95%
Oct 24, 2016 - Nov 7, 2016
-13.04%
Mar 27, 2017 - May 5, 2017
#12-8.81%
Nov 22, 1999 - Dec 21, 1999
-12.57%
Dec 11, 2025 - Jan 26, 2026
#13-8.46%
Sep 10, 2013 - Oct 29, 2013
-12.33%
Nov 10, 2025 - Dec 5, 2025
#14-6.60%
Jan 21, 2000 - Feb 2, 2000
-11.24%
Apr 1, 2016 - Jun 10, 2016
#15-6.42%
Jan 14, 2021 - Feb 5, 2021
-10.41%
Feb 15, 2017 - Mar 20, 2017

Correlation

Correlation between CGNX and VIAV is 0.44 which considered as a weak positive correlation - the stocks show a slight tendency to move together.

0.44
-101

Dividend Comparison (2003 - 2026)

CGNX vs VIAV dividend yield comparison.

YearCGNXVIAV
20260.26%0.00%
20250.90%0.00%
20240.85%0.00%
20230.68%0.00%
20220.56%0.00%
20210.32%0.00%
20202.77%0.00%
20190.37%0.00%
20180.48%0.00%
20170.27%0.00%
20160.46%0.00%
20150.62%77.01%
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