MetaCap

Cognex (CGNX) vs SPX Technologies (SPXC)

Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 8, 2026.

Summary

Cognex (CGNX) has outperformed SPX Technologies (SPXC) over the past year, gaining 33.2% versus a loss of 9.4%. Over five years, SPXC leads with a +186.4% price change compared with -27.5% for CGNX. Cognex is the larger company by market cap ($10.20 billion vs $8.49 billion), about 1.2 times the size, while SPX Technologies is growing revenue faster (+14.2% vs +8.7%).

On valuation, SPX Technologies trades at a lower forward P/E (17.5x vs 29.9x for Cognex). Cognex pays a dividend yielding 0.55%, while SPX Technologies does not currently pay one. Cognex converts more of its revenue into profit, with a net margin of 11.5% versus 10.8%.

Summary generated from market data by MetaCap's automated system. Methodology

Relative performance

CGNX+33.21%SPXC-9.40%
+62%+17%-28%
Oct 7, 20251 yearOct 7, 2026
CGNX-23.76%SPXC+190.42%
+333%+122%-90%
Oct 4, 20215 yearsOct 5, 2026

Percent change in share price from the first common trading day shown; excludes dividends.

Head-to-head

CGNX versus SPXC key metrics
MetricCGNXSPXC
Share price$60.62$169.43
Market cap$10.20B$8.49B
1-day change-0.97%-0.70%
YTD return+70.12%-14.72%
1-year return+33.21%-9.40%
5-year return-27.48%+186.37%
P/E ratio (TTM)58.2829.88
Forward P/E29.9017.51
EPS (TTM)$1.04$5.67
Dividend yield0.55%0.00%
Annual dividend$0.335$0.00
Revenue (latest FY)$994.36M$2.27B
Revenue growth (YoY)+8.73%+14.17%
Net income (latest FY)$114.44M$244.00M
Gross margin66.92%40.51%
Operating margin16.35%15.47%
Net margin11.51%10.77%
52-week high$72.88$251.08
52-week low$34.60$166.17
Distance from 52-week high-16.83%-32.52%
Analyst consensusbuystrong_buy
Avg. price target upside+30.51%+51.90%
Average volume1.89M545.40K
Shares outstanding168.22M50.09M
Employees2,7454,700
SectorIndustrialsIndustrials
IndustryIndustrial Machinery/ComponentsIndustrial 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 SPXC by 42.6 percentage points over the past year.
  • Cognex trades at a higher earnings multiple (58.3x vs 29.9x trailing P/E).
  • SPX Technologies grew revenue faster in its latest fiscal year (+14.17% vs +8.73%).

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 SPX Technologies

SPXC stock →

SPX Technologies, Inc. engages in the supply of engineered solutions serving the heating, ventilation, and cooling (HVAC); and detection and measurement markets in the United States, Canada, China, the United Kingdom, and internationally.

Industrials · Industrial Machinery/Components · 4,700 employees

CGNX vs SPXC FAQ

Which is bigger, Cognex or SPX Technologies?

Cognex (CGNX) is larger, with a market capitalization of $10.20B compared with $8.49B for SPX Technologies (SPXC).

Which stock has performed better over the past year, CGNX or SPXC?

CGNX returned +33.21% over the past 12 months, compared with -9.40% for SPXC (price return, excluding dividends). Past performance does not predict future results.

Which has the lower P/E ratio, CGNX or SPXC?

SPXC has the lower trailing P/E at 29.9, versus 58.3 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 SPX Technologies?

Cognex pays a dividend yielding 0.55%, while SPX Technologies does not currently pay a regular dividend.

Are Cognex and SPX Technologies in the same industry?

Yes. Both are classified in the Industrial Machinery/Components industry within the Industrials sector.

More comparisons