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 MKS Inc. (MKSI)

Cognex Corporation and MKS Inc. are both Scientific & Technical Instruments companies. MKS Inc. is the larger, with a market value of $12.4B against $7.9B — 1.6× the size. MKS Inc. trades at the lower P/E: 21.3× against 33.6×. MKS Inc. grew revenue faster over the last twelve months: 24.6% against 15.8%. Cognex Corporation has the higher net margin (21.5% vs 12.6%) and the higher return on invested capital (17.2% vs 8.51%). Both pay a dividend; Cognex Corporation yields more (0.71% vs 0.53%). Across the 23 metrics below, MKS Inc. leads on 13 and Cognex Corporation on 10.

Valuation

Metric CGNX MKSI Scientific & Technical Instruments median
P/E 33.64 21.27 29.48
P/S 7.24 2.69 4.52
P/B 4.74 3.91 2.87
Price to free cash flow 27.85 23.15 22.86
EV/EBITDA 24.13 12.95 17.65
EV/Sales 6.63 3.34 4.81
Earnings yield 2.97% 4.70% 0.86%
Free cash flow yield 3.59% 4.32% 2.65%

Profitability

Metric CGNX MKSI Scientific & Technical Instruments median
Gross margin 69.69% 47.24% 47.24%
Operating margin 25.01% 18.23% 9.00%
Net margin 21.50% 12.61% 2.65%
Free cash flow margin 26.01% 11.63% 12.09%
Return on equity 15.07% 20.46% 1.29%
Return on assets 11.31% 6.69% 1.59%
Return on invested capital 17.15% 8.51% 5.09%

Growth

Metric CGNX MKSI Scientific & Technical Instruments median
Revenue growth (TTM) 15.82% 24.56% 13.39%
EPS growth (last fiscal year) 9.68% 55.52% 9.70%
Revenue growth, 5-year CAGR 4.16% 11.03% 9.28%
Net income growth, 5-year CAGR (8.27%) (3.36%) 10.01%

Health

Metric CGNX MKSI Scientific & Technical Instruments median
Debt to equity 0.00 1.15 0.00
Current ratio 5.04 1.19 2.09
Net debt to EBITDA (1.75) 3.93 0.42

Dividend

Metric CGNX MKSI Scientific & Technical Instruments median
Dividend yield 0.71% 0.53% 0.62%
Payout ratio 0.24 0.12 0.22

Size

Metric CGNX MKSI Scientific & Technical Instruments median
Market cap 7.90b 12.43b 592.63m

Compare with another peer

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