UI vs. MSFT
UI (Ubiquiti Inc.) and MSFT (Microsoft Corporation) are both stocks. Both are in the Technology sector — UI in Communication Equipment, MSFT in Software - Infrastructure. Over the past 10 years, UI returned 31.51%/yr vs 25.03%/yr for MSFT. At a 0.32 correlation, their price movements are largely independent.
Performance
UI vs. MSFT - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, UI achieves a 4.37% return, which is significantly higher than MSFT's -11.24% return. Over the past 10 years, UI has outperformed MSFT with an annualized return of 31.51%, while MSFT has yielded a comparatively lower 25.03% annualized return.
UI
- 1D
- -2.11%
- 1M
- -42.55%
- YTD
- 4.37%
- 6M
- 2.45%
- 1Y
- 43.63%
- 3Y*
- 51.93%
- 5Y*
- 13.52%
- 10Y*
- 31.51%
MSFT
- 1D
- -3.17%
- 1M
- 3.54%
- YTD
- -11.24%
- 6M
- -10.15%
- 1Y
- -6.96%
- 3Y*
- 9.26%
- 5Y*
- 12.17%
- 10Y*
- 25.03%
UI vs. MSFT - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
UI Ubiquiti Inc. | 4.37% | 67.72% | 141.15% | -48.23% | -9.99% | 10.83% | 48.49% | 91.65% | 40.69% | 22.87% |
MSFT Microsoft Corporation | -11.24% | 15.58% | 12.93% | 58.19% | -28.02% | 52.48% | 42.53% | 57.56% | 20.80% | 40.73% |
Correlation
The correlation between UI and MSFT is 0.14, 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.14 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.21 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.34 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.37 |
Correlation (All Time) Calculated using the full available price history since Oct 17, 2011 | 0.32 |
The correlation between UI and MSFT shifts across timeframes, from 0.14 (1 year) to 0.37 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
UI:
$34.90B
MSFT:
$3.18T
UI:
$15.56
MSFT:
$16.79
UI:
37.03
MSFT:
25.45
UI:
2.40
MSFT:
1.78
UI:
11.27
MSFT:
10.01
UI:
29.03
MSFT:
7.68
UI:
$3.10B
MSFT:
$318.27B
UI:
$1.42B
MSFT:
$217.41B
UI:
$1.12B
MSFT:
$200.96B
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
UI vs. MSFT — Risk / Return Rank
UI
MSFT
UI vs. MSFT - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Ubiquiti Inc. (UI) and Microsoft Corporation (MSFT). 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.
| UI | MSFT | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | 0.71 | -0.28 | +0.99 |
Sortino ratioReturn per unit of downside risk | 1.36 | -0.21 | +1.58 |
Omega ratioGain probability vs. loss probability | 1.19 | 0.97 | +0.22 |
Calmar ratioReturn relative to maximum drawdown | 0.94 | -0.21 | +1.14 |
Martin ratioReturn relative to average drawdown | 2.35 | -0.44 | +2.79 |
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
| UI | MSFT | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.71 | -0.28 | +0.99 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.28 | 0.46 | -0.18 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.66 | 0.93 | -0.27 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.54 | 0.75 | -0.21 |
Drawdowns
UI vs. MSFT - Drawdown Comparison
The maximum UI drawdown since its inception was -77.49%, which is greater than MSFT's maximum drawdown of -69.38%. Use the drawdown chart below to compare losses from any high point for UI and MSFT.
Loading charts...
Drawdown Indicators
| UI | MSFT | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -77.49% | -69.38% | -8.11% |
Max Drawdown (1Y)Largest decline over 1 year | -46.87% | -33.91% | -12.96% |
Max Drawdown (3Y)Largest decline over 3 years | -46.87% | -33.91% | -12.96% |
Max Drawdown (5Y)Largest decline over 5 years | -69.44% | -37.15% | -32.29% |
Max Drawdown (10Y)Largest decline over 10 years | -72.21% | -37.15% | -35.06% |
Current DrawdownCurrent decline from peak | -46.81% | -20.67% | -26.14% |
Average DrawdownAverage peak-to-trough decline | -26.52% | -21.78% | -4.74% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 18.61% | 15.95% | +2.66% |
Volatility
UI vs. MSFT - Volatility Comparison
Ubiquiti Inc. (UI) has a higher volatility of 20.18% compared to Microsoft Corporation (MSFT) at 9.95%. This indicates that UI's price experiences larger fluctuations and is considered to be riskier than MSFT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| UI | MSFT | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 20.18% | 9.95% | +10.23% |
Volatility (6M)Calculated over the trailing 6-month period | 39.85% | 22.34% | +17.51% |
Volatility (1Y)Calculated over the trailing 1-year period | 61.91% | 25.12% | +36.79% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 48.67% | 26.63% | +22.04% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 47.98% | 27.04% | +20.94% |
Dividends
UI vs. MSFT - Dividend Comparison
UI's dividend yield for the trailing twelve months is around 0.56%, less than MSFT's 0.83% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSFT Microsoft Corporation | 0.83% | 0.70% | 0.73% | 0.74% | 1.06% | 0.68% | 0.94% | 1.20% | 1.69% | 1.86% | 2.37% | 2.33% |
UI Ubiquiti Inc. | 0.56% | 0.51% | 0.72% | 1.72% | 0.88% | 0.65% | 0.50% | 0.58% | 0.50% | 0.00% | 0.00% | 0.00% |
Financials
UI vs. MSFT - Financials Comparison
This section allows you to compare key financial metrics between Ubiquiti Inc. and Microsoft 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.
Total Revenue: Total amount of money received from sales and other business activities
UI vs. MSFT - Profitability Comparison
UI - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Ubiquiti Inc. reported a gross profit of 370.71M and revenue of 788.20M. Therefore, the gross margin over that period was 47.0%.
MSFT - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a gross profit of 56.06B and revenue of 82.89B. Therefore, the gross margin over that period was 67.6%.
UI - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Ubiquiti Inc. reported an operating income of 290.82M and revenue of 788.20M, resulting in an operating margin of 36.9%.
MSFT - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported an operating income of 38.40B and revenue of 82.89B, resulting in an operating margin of 46.3%.
UI - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Ubiquiti Inc. reported a net income of 233.91M and revenue of 788.20M, resulting in a net margin of 29.7%.
MSFT - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a net income of 31.78B and revenue of 82.89B, resulting in a net margin of 38.3%.
Frequently Asked Questions
UI and MSFT 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.
UI has higher volatility (20.18%) compared to MSFT (9.95%). In terms of maximum drawdown, UI dropped -77.49% vs MSFT's -69.38%.
UI currently has the higher Sharpe Ratio (0.71 vs -0.28), 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 UI and MSFT
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