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

A side-by-side comparison of Samsara Inc. and Okta, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of August 8, 2026. Differences are shown without an overall score or investment verdict.

Compare

Total returnIOT vs OKTA

growth of $100 · dividends reinvested · last 5y
IOT +65.5%OKTA -33.2%IOT compounded faster
50100150200250Start $10020222023202420252026$166$67
IOT OKTA

IOT vs OKTA: by the numbers

  • OKTA is the larger company ($24.64B vs $23.59B market cap).
  • OKTA trades at the lower trailing earnings multiple (107.48 vs 403.16 P/E), one valuation lens rather than an overall verdict.
  • 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).

Metrics side by side

Valuation

MetricIOTOKTA
P/E ratio403.16107.48
Forward P/EN/A43.09
P/S ratio13.888.80
P/B ratio15.943.82
PEG ratio18.700.09
EV / EBITDA1623.2199.64
FCF yield0.98%3.42%

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)N/A46.51%
Total return CAGR (5Y)N/A-9.18%

Frequently asked

Which has the lower trailing P/E, IOT or OKTA?
OKTA has the lower trailing P/E: IOT trades at 403.16 and OKTA at 107.48. P/E is one valuation measure and does not by itself establish which business is cheaper.
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 August 8, 2026.