Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

CGNX vs NVDA vs AMD vs KEYS

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
CGNX
Cognex Corporation

Hardware, Equipment & Parts

TechnologyNASDAQ • US
Market Cap$11.01B
5Y Perf.+16.2%
NVDA
NVIDIA Corporation

Semiconductors

TechnologyNASDAQ • US
Market Cap$5.14T
5Y Perf.+2281.7%
AMD
Advanced Micro Devices, Inc.

Semiconductors

TechnologyNASDAQ • US
Market Cap$665.93B
5Y Perf.+659.2%
KEYS
Keysight Technologies, Inc.

Hardware, Equipment & Parts

TechnologyNYSE • US
Market Cap$60.85B
5Y Perf.+228.1%

CGNX vs NVDA vs AMD vs KEYS — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
CGNX logoCGNX
NVDA logoNVDA
AMD logoAMD
KEYS logoKEYS
IndustryHardware, Equipment & PartsSemiconductorsSemiconductorsHardware, Equipment & Parts
Market Cap$11.01B$5.14T$665.93B$60.85B
Revenue (TTM)$1.05B$215.94B$37.45B$5.68B
Net Income (TTM)$143M$120.07B$4.99B$958M
Gross Margin68.0%71.1%50.3%61.9%
Operating Margin18.8%60.4%11.7%16.0%
Forward P/E53.0x25.6x59.7x39.8x
Total Debt$77M$11.41B$4.47B$2.97B
Cash & Equiv.$263M$10.61B$5.54B$1.87B

CGNX vs NVDA vs AMD vs KEYSLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

CGNX
NVDA
AMD
KEYS
StockMay 20May 26Return
Cognex Corporation (CGNX)100116.2+16.2%
NVIDIA Corporation (NVDA)1002381.7+2281.7%
Advanced Micro Devi… (AMD)100759.2+659.2%
Keysight Technologi… (KEYS)100328.1+228.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: CGNX vs NVDA vs AMD vs KEYS

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: NVDA leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Cognex Corporation is the stronger pick specifically for capital preservation and lower volatility and dividend income and shareholder returns. AMD also leads in specific categories worth noting. As sector peers, any of these can serve as alternatives in the same allocation.
CGNX
Cognex Corporation
The Income Pick

CGNX is the #2 pick in this set and the best alternative if income & stability and sleep-well-at-night is your priority.

  • Dividend streak 4 yrs, beta 1.50, yield 0.5%
  • Lower volatility, beta 1.50, Low D/E 5.1%, current ratio 3.80x
  • Beta 1.50, yield 0.5%, current ratio 3.80x
  • Beta 1.50 vs AMD's 2.30, lower leverage
Best for: income & stability and sleep-well-at-night
NVDA
NVIDIA Corporation
The Growth Play

NVDA carries the broadest edge in this set and is the clearest fit for growth exposure and long-term compounding.

  • Rev growth 65.5%, EPS growth 66.7%, 3Y rev CAGR 100.0%
  • 239.0% 10Y total return vs AMD's 110.9%
  • PEG 0.27 vs AMD's 11.55
  • 65.5% revenue growth vs KEYS's 8.0%
Best for: growth exposure and long-term compounding
AMD
Advanced Micro Devices, Inc.
The Momentum Pick

AMD is the clearest fit if your priority is momentum.

  • +307.0% vs NVDA's +80.7%
Best for: momentum
KEYS
Keysight Technologies, Inc.
The Secondary Option

KEYS lags the leaders in this set but could rank higher in a more targeted comparison.

Best for: technology exposure
See the full category breakdown
CategoryWinnerWhy
GrowthNVDA logoNVDA65.5% revenue growth vs KEYS's 8.0%
ValueNVDA logoNVDALower P/E (25.6x vs 39.8x), PEG 0.27 vs 4.97
Quality / MarginsNVDA logoNVDA55.6% margin vs AMD's 13.3%
Stability / SafetyCGNX logoCGNXBeta 1.50 vs AMD's 2.30, lower leverage
DividendsCGNX logoCGNX0.5% yield, 4-year raise streak, vs NVDA's 0.0%, (2 stocks pay no dividend)
Momentum (1Y)AMD logoAMD+307.0% vs NVDA's +80.7%
Efficiency (ROA)NVDA logoNVDA58.1% ROA vs AMD's 6.5%, ROIC 81.8% vs 4.7%

CGNX vs NVDA vs AMD vs KEYS — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

CGNXCognex Corporation
FY 2025
Standard Product and Services
88.5%$880M
Application of Customer Specific Solutions
11.5%$114M
NVDANVIDIA Corporation
FY 2026
Data Center
89.7%$193.7B
Gaming
7.4%$16.0B
Professional Visualization
1.5%$3.2B
Automotive
1.1%$2.3B
OEM And Other
0.3%$619M
AMDAdvanced Micro Devices, Inc.
FY 2025
Data Center
43.2%$16.6B
Client and Gaming
37.7%$14.6B
Gaming
10.1%$3.9B
Embedded
9.0%$3.5B
KEYSKeysight Technologies, Inc.
FY 2024
Communications Solutions Group
68.7%$3.4B
Electronic Industrial Solutions Group
31.3%$1.6B

CGNX vs NVDA vs AMD vs KEYS — Financial Metrics

Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLNVDALAGGINGKEYS

Income & Cash Flow (Last 12 Months)

NVDA leads this category, winning 5 of 6 comparable metrics.

NVDA is the larger business by revenue, generating $215.9B annually — 206.3x CGNX's $1.0B. NVDA is the more profitable business, keeping 55.6% of every revenue dollar as net income compared to AMD's 13.3%. On growth, NVDA holds the edge at +73.2% YoY revenue growth, suggesting stronger near-term business momentum.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
RevenueTrailing 12 months$1.0B$215.9B$37.5B$5.7B
EBITDAEarnings before interest/tax$219M$133.2B$6.6B$1.2B
Net IncomeAfter-tax profit$143M$120.1B$5.0B$958M
Free Cash FlowCash after capex$241M$96.7B$8.6B$1.5B
Gross MarginGross profit ÷ Revenue+68.0%+71.1%+50.3%+61.9%
Operating MarginEBIT ÷ Revenue+18.8%+60.4%+11.7%+16.0%
Net MarginNet income ÷ Revenue+13.6%+55.6%+13.3%+16.9%
FCF MarginFCF ÷ Revenue+23.0%+44.8%+22.9%+25.8%
Rev. Growth (YoY)Latest quarter vs prior year+24.3%+73.2%+37.8%+23.3%
EPS Growth (YoY)Latest quarter vs prior year+121.4%+97.8%+90.9%+68.0%
NVDA leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

NVDA leads this category, winning 4 of 7 comparable metrics.

At 43.2x trailing earnings, NVDA trades at a 72% valuation discount to AMD's 154.1x P/E. Adjusting for growth (PEG ratio), NVDA offers better value at 0.45x vs AMD's 29.84x — a lower PEG means you pay less per unit of expected earnings growth.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
Market CapShares × price$11.0B$5.14T$665.9B$60.9B
Enterprise ValueMkt cap + debt − cash$10.8B$5.14T$664.9B$62.0B
Trailing P/EPrice ÷ TTM EPS96.92x43.16x154.14x72.70x
Forward P/EPrice ÷ next-FY EPS est.53.05x25.55x59.65x39.84x
PEG RatioP/E ÷ EPS growth rate0.45x29.84x9.08x
EV / EBITDAEnterprise value multiple55.96x38.59x99.26x50.65x
Price / SalesMarket cap ÷ Revenue11.07x23.80x19.22x11.32x
Price / BookPrice ÷ Book value/share7.48x32.85x10.61x10.44x
Price / FCFMarket cap ÷ FCF46.49x53.17x98.88x47.50x
NVDA leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

NVDA leads this category, winning 5 of 9 comparable metrics.

NVDA delivers a 76.3% return on equity — every $100 of shareholder capital generates $76 in annual profit, vs $8 for AMD. CGNX carries lower financial leverage with a 0.05x debt-to-equity ratio, signaling a more conservative balance sheet compared to KEYS's 0.51x. On the Piotroski fundamental quality scale (0–9), AMD scores 8/9 vs NVDA's 4/9, reflecting strong financial health.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
ROE (TTM)Return on equity+9.6%+76.3%+8.1%+15.4%
ROA (TTM)Return on assets+7.1%+58.1%+6.5%+8.3%
ROICReturn on invested capital+9.0%+81.8%+4.7%+11.5%
ROCEReturn on capital employed+8.9%+97.2%+5.7%+11.0%
Piotroski ScoreFundamental quality 0–97485
Debt / EquityFinancial leverage0.05x0.07x0.07x0.51x
Net DebtTotal debt minus cash-$186M$807M-$1.1B$1.1B
Cash & Equiv.Liquid assets$263M$10.6B$5.5B$1.9B
Total DebtShort + long-term debt$77M$11.4B$4.5B$3.0B
Interest CoverageEBIT ÷ Interest expense545.03x33.19x11.03x
NVDA leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

NVDA leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in NVDA five years ago would be worth $142,893 today (with dividends reinvested), compared to $8,682 for CGNX. Over the past 12 months, AMD leads with a +307.0% total return vs NVDA's +80.7%. The 3-year compound annual growth rate (CAGR) favors NVDA at 93.6% vs CGNX's 10.4% — a key indicator of consistent wealth creation.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
YTD ReturnYear-to-date+78.7%+12.0%+82.8%+71.7%
1-Year ReturnPast 12 months+133.1%+80.7%+307.0%+137.2%
3-Year ReturnCumulative with dividends+34.7%+625.9%+329.8%+147.9%
5-Year ReturnCumulative with dividends-13.2%+1328.9%+418.3%+147.4%
10-Year ReturnCumulative with dividends+249.6%+23902.3%+11090.7%+1279.4%
CAGR (3Y)Annualised 3-year return+10.4%+93.6%+62.6%+35.3%
NVDA leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — CGNX and NVDA each lead in 1 of 2 comparable metrics.

CGNX is the less volatile stock with a 1.50 beta — it tends to amplify market swings less than AMD's 2.30 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. NVDA currently trades 97.6% from its 52-week high vs CGNX's 91.7% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
Beta (5Y)Sensitivity to S&P 5001.50x1.73x2.30x1.71x
52-Week HighHighest price in past year$71.90$216.80$430.57$367.12
52-Week LowLowest price in past year$27.82$112.28$96.88$146.23
% of 52W HighCurrent price vs 52-week peak+91.7%+97.6%+94.9%+96.6%
RSI (14)Momentum oscillator 0–10076.360.781.275.0
Avg Volume (50D)Average daily shares traded2.0M164.5M36.4M1.3M
Evenly matched — CGNX and NVDA each lead in 1 of 2 comparable metrics.

Analyst Outlook

CGNX leads this category, winning 2 of 2 comparable metrics.

Analyst consensus: CGNX as "Hold", NVDA as "Buy", AMD as "Buy", KEYS as "Buy". Consensus price targets imply 31.8% upside for NVDA (target: $279) vs -23.9% for AMD (target: $311). CGNX is the only dividend payer here at 0.49% yield — a key consideration for income-focused portfolios.

MetricCGNX logoCGNXCognex CorporationNVDA logoNVDANVIDIA CorporationAMD logoAMDAdvanced Micro De…KEYS logoKEYSKeysight Technolo…
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuy
Price TargetConsensus 12-month target$60.22$278.83$310.86$289.25
# AnalystsCovering analysts31797015
Dividend YieldAnnual dividend ÷ price+0.5%+0.0%
Dividend StreakConsecutive years of raises420
Dividend / ShareAnnual DPS$0.32$0.04
Buyback YieldShare repurchases ÷ mkt cap+1.4%+0.8%+0.2%+0.6%
CGNX leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

NVDA leads in 4 of 6 categories (Income & Cash Flow, Valuation Metrics). CGNX leads in 1 (Analyst Outlook). 1 tied.

Best OverallNVIDIA Corporation (NVDA)Leads 4 of 6 categories
Loading custom metrics...

CGNX vs NVDA vs AMD vs KEYS: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is CGNX or NVDA or AMD or KEYS a better buy right now?

For growth investors, NVIDIA Corporation (NVDA) is the stronger pick with 65.

5% revenue growth year-over-year, versus 8. 0% for Keysight Technologies, Inc. (KEYS). NVIDIA Corporation (NVDA) offers the better valuation at 43. 2x trailing P/E (25. 6x forward), making it the more compelling value choice. Analysts rate NVIDIA Corporation (NVDA) a "Buy" — based on 79 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — CGNX or NVDA or AMD or KEYS?

On trailing P/E, NVIDIA Corporation (NVDA) is the cheapest at 43.

2x versus Advanced Micro Devices, Inc. at 154. 1x. On forward P/E, NVIDIA Corporation is actually cheaper at 25. 6x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: NVIDIA Corporation wins at 0. 27x versus Advanced Micro Devices, Inc. 's 11. 55x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — CGNX or NVDA or AMD or KEYS?

Over the past 5 years, NVIDIA Corporation (NVDA) delivered a total return of +1329%, compared to -13.

2% for Cognex Corporation (CGNX). Over 10 years, the gap is even starker: NVDA returned +239. 0% versus CGNX's +249. 6%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — CGNX or NVDA or AMD or KEYS?

By beta (market sensitivity over 5 years), Cognex Corporation (CGNX) is the lower-risk stock at 1.

50β versus Advanced Micro Devices, Inc. 's 2. 30β — meaning AMD is approximately 53% more volatile than CGNX relative to the S&P 500. On balance sheet safety, Cognex Corporation (CGNX) carries a lower debt/equity ratio of 5% versus 51% for Keysight Technologies, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — CGNX or NVDA or AMD or KEYS?

By revenue growth (latest reported year), NVIDIA Corporation (NVDA) is pulling ahead at 65.

5% versus 8. 0% for Keysight Technologies, Inc. (KEYS). On earnings-per-share growth, the picture is similar: Advanced Micro Devices, Inc. grew EPS 165. 0% year-over-year, compared to 9. 7% for Cognex Corporation. Over a 3-year CAGR, NVDA leads at 100. 0% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — CGNX or NVDA or AMD or KEYS?

NVIDIA Corporation (NVDA) is the more profitable company, earning 55.

6% net margin versus 11. 5% for Cognex Corporation — meaning it keeps 55. 6% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: NVDA leads at 60. 4% versus 10. 7% for AMD. At the gross margin level — before operating expenses — NVDA leads at 71. 1%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is CGNX or NVDA or AMD or KEYS more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, NVIDIA Corporation (NVDA) is the more undervalued stock at a PEG of 0. 27x versus Advanced Micro Devices, Inc. 's 11. 55x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, NVIDIA Corporation (NVDA) trades at 25. 6x forward P/E versus 59. 7x for Advanced Micro Devices, Inc. — 34. 1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for NVDA: 31. 8% to $278. 83.

08

Which pays a better dividend — CGNX or NVDA or AMD or KEYS?

In this comparison, CGNX (0.

5% yield) pays a dividend. NVDA, AMD, KEYS do not pay a meaningful dividend and should not be held primarily for income.

09

Is CGNX or NVDA or AMD or KEYS better for a retirement portfolio?

For long-horizon retirement investors, Keysight Technologies, Inc.

(KEYS) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+1279% 10Y return). Advanced Micro Devices, Inc. (AMD) carries a higher beta of 2. 30 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (KEYS: +1279%, AMD: +110. 9%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between CGNX and NVDA and AMD and KEYS?

Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

In terms of investment character: CGNX is a mid-cap quality compounder stock; NVDA is a mega-cap high-growth stock; AMD is a large-cap high-growth stock; KEYS is a mid-cap quality compounder stock. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform all of them.

Stocks Like

CGNX

High-Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 12%
  • Net Margin > 8%
Run This Screen
Stocks Like

NVDA

High-Growth Quality Leader

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 36%
  • Net Margin > 33%
Run This Screen
Stocks Like

AMD

High-Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 18%
  • Net Margin > 7%
Run This Screen
Stocks Like

KEYS

High-Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 11%
  • Net Margin > 10%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform CGNX and NVDA and AMD and KEYS on the metrics below

Revenue Growth>
%
(CGNX: 24.3% · NVDA: 73.2%)
Net Margin>
%
(CGNX: 13.6% · NVDA: 55.6%)
P/E Ratio<
x
(CGNX: 96.9x · NVDA: 43.2x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.