StockComparison Logo
vs

AFG vs CGNX

Comparison between American Financial Group Inc (AFG, Company) and Cognex Corp (CGNX, Company).

AFG is from the Financial Services sector, while CGNX is from the Technology sector.

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

AFG vs CGNX - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap
AFG
$11B
Winner
CGNX
$11B
Max Drawdown
Winner
AFG
64.27%
CGNX
85.19%
Sharpe Ratio
AFG
0.68
Winner
CGNX
1.62
5Y Beta
Winner
AFG
0.47
CGNX
1.40
Industry
AFG
Insurance - Property & Casualty
CGNX
Scientific & Technical Instruments
P/E Ratio
Winner
AFG
12.67
CGNX
78.21
Forward P/E
Winner
AFG
11.53
CGNX
33.90
PEG Ratio
Winner
AFG
1.18
CGNX
3.33
Dividend Yield
Winner
AFG
2.52%
CGNX
0.50%
5Y Dividends CAGR
Winner
AFG
14.40%
CGNX
-31.58%
5Y EPS CAGR
AFG
-8.90%
Winner
CGNX
-7.89%
Debt to Equity
AFG
38.91%
Winner
CGNX
0.00%
Free Cash Flow Yield
Winner
AFG
15.00%
CGNX
2.17%

AFG vs CGNX - Historical Returns

Returns include dividend reinvestment.

1M
AFG
+3.13%
Winner
CGNX
+21.23%
3M
AFG
+1.15%
Winner
CGNX
+22.77%
6M
AFG
-0.20%
Winner
CGNX
+75.06%
1Y
AFG
+14.02%
Winner
CGNX
+118.64%
5Y(CAGR)
Winner
AFG
+11.31%
CGNX
-2.50%
10Y(CAGR)
Winner
AFG
+14.40%
CGNX
+12.88%
Max(CAGR)
Winner
AFG
+12.30%
CGNX
+9.59%

AFG vs CGNX - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearAFGCGNX
2026+1.63%+81.13%
2025+6.63%+1.71%
2024+23.21%-10.44%
2023-7.29%-12.34%
2022+12.38%-38.45%
2021+100.41%-2.77%
2020-17.32%+46.09%
2019+28.58%+45.84%
2018-11.62%-36.76%
2017+29.61%+93.98%
2016+28.46%+92.37%
2015+23.23%-16.87%
2014+11.05%+9.22%
2013+49.47%+98.75%
2012+8.30%+4.12%
2011+14.20%+19.53%
2010+29.55%+64.06%
2009+9.06%+19.35%
2008-18.23%-23.48%
2007-19.89%-15.44%
2006+42.58%-18.91%
2005+25.44%+12.82%
2004+20.43%-0.78%
2003+16.50%+47.96%
2002-1.88%-27.56%
2001-3.80%+33.87%
2000+9.32%-40.24%
1999-8.43%+29.44%

AFG vs CGNX Drawdown Comparison

The maximum drawdown for AFG was -62.93%, occurring on Mar 9, 2009. Recovery took 999 trading sessions.

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

The current AFG drawdown is -5.96%. The current CGNX drawdown is -26.59%.

RankAFGCGNX
#1-62.93%
Feb 21, 2007 - Feb 7, 2011
-83.73%
Apr 7, 2000 - Aug 1, 2013
#2-58.98%
Feb 11, 2020 - Feb 22, 2021
-74.63%
Feb 12, 2021 - Apr 8, 2025
#3-38.10%
Apr 19, 2002 - Feb 2, 2004
-51.57%
Nov 21, 2017 - Nov 4, 2020
#4-38.06%
Jul 13, 2001 - Apr 17, 2002
-44.58%
Apr 13, 2015 - Sep 21, 2016
#5-37.71%
Nov 5, 1999 - Feb 5, 2001
-20.02%
Feb 13, 2014 - Jul 3, 2014
#6-26.46%
Feb 1, 2018 - Nov 27, 2019
-19.62%
Aug 22, 2014 - Feb 26, 2015
#7-23.79%
Nov 10, 2022 - Mar 25, 2024
-14.73%
Mar 9, 2000 - Mar 23, 2000
#8-22.41%
Feb 5, 2001 - Jun 11, 2001
-11.49%
Jun 8, 2017 - Aug 1, 2017
#9-19.87%
Nov 25, 2024 - Sep 24, 2025
-9.92%
Dec 31, 1999 - Jan 14, 2000
#10-16.15%
Jun 7, 2022 - Oct 28, 2022
-9.83%
Oct 29, 2013 - Nov 27, 2013
#11-16.07%
Jul 7, 2011 - Oct 24, 2011
-8.95%
Oct 24, 2016 - Nov 7, 2016
#12-13.18%
Oct 3, 2025 - Mar 20, 2026
-8.81%
Nov 22, 1999 - Dec 21, 1999
#13-12.24%
Nov 16, 2004 - May 4, 2005
-8.46%
Sep 10, 2013 - Oct 29, 2013
#14-12.05%
Mar 27, 2024 - Sep 9, 2024
-6.60%
Jan 21, 2000 - Feb 2, 2000
#15-11.76%
Dec 4, 2015 - Jun 23, 2016
-6.42%
Jan 14, 2021 - Feb 5, 2021

Correlation

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

0.77
-101

Dividend Comparison (2000 - 2026)

AFG vs CGNX dividend yield comparison.

YearAFGCGNX
20262.44%0.25%
20255.33%0.90%
20246.89%0.85%
20236.81%0.68%
202210.42%0.56%
202120.43%0.32%
20204.39%2.77%
20194.51%0.37%
20184.92%0.48%
20174.41%0.27%
20162.44%0.46%
20152.82%0.62%
20143.15%0.00%
20133.13%0.00%
20122.45%3.89%
20111.80%1.01%
20101.78%0.85%
20092.08%1.69%
20082.19%3.18%
20071.39%1.69%
20061.02%1.39%
20051.30%1.06%
20041.60%1.00%
20031.89%0.42%
20022.17%0.00%
20014.07%0.00%
20003.77%0.00%

Select Stocks to Compare