Cognex Corp (CGNX)

Technology · Electronic Components & Instruments

Share price
$51.04
Fair value
$47.44
Moat
Narrow
Return on capital, median over ten years
35%
Operating margin
25%
Revenue growth, 5-year annual
4%
Free cash flow yield
3%
Dividend yield
1%

Cognex's factory-vision margins are back, and the price already counts on them staying

Cognex owns a debt-free, cash-rich machine-vision franchise whose margins have just recovered to near their old highs. Whether factory and warehouse automation spending grows faster than the 8% a year of the past decade decides the outcome. At $51.04 the stock is fairly valued, with no margin of safety for another downturn.

How it makes money

Manufacturers, logistics firms and electronics makers buy Cognex vision sensors, smart cameras, barcode readers and inspection software to automate production and sorting lines. Revenue is units shipped times price per unit, plus custom vision systems built for a few large customers, sold mostly through its own engineers and distributors.

Factories pay a premium for vision that works

Cognex sells cameras, barcode readers and software that let production and warehouse lines see, read and inspect parts. Because a missed defect costs far more than the sensor, customers pay for reliability, which kept gross margin above 66% every year and returns on capital above 25% in most of the last decade.

The 2023 slump showed how cyclical demand is

That engine depends on factory and warehouse spending, and when electronics and logistics customers paused, operating margin fell from 30.4% in 2021 to 12.6% in 2024. Margins have now rebounded to 25.0% over the last twelve months, but gross margin has slipped about eight points in a decade as cheaper Chinese vision makers press on price.

The price assumes the rebound becomes the norm

So the question for the price is whether the recovery lasts. At $51.04 the market prices in 11.9% yearly revenue growth for five years, above the 8.2% ten-year record, and the stock trades at 33.8 times earnings. That leaves it fairly valued, with value only if growth outruns the last cycle.

Moat

Industry reports