New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

Samsara Inc. (IOT) vs Twilio Inc. (TWLO)

Samsara Inc. and Twilio Inc. are both Software Infrastructure companies. Twilio Inc. is the larger, with a market value of $28.0B against $22.8B — 1.2× the size. Twilio Inc. trades at the lower P/E: 21.7× against 238×. Samsara Inc. grew revenue faster over the last twelve months: 29.5% against 19.1%. Twilio Inc. has the higher net margin (21.8% vs 4.90%) and the higher return on invested capital (3.42% vs 1.57%). Across the 21 metrics below, Twilio Inc. leads on 17 and Samsara Inc. on 4.

Valuation

Metric IOT TWLO Software Infrastructure median
P/E 237.74 21.72 27.19
P/S 12.29 4.78 2.50
P/B 14.17 3.04 2.58
Price to free cash flow 88.87 24.94 18.11
EV/EBITDA 444.52 43.73 14.26
EV/Sales 11.84 4.46 2.81
Earnings yield 0.42% 4.60% (0.17%)
Free cash flow yield 1.13% 4.01% 1.29%

Profitability

Metric IOT TWLO Software Infrastructure median
Gross margin 76.38% 48.58% 60.45%
Operating margin 1.05% 6.82% 0.61%
Net margin 4.90% 21.82% (0.01%)
Free cash flow margin 13.83% 19.18% 7.57%
Return on equity 6.43% 14.91% 2.04%
Return on assets 3.64% 12.23% (0.78%)
Return on invested capital 1.57% 3.42% 0.00%

Growth

Metric IOT TWLO Software Infrastructure median
Revenue growth (TTM) 29.50% 19.10% 14.92%
EPS growth (last fiscal year) 94.32% 131.82% 20.22%
Revenue growth, 5-year CAGR 45.30% 23.53% 15.88%
Net income growth, 5-year CAGR — — 11.87%

Health

Metric IOT TWLO Software Infrastructure median
Debt to equity 0.00 0.11 0.03
Current ratio 1.62 4.47 1.53
Net debt to EBITDA 29.44 (3.57) 0.05

Dividend

Metric IOT TWLO Software Infrastructure median
Dividend yield — — 1.15%
Payout ratio — — 0.29

Size

Metric IOT TWLO Software Infrastructure median
Market cap 22.76b 27.97b 578.22m

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack