Cognex Corporation vs GitLab Inc.
Market value, revenue, profit, valuation and financial strength side by side, each from the company's own filings or market data, with its date.
In short
- Cognex Corporation and GitLab Inc. are worth about the same: $9.3 B and $9.4 B (market caps of Oct 20, 2026 for Cognex Corporation and Oct 26, 2026 for GitLab Inc.).
- Cognex Corporation had more revenue: $994 M in the year to December 2025 against $955 M for GitLab Inc. in the year to January 2026.
- Cognex Corporation made a net profit of $114 M, while GitLab Inc. made a net loss of $56 M.
- Cognex Corporation keeps more of each dollar of sales: a net margin of 11.5% against -5.9% for GitLab Inc.
- GitLab Inc. employs more people: 2,580 against 2,441 at Cognex Corporation. Each employee brings in about $407,358 of revenue at Cognex Corporation and $370,240 at GitLab Inc.
- GitLab Inc.'s revenue grew faster in its latest fiscal year: +25.8% against +8.7% for Cognex Corporation.
- Both are in the safe zone of the Altman Z-score.
Market value, the same start = 100
From Jan 2022: how each one's value moved, whatever its size.
Revenue by fiscal year
US$ billions, as reported in each year's annual results.
Side by side
| Measure | Cognex Corporation CGNX · #2,302 in the world | GitLab Inc. GTLB · #2,277 in the world |
|---|---|---|
| Profile | ||
| Country | 🇺🇸 USA | 🇺🇸 USA |
| Sector | Technology | Technology |
| Industry | Scientific Technical Instruments | — |
| Founded | 1981 | 2014 |
| Size | ||
| Market cap | $9.3 B | $9.4 B |
| Revenue | $994 M | $955 M |
| Net income | $114 M▲ best | $-56 M |
| Employees | 2,441 | 2,580 |
| Valuation | ||
| P/E ratio | 38.4× | — |
| Price to sales | 8.3× | 8.9× |
| Price to book | 6.2× | 9.5× |
| Free cash flow yield | 2.5%▲ best | 2.4% |
| Profitability | ||
| Gross margin | 66.9% | 87.4%▲ best |
| Operating margin | 16.4%▲ best | -7.4% |
| Net margin | 11.5%▲ best | -5.9% |
| Return on equity | 7.6%▲ best | -6.3% |
| Growth | ||
| Revenue growth | 8.7% | 25.8%▲ best |
| Revenue growth, 3 years a year | -0.4% | 31.1%▲ best |
| Earnings per share growth | 9.7% | — |
| Cash | ||
| Free cash flow margin | 23.8%▲ best | 23.2% |
| Shareholder returns | ||
| Dividend yield | 0.6% | — |
| Shareholder yield | 2.2% | — |
| Altman Z-score zone | safe | safe |
| Data as of | Market cap Oct 2026; ratios FY2025 | Market cap Oct 2026; ratios FY2025 |
▲ marks the better of the two where higher or lower is better; size and valuation multiples are marked for neither
Questions and answers#
Which is bigger, Cognex Corporation or GitLab Inc.?
Cognex Corporation and GitLab Inc. are worth about the same: $9.3 B and $9.4 B (market caps of Oct 20, 2026 for Cognex Corporation and Oct 26, 2026 for GitLab Inc.).
Which makes more money, Cognex Corporation or GitLab Inc.?
Cognex Corporation had more revenue: $994 M in the year to December 2025 against $955 M for GitLab Inc. in the year to January 2026. Cognex Corporation made a net profit of $114 M, while GitLab Inc. made a net loss of $56 M.
Which is more profitable, Cognex Corporation or GitLab Inc.?
Cognex Corporation keeps more of each dollar of sales: a net margin of 11.5% against -5.9% for GitLab Inc.
Which has more employees, Cognex Corporation or GitLab Inc.?
GitLab Inc. employs more people: 2,580 against 2,441 at Cognex Corporation. Each employee brings in about $407,358 of revenue at Cognex Corporation and $370,240 at GitLab Inc.
Which is growing faster, Cognex Corporation or GitLab Inc.?
GitLab Inc.'s revenue grew faster in its latest fiscal year: +25.8% against +8.7% for Cognex Corporation.
Which is financially stronger, Cognex Corporation or GitLab Inc.?
Both are in the safe zone of the Altman Z-score.
More about Cognex Corporation
More about GitLab Inc.
Sources#
Every figure on this page comes from these, with the date shown next to it.