IOT vs. OKTA
IOT (Samsara Inc.) and OKTA (Okta, Inc.) are both stocks. Both operate in the Software - Infrastructure industry within the Technology sector. Over the past 3 years, IOT returned 3.56%/yr vs 15.20%/yr for OKTA. A 0.57 correlation means they provide meaningful diversification when combined.
Performance
IOT vs. OKTA - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, IOT achieves a -5.05% return, which is significantly lower than OKTA's 34.49% return.
IOT
- 1D
- 4.34%
- 1M
- 20.26%
- YTD
- -5.05%
- 6M
- -18.68%
- 1Y
- -14.15%
- 3Y*
- 3.56%
- 5Y*
- —
- 10Y*
- —
OKTA
- 1D
- -1.03%
- 1M
- 43.48%
- YTD
- 34.49%
- 6M
- 28.95%
- 1Y
- 19.30%
- 3Y*
- 15.20%
- 5Y*
- -12.47%
- 10Y*
- —
IOT vs. OKTA - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | |
|---|---|---|---|---|---|---|
IOT Samsara Inc. | -5.05% | -18.86% | 30.89% | 168.54% | -55.78% | 12.89% |
OKTA Okta, Inc. | 34.49% | 9.73% | -12.96% | 32.49% | -69.52% | 3.13% |
Correlation
The correlation between IOT and OKTA is 0.63, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.63 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.55 |
Correlation (All Time) Calculated using the full available price history since Dec 15, 2021 | 0.57 |
The correlation between IOT and OKTA has been stable across timeframes, ranging from 0.55 to 0.63 - a consistent structural relationship.
Fundamentals
IOT:
$19.78B
OKTA:
$20.66B
IOT:
$0.10
OKTA:
$0.96
IOT:
338.97
OKTA:
120.69
IOT:
11.26
OKTA:
9.36
IOT:
13.12
OKTA:
3.00K
IOT:
$1.73B
OKTA:
$2.23B
IOT:
$1.32B
OKTA:
$1.73B
IOT:
-$14.10M
OKTA:
$235.06M
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
IOT vs. OKTA — Risk / Return Rank
IOT
OKTA
IOT vs. OKTA - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Samsara Inc. (IOT) and Okta, Inc. (OKTA). 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.
| IOT | OKTA | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.60 | ||
| Sortino ratioReturn per unit of downside risk | -0.98 | ||
| Omega ratioGain probability vs. loss probability | 0.99 | 1.11 | -0.12 |
| Calmar ratioReturn relative to maximum drawdown | -0.37 | 0.43 | -0.80 |
| Martin ratioReturn relative to average drawdown | -0.75 | 1.02 | -1.77 |
Loading charts...
Drawdowns
IOT vs. OKTA - Drawdown Comparison
The maximum IOT drawdown since its inception was -70.38%, smaller than the maximum OKTA drawdown of -84.57%. Use the drawdown chart below to compare losses from any high point for IOT and OKTA.
Loading charts...
Drawdown Indicators
| IOT | OKTA | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -70.38% | -84.57% | +14.19% |
Max Drawdown (1Y)Largest decline over 1 year | -46.37% | -37.75% | -8.62% |
Max Drawdown (3Y)Largest decline over 3 years | -60.22% | -50.57% | -9.65% |
Max Drawdown (5Y)Largest decline over 5 years | — | -83.43% | — |
Current DrawdownCurrent decline from peak | -44.78% | -60.14% | +15.36% |
Average DrawdownAverage peak-to-trough decline | -31.39% | -38.27% | +6.88% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 23.26% | 15.82% | +7.44% |
Volatility
IOT vs. OKTA - Volatility Comparison
The current volatility for Samsara Inc. (IOT) is 19.99%, while Okta, Inc. (OKTA) has a volatility of 32.92%. This indicates that IOT experiences smaller price fluctuations and is considered to be less risky than OKTA based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| IOT | OKTA | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 19.99% | 32.92% | -12.93% |
Volatility (6M)Calculated over the trailing 6-month period | 44.50% | 48.12% | -3.62% |
Volatility (1Y)Calculated over the trailing 1-year period | 57.78% | 54.65% | +3.13% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 65.87% | 57.50% | +8.37% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 65.87% | 53.99% | +11.88% |
Dividends
IOT vs. OKTA - Dividend Comparison
Neither IOT nor OKTA has paid dividends to shareholders.
Financials
IOT vs. OKTA - Financials Comparison
This section allows you to compare key financial metrics between Samsara Inc. and Okta, Inc.. 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
IOT vs. OKTA - Profitability Comparison
IOT - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Samsara Inc. reported a gross profit of 361.14M and revenue of 478.84M. Therefore, the gross margin over that period was 75.4%.
OKTA - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported a gross profit of 595.00K and revenue of 765.00K. Therefore, the gross margin over that period was 77.8%.
IOT - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Samsara Inc. reported an operating income of 7.20M and revenue of 478.84M, resulting in an operating margin of 1.5%.
OKTA - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported an operating income of 56.00K and revenue of 765.00K, resulting in an operating margin of 7.3%.
IOT - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Samsara Inc. reported a net income of 44.51M and revenue of 478.84M, resulting in a net margin of 9.3%.
OKTA - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported a net income of 74.00K and revenue of 765.00K, resulting in a net margin of 9.7%.
Frequently Asked Questions
IOT and OKTA have a correlation of 0.63, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
OKTA has higher volatility (32.92%) compared to IOT (19.99%). In terms of maximum drawdown, IOT dropped -70.38% vs OKTA's -84.57%.
OKTA currently has the higher Sharpe Ratio (0.30 vs -0.30), 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 IOT and OKTA
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