OKTA vs. IOT
OKTA (Okta, Inc.) and IOT (Samsara Inc.) are both stocks. Both operate in the Software - Infrastructure industry within the Technology sector. Over the past 3 years, OKTA returned 15.20%/yr vs 3.56%/yr for IOT. A 0.57 correlation means they provide meaningful diversification when combined.
Performance
OKTA vs. IOT - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, OKTA achieves a 34.49% return, which is significantly higher than IOT's -5.05% return.
OKTA
- 1D
- -1.03%
- 1M
- 43.48%
- YTD
- 34.49%
- 6M
- 28.95%
- 1Y
- 19.30%
- 3Y*
- 15.20%
- 5Y*
- -12.47%
- 10Y*
- —
IOT
- 1D
- 4.34%
- 1M
- 20.26%
- YTD
- -5.05%
- 6M
- -18.68%
- 1Y
- -14.15%
- 3Y*
- 3.56%
- 5Y*
- —
- 10Y*
- —
OKTA vs. IOT - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | |
|---|---|---|---|---|---|---|
OKTA Okta, Inc. | 34.49% | 9.73% | -12.96% | 32.49% | -69.52% | 3.13% |
IOT Samsara Inc. | -5.05% | -18.86% | 30.89% | 168.54% | -55.78% | 12.89% |
Correlation
The correlation between OKTA and IOT 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 OKTA and IOT has been stable across timeframes, ranging from 0.55 to 0.63 - a consistent structural relationship.
Fundamentals
OKTA:
$20.66B
IOT:
$19.78B
OKTA:
$0.96
IOT:
$0.10
OKTA:
120.69
IOT:
338.97
OKTA:
9.36
IOT:
11.26
OKTA:
3.00K
IOT:
13.12
OKTA:
$2.23B
IOT:
$1.73B
OKTA:
$1.73B
IOT:
$1.32B
OKTA:
$235.06M
IOT:
-$14.10M
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
OKTA vs. IOT — Risk / Return Rank
OKTA
IOT
OKTA vs. IOT - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Okta, Inc. (OKTA) and Samsara Inc. (IOT). 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.
| OKTA | IOT | 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 | 1.11 | 0.99 | +0.12 |
| Calmar ratioReturn relative to maximum drawdown | 0.43 | -0.37 | +0.80 |
| Martin ratioReturn relative to average drawdown | 1.02 | -0.75 | +1.77 |
Loading charts...
Drawdowns
OKTA vs. IOT - Drawdown Comparison
The maximum OKTA drawdown since its inception was -84.57%, which is greater than IOT's maximum drawdown of -70.38%. Use the drawdown chart below to compare losses from any high point for OKTA and IOT.
Loading charts...
Drawdown Indicators
| OKTA | IOT | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -84.57% | -70.38% | -14.19% |
Max Drawdown (1Y)Largest decline over 1 year | -37.75% | -46.37% | +8.62% |
Max Drawdown (3Y)Largest decline over 3 years | -50.57% | -60.22% | +9.65% |
Max Drawdown (5Y)Largest decline over 5 years | -83.43% | — | — |
Current DrawdownCurrent decline from peak | -60.14% | -44.78% | -15.36% |
Average DrawdownAverage peak-to-trough decline | -38.27% | -31.39% | -6.88% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 15.82% | 23.26% | -7.44% |
Volatility
OKTA vs. IOT - Volatility Comparison
Okta, Inc. (OKTA) has a higher volatility of 32.92% compared to Samsara Inc. (IOT) at 19.99%. This indicates that OKTA's price experiences larger fluctuations and is considered to be riskier than IOT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| OKTA | IOT | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 32.92% | 19.99% | +12.93% |
Volatility (6M)Calculated over the trailing 6-month period | 48.12% | 44.50% | +3.62% |
Volatility (1Y)Calculated over the trailing 1-year period | 54.65% | 57.78% | -3.13% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 57.50% | 65.87% | -8.37% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 53.99% | 65.87% | -11.88% |
Dividends
OKTA vs. IOT - Dividend Comparison
Neither OKTA nor IOT has paid dividends to shareholders.
Financials
OKTA vs. IOT - Financials Comparison
This section allows you to compare key financial metrics between Okta, Inc. and Samsara 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
OKTA vs. IOT - Profitability Comparison
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 - 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 - 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 - 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 - 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%.
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%.
Frequently Asked Questions
OKTA and IOT 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, OKTA dropped -84.57% vs IOT's -70.38%.
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 OKTA and IOT
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