vs

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

COGNEX CORP is the larger business by last-quarter revenue ($252.3M vs $217.4M, roughly 1.2× Rapid7, Inc.). COGNEX CORP runs the higher net margin — 12.9% vs 1.4%, a 11.5% gap on every dollar of revenue. On growth, COGNEX CORP posted the faster year-over-year revenue change (9.9% vs 0.5%). COGNEX CORP produced more free cash flow last quarter ($72.3M vs $36.4M). Over the past eight quarters, COGNEX CORP's revenue compounded faster (9.4% CAGR vs 3.0%).

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.

Rapid7, Inc. is a leading global cybersecurity company that offers a full portfolio of solutions including vulnerability management, threat detection and response, cloud security, and security analytics. It serves enterprises, SMBs, and public sector entities across industries like tech, healthcare, finance, and manufacturing worldwide, helping clients address and mitigate cyber risks efficiently.

CGNX vs RPD — Head-to-Head

Bigger by revenue
CGNX
CGNX
1.2× larger
CGNX
$252.3M
$217.4M
RPD
Growing faster (revenue YoY)
CGNX
CGNX
+9.3% gap
CGNX
9.9%
0.5%
RPD
Higher net margin
CGNX
CGNX
11.5% more per $
CGNX
12.9%
1.4%
RPD
More free cash flow
CGNX
CGNX
$35.9M more FCF
CGNX
$72.3M
$36.4M
RPD
Faster 2-yr revenue CAGR
CGNX
CGNX
Annualised
CGNX
9.4%
3.0%
RPD

Income Statement — Q4 FY2025 vs Q4 FY2025

Metric
CGNX
CGNX
RPD
RPD
Revenue
$252.3M
$217.4M
Net Profit
$32.7M
$3.1M
Gross Margin
65.7%
68.9%
Operating Margin
14.0%
1.0%
Net Margin
12.9%
1.4%
Revenue YoY
9.9%
0.5%
Net Profit YoY
15.2%
44.1%
EPS (diluted)
$0.20
$0.05

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
RPD
RPD
Q4 25
$252.3M
$217.4M
Q3 25
$276.9M
$218.0M
Q2 25
$249.1M
$214.2M
Q1 25
$216.0M
$210.3M
Q4 24
$229.7M
$216.3M
Q3 24
$234.7M
$214.7M
Q2 24
$239.3M
$208.0M
Q1 24
$210.8M
$205.1M
Net Profit
CGNX
CGNX
RPD
RPD
Q4 25
$32.7M
$3.1M
Q3 25
$17.7M
$9.8M
Q2 25
$40.5M
$8.3M
Q1 25
$23.6M
$2.1M
Q4 24
$28.3M
$2.2M
Q3 24
$29.6M
$15.4M
Q2 24
$36.2M
$6.5M
Q1 24
$12.0M
$1.4M
Gross Margin
CGNX
CGNX
RPD
RPD
Q4 25
65.7%
68.9%
Q3 25
67.6%
70.2%
Q2 25
67.4%
70.6%
Q1 25
66.8%
71.7%
Q4 24
68.7%
69.5%
Q3 24
67.9%
70.6%
Q2 24
69.6%
70.7%
Q1 24
67.3%
70.3%
Operating Margin
CGNX
CGNX
RPD
RPD
Q4 25
14.0%
1.0%
Q3 25
20.9%
2.7%
Q2 25
17.4%
1.6%
Q1 25
12.1%
-0.0%
Q4 24
13.4%
3.4%
Q3 24
13.4%
6.0%
Q2 24
16.1%
2.5%
Q1 24
6.7%
4.7%
Net Margin
CGNX
CGNX
RPD
RPD
Q4 25
12.9%
1.4%
Q3 25
6.4%
4.5%
Q2 25
16.3%
3.9%
Q1 25
10.9%
1.0%
Q4 24
12.3%
1.0%
Q3 24
12.6%
7.2%
Q2 24
15.1%
3.1%
Q1 24
5.7%
0.7%
EPS (diluted)
CGNX
CGNX
RPD
RPD
Q4 25
$0.20
$0.05
Q3 25
$0.10
$0.15
Q2 25
$0.24
$0.13
Q1 25
$0.14
$0.03
Q4 24
$0.17
$0.08
Q3 24
$0.17
$0.21
Q2 24
$0.21
$0.09
Q1 24
$0.07
$0.02

Balance Sheet & Financial Strength

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

Metric
CGNX
CGNX
RPD
RPD
Cash + ST InvestmentsLiquidity on hand
$262.9M
$474.7M
Total DebtLower is stronger
Stockholders' EquityBook value
$1.5B
$154.7M
Total Assets
$2.0B
$1.7B
Debt / EquityLower = less leverage

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CGNX
CGNX
RPD
RPD
Q4 25
$262.9M
$474.7M
Q3 25
$245.9M
$407.1M
Q2 25
$179.3M
$511.7M
Q1 25
$143.7M
$493.5M
Q4 24
$186.1M
$521.7M
Q3 24
$197.1M
$443.7M
Q2 24
$176.6M
$442.6M
Q1 24
$138.9M
$411.7M
Stockholders' Equity
CGNX
CGNX
RPD
RPD
Q4 25
$1.5B
$154.7M
Q3 25
$1.5B
$127.2M
Q2 25
$1.5B
$90.4M
Q1 25
$1.4B
$52.7M
Q4 24
$1.5B
$17.7M
Q3 24
$1.6B
$-5.1M
Q2 24
$1.5B
$-52.6M
Q1 24
$1.5B
$-86.4M
Total Assets
CGNX
CGNX
RPD
RPD
Q4 25
$2.0B
$1.7B
Q3 25
$2.0B
$1.7B
Q2 25
$2.0B
$1.6B
Q1 25
$1.9B
$1.6B
Q4 24
$2.0B
$1.7B
Q3 24
$2.1B
$1.6B
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
RPD
RPD
Operating Cash FlowLast quarter
$74.9M
$37.6M
Free Cash FlowOCF − Capex
$72.3M
$36.4M
FCF MarginFCF / Revenue
28.7%
16.8%
Capex IntensityCapex / Revenue
1.0%
0.5%
Cash ConversionOCF / Net Profit
2.29×
12.01×
TTM Free Cash FlowTrailing 4 quarters
$236.8M
$146.2M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CGNX
CGNX
RPD
RPD
Q4 25
$74.9M
$37.6M
Q3 25
$87.5M
$39.0M
Q2 25
$42.6M
$47.5M
Q1 25
$40.5M
$29.8M
Q4 24
$51.4M
$63.8M
Q3 24
$56.3M
$44.0M
Q2 24
$27.8M
$32.9M
Q1 24
$13.6M
$31.1M
Free Cash Flow
CGNX
CGNX
RPD
RPD
Q4 25
$72.3M
$36.4M
Q3 25
$86.0M
$34.8M
Q2 25
$40.4M
$46.6M
Q1 25
$38.0M
$28.4M
Q4 24
$49.3M
$62.6M
Q3 24
$51.9M
$42.6M
Q2 24
$23.3M
$32.6M
Q1 24
$9.6M
$30.4M
FCF Margin
CGNX
CGNX
RPD
RPD
Q4 25
28.7%
16.8%
Q3 25
31.1%
16.0%
Q2 25
16.2%
21.8%
Q1 25
17.6%
13.5%
Q4 24
21.5%
28.9%
Q3 24
22.1%
19.9%
Q2 24
9.7%
15.7%
Q1 24
4.5%
14.8%
Capex Intensity
CGNX
CGNX
RPD
RPD
Q4 25
1.0%
0.5%
Q3 25
0.5%
1.9%
Q2 25
0.9%
0.4%
Q1 25
1.2%
0.6%
Q4 24
0.9%
0.5%
Q3 24
1.9%
0.6%
Q2 24
1.9%
0.1%
Q1 24
1.9%
0.3%
Cash Conversion
CGNX
CGNX
RPD
RPD
Q4 25
2.29×
12.01×
Q3 25
4.95×
3.97×
Q2 25
1.05×
5.70×
Q1 25
1.72×
14.14×
Q4 24
1.81×
29.36×
Q3 24
1.90×
2.85×
Q2 24
0.77×
5.03×
Q1 24
1.13×
22.10×

Financial Flow Comparison

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

Revenue Breakdown by Segment

CGNX
CGNX

Segment breakdown not available.

RPD
RPD

Products$209.1M96%
Services$8.2M4%

Related Comparisons