CNSWF vs. CNR.TO
CNSWF (Constellation Software Inc) and CNR.TO (Canadian National Railway Company) are both stocks. CNSWF operates in Software - Application (Technology), while CNR.TO operates in Railroads (Industrials). Over the past 10 years, CNSWF returned 18.47%/yr vs 9.44%/yr for CNR.TO. At a 0.18 correlation, their price movements are largely independent.
Performance
CNSWF vs. CNR.TO - Performance Comparison
Loading charts...
Different Trading Currencies
CNSWF is traded in USD, while CNR.TO is traded in CAD. To make them comparable, the CNR.TO values have been converted to USD using the latest available exchange rates.
Returns By Period
In the year-to-date period, CNSWF achieves a -12.86% return, which is significantly lower than CNR.TO's 21.48% return. Over the past 10 years, CNSWF has outperformed CNR.TO with an annualized return of 18.47%, while CNR.TO has yielded a comparatively lower 9.44% annualized return.
CNSWF
- 1D
- -4.59%
- 1M
- 13.58%
- YTD
- -12.86%
- 6M
- -12.08%
- 1Y
- -41.18%
- 3Y*
- 0.56%
- 5Y*
- 7.55%
- 10Y*
- 18.47%
CNR.TO
- 1D
- 0.61%
- 1M
- 6.85%
- YTD
- 21.48%
- 6M
- 23.14%
- 1Y
- 16.41%
- 3Y*
- 3.58%
- 5Y*
- 3.55%
- 10Y*
- 9.44%
CNSWF vs. CNR.TO - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
CNSWF Constellation Software Inc | -12.86% | -22.46% | 24.90% | 59.77% | -15.99% | 43.09% | 34.48% | 53.34% | 6.04% | 33.51% |
CNR.TO Canadian National Railway Company | 21.61% | -0.03% | -17.51% | 8.24% | -0.81% | 12.93% | 24.25% | 23.37% | -8.46% | 25.07% |
Correlation
The correlation between CNSWF and CNR.TO is 0.10, 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.10 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.21 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.27 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.25 |
Correlation (All Time) Calculated using the full available price history since Apr 30, 2007 | 0.18 |
The correlation between CNSWF and CNR.TO shifts across timeframes, from 0.10 (1 year) to 0.27 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
CNSWF:
$44.29B
CNR.TO:
CA$101.86B
CNSWF:
$34.82
CNR.TO:
CA$7.59
CNSWF:
60.03
CNR.TO:
21.92
CNSWF:
3.18
CNR.TO:
6.93
CNSWF:
3.66
CNR.TO:
5.97
CNSWF:
11.37
CNR.TO:
4.75
CNSWF:
$12.11B
CNR.TO:
CA$17.28B
CNSWF:
$4.15B
CNR.TO:
CA$7.24B
CNSWF:
$2.77B
CNR.TO:
CA$8.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
CNSWF vs. CNR.TO — Risk / Return Rank
CNSWF
CNR.TO
CNSWF vs. CNR.TO - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Constellation Software Inc (CNSWF) and Canadian National Railway Company (CNR.TO). 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.
| CNSWF | CNR.TO | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -1.79 | ||
| Sortino ratioReturn per unit of downside risk | -2.62 | ||
| Omega ratioGain probability vs. loss probability | 0.83 | 1.15 | -0.32 |
| Calmar ratioReturn relative to maximum drawdown | -0.76 | 1.16 | -1.92 |
| Martin ratioReturn relative to average drawdown | -1.15 | 2.15 | -3.30 |
Loading charts...
Drawdowns
CNSWF vs. CNR.TO - Drawdown Comparison
The maximum CNSWF drawdown since its inception was -55.25%, which is greater than CNR.TO's maximum drawdown of -45.67%. Use the drawdown chart below to compare losses from any high point for CNSWF and CNR.TO.
Loading charts...
Drawdown Indicators
| CNSWF | CNR.TO | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -55.25% | -45.67% | -9.58% |
Max Drawdown (1Y)Largest decline over 1 year | -55.12% | -14.21% | -40.91% |
Max Drawdown (3Y)Largest decline over 3 years | -55.25% | -29.44% | -25.81% |
Max Drawdown (5Y)Largest decline over 5 years | -55.25% | -29.44% | -25.81% |
Max Drawdown (10Y)Largest decline over 10 years | -55.25% | -29.44% | -25.81% |
Current DrawdownCurrent decline from peak | -43.59% | -5.89% | -37.70% |
Average DrawdownAverage peak-to-trough decline | -6.91% | -9.44% | +2.53% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 36.56% | 7.65% | +28.91% |
Volatility
CNSWF vs. CNR.TO - Volatility Comparison
Constellation Software Inc (CNSWF) has a higher volatility of 13.88% compared to Canadian National Railway Company (CNR.TO) at 3.75%. This indicates that CNSWF's price experiences larger fluctuations and is considered to be riskier than CNR.TO based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| CNSWF | CNR.TO | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 13.88% | 3.75% | +10.13% |
Volatility (6M)Calculated over the trailing 6-month period | 34.02% | 17.14% | +16.88% |
Volatility (1Y)Calculated over the trailing 1-year period | 41.50% | 21.34% | +20.16% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 30.11% | 21.30% | +8.81% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 28.94% | 21.69% | +7.25% |
Dividends
CNSWF vs. CNR.TO - Dividend Comparison
CNSWF's dividend yield for the trailing twelve months is around 0.19%, less than CNR.TO's 2.17% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CNR.TO Canadian National Railway Company | 2.17% | 2.62% | 2.32% | 1.90% | 1.82% | 1.58% | 1.64% | 1.83% | 1.80% | 1.59% | 1.66% | 1.62% |
CNSWF Constellation Software Inc | 0.19% | 0.17% | 0.13% | 0.16% | 0.26% | 0.22% | 0.41% | 0.41% | 0.63% | 0.83% | 1.76% | 0.96% |
Financials
CNSWF vs. CNR.TO - Financials Comparison
This section allows you to compare key financial metrics between Constellation Software Inc 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
CNSWF vs. CNR.TO - Profitability Comparison
CNSWF - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Constellation Software Inc reported a gross profit of 733.69M and revenue of 3.14B. Therefore, the gross margin over that period was 23.4%.
CNR.TO - 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.38B. Therefore, the gross margin over that period was 42.8%.
CNSWF - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Constellation Software Inc reported an operating income of 452.64M and revenue of 3.14B, resulting in an operating margin of 14.4%.
CNR.TO - 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.38B, resulting in an operating margin of 35.4%.
CNSWF - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Constellation Software Inc reported a net income of 361.92M and revenue of 3.14B, resulting in a net margin of 11.5%.
CNR.TO - 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.38B, resulting in a net margin of 26.2%.
Frequently Asked Questions
CNSWF and CNR.TO have a correlation of 0.10, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
Find the right allocation for CNSWF and CNR.TO
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