New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

Cognex Corporation (CGNX) vs Trimble Inc. (TRMB)

Cognex Corporation and Trimble Inc. are both Scientific & Technical Instruments companies. Trimble Inc. is the larger, with a market value of $12.7B against $7.9B — 1.6× the size. Trimble Inc. has negative trailing earnings, so its P/E is not meaningful; Cognex Corporation trades at 33.6×. Cognex Corporation grew revenue faster over the last twelve months: 15.8% against 6.88%. Cognex Corporation has the higher net margin (21.5% vs −4.08%) and the higher return on invested capital (17.2% vs 6.30%). Across the 21 metrics below, Cognex Corporation leads on 14 and Trimble Inc. on 7.

Valuation

Metric CGNX TRMB Scientific & Technical Instruments median
P/E 33.64 n/m 29.48
P/S 7.24 3.37 4.52
P/B 4.74 2.61 2.87
Price to free cash flow 27.85 16.24 22.86
EV/EBITDA 24.13 17.08 17.65
EV/Sales 6.63 3.71 4.81
Earnings yield 2.97% (1.24%) 0.86%
Free cash flow yield 3.59% 6.16% 2.65%

Profitability

Metric CGNX TRMB Scientific & Technical Instruments median
Gross margin 69.69% 69.60% 47.24%
Operating margin 25.01% 16.48% 9.00%
Net margin 21.50% (4.08%) 2.65%
Free cash flow margin 26.01% 20.74% 12.09%
Return on equity 15.07% (2.92%) 1.29%
Return on assets 11.31% (1.79%) 1.59%
Return on invested capital 17.15% 6.30% 5.09%

Growth

Metric CGNX TRMB Scientific & Technical Instruments median
Revenue growth (TTM) 15.82% 6.88% 13.39%
EPS growth (last fiscal year) 9.68% (71.10%) 9.70%
Revenue growth, 5-year CAGR 4.16% 2.65% 9.28%
Net income growth, 5-year CAGR (8.27%) 1.69% 10.01%

Health

Metric CGNX TRMB Scientific & Technical Instruments median
Debt to equity 0.00 0.31 0.00
Current ratio 5.04 0.93 2.09
Net debt to EBITDA (1.75) 1.44 0.42

Dividend

Metric CGNX TRMB Scientific & Technical Instruments median
Dividend yield 0.71% — 0.62%
Payout ratio 0.24 — 0.22

Size

Metric CGNX TRMB Scientific & Technical Instruments median
Market cap 7.90b 12.67b 592.63m

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack