PortfoliosLab logoPortfoliosLab logo
CNI vs. KLAC
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

CNI vs. KLAC - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Canadian National Railway Company (CNI) and KLA Corporation (KLAC). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, CNI achieves a 21.78% return, which is significantly lower than KLAC's 110.02% return. Over the past 10 years, CNI has underperformed KLAC with an annualized return of 9.51%, while KLAC has yielded a comparatively higher 45.08% annualized return.


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%

KLAC

1D
5.55%
1M
37.79%
YTD
110.02%
6M
113.75%
1Y
192.78%
3Y*
75.88%
5Y*
52.93%
10Y*
45.08%
*Multi-year figures are annualized to reflect compound growth (CAGR)

CNI vs. KLAC - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
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%
KLAC
KLA Corporation
110.02%94.48%9.36%56.05%-11.20%68.05%47.94%103.99%-12.49%36.80%

Correlation

The correlation between CNI and KLAC is 0.18, 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.18

Correlation (3Y)
Calculated over the trailing 3-year period

0.28

Correlation (5Y)
Calculated over the trailing 5-year period

0.36

Correlation (10Y)
Calculated over the trailing 10-year period

0.36

Correlation (All Time)
Calculated using the full available price history since Nov 26, 1996

0.34

The correlation between CNI and KLAC shifts across timeframes, from 0.18 (1 year) to 0.36 (5 years), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

CNI:

$72.80B

KLAC:

$33.62B

EPS

CNI:

CA$7.60

KLAC:

$35.29

PE Ratio

CNI:

21.89

KLAC:

7.21

PS Ratio

CNI:

5.96

KLAC:

2.57

PB Ratio

CNI:

4.73

KLAC:

5.77

Total Revenue (TTM)

CNI:

CA$17.29B

KLAC:

$13.10B

Gross Profit (TTM)

CNI:

CA$7.64B

KLAC:

$8.09B

EBITDA (TTM)

CNI:

CA$8.60B

KLAC:

$5.77B

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

CNI vs. KLAC — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

CNI
CNI Risk / Return Rank: 6262
Overall Rank
CNI Sharpe Ratio Rank: 6767
Sharpe Ratio Rank
CNI Sortino Ratio Rank: 5959
Sortino Ratio Rank
CNI Omega Ratio Rank: 5858
Omega Ratio Rank
CNI Calmar Ratio Rank: 6666
Calmar Ratio Rank
CNI Martin Ratio Rank: 6363
Martin Ratio Rank

KLAC
KLAC Risk / Return Rank: 9696
Overall Rank
KLAC Sharpe Ratio Rank: 9898
Sharpe Ratio Rank
KLAC Sortino Ratio Rank: 9595
Sortino Ratio Rank
KLAC Omega Ratio Rank: 9595
Omega Ratio Rank
KLAC Calmar Ratio Rank: 9797
Calmar Ratio Rank
KLAC Martin Ratio Rank: 9898
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

CNI vs. KLAC - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Canadian National Railway Company (CNI) and KLA Corporation (KLAC). 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.


CNIKLACDifference
Sharpe ratioReturn per unit of total volatility

-3.20

Sortino ratioReturn per unit of downside risk

-2.66

Omega ratioGain probability vs. loss probability

1.14

1.54

-0.40

Calmar ratioReturn relative to maximum drawdown

1.13

8.66

-7.53

Martin ratioReturn relative to average drawdown

2.08

27.54

-25.46

CNI vs. KLAC - Sharpe Ratio Comparison

The current CNI Sharpe Ratio is 0.73, which is lower than the KLAC Sharpe Ratio of 3.93. The chart below compares the historical Sharpe Ratios of CNI and KLAC, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Drawdowns

CNI vs. KLAC - Drawdown Comparison

The maximum CNI drawdown since its inception was -46.66%, smaller than the maximum KLAC drawdown of -83.74%. Use the drawdown chart below to compare losses from any high point for CNI and KLAC.


Loading charts...

Drawdown Indicators


CNIKLACDifference

Max Drawdown

Largest peak-to-trough decline

-46.66%

-83.74%

+37.08%

Max Drawdown (1Y)

Largest decline over 1 year

-14.15%

-22.41%

+8.26%

Max Drawdown (3Y)

Largest decline over 3 years

-29.14%

-34.95%

+5.81%

Max Drawdown (5Y)

Largest decline over 5 years

-29.14%

-40.28%

+11.14%

Max Drawdown (10Y)

Largest decline over 10 years

-29.15%

-40.28%

+11.13%

Current Drawdown

Current decline from peak

-5.55%

0.00%

-5.55%

Average Drawdown

Average peak-to-trough decline

-9.49%

-29.32%

+19.83%

Ulcer Index

Depth and duration of drawdowns from previous peaks

7.68%

7.03%

+0.65%

Volatility

CNI vs. KLAC - Volatility Comparison

The current volatility for Canadian National Railway Company (CNI) is 4.12%, while KLA Corporation (KLAC) has a volatility of 22.17%. This indicates that CNI experiences smaller price fluctuations and is considered to be less risky than KLAC based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


CNIKLACDifference

Volatility (1M)

Calculated over the trailing 1-month period

4.12%

22.17%

-18.05%

Volatility (6M)

Calculated over the trailing 6-month period

17.30%

42.02%

-24.72%

Volatility (1Y)

Calculated over the trailing 1-year period

21.90%

49.38%

-27.48%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

22.38%

43.88%

-21.50%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

22.67%

41.86%

-19.19%

Dividends

CNI vs. KLAC - Dividend Comparison

CNI's dividend yield for the trailing twelve months is around 2.20%, more than KLAC's 0.31% yield.


PositionTTM20252024202320222021202020192018201720162015
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%
KLAC
KLA Corporation
0.31%0.61%0.96%0.92%1.25%0.91%1.35%1.74%3.17%2.15%2.67%2.94%

Financials

CNI vs. KLAC - Financials Comparison

This section allows you to compare key financial metrics between Canadian National Railway Company and KLA Corporation. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


2.00B2.50B3.00B3.50B4.00B4.50B20222023202420252026
4.39B
3.42B
(CNI) Total Revenue
(KLAC) Total Revenue
Please note, different currencies. CNI values in CAD, KLAC values in USD

CNI vs. KLAC - Profitability Comparison

The chart below illustrates the profitability comparison between Canadian National Railway Company and KLA Corporation over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

40.0%45.0%50.0%55.0%60.0%20222023202420252026
42.8%
61.1%
Portfolio components
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%.

KLAC - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, KLA Corporation reported a gross profit of 2.09B and revenue of 3.42B. Therefore, the gross margin over that period was 61.1%.

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%.

KLAC - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, KLA Corporation reported an operating income of 1.41B and revenue of 3.42B, resulting in an operating margin of 41.2%.

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%.

KLAC - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, KLA Corporation reported a net income of 1.20B and revenue of 3.42B, resulting in a net margin of 35.2%.


Frequently Asked Questions


CNI and KLAC have a correlation of 0.18, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

KLAC has higher volatility (22.17%) compared to CNI (4.12%). In terms of maximum drawdown, CNI dropped -46.66% vs KLAC's -83.74%.

KLAC currently has the higher Sharpe Ratio (3.93 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.

Portfolio Optimizer

Find the right allocation for CNI and KLAC

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