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.
CGNX
Cognex Corporation
$64.37TechnologyDelayed quote: Oct 5, 2026, 4:00 PM EDT
HUBS
HubSpot, Inc.
$220.72TechnologyDelayed quote: Oct 5, 2026, 4:00 PM EDT
Total return — CGNX vs HUBS
growth of $100 · dividends reinvested · last 10yCGNX +163.2% (+10.2%/yr)HUBS +280.0% (+14.3%/yr)HUBS compounded faster over this window
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
| Metric | CGNX | HUBS |
|---|---|---|
| P/E ratio | 62.50 | 77.99 |
| Forward P/E | 38.28 | N/A |
| P/S ratio | 9.84 | 3.28 |
| P/B ratio | 6.57 | 6.82 |
| EV / EBITDA | 39.27 | 36.99 |
| FCF yield | 2.50% | 6.79% |
Profitability
| Metric | CGNX | HUBS |
|---|---|---|
| Gross margin | 68.87% | 83.25% |
| Operating margin | 21.90% | 3.83% |
| Net margin | 16.05% | 4.26% |
| ROE | 10.73% | 8.86% |
| ROIC | 8.23% | 5.70% |
Dividends
| Metric | CGNX | HUBS |
|---|---|---|
| Dividend yield | 0.53% | N/A |
| Payout ratio | 33.01% | N/A |
Growth (annualized)
| Metric | CGNX | HUBS |
|---|---|---|
| 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.
Go deeper
Dig into the metrics
Cognex P/E ratioHubSpot P/E ratioCognex dividend yieldCognex ROEHubSpot ROECognex operating marginHubSpot operating marginCognex revenue growthHubSpot revenue growthCognex free cash flowHubSpot free cash flow
Cognex & HubSpot appear in these rankings
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.