CGNX vs. NTNX
CGNX (Cognex Corporation) and NTNX (Nutanix, Inc.) are both stocks. Both are in the Technology sector — CGNX in Scientific & Technical Instruments, NTNX in Software - Infrastructure. Over the past 5 years, CGNX returned -3.98%/yr vs 8.43%/yr for NTNX. At a 0.36 correlation, their price movements are largely independent.
Performance
CGNX vs. NTNX - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, CGNX achieves a 73.89% return, which is significantly higher than NTNX's 0.31% return.
CGNX
- 1D
- 2.58%
- 1M
- -4.85%
- YTD
- 73.89%
- 6M
- 62.85%
- 1Y
- 107.46%
- 3Y*
- 4.89%
- 5Y*
- -3.98%
- 10Y*
- 11.89%
NTNX
- 1D
- -3.34%
- 1M
- 12.72%
- YTD
- 0.31%
- 6M
- 9.41%
- 1Y
- -32.76%
- 3Y*
- 20.30%
- 5Y*
- 8.43%
- 10Y*
- —
CGNX vs. NTNX - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 73.89% | 1.24% | -13.45% | -10.84% | -39.11% | -2.85% | 47.69% | 45.54% | -36.53% | 92.91% |
NTNX Nutanix, Inc. | 0.31% | -15.51% | 28.29% | 83.07% | -18.24% | -0.03% | 1.95% | -24.84% | 17.89% | 32.83% |
Correlation
The correlation between CGNX and NTNX is 0.02, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.02 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.19 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.35 |
Correlation (All Time) Calculated using the full available price history since Oct 3, 2016 | 0.36 |
Over the past year, the correlation between CGNX and NTNX has dropped to 0.02 - well below their long-term average of 0.36, suggesting their price drivers have been diverging.
Fundamentals
CGNX:
$10.51B
NTNX:
$15.14B
CGNX:
$0.84
NTNX:
$0.93
CGNX:
73.88
NTNX:
55.46
CGNX:
10.06
NTNX:
5.56
CGNX:
$1.05B
NTNX:
$2.75B
CGNX:
$712.01M
NTNX:
$2.39B
CGNX:
$224.08M
NTNX:
$293.53M
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
CGNX vs. NTNX — Risk / Return Rank
CGNX
NTNX
CGNX vs. NTNX - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Cognex Corporation (CGNX) and Nutanix, Inc. (NTNX). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
| CGNX | NTNX | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +2.58 | ||
| Sortino ratioReturn per unit of downside risk | +3.96 | ||
| Omega ratioGain probability vs. loss probability | 1.42 | 0.89 | +0.52 |
| Calmar ratioReturn relative to maximum drawdown | 3.88 | -0.57 | +4.45 |
| Martin ratioReturn relative to average drawdown | 8.76 | -0.96 | +9.72 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| CGNX | NTNX | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 1.87 | -0.71 | +2.58 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | -0.09 | 0.17 | -0.26 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.29 | — | — |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.28 | 0.06 | +0.22 |
Drawdowns
CGNX vs. NTNX - Drawdown Comparison
The maximum CGNX drawdown since its inception was -83.71%, roughly equal to the maximum NTNX drawdown of -80.40%. Use the drawdown chart below to compare losses from any high point for CGNX and NTNX.
Loading charts...
Drawdown Indicators
| CGNX | NTNX | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -83.71% | -80.40% | -3.31% |
Max Drawdown (1Y)Largest decline over 1 year | -27.86% | -57.58% | +29.72% |
Max Drawdown (3Y)Largest decline over 3 years | -59.98% | -58.58% | -1.40% |
Max Drawdown (5Y)Largest decline over 5 years | -74.07% | -68.71% | -5.36% |
Max Drawdown (10Y)Largest decline over 10 years | -74.63% | — | — |
Current DrawdownCurrent decline from peak | -31.35% | -37.58% | +6.23% |
Average DrawdownAverage peak-to-trough decline | -37.52% | -40.58% | +3.06% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 12.31% | 34.20% | -21.89% |
Volatility
CGNX vs. NTNX - Volatility Comparison
The current volatility for Cognex Corporation (CGNX) is 13.16%, while Nutanix, Inc. (NTNX) has a volatility of 16.50%. This indicates that CGNX experiences smaller price fluctuations and is considered to be less risky than NTNX based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| CGNX | NTNX | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 13.16% | 16.50% | -3.34% |
Volatility (6M)Calculated over the trailing 6-month period | 42.07% | 35.80% | +6.27% |
Volatility (1Y)Calculated over the trailing 1-year period | 58.00% | 46.19% | +11.81% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 43.52% | 49.73% | -6.21% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 41.85% | 57.17% | -15.32% |
Dividends
CGNX vs. NTNX - Dividend Comparison
CGNX's dividend yield for the trailing twelve months is around 0.54%, while NTNX has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 0.54% | 0.90% | 0.85% | 0.68% | 0.56% | 0.32% | 2.77% | 0.37% | 0.48% | 0.27% | 0.46% | 0.62% |
NTNX Nutanix, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
CGNX vs. NTNX - Financials Comparison
This section allows you to compare key financial metrics between Cognex Corporation and Nutanix, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
CGNX vs. NTNX - Profitability Comparison
CGNX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Cognex Corporation reported a gross profit of 190.94M and revenue of 268.44M. Therefore, the gross margin over that period was 71.1%.
NTNX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Nutanix, Inc. reported a gross profit of 610.68M and revenue of 703.07M. Therefore, the gross margin over that period was 86.9%.
CGNX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Cognex Corporation reported an operating income of 59.87M and revenue of 268.44M, resulting in an operating margin of 22.3%.
NTNX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Nutanix, Inc. reported an operating income of 68.56M and revenue of 703.07M, resulting in an operating margin of 9.8%.
CGNX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Cognex Corporation reported a net income of 51.70M and revenue of 268.44M, resulting in a net margin of 19.3%.
NTNX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Nutanix, Inc. reported a net income of 72.09M and revenue of 703.07M, resulting in a net margin of 10.3%.
Frequently Asked Questions
CGNX and NTNX have a correlation of 0.02, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
NTNX has higher volatility (16.50%) compared to CGNX (13.16%). In terms of maximum drawdown, CGNX dropped -83.71% vs NTNX's -80.40%.
CGNX currently has the higher Sharpe Ratio (1.87 vs -0.71), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for CGNX and NTNX
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer