Cognex Corporation (CGNX) vs HubSpot, Inc. (HUBS)

A side-by-side comparison of Cognex Corporation and HubSpot, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of October 6, 2026. Differences are shown without an overall score or investment verdict.

Compare

Total return — CGNX vs HUBS

growth of $100 · dividends reinvested · last 10y
CGNX +163.2% (+10.2%/yr)HUBS +280.0% (+14.3%/yr)HUBS compounded faster over this window
05001k2kStart $10020182020202220242026$263$380
CGNX HUBS

CGNX vs HUBS: by the numbers

  • •HUBS is the larger company ($11.30B vs $10.71B market cap).
  • •CGNX trades at the lower trailing earnings multiple (62.50 vs 77.99 P/E), one valuation lens rather than an overall verdict.
  • •CGNX converts more revenue to profit (16.05% vs 4.26% net margin).
  • •HUBS grew revenue faster over the past five years (26.31% vs 2.07% CAGR).
  • •CGNX pays a dividend (0.53% yield), while HUBS has no payments in the available dividend history.

Metrics side by side

Valuation

MetricCGNXHUBS
P/E ratio62.5077.99
Forward P/E38.28N/A
P/S ratio9.843.28
P/B ratio6.576.82
EV / EBITDA39.2736.99
FCF yield2.50%6.79%

Profitability

MetricCGNXHUBS
Gross margin68.87%83.25%
Operating margin21.90%3.83%
Net margin16.05%4.26%
ROE10.73%8.86%
ROIC8.23%5.70%

Dividends

MetricCGNXHUBS
Dividend yield0.53%N/A
Payout ratio33.01%N/A

Growth (annualized)

MetricCGNXHUBS
Revenue CAGR (5Y)2.07%26.31%
EPS CAGR (5Y)-7.79%N/A
FCF CAGR (5Y)0.66%39.65%
Total return CAGR (5Y)-3.81%-19.41%

Frequently asked

Which has the lower trailing P/E, CGNX or HUBS?
CGNX has the lower trailing P/E: CGNX trades at 62.50 and HUBS at 77.99. P/E is one valuation measure and does not by itself establish which business is cheaper.
Which has grown faster, CGNX or HUBS?
Over the past five years, HUBS grew revenue faster — CGNX at a 2.07% CAGR versus HUBS at 26.31%.
Does CGNX or HUBS pay a bigger dividend?
CGNX pays a dividend (0.53% yield), while HUBS has no payments in the available dividend history.
Is CGNX or HUBS more profitable?
CGNX runs the higher net margin — CGNX at 16.05% versus HUBS at 4.26%.
How have CGNX and HUBS total returns compared?
Over the past 10 years, CGNX delivered 10.05% and HUBS delivered 14.25% annualized total return. Past performance doesn't predict future results.

Figures are sourced from reported fundamentals and the latest end-of-day price. This comparison is informational only and is not investment advice. Past performance does not predict future results. See our methodology. Compiled by TGMCharts Research · data verified October 6, 2026.