vs

Side-by-side financial comparison of COGNEX CORP (CGNX) and BOSTON BEER CO INC (SAM). Click either name above to swap in a different company.

BOSTON BEER CO INC is the larger business by last-quarter revenue ($461.6M vs $252.3M, roughly 1.8× COGNEX CORP). On growth, COGNEX CORP posted the faster year-over-year revenue change (9.9% vs -4.1%). Over the past eight quarters, COGNEX CORP's revenue compounded faster (9.4% CAGR vs -10.7%).

Cognex Corporation is an American manufacturer of machine vision systems, software and sensors. Cognex is headquartered in Natick, Massachusetts, USA with offices in more than 20 countries.

The Boston Beer Company is an American brewery founded in 1984 by James "Jim" Koch and Rhonda Kallman. Boston Beer Company's first brand of beer was named Samuel Adams after Founding Father Samuel Adams, an American revolutionary patriot. Since its founding, Boston Beer has started several other brands, and in 2019 completed a merger with Dogfish Head Brewery.

CGNX vs SAM — Head-to-Head

Bigger by revenue
SAM
SAM
1.8× larger
SAM
$461.6M
$252.3M
CGNX
Growing faster (revenue YoY)
CGNX
CGNX
+14.0% gap
CGNX
9.9%
-4.1%
SAM
Faster 2-yr revenue CAGR
CGNX
CGNX
Annualised
CGNX
9.4%
-10.7%
SAM

Income Statement — Q4 FY2025 vs Q1 FY2026

Metric
CGNX
CGNX
SAM
SAM
Revenue
$252.3M
$461.6M
Net Profit
$32.7M
Gross Margin
65.7%
46.4%
Operating Margin
14.0%
12.4%
Net Margin
12.9%
Revenue YoY
9.9%
-4.1%
Net Profit YoY
15.2%
EPS (diluted)
$0.20
$2.16

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
CGNX
CGNX
SAM
SAM
Q1 26
$461.6M
Q4 25
$252.3M
$385.7M
Q3 25
$276.9M
$537.5M
Q2 25
$249.1M
$587.9M
Q1 25
$216.0M
$453.9M
Q4 24
$229.7M
$402.3M
Q3 24
$234.7M
$605.5M
Q2 24
$239.3M
$579.1M
Net Profit
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
$32.7M
$-22.5M
Q3 25
$17.7M
$46.2M
Q2 25
$40.5M
$60.4M
Q1 25
$23.6M
$24.4M
Q4 24
$28.3M
$-38.8M
Q3 24
$29.6M
$33.5M
Q2 24
$36.2M
$52.3M
Gross Margin
CGNX
CGNX
SAM
SAM
Q1 26
46.4%
Q4 25
65.7%
43.5%
Q3 25
67.6%
50.8%
Q2 25
67.4%
49.8%
Q1 25
66.8%
48.3%
Q4 24
68.7%
39.9%
Q3 24
67.9%
46.3%
Q2 24
69.6%
46.0%
Operating Margin
CGNX
CGNX
SAM
SAM
Q1 26
12.4%
Q4 25
14.0%
-8.6%
Q3 25
20.9%
11.5%
Q2 25
17.4%
14.0%
Q1 25
12.1%
7.4%
Q4 24
13.4%
-13.9%
Q3 24
13.4%
7.6%
Q2 24
16.1%
12.2%
Net Margin
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
12.9%
-5.8%
Q3 25
6.4%
8.6%
Q2 25
16.3%
10.3%
Q1 25
10.9%
5.4%
Q4 24
12.3%
-9.6%
Q3 24
12.6%
5.5%
Q2 24
15.1%
9.0%
EPS (diluted)
CGNX
CGNX
SAM
SAM
Q1 26
$2.16
Q4 25
$0.20
$-1.97
Q3 25
$0.10
$4.25
Q2 25
$0.24
$5.45
Q1 25
$0.14
$2.16
Q4 24
$0.17
$-3.23
Q3 24
$0.17
$2.86
Q2 24
$0.21
$4.39

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
CGNX
CGNX
SAM
SAM
Cash + ST InvestmentsLiquidity on hand
$262.9M
$164.1M
Total DebtLower is stronger
Stockholders' EquityBook value
$1.5B
$682.6M
Total Assets
$2.0B
$1.2B
Debt / EquityLower = less leverage

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CGNX
CGNX
SAM
SAM
Q1 26
$164.1M
Q4 25
$262.9M
$223.4M
Q3 25
$245.9M
$250.5M
Q2 25
$179.3M
$212.4M
Q1 25
$143.7M
$152.5M
Q4 24
$186.1M
$211.8M
Q3 24
$197.1M
$255.6M
Q2 24
$176.6M
$219.3M
Stockholders' Equity
CGNX
CGNX
SAM
SAM
Q1 26
$682.6M
Q4 25
$1.5B
$846.3M
Q3 25
$1.5B
$911.0M
Q2 25
$1.5B
$912.3M
Q1 25
$1.4B
$897.0M
Q4 24
$1.5B
$916.2M
Q3 24
$1.6B
$1.0B
Q2 24
$1.5B
$1.0B
Total Assets
CGNX
CGNX
SAM
SAM
Q1 26
$1.2B
Q4 25
$2.0B
$1.2B
Q3 25
$2.0B
$1.2B
Q2 25
$2.0B
$1.3B
Q1 25
$1.9B
$1.2B
Q4 24
$2.0B
$1.3B
Q3 24
$2.1B
$1.4B
Q2 24
$2.0B
$1.4B

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
CGNX
CGNX
SAM
SAM
Operating Cash FlowLast quarter
$74.9M
Free Cash FlowOCF − Capex
$72.3M
FCF MarginFCF / Revenue
28.7%
Capex IntensityCapex / Revenue
1.0%
Cash ConversionOCF / Net Profit
2.29×
TTM Free Cash FlowTrailing 4 quarters
$236.8M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
$74.9M
$39.9M
Q3 25
$87.5M
$101.8M
Q2 25
$42.6M
$126.5M
Q1 25
$40.5M
$1.9M
Q4 24
$51.4M
$41.9M
Q3 24
$56.3M
$115.9M
Q2 24
$27.8M
$96.0M
Free Cash Flow
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
$72.3M
$22.1M
Q3 25
$86.0M
$89.2M
Q2 25
$40.4M
$112.2M
Q1 25
$38.0M
$-8.0M
Q4 24
$49.3M
$18.4M
Q3 24
$51.9M
$99.2M
Q2 24
$23.3M
$75.6M
FCF Margin
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
28.7%
5.7%
Q3 25
31.1%
16.6%
Q2 25
16.2%
19.1%
Q1 25
17.6%
-1.8%
Q4 24
21.5%
4.6%
Q3 24
22.1%
16.4%
Q2 24
9.7%
13.1%
Capex Intensity
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
1.0%
4.6%
Q3 25
0.5%
2.3%
Q2 25
0.9%
2.4%
Q1 25
1.2%
2.2%
Q4 24
0.9%
5.8%
Q3 24
1.9%
2.8%
Q2 24
1.9%
3.5%
Cash Conversion
CGNX
CGNX
SAM
SAM
Q1 26
Q4 25
2.29×
Q3 25
4.95×
2.21×
Q2 25
1.05×
2.09×
Q1 25
1.72×
0.08×
Q4 24
1.81×
Q3 24
1.90×
3.46×
Q2 24
0.77×
1.83×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Related Comparisons