vs

Side-by-side financial comparison of COGNEX CORP (CGNX) and FOSTER L B CO (FSTR). Click either name above to swap in a different company.

COGNEX CORP is the larger business by last-quarter revenue ($268.4M vs $160.4M, roughly 1.7× FOSTER L B CO). COGNEX CORP runs the higher net margin — 19.3% vs 1.5%, a 17.8% gap on every dollar of revenue. On growth, FOSTER L B CO posted the faster year-over-year revenue change (25.1% vs 24.3%). COGNEX CORP produced more free cash flow last quarter ($42.3M vs $19.8M). Over the past eight quarters, FOSTER L B CO's revenue compounded faster (13.6% CAGR vs 5.9%).

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.

Foster L B Co. is a U.S.-headquartered industrial manufacturing firm that develops, produces and distributes engineered access solutions, construction components, and rail infrastructure products. It serves commercial construction, transportation, and industrial end markets across North America and selected international regions.

CGNX vs FSTR — Head-to-Head

Bigger by revenue
CGNX
CGNX
1.7× larger
CGNX
$268.4M
$160.4M
FSTR
Growing faster (revenue YoY)
FSTR
FSTR
+0.9% gap
FSTR
25.1%
24.3%
CGNX
Higher net margin
CGNX
CGNX
17.8% more per $
CGNX
19.3%
1.5%
FSTR
More free cash flow
CGNX
CGNX
$22.5M more FCF
CGNX
$42.3M
$19.8M
FSTR
Faster 2-yr revenue CAGR
FSTR
FSTR
Annualised
FSTR
13.6%
5.9%
CGNX

Income Statement — Q1 FY2026 vs Q4 FY2025

Metric
CGNX
CGNX
FSTR
FSTR
Revenue
$268.4M
$160.4M
Net Profit
$51.7M
$2.4M
Gross Margin
71.1%
19.7%
Operating Margin
22.4%
4.9%
Net Margin
19.3%
1.5%
Revenue YoY
24.3%
25.1%
Net Profit YoY
119.1%
1098.3%
EPS (diluted)
$0.31
$0.22

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
FSTR
FSTR
Q1 26
$268.4M
Q4 25
$252.3M
$160.4M
Q3 25
$276.9M
$138.3M
Q2 25
$249.1M
$143.6M
Q1 25
$216.0M
$97.8M
Q4 24
$229.7M
$128.2M
Q3 24
$234.7M
$137.5M
Q2 24
$239.3M
$140.8M
Net Profit
CGNX
CGNX
FSTR
FSTR
Q1 26
$51.7M
Q4 25
$32.7M
$2.4M
Q3 25
$17.7M
$4.4M
Q2 25
$40.5M
$2.9M
Q1 25
$23.6M
$-2.1M
Q4 24
$28.3M
$-242.0K
Q3 24
$29.6M
$35.9M
Q2 24
$36.2M
$2.8M
Gross Margin
CGNX
CGNX
FSTR
FSTR
Q1 26
71.1%
Q4 25
65.7%
19.7%
Q3 25
67.6%
22.5%
Q2 25
67.4%
21.5%
Q1 25
66.8%
20.6%
Q4 24
68.7%
22.3%
Q3 24
67.9%
23.8%
Q2 24
69.6%
21.7%
Operating Margin
CGNX
CGNX
FSTR
FSTR
Q1 26
22.4%
Q4 25
14.0%
4.9%
Q3 25
20.9%
6.0%
Q2 25
17.4%
5.3%
Q1 25
12.1%
-2.0%
Q4 24
13.4%
2.4%
Q3 24
13.4%
5.3%
Q2 24
16.1%
3.2%
Net Margin
CGNX
CGNX
FSTR
FSTR
Q1 26
19.3%
Q4 25
12.9%
1.5%
Q3 25
6.4%
3.1%
Q2 25
16.3%
2.0%
Q1 25
10.9%
-2.2%
Q4 24
12.3%
-0.2%
Q3 24
12.6%
26.1%
Q2 24
15.1%
2.0%
EPS (diluted)
CGNX
CGNX
FSTR
FSTR
Q1 26
$0.31
Q4 25
$0.20
$0.22
Q3 25
$0.10
$0.40
Q2 25
$0.24
$0.27
Q1 25
$0.14
$-0.20
Q4 24
$0.17
$-0.04
Q3 24
$0.17
$3.27
Q2 24
$0.21
$0.26

Balance Sheet & Financial Strength

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

Metric
CGNX
CGNX
FSTR
FSTR
Cash + ST InvestmentsLiquidity on hand
$237.3M
$4.3M
Total DebtLower is stronger
$42.6M
Stockholders' EquityBook value
$1.5B
$175.3M
Total Assets
$2.0B
$330.4M
Debt / EquityLower = less leverage
0.24×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CGNX
CGNX
FSTR
FSTR
Q1 26
$237.3M
Q4 25
$262.9M
$4.3M
Q3 25
$245.9M
$3.4M
Q2 25
$179.3M
$4.2M
Q1 25
$143.7M
$2.6M
Q4 24
$186.1M
$2.5M
Q3 24
$197.1M
$3.1M
Q2 24
$176.6M
$4.0M
Total Debt
CGNX
CGNX
FSTR
FSTR
Q1 26
Q4 25
$42.6M
Q3 25
$58.6M
Q2 25
$81.4M
Q1 25
$82.3M
Q4 24
$46.8M
Q3 24
$68.4M
Q2 24
$87.0M
Stockholders' Equity
CGNX
CGNX
FSTR
FSTR
Q1 26
$1.5B
Q4 25
$1.5B
$175.3M
Q3 25
$1.5B
$174.8M
Q2 25
$1.5B
$174.4M
Q1 25
$1.4B
$170.8M
Q4 24
$1.5B
$178.3M
Q3 24
$1.6B
$181.9M
Q2 24
$1.5B
$147.1M
Total Assets
CGNX
CGNX
FSTR
FSTR
Q1 26
$2.0B
Q4 25
$2.0B
$330.4M
Q3 25
$2.0B
$333.9M
Q2 25
$2.0B
$349.9M
Q1 25
$1.9B
$342.8M
Q4 24
$2.0B
$334.6M
Q3 24
$2.1B
$344.5M
Q2 24
$2.0B
$333.3M
Debt / Equity
CGNX
CGNX
FSTR
FSTR
Q1 26
Q4 25
0.24×
Q3 25
0.33×
Q2 25
0.47×
Q1 25
0.48×
Q4 24
0.26×
Q3 24
0.38×
Q2 24
0.59×

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
FSTR
FSTR
Operating Cash FlowLast quarter
$22.2M
Free Cash FlowOCF − Capex
$42.3M
$19.8M
FCF MarginFCF / Revenue
15.8%
12.3%
Capex IntensityCapex / Revenue
1.0%
1.5%
Cash ConversionOCF / Net Profit
9.18×
TTM Free Cash FlowTrailing 4 quarters
$241.1M
$25.2M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CGNX
CGNX
FSTR
FSTR
Q1 26
Q4 25
$74.9M
$22.2M
Q3 25
$87.5M
$29.2M
Q2 25
$42.6M
$10.4M
Q1 25
$40.5M
$-26.1M
Q4 24
$51.4M
$24.3M
Q3 24
$56.3M
$24.7M
Q2 24
$27.8M
$-5.0M
Free Cash Flow
CGNX
CGNX
FSTR
FSTR
Q1 26
$42.3M
Q4 25
$72.3M
$19.8M
Q3 25
$86.0M
$26.4M
Q2 25
$40.4M
$7.7M
Q1 25
$38.0M
$-28.7M
Q4 24
$49.3M
$22.3M
Q3 24
$51.9M
$21.7M
Q2 24
$23.3M
$-7.0M
FCF Margin
CGNX
CGNX
FSTR
FSTR
Q1 26
15.8%
Q4 25
28.7%
12.3%
Q3 25
31.1%
19.1%
Q2 25
16.2%
5.4%
Q1 25
17.6%
-29.4%
Q4 24
21.5%
17.4%
Q3 24
22.1%
15.8%
Q2 24
9.7%
-5.0%
Capex Intensity
CGNX
CGNX
FSTR
FSTR
Q1 26
1.0%
Q4 25
1.0%
1.5%
Q3 25
0.5%
2.0%
Q2 25
0.9%
1.9%
Q1 25
1.2%
2.6%
Q4 24
0.9%
1.5%
Q3 24
1.9%
2.2%
Q2 24
1.9%
1.5%
Cash Conversion
CGNX
CGNX
FSTR
FSTR
Q1 26
Q4 25
2.29×
9.18×
Q3 25
4.95×
6.70×
Q2 25
1.05×
3.61×
Q1 25
1.72×
Q4 24
1.81×
Q3 24
1.90×
0.69×
Q2 24
0.77×
-1.74×

Financial Flow Comparison

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

Revenue Breakdown by Segment

CGNX
CGNX

Segment breakdown not available.

FSTR
FSTR

Rail Technologies And Services Segment$98.0M61%
Over Time Output Method$26.3M16%
Services$19.4M12%
Rail Technologies Products$10.0M6%
Over Time Input Method$8.3M5%

Related Comparisons