ANET vs. JNJ
ANET (Arista Networks, Inc.) and JNJ (Johnson & Johnson) are both stocks. ANET operates in Computer Hardware (Technology), while JNJ operates in Drug Manufacturers - General (Healthcare). Over the past 10 years, ANET returned 44.33%/yr vs 10.71%/yr for JNJ. At a 0.11 correlation, their price movements are largely independent.
Performance
ANET vs. JNJ - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, ANET achieves a 32.79% return, which is significantly higher than JNJ's 28.69% return. Over the past 10 years, ANET has outperformed JNJ with an annualized return of 44.33%, while JNJ has yielded a comparatively lower 10.71% annualized return.
ANET
- 1D
- -1.48%
- 1M
- 7.57%
- 6M
- 27.61%
- YTD
- 32.79%
- 1Y
- 52.57%
- 3Y*
- 58.71%
- 5Y*
- 48.85%
- 10Y*
- 44.33%
- ALL TIME*
- 38.14%
JNJ
- 1D
- 1.59%
- 1M
- 9.29%
- 6M
- 20.98%
- YTD
- 28.69%
- 1Y
- 59.22%
- 3Y*
- 18.59%
- 5Y*
- 12.03%
- 10Y*
- 10.71%
- ALL TIME*
- 12.34%
Liquidity Comparison
| Position | Avg. Volume Value (2W) | Avg. Volume Value (1M) | Avg. Volume Value (3M) |
|---|---|---|---|
| $1.14B | $1.37B | $1.54B | |
| $2.16B | $2.18B | $1.96B |
ANET vs. JNJ - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
ANET Arista Networks, Inc. | 32.79% | 18.55% | 87.73% | 94.07% | -15.58% | 97.89% | 42.86% | -3.46% | -10.56% | 143.44% |
JNJ Johnson & Johnson | 28.69% | 47.48% | -4.81% | -8.58% | 5.97% | 11.44% | 10.82% | 16.22% | -5.13% | 24.43% |
Correlation
The correlation between ANET and JNJ is -0.14, meaning they tend to move in opposite directions. This is especially valuable for risk management - when one declines, the other has historically tended to hold steady or rise.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.14 |
Correlation (3Y) Calculated over the trailing 3-year period | -0.18 |
Correlation (5Y) Calculated over the trailing 5-year period | -0.05 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.09 |
Correlation (All Time) Calculated using the full available price history since Jun 6, 2014 | 0.11 |
The correlation between ANET and JNJ shifts across timeframes, from -0.18 (3 years) to 0.11 (all time), reflecting how their relationship changes across market environments.
Fundamentals
ANET:
$219.08B
JNJ:
$634.06B
ANET:
$2.92
JNJ:
$8.63
ANET:
59.64
JNJ:
30.53
ANET:
1.40
JNJ:
1.02
ANET:
22.85
JNJ:
6.56
ANET:
16.43
JNJ:
7.56
ANET:
$9.71B
JNJ:
$97.93B
ANET:
$6.17B
JNJ:
$68.99B
ANET:
$4.21B
JNJ:
$31.92B
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
ANET vs. JNJ — Risk / Return Rank
ANET
JNJ
ANET vs. JNJ - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Arista Networks, Inc. (ANET) and Johnson & Johnson (JNJ). 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.
Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.
| ANET | JNJ | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -2.32 | ||
| Sortino ratioReturn per unit of downside risk | -2.93 | ||
| Omega ratioGain probability vs. loss probability | 1.19 | 1.56 | -0.36 |
| Calmar ratioReturn relative to maximum drawdown | 1.86 | 5.43 | -3.57 |
| Martin ratioReturn relative to average drawdown | 3.83 | 15.17 | -11.33 |
Loading charts...
Drawdowns
ANET vs. JNJ - Drawdown Comparison
The maximum ANET drawdown since its inception was -52.20%, roughly equal to the maximum JNJ drawdown of -50.67%. Use the drawdown chart below to compare losses from any high point for ANET and JNJ.
Loading charts...
Drawdown Indicators
| ANET | JNJ | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -52.20% | -50.67% | -1.53% |
Max Drawdown (1Y)Largest decline over 1 year | -28.33% | -10.96% | -17.37% |
Max Drawdown (3Y)Largest decline over 3 years | -50.42% | -15.95% | -34.47% |
Max Drawdown (5Y)Largest decline over 5 years | -50.42% | -18.41% | -32.01% |
Max Drawdown (10Y)Largest decline over 10 years | -52.20% | -27.37% | -24.83% |
Current DrawdownCurrent decline from peak | -6.94% | -1.44% | -5.50% |
Average DrawdownAverage peak-to-trough decline | -15.31% | -11.88% | -3.43% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 13.75% | 3.92% | +9.83% |
Volatility
ANET vs. JNJ - Volatility Comparison
Arista Networks, Inc. (ANET) has a higher volatility of 17.57% compared to Johnson & Johnson (JNJ) at 8.75%. This indicates that ANET's price experiences larger fluctuations and is considered to be riskier than JNJ based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| ANET | JNJ | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 17.57% | 8.75% | +8.82% |
Volatility (6M)Calculated over the trailing 6-month period | 41.93% | 14.62% | +27.31% |
Volatility (1Y)Calculated over the trailing 1-year period | 55.02% | 18.12% | +36.90% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 47.98% | 17.37% | +30.61% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 45.18% | 18.71% | +26.47% |
Dividends
ANET vs. JNJ - Dividend Comparison
ANET has not paid dividends to shareholders, while JNJ's dividend yield for the trailing twelve months is around 1.99%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ANET Arista Networks, 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% |
JNJ Johnson & Johnson | 1.99% | 2.48% | 3.40% | 3.00% | 2.52% | 2.45% | 2.53% | 2.57% | 2.74% | 2.38% | 2.73% | 2.87% |
Financials
ANET vs. JNJ - Financials Comparison
This section allows you to compare key financial metrics between Arista Networks, Inc. and Johnson & Johnson. 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
ANET vs. JNJ - Profitability Comparison
ANET - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, Arista Networks, Inc. reported a gross profit of 1.68B and revenue of 2.71B. Therefore, the gross margin over that period was 61.9%.
JNJ - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jul 2026, Johnson & Johnson reported a gross profit of 18.50B and revenue of 25.31B. Therefore, the gross margin over that period was 73.1%.
ANET - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, Arista Networks, Inc. reported an operating income of 1.16B and revenue of 2.71B, resulting in an operating margin of 42.7%.
JNJ - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jul 2026, Johnson & Johnson reported an operating income of 7.17B and revenue of 25.31B, resulting in an operating margin of 28.3%.
ANET - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, Arista Networks, Inc. reported a net income of 1.02B and revenue of 2.71B, resulting in a net margin of 37.8%.
JNJ - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jul 2026, Johnson & Johnson reported a net income of 5.53B and revenue of 25.31B, resulting in a net margin of 21.9%.
Frequently Asked Questions
ANET and JNJ have a correlation of -0.14, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
ANET has higher volatility (17.57%) compared to JNJ (8.75%). In terms of maximum drawdown, ANET dropped -52.20% vs JNJ's -50.67%.
JNJ currently has the higher Sharpe Ratio (3.28 vs 0.96), 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 ANET and JNJ
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