CGNX vs TSM Stock Comparison

TSM currently leads CGNX in this stock comparison, with AIQ scores of 58 vs 48. The clearest difference is quality, while CGNX has the stronger momentum profile.

Market data as of Oct 22, 2026 market close· AIQ score gap 10 points
CGNX
Technology
vs
TSM
Technology
CGNX
Cognex Corporation
Price
$58.05
Day move
+2.25%
AIQ Score
48/100
Best edge
Momentum
Sector
Technology
TSM
Taiwan Semiconductor Manufacturing Company Limited
Leads
Price
$432
Day move
+1.6%
AIQ Score
58/100
Best edge
Quality
Sector
Technology

What is the main difference between CGNX and TSM?

TSM leads the current stock comparison as Taiwan Semiconductor Manufacturing Company Limited, with the clearest separation coming from quality and the broader AIQ evidence mix.

AlgovestIQ AIQ Comparison

Cognex Corporation vs Taiwan Semiconductor Manufacturing Company Limited

Data as of Oct 22, 2026· market close· Technology· Coverage 66/66 fields· High confidence
AIQ VerdictCompetitiveAIQ Comparison Conviction 7/10

TSM leads

TSM leads by 10 AIQ points, primarily on Quality and Risk Resilience, but the lead has narrowed from 21 points over 30 sessions.

Competitive: 6 of 6 evidence groups support TSM, its lead is narrowing, and its current signal state is conflicted.

Evidence agreement: 6 of 6Comparison trend: Weakening
CGNX

Cognex Corporation

AIQ Score
48/100
AIQ Edge Score
5/10
TSM

Taiwan Semiconductor Manufacturing Company Limited

Leads
AIQ Score
58/100
AIQ Edge Score
7/10

The Algovestiq AIQ Score currently favors TSM over CGNX, 58 versus 48 as of Oct 22, 2026. TSM's advantage is driven primarily by stronger quality and risk resilience, while CGNX holds the stronger momentum profile. TSM also shows the stronger technical structure relative to its 50-day moving average. 6 of 6 covered evidence groups favor TSM today, and the comparison is rated Competitive on stability: the leader's advantage has been narrowing. TSM lead: Weakening — the AIQ differential moved from 21 to 10 points over 30 sessions.

Compare Cognex Corporation and Taiwan Semiconductor Manufacturing Company Limited across the Algovestiq AIQ Score, valuation, quality, momentum, risk, technicals and analyst expectations.

Currently unavailable

Performance over time

Total return with distributions reinvested, from daily closes.

CGNX
-31.9%
TSM
+299.3%

Total return comparison

Growth of $10,000, distributions reinvested

CGNX $6,813 · TSM $39,934

Split-adjusted closes; each distribution is reinvested at the close on its ex-dividend date. Taxes and trading costs are not modeled.

Compare CGNX and TSM against another ticker

Open a multi-ticker workspace without changing this focused pair page.

Basic: 2 symbols·Explorer: 3 symbols·Pro and Premium: 5 symbols·Your limit: 2

AIQ Factor Divergence

Where the two separate, on the four dimensions behind the AIQ Score. Bars read outward from a shared zero: further from the centre is a wider gap.

CGNX advantage
0
TSM advantage
  • Quality71 vs 98
    TSM +27
  • Risk Resilience51 vs 67
    TSM +16
  • Momentum33 vs 21
    CGNX +12
  • Value35 vs 45
    TSM +10

6 of 6 evidence groups favor TSM. TSM’s edge is concentrated in quality and risk resilience; CGNX keeps a meaningful momentum edge.

What changed since the last close

Latest scored session 2026-10-20, compared against the prior scored session 2026-10-19.

CGNX+1 AIQ

Largest factor move: Momentum +1

No signal started or stopped since the prior session; its 3 active signals are unchanged.

TSM+1 AIQ

Largest factor move: Momentum +3

No signal started or stopped since the prior session; its 2 active signals are unchanged.

TSM's lead was unchanged in the latest session.

Deeper signal detail for each name lives on its own signals page — CGNX and TSM both carry a full feed there.

The central trade-off

TSM (Taiwan Semiconductor Manufacturing Company Limited): the stronger current systematic profile, led by quality and risk resilience.

CGNX (Cognex Corporation): the counter-case, on momentum — but at materially higher volatility, 48.9% against 28.8%.

Which one fits your objective

The same two names rank differently depending on what you are optimizing for. All six reads are shown at once — none of them is hidden behind a toggle.

Balanced

TSM

TSM on the overall AIQ Score, which weights Quality and Value most heavily.

Growth

CGNX

CGNX on combined revenue and EPS growth.

Value

TSM

TSM on the peer-relative Value factor, by 10 points.

Momentum

CGNX

CGNX on the Momentum factor, by 12 points.

Lower downside

TSM

TSM on Risk Resilience, by 16 points.

Analyst upside

TSM

TSM on implied upside to the consensus price target.

AIQ vs Wall Street

Where the systematic read and the analyst consensus line up — and where they do not.

MeasureCGNXTSMNote
Implied upside to target+27.1%+36.4%TSM has more room
Target dispersion+40.7%+34%Lower is tighter analyst agreement
ConsensusBuyBuyContext, not a primary driver
Analysts covering117Higher coverage generally improves confidence

Analyst targets are expectations, not predictions. Dispersion matters as much as the midpoint.

Dividend growth

CGNX vs TSM: regular dividend growth
Dividend metricCGNXTSM
5Y dividend CAGR7.63%15.29%
2020 regular DPS$0.225$1.360
2025 regular DPS$0.325$2.769
Years increased54
No cut in windowYesNo (1)
Cohort rank#155not ranked

TSM grew its split-adjusted regular dividend faster over 2020–2025 — 15.29% a year against CGNX's 7.63%. CGNX never reduced its regular dividend in the window; TSM did in 1 year.

Yield and payout ratio shown elsewhere on this page are current values, not part of the study window.

Split-adjusted regular dividends per share, 2020–2025, excluding special dividends. Research as of Sep 19, 2026.

AIQ Agreement Matrix

6 of 6 covered evidence groups favor TSM. A wide gap backed by one group is a weaker case than a narrow gap backed by five.

Evidence groupFavorsReading
AIQ ScoreTSM48 vs 58
FundamentalsTSMon balancerevenue growth 8.5% vs 17.6%; EPS growth 38.7% vs 8%; TTM ROE 11.5% vs 41.2%; gross margin 68.9% vs 65.8%; operating margin 21.9% vs 57.9% — TSM takes 3 of 5 decided legs, not all of them
ValuationTSMValue 35 vs 45
TechnicalsTSMPrice vs 50-day -4.5% vs -0.6%; vs 200-day -0.7% vs 7.3%
Risk ResilienceTSMRisk Resilience 51 vs 67
Analyst expectationsTSMTarget upside 27.1% vs 36.4%

✓ agrees with the overall verdict · ✕ points the other way. Groups marked “not covered” lack data on one or both of CGNX and TSM and are excluded from the count.

AIQ Decision Stability

Competitive

The two are close enough that your objective, not the score, should decide.

  • The AIQ gap is moderate at 10 points.
  • 6 of 6 covered evidence groups point the same way. (supports the conclusion holding)
  • The leader's advantage has been narrowing. (argues the conclusion is provisional)
  • The leader is throwing conflicting signals. (argues the conclusion is provisional)

Stability combines the score gap, how broadly the evidence agrees, how steady the lead has been across daily snapshots, the current signal state on both names, and analyst dispersion on TSM.

How the comparison changed

120 daily snapshots · Jun 21 – Oct 20

TSM lead: Weakening — the AIQ differential moved from 21 to 10 points over 30 sessions.

Jun 21CGNX leads above the line · TSM leads belowOct 20
Today
TSM +10
48 vs 58
7 sessions ago
TSM +8
48 vs 56
30 sessions ago
TSM +21
51 vs 72
90 sessions ago
TSM +15
56 vs 71

The lead has not changed hands in this window.

AIQ Signal Divergence

Only the signals that bear on the head-to-head. A conflicted name is carrying bullish and bearish rules at the same time — the technical evidence is not pointing one way.

CGNXConflicted

1 bullish / 1 bearish / 1 neutral, conflicted

Only CGNX

  • ATR Expansion - Breakout Mode — neutral, volatility, short horizon (4.56%)
TSMConflicted

1 bullish / 1 bearish, conflicted

No signal that the other name lacks.

Both carry 2 more signals that do not separate them: Golden Cross Active, MACD Bearish Crossover.

TSM leads the comparison while carrying a conflicted signal state, which is one reason the stability rating is not higher.

Price vs model alignment

Whether the latest session's price move confirms what the model did over the same session, or contradicts it.

CGNXConfirmed strength

Price and the AIQ Score both moved up over the latest session (price +2.25%, AIQ +1 points).

TSMConfirmed strength

Price and the AIQ Score both moved up over the latest session (price +1.6%, AIQ +1 points).

What would flip this result

A state, not a forecast. These are the specific, observable changes that would reverse the verdict — not a price prediction.

  1. 1CGNX closes the Quality gap — currently 27 points behind, the largest single contributor to TSM's edge.
  2. 2CGNX's MACD Bearish Crossover resolves — a bearish momentum rule currently active against it.
  3. 3TSM's conflicting signal state resolves bearish — it currently carries 1 bullish and 1 bearish rules at once.
  4. 4The narrowing continues — the lead has already given back 11 points over 30 sessions, and a further 10-point move would eliminate TSM's advantage entirely.

The full evidence

Every number behind the verdict. The leader is called above each group so you are not left to solve it from the table.

Fundamentals

TSM leads on balance
MetricCGNXTSM
Revenue growth (YoY)8.5%17.6%
EPS growth (YoY)38.7%8%
Gross margin68.9%65.8%
Operating margin21.9%57.9%
Return on equity (TTM)11.5%41.2%
Debt to equity0.040.14

Performance

TSM leads 4 of 6 windows
MetricCGNXTSM
1 week (5 sessions)-5.4%-4.5%
1 month (20 sessions)-3.7%-6%
3 months (63 sessions)-9.2%0.9%
6 months (126 sessions)5.7%15.5%
Year to date57.8%39.9%
1 year (252 sessions)22.6%41.8%

Technicals

TSM has the stronger structure
MetricCGNXTSM
RSI (14)42.636.7
ADX (14)15.121.6
Price vs 50-day-4.5%-0.6%
Price vs 200-day-0.7%7.3%
Volatility (1M, annualized)48.9%28.8%

Risk

TSM is the more resilient
MetricCGNXTSM
Beta1.822.11
Sharpe ratio0.561.04
Sortino ratio1.071.66
Max drawdown-28%-21.6%
Current drawdown-21.6%-12.5%
Annualized volatility58.6%38.9%
Value at risk (95%)-4.5%-3.8%

Straight answers

Each answer is regenerated from the current snapshot, not written once and left to age.

Which is better, CGNX or TSM?

On the Algovestiq AIQ Score, TSM is the stronger of the two as of Oct 22, 2026, scoring 58 against CGNX's 48. The edge comes from quality and risk resilience. CGNX is not without a case — it holds the better momentum profile, which matters more if that is the objective you are optimizing for. This is a systematic score, not a recommendation: it ranks the two on the same evidence, it does not know your holding period or tax position.

Is CGNX or TSM the better buy right now?

TSM carries the stronger systematic profile as of Oct 22, 2026, and the comparison is rated Competitive — 6 of 6 covered evidence groups agree. A Competitive rating means the two are close enough that your objective, not the score, should decide.

Why does the AIQ Score favor TSM over CGNX?

The composite weights Quality, Value, Momentum and Risk Resilience. TSM leads Quality by 27 points; TSM leads Risk Resilience by 16 points; CGNX leads Momentum by 12 points. Where the two split, the factor with the larger weight carries the result.

Which has more analyst upside, CGNX or TSM?

Analyst price targets imply +27.1% upside for CGNX and +36.4% for TSM, so the Street currently favors TSM. The model and the Street agree here, which is a broader base of evidence than either alone. Analyst targets are expectations, not predictions, and dispersion matters as much as the midpoint.

Which is better value, CGNX or TSM?

TSM is the better-valued of the two on the peer-relative Value factor. TSM on the peer-relative Value factor, by 10 points. The Value factor reads valuation relative to sector peers and to the company's own fundamental quality, so it is not the same as simply having the lower multiple.

Which has stronger growth, CGNX or TSM?

CGNX on combined revenue and EPS growth. Growth here is measured on reported revenue and earnings, not on forward estimates — it describes what the businesses have delivered, not what the Street expects next.

Which has stronger momentum, CGNX or TSM?

CGNX on the Momentum factor, by 12 points. Momentum is one of the four weighted factors in the AIQ composite. It has documented persistence over three- to twelve-month horizons, which makes it a timing input rather than a reason to hold something indefinitely.

Which is riskier, CGNX or TSM?

TSM is the more resilient of the two, so the other name carries the higher downside risk. TSM on Risk Resilience, by 16 points. Risk Resilience is a weighted factor in the composite; position sizing usually responds to it more usefully than the buy/avoid decision does.

Is CGNX more profitable than TSM?

The profitability evidence is mixed: gross margin 68.9% vs 65.8%; operating margin 21.9% vs 57.9%; ttm roe 11.5% vs 41.2%. CGNX leads on one measure and TSM on two measures, and there is no single profitability composite that resolves the split — which of the two reads as "more profitable" depends on whether you weight pricing power or operating leverage.

Is TSM's lead over CGNX getting stronger or weaker?

TSM lead: Weakening — the AIQ differential moved from 21 to 10 points over 30 sessions. This is measured from 120 daily comparison snapshots between 2026-06-21 and 2026-10-20. The lead has not changed hands in that window.

What would change the CGNX vs TSM verdict?

The result is a state, not a forecast, so it changes when the underlying evidence changes. Concretely: CGNX closes the Quality gap — currently 27 points behind, the largest single contributor to TSM's edge; CGNX's MACD Bearish Crossover resolves — a bearish momentum rule currently active against it; TSM's conflicting signal state resolves bearish — it currently carries 1 bullish and 1 bearish rules at once; the narrowing continues — the lead has already given back 11 points over 30 sessions, and a further 10-point move would eliminate TSM's advantage entirely.

What do the current signals say about CGNX and TSM?

CGNX: 1 bullish / 1 bearish / 1 neutral, conflicted. TSM: 1 bullish / 1 bearish, conflicted. A conflicted state means bullish and bearish rules are active on the same name at once — the technical evidence is not pointing one way, and a decision taken on it carries more timing risk. The most decision-relevant rule on CGNX is Golden Cross Active (bullish, long horizon). On TSM it is Golden Cross Active (bullish, long horizon).

Compare CGNX and TSM with others

Continue your research

This page answers which of the two. These answer the questions on either side of it.

How this comparison is scored

The Algovestiq AIQ Score composites four factors — Quality, Value, Momentum and Risk, each carrying a fixed weight. Sentiment is reported separately as SentimentPulse and is not folded into the composite. Scores refresh every trading day, and this page regenerates from the latest snapshot rather than being written once.

The verdict names a leader, states how broadly six independent evidence groups agree, and rates how durable that conclusion is given the score gap, its recent trajectory and the current signal state on both names.

How to use side-by-side comparison →

This comparison is informational and educational, not investment advice. AIQ scores update daily; re-check after earnings, guidance or macro data that materially changes either name’s factor profile.