UI vs. PRIM
UI (Ubiquiti Inc.) and PRIM (Primoris Services Corporation) are both stocks. UI operates in Communication Equipment (Technology), while PRIM operates in Engineering & Construction (Industrials). Over the past 10 years, UI returned 31.51%/yr vs 20.60%/yr for PRIM. At a 0.32 correlation, their price movements are largely independent.
Performance
UI vs. PRIM - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, UI achieves a 4.37% return, which is significantly higher than PRIM's 1.82% return. Over the past 10 years, UI has outperformed PRIM with an annualized return of 31.51%, while PRIM has yielded a comparatively lower 20.60% 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%
PRIM
- 1D
- 1.62%
- 1M
- -31.92%
- YTD
- 1.82%
- 6M
- 0.77%
- 1Y
- 72.30%
- 3Y*
- 66.34%
- 5Y*
- 32.36%
- 10Y*
- 20.60%
UI vs. PRIM - 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% |
PRIM Primoris Services Corporation | 1.82% | 63.08% | 131.14% | 52.60% | -7.46% | -12.38% | 25.81% | 17.62% | -28.93% | 20.39% |
Correlation
The correlation between UI and PRIM is 0.42, 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.42 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.43 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.41 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.35 |
Correlation (All Time) Calculated using the full available price history since Oct 17, 2011 | 0.32 |
The correlation between UI and PRIM shifts across timeframes, from 0.32 (all time) to 0.43 (3 years), reflecting how their relationship changes across market environments.
Fundamentals
UI:
$34.90B
PRIM:
$6.92B
UI:
$15.56
PRIM:
$4.53
UI:
37.03
PRIM:
27.90
UI:
2.40
PRIM:
1.09
UI:
11.27
PRIM:
0.92
UI:
29.03
PRIM:
4.11
UI:
$3.10B
PRIM:
$7.49B
UI:
$1.42B
PRIM:
$777.15M
UI:
$1.12B
PRIM:
$437.56M
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. PRIM — Risk / Return Rank
UI
PRIM
UI vs. PRIM - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Ubiquiti Inc. (UI) and Primoris Services Corporation (PRIM). 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 | PRIM | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | 0.71 | 1.03 | -0.32 |
Sortino ratioReturn per unit of downside risk | 1.36 | 1.50 | -0.14 |
Omega ratioGain probability vs. loss probability | 1.19 | 1.32 | -0.13 |
Calmar ratioReturn relative to maximum drawdown | 0.94 | 1.45 | -0.51 |
Martin ratioReturn relative to average drawdown | 2.35 | 4.98 | -2.63 |
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 | PRIM | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.71 | 1.03 | -0.32 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.28 | 0.69 | -0.41 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.66 | 0.46 | +0.20 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.54 | 0.41 | +0.13 |
Drawdowns
UI vs. PRIM - Drawdown Comparison
The maximum UI drawdown since its inception was -77.49%, which is greater than PRIM's maximum drawdown of -68.51%. Use the drawdown chart below to compare losses from any high point for UI and PRIM.
Loading charts...
Drawdown Indicators
| UI | PRIM | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -77.49% | -68.51% | -8.98% |
Max Drawdown (1Y)Largest decline over 1 year | -46.87% | -50.11% | +3.24% |
Max Drawdown (3Y)Largest decline over 3 years | -46.87% | -50.11% | +3.24% |
Max Drawdown (5Y)Largest decline over 5 years | -69.44% | -51.19% | -18.25% |
Max Drawdown (10Y)Largest decline over 10 years | -72.21% | -65.73% | -6.48% |
Current DrawdownCurrent decline from peak | -46.81% | -37.75% | -9.06% |
Average DrawdownAverage peak-to-trough decline | -26.52% | -22.73% | -3.79% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 18.61% | 14.57% | +4.04% |
Volatility
UI vs. PRIM - Volatility Comparison
The current volatility for Ubiquiti Inc. (UI) is 20.18%, while Primoris Services Corporation (PRIM) has a volatility of 73.85%. This indicates that UI experiences smaller price fluctuations and is considered to be less risky than PRIM based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| UI | PRIM | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 20.18% | 73.85% | -53.67% |
Volatility (6M)Calculated over the trailing 6-month period | 39.85% | 79.90% | -40.05% |
Volatility (1Y)Calculated over the trailing 1-year period | 61.91% | 70.80% | -8.89% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 48.67% | 47.45% | +1.22% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 47.98% | 45.03% | +2.95% |
Dividends
UI vs. PRIM - Dividend Comparison
UI's dividend yield for the trailing twelve months is around 0.56%, more than PRIM's 0.25% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRIM Primoris Services Corporation | 0.25% | 0.26% | 0.34% | 0.72% | 1.09% | 1.00% | 0.87% | 1.08% | 1.25% | 0.83% | 0.97% | 0.93% |
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. PRIM - Financials Comparison
This section allows you to compare key financial metrics between Ubiquiti Inc. and Primoris Services 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. PRIM - 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%.
PRIM - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Primoris Services Corporation reported a gross profit of 134.70M and revenue of 1.56B. Therefore, the gross margin over that period was 8.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%.
PRIM - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Primoris Services Corporation reported an operating income of 24.40M and revenue of 1.56B, resulting in an operating margin of 1.6%.
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%.
PRIM - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Primoris Services Corporation reported a net income of 17.40M and revenue of 1.56B, resulting in a net margin of 1.1%.
Frequently Asked Questions
UI and PRIM have a correlation of 0.42, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
PRIM has higher volatility (73.85%) compared to UI (20.18%). In terms of maximum drawdown, UI dropped -77.49% vs PRIM's -68.51%.
PRIM currently has the higher Sharpe Ratio (1.03 vs 0.71), 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 PRIM
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