vs

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

COGNEX CORP is the larger business by last-quarter revenue ($252.3M vs $207.3M, roughly 1.2× Ultragenyx Pharmaceutical Inc.). COGNEX CORP runs the higher net margin — 12.9% vs -62.0%, a 75.0% gap on every dollar of revenue. On growth, Ultragenyx Pharmaceutical Inc. posted the faster year-over-year revenue change (25.9% vs 9.9%). COGNEX CORP produced more free cash flow last quarter ($72.3M vs $-100.8M). Over the past eight quarters, Ultragenyx Pharmaceutical Inc.'s revenue compounded faster (38.0% 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.

Ultragenyx Pharmaceutical Inc. is an American biopharmaceutical company involved in the research and development of novel products for treatment of rare and ultra-rare genetic diseases for which there are typically no approved treatments and high unmet medical need. The company works with multiple drug modalities including biologics, small molecule, gene therapies, and ASO and mRNAs in the disease categories of bone, endocrine, metabolic, muscle and CNS diseases.

CGNX vs RARE — Head-to-Head

Bigger by revenue
CGNX
CGNX
1.2× larger
CGNX
$252.3M
$207.3M
RARE
Growing faster (revenue YoY)
RARE
RARE
+16.0% gap
RARE
25.9%
9.9%
CGNX
Higher net margin
CGNX
CGNX
75.0% more per $
CGNX
12.9%
-62.0%
RARE
More free cash flow
CGNX
CGNX
$173.1M more FCF
CGNX
$72.3M
$-100.8M
RARE
Faster 2-yr revenue CAGR
RARE
RARE
Annualised
RARE
38.0%
9.4%
CGNX

Income Statement — Q4 FY2025 vs Q4 FY2025

Metric
CGNX
CGNX
RARE
RARE
Revenue
$252.3M
$207.3M
Net Profit
$32.7M
$-128.6M
Gross Margin
65.7%
Operating Margin
14.0%
-54.7%
Net Margin
12.9%
-62.0%
Revenue YoY
9.9%
25.9%
Net Profit YoY
15.2%
3.5%
EPS (diluted)
$0.20
$-1.28

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
RARE
RARE
Q4 25
$252.3M
$207.3M
Q3 25
$276.9M
$159.9M
Q2 25
$249.1M
$166.5M
Q1 25
$216.0M
$139.3M
Q4 24
$229.7M
$164.6M
Q3 24
$234.7M
$139.5M
Q2 24
$239.3M
$147.0M
Q1 24
$210.8M
$108.8M
Net Profit
CGNX
CGNX
RARE
RARE
Q4 25
$32.7M
$-128.6M
Q3 25
$17.7M
$-180.4M
Q2 25
$40.5M
$-115.0M
Q1 25
$23.6M
$-151.1M
Q4 24
$28.3M
$-133.2M
Q3 24
$29.6M
$-133.5M
Q2 24
$36.2M
$-131.6M
Q1 24
$12.0M
$-170.7M
Gross Margin
CGNX
CGNX
RARE
RARE
Q4 25
65.7%
Q3 25
67.6%
Q2 25
67.4%
Q1 25
66.8%
Q4 24
68.7%
Q3 24
67.9%
Q2 24
69.6%
Q1 24
67.3%
Operating Margin
CGNX
CGNX
RARE
RARE
Q4 25
14.0%
-54.7%
Q3 25
20.9%
-106.9%
Q2 25
17.4%
-64.8%
Q1 25
12.1%
-102.6%
Q4 24
13.4%
-74.3%
Q3 24
13.4%
-94.6%
Q2 24
16.1%
-79.1%
Q1 24
6.7%
-151.9%
Net Margin
CGNX
CGNX
RARE
RARE
Q4 25
12.9%
-62.0%
Q3 25
6.4%
-112.8%
Q2 25
16.3%
-69.0%
Q1 25
10.9%
-108.5%
Q4 24
12.3%
-80.9%
Q3 24
12.6%
-95.7%
Q2 24
15.1%
-89.5%
Q1 24
5.7%
-156.8%
EPS (diluted)
CGNX
CGNX
RARE
RARE
Q4 25
$0.20
$-1.28
Q3 25
$0.10
$-1.81
Q2 25
$0.24
$-1.17
Q1 25
$0.14
$-1.57
Q4 24
$0.17
$-1.34
Q3 24
$0.17
$-1.40
Q2 24
$0.21
$-1.52
Q1 24
$0.07
$-2.03

Balance Sheet & Financial Strength

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

Metric
CGNX
CGNX
RARE
RARE
Cash + ST InvestmentsLiquidity on hand
$262.9M
$421.0M
Total DebtLower is stronger
Stockholders' EquityBook value
$1.5B
$-80.0M
Total Assets
$2.0B
$1.5B
Debt / EquityLower = less leverage

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CGNX
CGNX
RARE
RARE
Q4 25
$262.9M
$421.0M
Q3 25
$245.9M
$202.5M
Q2 25
$179.3M
$176.3M
Q1 25
$143.7M
$127.1M
Q4 24
$186.1M
$174.0M
Q3 24
$197.1M
$150.6M
Q2 24
$176.6M
$480.7M
Q1 24
$138.9M
$112.3M
Stockholders' Equity
CGNX
CGNX
RARE
RARE
Q4 25
$1.5B
$-80.0M
Q3 25
$1.5B
$9.2M
Q2 25
$1.5B
$151.3M
Q1 25
$1.4B
$144.2M
Q4 24
$1.5B
$255.0M
Q3 24
$1.6B
$346.8M
Q2 24
$1.5B
$432.4M
Q1 24
$1.5B
$140.3M
Total Assets
CGNX
CGNX
RARE
RARE
Q4 25
$2.0B
$1.5B
Q3 25
$2.0B
$1.2B
Q2 25
$2.0B
$1.3B
Q1 25
$1.9B
$1.3B
Q4 24
$2.0B
$1.5B
Q3 24
$2.1B
$1.5B
Q2 24
$2.0B
$1.6B
Q1 24
$2.0B
$1.3B

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
RARE
RARE
Operating Cash FlowLast quarter
$74.9M
$-99.8M
Free Cash FlowOCF − Capex
$72.3M
$-100.8M
FCF MarginFCF / Revenue
28.7%
-48.6%
Capex IntensityCapex / Revenue
1.0%
0.5%
Cash ConversionOCF / Net Profit
2.29×
TTM Free Cash FlowTrailing 4 quarters
$236.8M
$-472.0M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CGNX
CGNX
RARE
RARE
Q4 25
$74.9M
$-99.8M
Q3 25
$87.5M
$-91.4M
Q2 25
$42.6M
$-108.3M
Q1 25
$40.5M
$-166.5M
Q4 24
$51.4M
$-79.3M
Q3 24
$56.3M
$-67.0M
Q2 24
$27.8M
$-77.0M
Q1 24
$13.6M
$-190.7M
Free Cash Flow
CGNX
CGNX
RARE
RARE
Q4 25
$72.3M
$-100.8M
Q3 25
$86.0M
$-92.7M
Q2 25
$40.4M
$-110.7M
Q1 25
$38.0M
$-167.8M
Q4 24
$49.3M
$-79.5M
Q3 24
$51.9M
$-68.6M
Q2 24
$23.3M
$-79.0M
Q1 24
$9.6M
$-193.9M
FCF Margin
CGNX
CGNX
RARE
RARE
Q4 25
28.7%
-48.6%
Q3 25
31.1%
-58.0%
Q2 25
16.2%
-66.5%
Q1 25
17.6%
-120.5%
Q4 24
21.5%
-48.3%
Q3 24
22.1%
-49.2%
Q2 24
9.7%
-53.7%
Q1 24
4.5%
-178.2%
Capex Intensity
CGNX
CGNX
RARE
RARE
Q4 25
1.0%
0.5%
Q3 25
0.5%
0.8%
Q2 25
0.9%
1.5%
Q1 25
1.2%
1.0%
Q4 24
0.9%
0.1%
Q3 24
1.9%
1.2%
Q2 24
1.9%
1.4%
Q1 24
1.9%
3.0%
Cash Conversion
CGNX
CGNX
RARE
RARE
Q4 25
2.29×
Q3 25
4.95×
Q2 25
1.05×
Q1 25
1.72×
Q4 24
1.81×
Q3 24
1.90×
Q2 24
0.77×
Q1 24
1.13×

Financial Flow Comparison

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

Revenue Breakdown by Segment

CGNX
CGNX

Segment breakdown not available.

RARE
RARE

Royalty$105.6M51%
Products$101.7M49%

Related Comparisons