vs

Side-by-side financial comparison of COGNEX CORP (CGNX) and DigitalOcean Holdings, Inc. (DOCN). Click either name above to swap in a different company.

COGNEX CORP is the larger business by last-quarter revenue ($252.3M vs $242.4M, roughly 1.0× DigitalOcean Holdings, Inc.). COGNEX CORP runs the higher net margin — 12.9% vs 10.6%, a 2.4% gap on every dollar of revenue. On growth, DigitalOcean Holdings, Inc. posted the faster year-over-year revenue change (18.3% vs 9.9%). COGNEX CORP produced more free cash flow last quarter ($72.3M vs $31.1M). Over the past eight quarters, DigitalOcean Holdings, Inc.'s revenue compounded faster (14.5% CAGR vs 9.4%).

Cognex Corporation is an American manufacturer of machine vision systems, software and sensors. Cognex is headquartered in Natick, Massachusetts, USA with offices in more than 20 countries.

DigitalOcean Holdings, Inc. is an American multinational technology company and cloud service provider. The company is headquartered in Broomfield, Colorado, US, with 15 globally distributed data centers. DigitalOcean provides developers, startups, and SMBs with cloud infrastructure-as-a-service platforms.

CGNX vs DOCN — Head-to-Head

Bigger by revenue
CGNX
CGNX
1.0× larger
CGNX
$252.3M
$242.4M
DOCN
Growing faster (revenue YoY)
DOCN
DOCN
+8.4% gap
DOCN
18.3%
9.9%
CGNX
Higher net margin
CGNX
CGNX
2.4% more per $
CGNX
12.9%
10.6%
DOCN
More free cash flow
CGNX
CGNX
$41.2M more FCF
CGNX
$72.3M
$31.1M
DOCN
Faster 2-yr revenue CAGR
DOCN
DOCN
Annualised
DOCN
14.5%
9.4%
CGNX

Income Statement — Q4 FY2025 vs Q4 FY2025

Metric
CGNX
CGNX
DOCN
DOCN
Revenue
$252.3M
$242.4M
Net Profit
$32.7M
$25.7M
Gross Margin
65.7%
58.7%
Operating Margin
14.0%
16.0%
Net Margin
12.9%
10.6%
Revenue YoY
9.9%
18.3%
Net Profit YoY
15.2%
40.5%
EPS (diluted)
$0.20
$0.23

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
CGNX
CGNX
DOCN
DOCN
Q4 25
$252.3M
$242.4M
Q3 25
$276.9M
$229.6M
Q2 25
$249.1M
$218.7M
Q1 25
$216.0M
$210.7M
Q4 24
$229.7M
$204.9M
Q3 24
$234.7M
$198.5M
Q2 24
$239.3M
$192.5M
Q1 24
$210.8M
$184.7M
Net Profit
CGNX
CGNX
DOCN
DOCN
Q4 25
$32.7M
$25.7M
Q3 25
$17.7M
$158.4M
Q2 25
$40.5M
$37.0M
Q1 25
$23.6M
$38.2M
Q4 24
$28.3M
$18.3M
Q3 24
$29.6M
$32.9M
Q2 24
$36.2M
$19.1M
Q1 24
$12.0M
$14.1M
Gross Margin
CGNX
CGNX
DOCN
DOCN
Q4 25
65.7%
58.7%
Q3 25
67.6%
59.6%
Q2 25
67.4%
59.9%
Q1 25
66.8%
61.4%
Q4 24
68.7%
57.1%
Q3 24
67.9%
60.2%
Q2 24
69.6%
61.0%
Q1 24
67.3%
60.7%
Operating Margin
CGNX
CGNX
DOCN
DOCN
Q4 25
14.0%
16.0%
Q3 25
20.9%
19.6%
Q2 25
17.4%
16.3%
Q1 25
12.1%
17.9%
Q4 24
13.4%
15.9%
Q3 24
13.4%
12.4%
Q2 24
16.1%
11.6%
Q1 24
6.7%
6.2%
Net Margin
CGNX
CGNX
DOCN
DOCN
Q4 25
12.9%
10.6%
Q3 25
6.4%
69.0%
Q2 25
16.3%
16.9%
Q1 25
10.9%
18.1%
Q4 24
12.3%
8.9%
Q3 24
12.6%
16.6%
Q2 24
15.1%
9.9%
Q1 24
5.7%
7.7%
EPS (diluted)
CGNX
CGNX
DOCN
DOCN
Q4 25
$0.20
$0.23
Q3 25
$0.10
$1.51
Q2 25
$0.24
$0.39
Q1 25
$0.14
$0.39
Q4 24
$0.17
$0.21
Q3 24
$0.17
$0.33
Q2 24
$0.21
$0.20
Q1 24
$0.07
$0.15

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
CGNX
CGNX
DOCN
DOCN
Cash + ST InvestmentsLiquidity on hand
$262.9M
$254.5M
Total DebtLower is stronger
$1.3B
Stockholders' EquityBook value
$1.5B
$-28.7M
Total Assets
$2.0B
$1.8B
Debt / EquityLower = less leverage

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CGNX
CGNX
DOCN
DOCN
Q4 25
$262.9M
$254.5M
Q3 25
$245.9M
$236.6M
Q2 25
$179.3M
$387.7M
Q1 25
$143.7M
$360.4M
Q4 24
$186.1M
$428.4M
Q3 24
$197.1M
$439.9M
Q2 24
$176.6M
$443.1M
Q1 24
$138.9M
$419.1M
Total Debt
CGNX
CGNX
DOCN
DOCN
Q4 25
$1.3B
Q3 25
$1.3B
Q2 25
Q1 25
Q4 24
$1.5B
Q3 24
Q2 24
Q1 24
Stockholders' Equity
CGNX
CGNX
DOCN
DOCN
Q4 25
$1.5B
$-28.7M
Q3 25
$1.5B
$-69.6M
Q2 25
$1.5B
$-175.2M
Q1 25
$1.4B
$-210.7M
Q4 24
$1.5B
$-203.0M
Q3 24
$1.6B
$-211.7M
Q2 24
$1.5B
$-253.8M
Q1 24
$1.5B
$-286.1M
Total Assets
CGNX
CGNX
DOCN
DOCN
Q4 25
$2.0B
$1.8B
Q3 25
$2.0B
$1.7B
Q2 25
$2.0B
$1.7B
Q1 25
$1.9B
$1.6B
Q4 24
$2.0B
$1.6B
Q3 24
$2.1B
$1.5B
Q2 24
$2.0B
$1.5B
Q1 24
$2.0B
$1.5B

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
CGNX
CGNX
DOCN
DOCN
Operating Cash FlowLast quarter
$74.9M
$57.3M
Free Cash FlowOCF − Capex
$72.3M
$31.1M
FCF MarginFCF / Revenue
28.7%
12.8%
Capex IntensityCapex / Revenue
1.0%
10.8%
Cash ConversionOCF / Net Profit
2.29×
2.23×
TTM Free Cash FlowTrailing 4 quarters
$236.8M
$180.5M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CGNX
CGNX
DOCN
DOCN
Q4 25
$74.9M
$57.3M
Q3 25
$87.5M
$95.8M
Q2 25
$42.6M
$92.4M
Q1 25
$40.5M
$64.1M
Q4 24
$51.4M
$71.3M
Q3 24
$56.3M
$73.4M
Q2 24
$27.8M
$71.3M
Q1 24
$13.6M
$66.7M
Free Cash Flow
CGNX
CGNX
DOCN
DOCN
Q4 25
$72.3M
$31.1M
Q3 25
$86.0M
$88.0M
Q2 25
$40.4M
$59.3M
Q1 25
$38.0M
$2.1M
Q4 24
$49.3M
$26.1M
Q3 24
$51.9M
$16.0M
Q2 24
$23.3M
$39.5M
Q1 24
$9.6M
$23.0M
FCF Margin
CGNX
CGNX
DOCN
DOCN
Q4 25
28.7%
12.8%
Q3 25
31.1%
38.3%
Q2 25
16.2%
27.1%
Q1 25
17.6%
1.0%
Q4 24
21.5%
12.7%
Q3 24
22.1%
8.1%
Q2 24
9.7%
20.5%
Q1 24
4.5%
12.5%
Capex Intensity
CGNX
CGNX
DOCN
DOCN
Q4 25
1.0%
10.8%
Q3 25
0.5%
3.4%
Q2 25
0.9%
15.2%
Q1 25
1.2%
29.4%
Q4 24
0.9%
22.1%
Q3 24
1.9%
28.9%
Q2 24
1.9%
16.6%
Q1 24
1.9%
23.6%
Cash Conversion
CGNX
CGNX
DOCN
DOCN
Q4 25
2.29×
2.23×
Q3 25
4.95×
0.60×
Q2 25
1.05×
2.50×
Q1 25
1.72×
1.68×
Q4 24
1.81×
3.91×
Q3 24
1.90×
2.23×
Q2 24
0.77×
3.73×
Q1 24
1.13×
4.72×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

CGNX
CGNX

Segment breakdown not available.

DOCN
DOCN

Scalers$84.3M35%
Scalers Plus$69.9M29%
Builders$64.1M26%
Learners Testers And Other$24.1M10%

Related Comparisons