$49.13
Value $8.1B
CGNX and UNP stock compared: price, dividend, valuation and results, from SEC filings.
$49.13
Value $8.1B
$300.90
Value $179B
Cognex (CGNX) has a market value of $8.1B and Union Pacific (UNP) $179B. Over the last year, with dividends, CGNX moved +37.1% and UNP +39.0%. The P/E is 33.7 for CGNX and 23.4 for UNP. Dividend yield: CGNX 0.69%, UNP 1.85%.
The main figures of both. A bar only shows which number is larger, not which is better.
Market value
CGNX$8.1B
UNP$179B
UNP is 22 times CGNX
Revenue, 12 months
CGNX$1.1B
UNP$26.4B
UNP is 23 times CGNX
Net income, 12 months
CGNX$242M
UNP$7.6B
UNP is 31 times CGNX
Operating margin
CGNX25.0%
UNP40.1%
15.1 points apart
ROIC
CGNX14.6%
UNP16.1%
1.5 points apart
P/E
CGNX33.7
UNP23.4
CGNX is 1.4 times UNP
Dividend yield
CGNX0.7%
UNP1.8%
1.2 points apart
5-year return
CGNX-37.6%
UNP+40.3%
77.9 points apart
A fainter bar means a negative number. The 5-year return includes dividends.
Both start at 100 at the beginning of the period, so the lines show how much each changed. With dividends means each dividend buys more shares.
CGNX-37.6%
UNP+40.3%
| Period | CGNXWith dividends | UNPWith dividends |
|---|---|---|
| 1 year since November 17, 2025 | +37.1%Price +36.5% | +39.0%Price +36.2% |
| 3 years since November 17, 2023 | +35.8%+10.7% a yearPrice +33.0% | +46.6%+13.6% a yearPrice +37.3% |
| 5 years since November 17, 2021 | -37.6%-9.0% a yearPrice -39.7% | +40.3%+7.0% a yearPrice +25.5% |
| 10 years since November 21, 2016 | +78.7%+6.0% a yearPrice +65.3% | +271.6%+14.0% a yearPrice +198.7% |
Each cell: the total return with dividends, its yearly rate, and the price change alone. Before taxes and costs. Past returns do not predict future ones.
As on each company's page. A description, not a recommendation: no one figure says which is better.
CGNXCognexUNPUnion Pacific
| Price | $49.13 | $300.90 |
|---|---|---|
| Market value | $8.1B | $179B |
| Enterprise value (EV) | $7.4B | $207B |
| P/E | 33.7 | 23.4 |
| P/E, 5-year median | 52.9 | 20.6 |
| P/B | 4.7 | 8.1 |
| EV/EBIT | 26.5 | 19.6 |
| Free cash flow yield | 3.5% | 3.8% |
| Revenue, 12 months | $1.1B | $26.4B |
|---|---|---|
| Net income, 12 months | $242M | $7.6B |
| Free cash flow, 12 months | $286M | $6.7B |
| Earnings per share, 12 months | $1.44 | $12.83 |
| Revenue growth, year on year | 8.7% | 1.1% |
| Revenue growth a year, past | +4.2%over 5 years | +4.6%over 5 years |
| EPS growth a year, past | -7.4%over 5 years | +8.7%over 5 years |
| Gross margin | 69.7% | – |
|---|---|---|
| Operating margin | 25.0% | 40.1% |
| Net margin | 21.5% | 28.9% |
| ROIC | 14.6% | 16.1% |
| ROE | 15.5% | 38.9% |
| Cash | $696M | $2.2B |
|---|---|---|
| Total debt | $70M | $31.1B |
| Net debt / EBITDA | -2.3 | 2.2 |
| Interest cover | – | 8.3× |
| Dividend yield | 0.7% | 1.8% |
|---|---|---|
| Dividend per share, 12 months | $0.34 | $5.56 |
| Dividend growth a year, past | +7.3%over 4 years | +7.0%over 5 years |
| Buyback yield | 1.9% | 1.5% |
| Shareholder yield | 2.6% | 3.4% |
Last 12 months from the latest 10-Q and 10-K. Value, P/E and yields at today's price. A dash means the figure does not exist or did not pass our checks.
By market value, Union Pacific ($179B) is about 21.9 times Cognex ($8.1B), at today's prices.
Since November 21, 2016, CGNX's price moved +65.3% and UNP's +198.7%. With dividends: CGNX +78.7% (+6.0% a year), UNP +271.6% (+14.0% a year). Past returns do not predict future ones.
The dividend yield at today's price is 0.69% for Cognex and 1.85% for Union Pacific. Over the last twelve months they paid $0.34 and $5.56 per share.
At today's price, the P/E is 33.7 for CGNX and 23.4 for UNP. The median of the last five years was 52.9 and 20.6, which shows where each stands against its own past.
Over the last twelve months, the net margin was 21.5% for Cognex and 28.9% for Union Pacific, and the operating margin 25.0% and 40.1%. Revenue was $1.1B and $26.4B.
The page does not answer that and does not suggest buying or selling. It puts the two companies' numbers side by side, from their SEC filings, for you to read and form your own view. The decision depends on your goals and situation.
With each of the two, and with the largest in its sector.
The other pages on US stocks, free to read. On the company pages, the last three fiscal years are open to everyone, five with a free account, and every year with Ploutos Investor.
Descriptive data from SEC filings and market prices.