CGNX vs. VTI
CGNX (Cognex Corporation) is a stock, while VTI (Vanguard Total Stock Market ETF) is Large Cap Blend Equities fund tracking the CRSP US Total Market Index. Over the past 10 years, CGNX returned 12.44%/yr vs 15.13%/yr for VTI. A 0.65 correlation means they provide meaningful diversification when combined.
Performance
CGNX vs. VTI - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, CGNX achieves a 84.18% return, which is significantly higher than VTI's 12.01% return. Over the past 10 years, CGNX has underperformed VTI with an annualized return of 12.44%, while VTI has yielded a comparatively higher 15.13% annualized return.
CGNX
- 1D
- 2.23%
- 1M
- 18.29%
- YTD
- 84.18%
- 6M
- 73.52%
- 1Y
- 124.18%
- 3Y*
- 5.93%
- 5Y*
- -2.62%
- 10Y*
- 12.44%
VTI
- 1D
- 0.26%
- 1M
- 5.37%
- YTD
- 12.01%
- 6M
- 12.40%
- 1Y
- 30.01%
- 3Y*
- 22.37%
- 5Y*
- 13.05%
- 10Y*
- 15.13%
CGNX vs. VTI - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 84.18% | 1.24% | -13.45% | -10.84% | -39.11% | -2.85% | 47.69% | 45.54% | -36.53% | 92.91% |
VTI Vanguard Total Stock Market ETF | 12.01% | 17.10% | 23.81% | 26.05% | -19.52% | 25.68% | 21.08% | 30.67% | -5.23% | 21.21% |
Correlation
The correlation between CGNX and VTI is 0.55, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.55 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.60 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.66 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.66 |
Correlation (All Time) Calculated using the full available price history since Jun 1, 2001 | 0.65 |
The correlation between CGNX and VTI shifts across timeframes, from 0.55 (1 year) to 0.66 (10 years), reflecting how their relationship changes across market environments.
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. VTI — Risk / Return Rank
CGNX
VTI
CGNX vs. VTI - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Cognex Corporation (CGNX) and Vanguard Total Stock Market ETF (VTI). 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 | VTI | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | 2.17 | 2.48 | -0.31 |
Sortino ratioReturn per unit of downside risk | 3.49 | 3.37 | +0.12 |
Omega ratioGain probability vs. loss probability | 1.47 | 1.45 | +0.02 |
Calmar ratioReturn relative to maximum drawdown | 4.38 | 3.44 | +0.94 |
Martin ratioReturn relative to average drawdown | 9.94 | 15.88 | -5.94 |
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 | VTI | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 2.17 | 2.48 | -0.31 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | -0.06 | 0.75 | -0.81 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.30 | 0.83 | -0.53 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.28 | 0.51 | -0.23 |
Drawdowns
CGNX vs. VTI - Drawdown Comparison
The maximum CGNX drawdown since its inception was -83.71%, which is greater than VTI's maximum drawdown of -55.45%. Use the drawdown chart below to compare losses from any high point for CGNX and VTI.
Loading charts...
Drawdown Indicators
| CGNX | VTI | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -83.71% | -55.45% | -28.26% |
Max Drawdown (1Y)Largest decline over 1 year | -27.86% | -8.92% | -18.94% |
Max Drawdown (3Y)Largest decline over 3 years | -59.98% | -19.30% | -40.68% |
Max Drawdown (5Y)Largest decline over 5 years | -74.07% | -25.36% | -48.71% |
Max Drawdown (10Y)Largest decline over 10 years | -74.63% | -35.00% | -39.63% |
Current DrawdownCurrent decline from peak | -27.29% | 0.00% | -27.29% |
Average DrawdownAverage peak-to-trough decline | -37.52% | -8.03% | -29.49% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 12.27% | 1.93% | +10.34% |
Volatility
CGNX vs. VTI - Volatility Comparison
Cognex Corporation (CGNX) has a higher volatility of 14.08% compared to Vanguard Total Stock Market ETF (VTI) at 2.86%. This indicates that CGNX's price experiences larger fluctuations and is considered to be riskier than VTI based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| CGNX | VTI | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 14.08% | 2.86% | +11.22% |
Volatility (6M)Calculated over the trailing 6-month period | 41.55% | 9.11% | +32.44% |
Volatility (1Y)Calculated over the trailing 1-year period | 57.58% | 12.15% | +45.43% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 43.44% | 17.40% | +26.04% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 41.80% | 18.30% | +23.50% |
Dividends
CGNX vs. VTI - Dividend Comparison
CGNX's dividend yield for the trailing twelve months is around 0.51%, less than VTI's 1.01% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CGNX Cognex Corporation | 0.51% | 0.90% | 0.85% | 0.68% | 0.56% | 0.32% | 2.77% | 0.37% | 0.48% | 0.27% | 0.46% | 0.62% |
VTI Vanguard Total Stock Market ETF | 1.01% | 1.12% | 1.27% | 1.44% | 1.66% | 1.21% | 1.42% | 1.78% | 2.04% | 1.71% | 1.92% | 1.98% |
Frequently Asked Questions
CGNX and VTI have a correlation of 0.55, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
CGNX has higher volatility (14.08%) compared to VTI (2.86%). In terms of maximum drawdown, CGNX dropped -83.71% vs VTI's -55.45%.
VTI currently has the higher Sharpe Ratio (2.48 vs 2.17), 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 VTI
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