Cognex (CGNX) vs Leonardo DRS (DRS)
Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 9, 2026.
Summary
Cognex (CGNX) has outperformed Leonardo DRS (DRS) over the past year, gaining 30.3% versus a loss of 21.0%. Over five years, DRS leads with a +249.3% price change compared with -27.8% for CGNX. Cognex is the larger company by market cap ($10.31 billion vs $9.65 billion), about 1.1 times the size, while Leonardo DRS is growing revenue faster (+12.8% vs +8.7%).
On valuation, Leonardo DRS trades at a lower forward P/E (24.6x vs 30.2x for Cognex). Leonardo DRS offers the higher dividend yield (1.00% vs 0.55%). Cognex converts more of its revenue into profit, with a net margin of 11.5% versus 7.6%.
Summary generated from market data by MetaCap's automated system. Methodology
Relative performance
Percent change in share price from the first common trading day shown; excludes dividends.
Head-to-head
| Metric | CGNX | DRS |
|---|---|---|
| Share price | $61.26 | $36.14 |
| Market cap | $10.31B | $9.65B |
| 1-day change | +0.57% | +0.75% |
| YTD return | +69.29% | +5.22% |
| 1-year return | +30.29% | -21.04% |
| 5-year return | -27.84% | +249.27% |
| P/E ratio (TTM) | 58.90 | 30.37 |
| Forward P/E | 30.22 | 24.63 |
| EPS (TTM) | $1.04 | $1.19 |
| Dividend yield | 0.55% | 1.00% |
| Annual dividend | $0.335 | $0.36 |
| Revenue (latest FY) | $994.36M | $3.65B |
| Revenue growth (YoY) | +8.73% | +12.80% |
| Net income (latest FY) | $114.44M | $278.00M |
| Gross margin | 66.92% | 23.82% |
| Operating margin | 16.35% | 9.54% |
| Net margin | 11.51% | 7.62% |
| 52-week high | $72.88 | $50.59 |
| 52-week low | $34.60 | $32.43 |
| Distance from 52-week high | -15.94% | -28.56% |
| Analyst consensus | buy | none |
| Avg. price target upside | +29.14% | +48.92% |
| Average volume | 1.89M | 891.84K |
| Shares outstanding | 168.22M | 266.89M |
| Employees | 2,745 | 7,300 |
| Sector | Industrials | Industrials |
| Industry | Industrial Machinery/Components | Industrial Machinery/Components |
Highlighted cells mark the higher value for growth, returns, margins and yield, and the lower value for P/E ratios. Highlighting is a mechanical comparison, not a recommendation.
Key differences
- CGNX has outperformed DRS by 51.3 percentage points over the past year.
- Cognex trades at a higher earnings multiple (58.9x vs 30.4x trailing P/E).
About Cognex
CGNX stock →Cognex Corporation provides machine vision products that capture and analyze visual information to automate manufacturing and distribution tasks in the United States, Europe, Greater China, and internationally. Its machine vision products are used to automate the manufacture and distribution of discrete items, such as mobile phones, automotive components, and e-commerce packages, by locating, identifying, inspecting, and measuring them.
Industrials · Industrial Machinery/Components · 2,745 employees
About Leonardo DRS
DRS stock →Leonardo DRS, Inc., together with its subsidiaries, provides defense electronic products and systems, and military support services worldwide. It operates through Advanced Sensing and Computing and Integrated Mission Systems segments.
Industrials · Industrial Machinery/Components · 7,300 employees
CGNX vs DRS FAQ
Which is bigger, Cognex or Leonardo DRS?
Cognex (CGNX) is larger, with a market capitalization of $10.31B compared with $9.65B for Leonardo DRS (DRS).
Which stock has performed better over the past year, CGNX or DRS?
CGNX returned +30.29% over the past 12 months, compared with -21.04% for DRS (price return, excluding dividends). Past performance does not predict future results.
Which has the lower P/E ratio, CGNX or DRS?
DRS has the lower trailing P/E at 30.4, versus 58.9 for CGNX. A lower P/E is not by itself a sign of a better investment; it can reflect slower expected growth or higher risk.
Which pays a higher dividend, Cognex or Leonardo DRS?
Leonardo DRS has the higher yield at 1.00%, compared with 0.55% for Cognex.
Are Cognex and Leonardo DRS in the same industry?
Yes. Both are classified in the Industrial Machinery/Components industry within the Industrials sector.