Cognex [CGNX] vs Keysight [KEYS] Detailed Stock Comparison
TLDR: Quick Comparison Summary
Based on 21 vital metrics comparison: Cognex Corporation wins in 6 metrics, Keysight Technologies Inc. wins in 14 metrics, with 0 ties. Keysight Technologies Inc. appears stronger overall.
View Metrics Details
Vital Metrics Comparison
| Metric | Cognex Corporation | Keysight Technologies Inc. | Better |
|---|---|---|---|
| P/E Ratio (TTM) | 79.79 | 59.84 | Keysight Technologies Inc. |
| Price-to-Book Ratio | 6.07 | 9.38 | Cognex Corporation |
| Debt-to-Equity Ratio | 5.13 | 44.67 | Cognex Corporation |
| PEG Ratio | 4.52 | 0.87 | Keysight Technologies Inc. |
| EV/EBITDA | 45.15 | 45.71 | Cognex Corporation |
| Profit Margin (TTM) | 11.51% | 16.95% | Keysight Technologies Inc. |
| Operating Margin (TTM) | 13.98% | 16.31% | Keysight Technologies Inc. |
| EBITDA Margin (TTM) | 13.98% | 16.31% | Keysight Technologies Inc. |
| Return on Equity | 7.61% | 17.22% | Keysight Technologies Inc. |
| Return on Assets (TTM) | 5.07% | 5.82% | Keysight Technologies Inc. |
| Free Cash Flow (TTM) | $236.77M | $1.28B | Keysight Technologies Inc. |
| Dividend Yield | 0.74% | N/A | N/A |
| 1-Year Return | 110.98% | 121.68% | Keysight Technologies Inc. |
| Price-to-Sales Ratio (TTM) | 9.11 | 10.25 | Cognex Corporation |
| Enterprise Value | $8.73B | $58.78B | Keysight Technologies Inc. |
| EV/Revenue Ratio | 8.78 | 10.36 | Cognex Corporation |
| Gross Profit Margin (TTM) | 65.75% | 62.19% | Cognex Corporation |
| Revenue per Share (TTM) | $6 | $33 | Keysight Technologies Inc. |
| Earnings per Share (Diluted) | $0.68 | $5.67 | Keysight Technologies Inc. |
| Beta (Stock Volatility) | 1.47 | 1.15 | Keysight Technologies Inc. |
| Short % of Float | 3.11% | 1.23% | Keysight Technologies Inc. |
Cognex Corporation vs Keysight Technologies Inc. Stock Performance Analysis
Loading Price Chart...
Performance Comparison
Short-term Returns
| Stock | 1D | 1W | 1M | 3M | 6M | YTD |
|---|---|---|---|---|---|---|
| Cognex Corporation | 3.60% | 5.63% | 2.55% | 32.97% | 89.37% | 78.45% |
| Keysight Technologies Inc. | 1.79% | 7.64% | 2.27% | 24.83% | 72.04% | 72.78% |
Long-term Returns
| Stock | 1Y | 3Y | 5Y | 10Y | 15Y | 20Y |
|---|---|---|---|---|---|---|
| Cognex Corporation | 110.98% | 14.10% | -18.10% | 202.62% | 671.97% | 887.73% |
| Keysight Technologies Inc. | 121.68% | 112.71% | 137.77% | 1,082.30% | 1,078.72% | 1,078.72% |
Performance & Financial Health Analysis: Cognex Corporation vs Keysight Technologies Inc.
| Metric | CGNX | KEYS |
|---|---|---|
| Market Information | ||
| Market Cap | $9.06B | $59.44B |
| Market Cap Category | Mid cap | Large cap |
| 10 Day Avg. Volume | 1,495,076 | 1,043,697 |
| 90 Day Avg. Volume | 1,698,755 | 1,265,216 |
| Last Close | $65.90 | $356.94 |
| 52 Week Range | $29.22 - $71.90 | $152.85 - $370.17 |
| % from 52W High | -8.34% | -3.58% |
| All-Time High | $101.82 (Feb 08, 2021) | $370.17 (May 11, 2026) |
| % from All-Time High | -35.28% | -3.57% |
| Growth Metrics | ||
| Quarterly Revenue Growth | 0.10% | 0.23% |
| Quarterly Earnings Growth | 0.15% | 0.66% |
| Financial Health | ||
| Profit Margin (TTM) | 0.12% | 0.17% |
| Operating Margin (TTM) | 0.14% | 0.16% |
| Return on Equity (TTM) | 0.08% | 0.17% |
| Debt to Equity (MRQ) | 5.13 | 44.67 |
| Cash & Liquidity | ||
| Book Value per Share (MRQ) | $8.93 | $36.18 |
| Cash per Share (MRQ) | $2.03 | $12.70 |
| Operating Cash Flow (TTM) | $245.51M | $1.47B |
| Levered Free Cash Flow (TTM) | $190.51M | $1.08B |
| Dividends | ||
| Last 12-Month Dividend Yield | 0.74% | N/A |
| Last 12-Month Dividend | $0.42 | N/A |
Valuation & Enterprise Metrics Analysis: Cognex Corporation vs Keysight Technologies Inc.
| Metric | CGNX (Apr 26, 2026) | KEYS (Apr 24, 2026) |
|---|---|---|
| Price Ratios | ||
| P/E Ratio (TTM) | 79.79 | 59.84 |
| Forward P/E | 35.29 | 32.83 |
| PEG Ratio | 4.52 | 0.87 |
| Price to Sales (TTM) | 9.11 | 10.25 |
| Price to Book (MRQ) | 6.07 | 9.38 |
| Market Capitalization | ||
| Market Capitalization | $9.06B | $59.44B |
| Enterprise Value | $8.73B | $58.78B |
| Enterprise Value Metrics | ||
| Enterprise to Revenue | 8.78 | 10.36 |
| Enterprise to EBITDA | 45.15 | 45.71 |
| Risk & Other Metrics | ||
| Beta | 1.47 | 1.15 |
| Book Value per Share (MRQ) | $8.93 | $36.18 |
Financial Statements Comparison: Cognex Corporation vs Keysight Technologies Inc.
Financial Metrics
Loading Financial Charts...
Revenue
Operating Margin
Profit Margin
Long Term Debt
Income Flow Analysis
Financial Statements Comparison
Income Statement
| Metric | CGNX (2025) | KEYS (2025) |
|---|---|---|
| Revenue/Sales | 994.36M | 5.38B |
| Cost of Goods Sold | 328.97M | 2.04B |
| COGS % of Revenue | 33.1% | 37.9% |
| Gross Profit | 665.39M | 3.34B |
| Gross Margin | 66.9% | 62.1% |
| Research & Development | 138.97M | 1.01B |
| Operating Income (EBIT) | 162.57M | 876.00M |
| Operating Margin | 16.3% | 16.3% |
| EBITDA | 180.49M | 1.45B |
| EBITDA Margin | 18.2% | 27.1% |
| Pre-Tax Income | 182.80M | 1.08B |
| Pre-Tax Income % of Revenue | 18.4% | 20.1% |
| Income Tax | 68.36M | 213.00M |
| Income Tax % of Revenue | 6.9% | 4.0% |
| Net Income (Profit) | 114.44M | 850.00M |
| Profit Margin | 11.5% | 15.8% |
Balance Sheet & Liquidity Metrics
| Metric | CGNX (2025) | KEYS (2025) |
|---|---|---|
| Cash & Equivalents | 262.93M | 1.87B |
| Total Current Assets | 697.25M | 4.35B |
| Total Current Assets % of Revenue | 70.1% | 80.9% |
| Total Current Liabilities | 183.55M | 1.85B |
| Total Current Liabilities % of Revenue | 18.5% | 34.4% |
| Long-Term Debt | 64.87M | 2.73B |
| Long-Term Debt % of Revenue | 6.5% | 50.7% |
| Total Shareholders Equity | 1.49B | 5.88B |
| Retained Earnings | 406.36M | 7.08B |
| Retained Earnings % of Revenue | 40.9% | 131.6% |
| Property, Plant & Equipment | 121.78M | 236.00M |
Cash Flow Statement Comparison
| Metric | CGNX (2025) | KEYS (2025) |
|---|---|---|
| Operating Cash Flow | 246.48M | 1.42B |
| Operating Cash Flow % of Revenue | 24.8% | 26.4% |
| Capital Expenditures | -2.04M | -128.00M |
| Free Cash Flow | 236.77M | 1.28B |
| FCF Margin | 23.8% | 23.8% |
| Debt Repayment | N/A | 0 |
| Common Stock Repurchase | -151.23M | -377.00M |
Short Interest & Institutional Ownership Analysis
| Metric | CGNX | KEYS |
|---|---|---|
| Shares Short | 4.61M | 1.85M |
| Short Ratio | 2.55 | 1.17 |
| Short % of Float | 3.11% | 1.23% |
| Shares Outstanding | 167.00M | 171.39M |
| Float Shares | 158.08M | 170.46M |
| % Held by Insiders | 0.36% | 0.59% |
| % Held by Institutions | 102.31% | 93.99% |
| % Held by Public | -2.67% | 5.42% |
Dividend Analysis & Yield Comparison: Cognex Corporation vs Keysight Technologies Inc.
| Metric | CGNX | KEYS |
|---|---|---|
| Last 12-Month Dividend | $0.42 | N/A |
| Last 12-Month Dividend Yield | 0.74% | N/A |
| 3-Year Avg Annual Dividend | $0.33 | N/A |
| 3-Year Avg Dividend Yield | 0.19% | N/A |
| 3-Year Total Dividends | $0.99 | N/A |
| Ex-Dividend Date | Feb 26, 2026 | N/A |