CGNX

Cognex Corporation

83
Fundamentals88/ 100
Valuation81/ 100
Upside potential84/ 100
Risk potential13/ 100

CGNX has the edge over MSFT overall, supported by stronger fundamentals and stronger valuation.

MSFT

Microsoft Corporation

76
Fundamentals75/ 100
Valuation69/ 100
Upside potential75/ 100
Risk potential10/ 100

MSFT has slightly lower modeled downside risk, despite its lower overall score.

CGNX Fundamentals

MetricStatus
Healthy
Strong
Strong
Strong

CGNX's revenue, profitability, cash flow and balance sheet are all currently healthy.

MSFT Fundamentals

MetricStatus
Healthy
Strong
Healthy
Strong

MSFT's revenue, profitability, cash flow and balance sheet are all currently healthy.

CGNX PE Valuation

CHEAPFAIREXPENSIVE25x49x74x99x
CHEAPFAIREXPENSIVE25x49x74x99x
LevelPEPriceVs current
Forward26x$50.77—
Current35x$50.77—
Cheap40x$57.69+14%
Fair55x$79.70+57%
Expensive79x$113+123%

Historical ranges are pointers, not guarantees.

CGNX's PE is in its cheap range at 35x. If earnings grow as analysts expect, today's price would be 26x next year's earnings.

MSFT PE Valuation

CHEAPFAIREXPENSIVE11x21x32x42x
CHEAPFAIREXPENSIVE11x21x32x42x
LevelPEPriceVs current
Forward25x$523—
Cheap27x$525+0.4%
Current27x$523—
Fair34x$652+25%
Expensive37x$711+36%

Historical ranges are pointers, not guarantees.

MSFT has the edge over CGNX in the historical PE scenario, which offers more potential upside but is not a forecast.

CGNX Forward outlook

MetricOutlook
Strongly improving
Strong growth
Growth
Strongly improving
Limited
Moderate

CGNX has the edge over MSFT on the outlook, with more favorable profitability expectations.

MSFT Forward outlook

MetricOutlook
Improving
Strong growth
Strong growth
Stable
Moderate
High

Analysts expect strong earnings and revenue growth for MSFT, with profitability holding steady.

CGNX Risk to reward

ScenarioChangePrice
Upside+72%$87.15
Downside-13%$44.08

Calculated from the latest close: $50.77 on Nov 12.

CGNX has a better modeled risk to reward balance than MSFT, with more potential upside relative to its potential downside.

MSFT Risk to reward

ScenarioChangePrice
Upside+28%$671.86
Downside-10%$472.97

Calculated from the latest close: $523.00 on Nov 12.

MSFT trails CGNX on modeled risk to reward, with less potential upside relative to its potential downside.

CGNX Earnings Per Share

Q4 2023: $0.65Q1 2024: $0.57Q2 2024: $0.45Q3 2024: $0.51Q4 2024: $0.62Q1 2025: $0.69Q2 2025: $0.72Q3 2025: $0.65Q4 2025: $0.68Q2 2026: $0.85Q3 2026: $1.04Q4 2026: $1.44Forward: $1.94
Q4 2023: $0.65Q1 2024: $0.57Q2 2024: $0.45Q3 2024: $0.51Q4 2024: $0.62Q1 2025: $0.69Q2 2025: $0.72Q3 2025: $0.65Q4 2025: $0.68Q2 2026: $0.85Q3 2026: $1.04Q4 2026: $1.44Forward: $1.94
QuarterTTM EPSYoY
Forward$1.94+35%
Q3 2026$1.44+122%
Q2 2026$1.04+44%
Q1 2026$0.85+23%
Q4 2025$0.68+9.7%
Q3 2025$0.65+27%
Q2 2025$0.72+60%
Q1 2025$0.69+21%
Q4 2024$0.62-4.6%

CGNX earned $1.44 per share over the past year, up 122% from the year before.

MSFT Earnings Per Share

Q4 2023: $11.05Q1 2024: $11.54Q2 2024: $11.80Q3 2024: $12.11Q4 2024: $12.41Q1 2025: $12.93Q2 2025: $13.64Q3 2025: $14.06Q4 2025: $15.99Q1 2026: $16.80Q2 2026: $17.95Q3 2026: $19.15Forward: $20.79
Q4 2023: $11.05Q1 2024: $11.54Q2 2024: $11.80Q3 2024: $12.11Q4 2024: $12.41Q1 2025: $12.93Q2 2025: $13.64Q3 2025: $14.06Q4 2025: $15.99Q1 2026: $16.80Q2 2026: $17.95Q3 2026: $19.15Forward: $20.79
QuarterTTM EPSYoY
Forward$20.79+8.6%
Q3 2026$19.15+36%
Q2 2026$17.95+32%
Q1 2026$16.80+30%
Q4 2025$15.99+29%
Q3 2025$14.06+16%
Q2 2025$13.64+16%
Q1 2025$12.93+12%
Q4 2024$12.41+12%

MSFT's earnings per share have climbed steadily: $19.15 over the past year, up 36% from the year before, and higher year over year for 14 quarters in a row.

CGNX Quarterly Revenue

Q4 2023: $197MQ1 2024: $211MQ2 2024: $239MQ3 2024: $235MQ4 2024: $230MQ1 2025: $216MQ2 2025: $249MQ3 2025: $277MQ4 2025: $252MQ2 2026: $268MQ3 2026: $291MQ4 2026: $313M
Q4 2023: $197MQ1 2024: $211MQ2 2024: $239MQ3 2024: $235MQ4 2024: $230MQ1 2025: $216MQ2 2025: $249MQ3 2025: $277MQ4 2025: $252MQ2 2026: $268MQ3 2026: $291MQ4 2026: $313M
QuarterRevenueYoY
Q3 2026$313.4M+13%
Q2 2026$291.3M+17%
Q1 2026$268.4M+24%
Q4 2025$252.3M+9.9%
Q3 2025$276.9M+18%
Q2 2025$249.1M+4.1%
Q1 2025$216M+2.5%
Q4 2024$229.7M+17%

CGNX's revenue has grown year over year for nine quarters in a row: $313M last quarter, up 13% from the same quarter a year ago.

MSFT Quarterly Revenue

Q4 2023: $62BQ1 2024: $61.9BQ2 2024: $64.7BQ3 2024: $65.6BQ4 2024: $69.6BQ1 2025: $70.1BQ2 2025: $76.4BQ3 2025: $77.7BQ4 2025: $81.3BQ1 2026: $82.9BQ2 2026: $90BQ3 2026: $92.3B
Q4 2023: $62BQ1 2024: $61.9BQ2 2024: $64.7BQ3 2024: $65.6BQ4 2024: $69.6BQ1 2025: $70.1BQ2 2025: $76.4BQ3 2025: $77.7BQ4 2025: $81.3BQ1 2026: $82.9BQ2 2026: $90BQ3 2026: $92.3B
QuarterRevenueYoY
Q3 2026$92.3B+19%
Q2 2026$90B+18%
Q1 2026$82.9B+18%
Q4 2025$81.3B+17%
Q3 2025$77.7B+18%
Q2 2025$76.4B+18%
Q1 2025$70.1B+13%
Q4 2024$69.6B+12%

MSFT has the edge over CGNX on sales, with stronger typical year-over-year growth.

CGNX Free Cash Flow

Q4 2023: $7MQ1 2024: $10MQ2 2024: $23MQ3 2024: $52MQ4 2024: $49MQ1 2025: $38MQ2 2025: $40MQ3 2025: $86MQ4 2025: $72MQ2 2026: $42MQ3 2026: $68MQ4 2026: $104M
Q4 2023: $7MQ1 2024: $10MQ2 2024: $23MQ3 2024: $52MQ4 2024: $49MQ1 2025: $38MQ2 2025: $40MQ3 2025: $86MQ4 2025: $72MQ2 2026: $42MQ3 2026: $68MQ4 2026: $104M
QuarterFree cash flowYoY
Q3 2026$103.8M+21%
Q2 2026$67.6M+67%
Q1 2026$42.3M+11%
Q4 2025$72.3M+47%
Q3 2025$86M+66%
Q2 2025$40.4M+74%
Q1 2025$38M+297%
Q4 2024$49.3M+560%

CGNX has the edge over MSFT on cash flow, with more consistent year-over-year improvement.

MSFT Free Cash Flow

Q4 2023: $9.1BQ1 2024: $21BQ2 2024: $23.3BQ3 2024: $19.3BQ4 2024: $6.5BQ1 2025: $20.3BQ2 2025: $25.6BQ3 2025: $25.7BQ4 2025: $5.9BQ1 2026: $15.8BQ2 2026: $19.6BQ3 2026: $18.6B
Q4 2023: $9.1BQ1 2024: $21BQ2 2024: $23.3BQ3 2024: $19.3BQ4 2024: $6.5BQ1 2025: $20.3BQ2 2025: $25.6BQ3 2025: $25.7BQ4 2025: $5.9BQ1 2026: $15.8BQ2 2026: $19.6BQ3 2026: $18.6B
QuarterFree cash flowYoY
Q3 2026$18.6B-27%
Q2 2026$19.6B-23%
Q1 2026$15.8B-22%
Q4 2025$5.9B-9.3%
Q3 2025$25.7B+33%
Q2 2025$25.6B+9.6%
Q1 2025$20.3B-3.2%
Q4 2024$6.5B-29%

MSFT's free cash flow has been positive every quarter for seven years: $60B over the past year, down 23% from the year before.

CGNX Total Shares

Q4 2023: 173MQ1 2024: 173MQ2 2024: 173MQ3 2024: 173MQ4 2024: 173MQ1 2025: 170MQ2 2025: 169MQ3 2025: 169MQ4 2025: 169MQ2 2026: 168MQ3 2026: 170MQ4 2026: 171M
Q4 2023: 173MQ1 2024: 173MQ2 2024: 173MQ3 2024: 173MQ4 2024: 173MQ1 2025: 170MQ2 2025: 169MQ3 2025: 169MQ4 2025: 169MQ2 2026: 168MQ3 2026: 170MQ4 2026: 171M
PeriodChange %Net change
Quarterly+0.6%+1M shares
1 year+1%+1.7M shares
3 years-1.3%-2.3M shares
5 years-5.2%-9.3M shares
Available history-2.4%-4.2M shares

CGNX has 171M diluted shares, up 1% from a year ago, despite $130M in buybacks over the past year.

MSFT Total Shares

Q4 2023: 7.5BQ1 2024: 7.5BQ2 2024: 7.5BQ3 2024: 7.5BQ4 2024: 7.5BQ1 2025: 7.5BQ2 2025: 7.5BQ3 2025: 7.5BQ4 2025: 7.5BQ1 2026: 7.4BQ2 2026: 7.5BQ3 2026: 7.4B
Q4 2023: 7.5BQ1 2024: 7.5BQ2 2024: 7.5BQ3 2024: 7.5BQ4 2024: 7.5BQ1 2025: 7.5BQ2 2025: 7.5BQ3 2025: 7.5BQ4 2025: 7.5BQ1 2026: 7.4BQ2 2026: 7.5BQ3 2026: 7.4B
PeriodChange %Net change
Quarterly-0.1%-7M shares
1 year-0.3%-20M shares
3 years-0.2%-16M shares
5 years-1.6%-121M shares
Available history-3.2%-245M shares

MSFT has the edge over CGNX on shareholder dilution, with a more favorable share count trend.

CGNX Net Leverage

Q4 2023: -1.3xQ1 2024: -0.9xQ2 2024: -1.4xQ3 2024: -1.5xQ4 2024: -1.3xQ1 2025: -0.9xQ2 2025: -1.1xQ3 2025: -1.3xQ4 2025: -1.4xQ2 2026: -1.1xQ3 2026: -1.1xQ4 2026: -2.2x
Q4 2023: -1.3xQ1 2024: -0.9xQ2 2024: -1.4xQ3 2024: -1.5xQ4 2024: -1.3xQ1 2025: -0.9xQ2 2025: -1.1xQ3 2025: -1.3xQ4 2025: -1.4xQ2 2026: -1.1xQ3 2026: -1.1xQ4 2026: -2.2x
QuarterNet LeverageStatus
Q3 2026-2.2xNet Cash
Q2 2026-1.1xNet Cash
Q1 2026-1.1xNet Cash
Q4 2025-1.4xNet Cash
Q3 2025-1.3xNet Cash
Q2 2025-1.1xNet Cash
Q1 2025-0.9xNet Cash
Q4 2024-1.3xNet Cash

CGNX has the edge over MSFT on leverage, with a lower net debt burden relative to earnings.

MSFT Net Leverage

Q2 2026: 0.1xQ3 2026: 0.1x
Q2 2026: 0.1xQ3 2026: 0.1x
QuarterNet LeverageStatus
Q3 20260.1xVery low
Q2 20260.1xVery low

MSFT's net debt is less than a year of its operating earnings (EBITDA).

CGNX Weekly Momentum

MetricValueStatus
RSI41.1Neutral
Stochastic13.4Oversold

CGNX's weekly RSI is 41 (neutral) and its Stochastic is 13 (oversold).

MSFT Weekly Momentum

MetricValueStatus
RSI62.1Neutral
Stochastic68.0Neutral

MSFT's weekly RSI is 62 (neutral) and its Stochastic is 68 (neutral).

CGNX PE vs Technology Sector

MetricCGNXSector medianRelative
PE35x28x27% above
PE %83527 pts below

CGNX is trading at 35x earnings, a 27% premium to the Technology sector's median of 28x.

MSFT PE vs Technology Sector

MetricMSFTSector medianRelative
PE27x28x2% below
PE %163519 pts below

MSFT has the edge over CGNX on valuation relative to its sector.

CGNX Weekly Moving Averages

Moving averageMA priceRelative
8 week MA$56.49.9% below
20 week MA$60.917% below
50 week MA$55.17.8% below
100 week MA$45.611% above
200 week MA$44.913% above

CGNX has pulled back, but its long-term trend is still up: it's below its 8-, 20- and 50-week averages, but 13% above its 200-week average.

MSFT Weekly Moving Averages

Moving averageMA priceRelative
8 week MA$524.70.3% below
20 week MA$484.87.9% above
50 week MA$446.917% above
100 week MA$453.815% above
200 week MA$411.527% above

MSFT has the edge over CGNX on trend strength, trading above more of its moving averages.

CGNX Yearly ROI

YearStart priceEnd priceROI
2020$56.2$80.7+44%
2021$80.7$77.6-3.9%
2022$77.6$47.4-39%
2023$47.4$41.7-12%
2024$41.7$36.0-14%
2025$36.0$36.6+1.4%
2026 YTD$36.6$50.8+39%

CGNX has the edge over MSFT on returns for 2026, with the stronger performance.

MSFT Yearly ROI

YearStart priceEnd priceROI
2020$159.0$222.8+40%
2021$222.8$334.7+50%
2022$334.7$238.7-29%
2023$238.7$376.0+58%
2024$376.0$430.5+14%
2025$430.5$487.7+13%
2026 YTD$487.7$523.0+7.2%

MSFT has finished higher in five of the last six years, two of them by more than 50%. It's up 7.2% so far in 2026.

Give your agent the market.

Get API key