ASML vs. CNI
ASML (ASML Holding N.V.) and CNI (Canadian National Railway Company) are both stocks. ASML operates in Semiconductor Equipment & Materials (Technology), while CNI operates in Railroads (Industrials). Over the past 10 years, ASML returned 36.00%/yr vs 9.51%/yr for CNI. At a 0.37 correlation, their price movements are largely independent.
Performance
ASML vs. CNI - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, ASML achieves a 74.80% return, which is significantly higher than CNI's 21.78% return. Over the past 10 years, ASML has outperformed CNI with an annualized return of 36.00%, while CNI has yielded a comparatively lower 9.51% annualized return.
ASML
- 1D
- -1.89%
- 1M
- 17.83%
- YTD
- 74.80%
- 6M
- 73.02%
- 1Y
- 138.89%
- 3Y*
- 37.59%
- 5Y*
- 22.97%
- 10Y*
- 36.00%
CNI
- 1D
- 0.60%
- 1M
- 6.94%
- YTD
- 21.78%
- 6M
- 22.98%
- 1Y
- 15.90%
- 3Y*
- 3.44%
- 5Y*
- 3.57%
- 10Y*
- 9.51%
ASML vs. CNI - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
ASML ASML Holding N.V. | 74.80% | 56.51% | -7.70% | 39.91% | -30.49% | 64.13% | 66.06% | 93.56% | -9.80% | 56.23% |
CNI Canadian National Railway Company | 21.78% | -0.10% | -17.51% | 7.84% | -1.86% | 13.70% | 23.66% | 24.26% | -8.49% | 25.03% |
Correlation
The correlation between ASML and CNI is 0.22, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.22 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.31 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.40 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.40 |
Correlation (All Time) Calculated using the full available price history since Nov 26, 1996 | 0.37 |
The correlation between ASML and CNI shifts across timeframes, from 0.22 (1 year) to 0.40 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
ASML:
$718.77B
CNI:
$72.80B
ASML:
€25.86
CNI:
CA$7.60
ASML:
62.30
CNI:
21.89
ASML:
18.51
CNI:
5.96
ASML:
29.83
CNI:
4.73
ASML:
€33.69B
CNI:
CA$17.29B
ASML:
€17.72B
CNI:
CA$7.64B
ASML:
€12.99B
CNI:
CA$8.60B
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
ASML vs. CNI — Risk / Return Rank
ASML
CNI
ASML vs. CNI - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for ASML Holding N.V. (ASML) and Canadian National Railway Company (CNI). 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.
| ASML | CNI | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +2.54 | ||
| Sortino ratioReturn per unit of downside risk | +2.61 | ||
| Omega ratioGain probability vs. loss probability | 1.45 | 1.14 | +0.31 |
| Calmar ratioReturn relative to maximum drawdown | 7.83 | 1.13 | +6.70 |
| Martin ratioReturn relative to average drawdown | 21.08 | 2.08 | +19.00 |
Loading charts...
Drawdowns
ASML vs. CNI - Drawdown Comparison
The maximum ASML drawdown since its inception was -90.00%, which is greater than CNI's maximum drawdown of -46.66%. Use the drawdown chart below to compare losses from any high point for ASML and CNI.
Loading charts...
Drawdown Indicators
| ASML | CNI | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -90.00% | -46.66% | -43.34% |
Max Drawdown (1Y)Largest decline over 1 year | -17.85% | -14.15% | -3.70% |
Max Drawdown (3Y)Largest decline over 3 years | -45.38% | -29.14% | -16.24% |
Max Drawdown (5Y)Largest decline over 5 years | -56.84% | -29.14% | -27.70% |
Max Drawdown (10Y)Largest decline over 10 years | -56.84% | -29.15% | -27.69% |
Current DrawdownCurrent decline from peak | -1.89% | -5.55% | +3.66% |
Average DrawdownAverage peak-to-trough decline | -28.12% | -9.49% | -18.63% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 6.63% | 7.68% | -1.05% |
Volatility
ASML vs. CNI - Volatility Comparison
ASML Holding N.V. (ASML) has a higher volatility of 17.27% compared to Canadian National Railway Company (CNI) at 4.12%. This indicates that ASML's price experiences larger fluctuations and is considered to be riskier than CNI based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| ASML | CNI | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 17.27% | 4.12% | +13.15% |
Volatility (6M)Calculated over the trailing 6-month period | 34.58% | 17.30% | +17.28% |
Volatility (1Y)Calculated over the trailing 1-year period | 42.75% | 21.90% | +20.85% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 42.44% | 22.38% | +20.06% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 38.72% | 22.67% | +16.05% |
Dividends
ASML vs. CNI - Dividend Comparison
ASML's dividend yield for the trailing twelve months is around 0.47%, less than CNI's 2.20% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ASML ASML Holding N.V. | 0.47% | 0.97% | 0.97% | 0.86% | 1.27% | 0.50% | 0.50% | 1.40% | 0.94% | 0.64% | 0.92% | 0.73% |
CNI Canadian National Railway Company | 2.20% | 2.58% | 2.43% | 1.85% | 1.41% | 1.61% | 1.59% | 1.79% | 2.01% | 2.00% | 2.23% | 2.24% |
Financials
ASML vs. CNI - Financials Comparison
This section allows you to compare key financial metrics between ASML Holding N.V. and Canadian National Railway Company. 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
ASML vs. CNI - Profitability Comparison
ASML - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, ASML Holding N.V. reported a gross profit of 4.65B and revenue of 8.77B. Therefore, the gross margin over that period was 53.0%.
CNI - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Canadian National Railway Company reported a gross profit of 1.88B and revenue of 4.39B. Therefore, the gross margin over that period was 42.8%.
ASML - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, ASML Holding N.V. reported an operating income of 3.16B and revenue of 8.77B, resulting in an operating margin of 36.0%.
CNI - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Canadian National Railway Company reported an operating income of 1.55B and revenue of 4.39B, resulting in an operating margin of 35.4%.
ASML - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, ASML Holding N.V. reported a net income of 2.76B and revenue of 8.77B, resulting in a net margin of 31.4%.
CNI - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Canadian National Railway Company reported a net income of 1.15B and revenue of 4.39B, resulting in a net margin of 26.2%.
Frequently Asked Questions
ASML and CNI have a correlation of 0.22, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
ASML has higher volatility (17.27%) compared to CNI (4.12%). In terms of maximum drawdown, ASML dropped -90.00% vs CNI's -46.66%.
ASML currently has the higher Sharpe Ratio (3.27 vs 0.73), 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 ASML and CNI
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