Samsara Inc. (IOT) vs Okta, Inc. (OKTA)

OKTA leads on 8 of 11 compared metrics.

A side-by-side comparison of Samsara Inc. and Okta, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of June 24, 2026. The ● marks the stronger figure on each row (cheaper multiple, higher margin/return).

Compare

Total return — IOT vs OKTA

growth of $100 · last 5y
IOT +26.7%OKTA -46.9%IOT compounded faster
50100150200250Start $10020222023202420252026$127$53
IOT OKTA

IOT vs OKTA: by the numbers

  • OKTA is the larger company ($19.63B vs $18.06B market cap).
  • OKTA trades at the lower earnings multiple (85.62 vs 308.58 P/E).
  • OKTA converts more revenue to profit (8.24% vs 3.32% net margin).
  • IOT grew revenue faster over the past five years (45.31% vs 27.10% CAGR).

Which is better, IOT or OKTA?

Metric tally: IOT 3 · OKTA 8

It depends on what you're optimizing for:

ValueOKTA(lower P/E)
GrowthIOT(faster 5Y revenue CAGR)
QualityIOT(higher ROIC)

Metrics side by side

Valuation

MetricIOTOKTA
P/E ratio308.5885.62
Forward P/E27.75
P/S ratio10.637.01
P/B ratio12.203.04
PEG ratio18.700.09
EV / EBITDA187.6457.35
FCF yield1.28%4.29%

Profitability

MetricIOTOKTA
Gross margin76.25%77.44%
Operating margin-0.70%5.67%
Net margin3.32%8.24%
ROE3.81%3.58%
ROIC32.34%1.88%

Growth (annualized)

MetricIOTOKTA
Revenue CAGR (5Y)45.31%27.10%
FCF CAGR (5Y)46.51%
Total return CAGR (5Y)-13.39%

Frequently asked

Which is better, IOT or OKTA?
It depends on your goal. value: OKTA (lower P/E); growth: IOT (faster 5Y revenue CAGR); quality: IOT (higher ROIC). Across all compared metrics, OKTA leads 8 to 3.
Is IOT or OKTA cheaper?
On trailing earnings, OKTA is cheaper: IOT trades at a 308.58 P/E and OKTA at 85.62.
Which has grown faster, IOT or OKTA?
Over the past five years, IOT grew revenue faster — IOT at a 45.31% CAGR versus OKTA at 27.10%.
Is IOT or OKTA more profitable?
OKTA runs the higher net margin — IOT at 3.32% versus OKTA at 8.24%.

Figures are sourced from reported fundamentals and the latest end-of-day price. This comparison is informational only and is not investment advice. Past performance does not predict future results. See our methodology. Compiled by TGMCharts Research · data verified June 24, 2026.