StockComparison Logo
vs

CGNX vs SPY

Comparison between Cognex Corp (CGNX, Company) and SPDR S&P 500 ETF Trust (SPY, ETF).

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

CGNX vs SPY - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap / Net Assets
CGNX
$10B
Winner
SPY
$652B
Expense Ratio
CGNX
N/A
SPY
0.09%
Max Drawdown
CGNX
85.19%
Winner
SPY
56.47%
Sharpe Ratio
CGNX
1.68
Winner
SPY
2.07
5Y Beta
CGNX
1.38
Winner
SPY
1.00
Industry
CGNX
Scientific & Technical Instruments
SPY
N/A
P/E Ratio
CGNX
91.17
Winner
SPY
28.24
Forward P/E
CGNX
33.90
Winner
SPY
21.85
PEG Ratio
CGNX
8.99
SPY
N/A
Dividend Yield
CGNX
0.50%
SPY
N/A
5Y Dividends CAGR
CGNX
-29.08%
Winner
SPY
5.43%
5Y EPS CAGR
CGNX
-7.52%
Winner
SPY
25.79%
Debt to Equity
Winner
CGNX
0.00%
SPY
22.35%
Free Cash Flow Yield
CGNX
2.28%
SPY
N/A
P/S Ratio
CGNX
10.46
Winner
SPY
3.55
P/B Ratio
CGNX
6.30
Winner
SPY
5.29

CGNX vs SPY - Historical Returns

Returns include dividend reinvestment.

1M
Winner
CGNX
+22.09%
SPY
+9.11%
3M
Winner
CGNX
+50.41%
SPY
+6.59%
6M
Winner
CGNX
+67.84%
SPY
+10.56%
1Y
Winner
CGNX
+125.02%
SPY
+32.04%
5Y(CAGR)
CGNX
-2.66%
Winner
SPY
+13.35%
10Y(CAGR)
CGNX
+13.45%
Winner
SPY
+15.49%
Max(CAGR)
Winner
CGNX
+9.54%
SPY
+8.50%

CGNX vs SPY - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearCGNXSPY
2026+78.07%+8.27%
2025+1.71%+18.00%
2024-10.44%+25.59%
2023-12.34%+26.72%
2022-38.45%-18.64%
2021-2.77%+30.52%
2020+46.09%+17.28%
2019+45.84%+31.09%
2018-36.76%-5.24%
2017+93.98%+20.78%
2016+92.37%+13.59%
2015-16.87%+1.31%
2014+9.22%+14.56%
2013+98.75%+29.00%
2012+4.12%+14.17%
2011+19.53%+0.85%
2010+64.06%+13.14%
2009+19.35%+22.67%
2008-23.48%-36.25%
2007-15.44%+5.32%
2006-18.91%+13.85%
2005+12.82%+5.32%
2004-0.78%+10.75%
2003+47.96%+24.18%
2002-27.56%-22.42%
2001+33.87%-10.13%
2000-40.24%-8.84%
1999+29.44%+8.61%

CGNX vs SPY Drawdown Comparison

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

The maximum drawdown for SPY was -55.20%, occurring on Mar 9, 2009. Recovery took 1224 trading sessions.

The current CGNX drawdown is -27.83%.

RankCGNXSPY
#1-83.73%
Apr 7, 2000 - Aug 1, 2013
-55.20%
Oct 9, 2007 - Aug 16, 2012
#2-74.63%
Feb 12, 2021 - Apr 8, 2025
-47.50%
Mar 24, 2000 - Oct 26, 2006
#3-51.57%
Nov 21, 2017 - Nov 4, 2020
-33.70%
Feb 19, 2020 - Aug 10, 2020
#4-44.58%
Apr 13, 2015 - Sep 21, 2016
-24.50%
Jan 3, 2022 - Dec 13, 2023
#5-20.02%
Feb 13, 2014 - Jul 3, 2014
-19.34%
Sep 20, 2018 - Apr 12, 2019
#6-19.62%
Aug 22, 2014 - Feb 26, 2015
-18.76%
Feb 19, 2025 - Jun 26, 2025
#7-14.73%
Mar 9, 2000 - Mar 23, 2000
-13.02%
Jul 20, 2015 - Apr 18, 2016
#8-11.49%
Jun 8, 2017 - Aug 1, 2017
-10.10%
Jan 26, 2018 - Aug 6, 2018
#9-9.92%
Dec 31, 1999 - Jan 14, 2000
-9.44%
Sep 2, 2020 - Nov 11, 2020
#10-9.83%
Oct 29, 2013 - Nov 27, 2013
-9.30%
Jan 19, 2000 - Mar 17, 2000
#11-8.95%
Oct 24, 2016 - Nov 7, 2016
-9.05%
Jul 19, 2007 - Oct 5, 2007
#12-8.81%
Nov 22, 1999 - Dec 21, 1999
-8.88%
Jan 27, 2026 - Apr 14, 2026
#13-8.46%
Sep 10, 2013 - Oct 29, 2013
-8.41%
Jul 16, 2024 - Sep 19, 2024
#14-6.60%
Jan 21, 2000 - Feb 2, 2000
-7.35%
Sep 14, 2012 - Jan 2, 2013
#15-6.42%
Jan 14, 2021 - Feb 5, 2021
-7.27%
Sep 18, 2014 - Oct 31, 2014

Correlation

Correlation between CGNX and SPY is 0.77 which considered as a strong positive correlation - the stocks tend to move together.

0.77
-101

Dividend Comparison (1999 - 2026)

CGNX vs SPY dividend yield comparison.

YearCGNXSPY
20260.13%0.24%
20250.90%1.07%
20240.85%1.21%
20230.68%1.40%
20220.56%1.65%
20210.32%1.20%
20202.77%1.52%
20190.37%1.75%
20180.48%2.04%
20170.27%1.80%
20160.46%2.03%
20150.62%2.06%
20140.00%1.87%
20130.00%1.81%
20123.89%2.18%
20111.01%2.05%
20100.85%1.80%
20091.69%1.95%
20083.18%3.02%
20071.69%1.85%
20061.39%1.73%
20051.06%1.73%
20041.00%1.82%
20030.42%1.47%
20020.00%1.70%
20010.00%1.25%
20000.00%1.15%
19990.00%0.24%

Select Stocks to Compare

Popular: CGNX vs SPY