IOT vs. MDB: Samsara vs. MongoDB Stock Comparison
How do Samsara (IOT) and MongoDB (MDB) stack up? This page sets them side by side across company profile, performance and risk, profitability, growth, financial strength, dividends, and valuation, with selected fundamentals also measured against each stock's industry-group peers.
Company Profile
Samsara (IOT) and MongoDB (MDB) both fall under the Software & Services industry group, but IOT is classified in Software while MDB is classified in IT Services.
| Profile Item | IOT | MDB |
|---|---|---|
| Name | Samsara Inc. Class A Common Stock | MongoDB, Inc. Class A Common Stock |
| Country/Region | United States | United States |
| GICS Sector | Information Technology | Information Technology |
| GICS Industry Group | Software & Services | Software & Services |
| GICS Industry | Software | IT Services |
| GICS Sub-Industry | Application Software | Internet Services & Infrastructure |
| Market Capitalization | 24.00 billion USD | 25.16 billion USD |
| Currency | USD | USD |
| Exchange | NYSE | Nasdaq |
| Listing Date | December 15, 2021 | October 19, 2017 |
| Security Type | Common Stock | Common Stock |
Price Performance
Cumulative Growth
Trailing Returns
Calendar-Year Returns
Performance Metrics
| Metric | IOT | MDB |
|---|---|---|
| Total Return (1Y) | 9.09% | -8.99% |
| Total Return (3Y, Annualized) | 21.60% | -3.47% |
| Total Return (5Y, Annualized) | -- | -10.64% |
Risk Profile
Drawdown History
Return Distribution
Risk Metrics
| Metric | IOT | MDB |
|---|---|---|
| Volatility (1Y, Annualized) | 59.96% | 73.14% |
| Beta (5Y) | 1.32 | 1.75 |
| Max Drawdown (5Y) | -70.38% | -76.52% |
| Avg. Volume (3M) | 5.41M | 2.17M |
Risk-Adjusted Performance
Risk-Return Positioning
Risk-Adjusted Metrics
| Metric | IOT | MDB |
|---|---|---|
| Sharpe Ratio (1Y) | 0.08 | -0.18 |
| Sortino Ratio (1Y) | 0.13 | -0.26 |
Profitability
ROE (TTM)
Both Samsara (IOT) at 6.43% and MongoDB (MDB) at 1.99% land near their industries’ usual ROE ranges, so capital efficiency looks broadly in line with peers on both sides.
IOT
Software & Services industry group
6.43%
- Max
- 53.85%
- Q3
- 17.90%
- Median
- 6.59%
- IOT
- 6.43%
- Q1
- -9.59%
- Min
- -50.52%
MDB
Software & Services industry group
1.99%
- Max
- 53.85%
- Q3
- 17.90%
- Median
- 6.59%
- MDB
- 1.99%
- Q1
- -9.59%
- Min
- -50.52%
Net Margin (TTM)
Both Samsara (IOT) at 4.90% and MongoDB (MDB) at 2.12% keep about the typical share of revenue as profit for their industries — neither bottom line stands out from peers.
IOT
Software & Services industry group
4.90%
- Max
- 41.17%
- Q3
- 15.28%
- IOT
- 4.90%
- Median
- 4.63%
- Q1
- -5.42%
- Min
- -33.17%
MDB
Software & Services industry group
2.12%
- Max
- 41.17%
- Q3
- 15.28%
- Median
- 4.63%
- MDB
- 2.12%
- Q1
- -5.42%
- Min
- -33.17%
Operating Margin (TTM)
Both Samsara (IOT) at 0.96% and MongoDB (MDB) at 3.68% run core operations about as efficiently as their industries’ norm — neither stands out on operating profitability.
IOT
Software & Services industry group
0.96%
- Max
- 46.89%
- Q3
- 17.64%
- Median
- 8.73%
- IOT
- 0.96%
- Q1
- -2.13%
- Min
- -30.45%
MDB
Software & Services industry group
3.68%
- Max
- 46.89%
- Q3
- 17.64%
- Median
- 8.73%
- MDB
- 3.68%
- Q1
- -2.13%
- Min
- -30.45%
Profitability Metrics
| Metric | IOT | MDB |
|---|---|---|
| ROE (TTM) | 6.43% | 1.99% |
| ROA (TTM) | 0.49% | -0.22% |
| Net Margin (TTM) | 4.90% | 2.12% |
| Operating Margin (TTM) | 0.96% | 3.68% |
| Gross Margin (TTM) | 76.43% | 72.69% |
Growth
Revenue Growth
Samsara (IOT) at 29.57% sits in the top revenue growth quartile, while MongoDB (MDB) at 22.79% is closer to the peer norm — faster top-line expansion for IOT.
EPS Growth
Neither Samsara (IOT) nor MongoDB (MDB) reports a EPS growth value for this period, so a direct comparison isn't possible.
Growth Metrics
| Metric | IOT | MDB |
|---|---|---|
| Revenue Growth (YoY) | 29.57% | 22.79% |
| Revenue Growth (3Y CAGR) | 35.37% | 24.26% |
| EPS Growth (YoY) | -- | -- |
| EPS Growth (3Y CAGR) | -- | -- |
Financial Strength
Current Ratio (MRQ)
Samsara (IOT) at 1.63 keeps current ratio within its industry’s typical mid-range, while MongoDB (MDB) at 4.87 sits above its industry’s typical mid-range — comfortable liquidity, though possibly with more idle current assets relative to peers.
IOT
Software & Services industry group
1.63
- Max
- 5.11
- Q3
- 2.77
- Median
- 1.67
- IOT
- 1.63
- Q1
- 1.01
- Min
- 0.03
MDB
Software & Services industry group
4.87
- Max
- 5.11
- MDB
- 4.87
- Q3
- 2.77
- Median
- 1.67
- Q1
- 1.01
- Min
- 0.03
Debt / Equity (MRQ)
Both Samsara (IOT) at 0.04 and MongoDB (MDB) at 0.02 keep leverage in the lower quartile of their industries, with less balance-sheet debt relative to equity than most peers.
IOT
Software & Services industry group
0.04
- Max
- 2.52
- Q3
- 1.13
- Median
- 0.40
- Q1
- 0.07
- IOT
- 0.04
- Min
- 0.00
MDB
Software & Services industry group
0.02
- Max
- 2.52
- Q3
- 1.13
- Median
- 0.40
- Q1
- 0.07
- MDB
- 0.02
- Min
- 0.00
Financial Strength Metrics
| Metric | IOT | MDB |
|---|---|---|
| Current Ratio (MRQ) | 1.63 | 4.87 |
| Debt / Equity (MRQ) | 0.04 | 0.02 |
| Net Debt / EBITDA | -24.18 | -170.08 |
Dividends
Dividend Yield (TTM)
Neither Samsara (IOT) nor MongoDB (MDB) pays a dividend this period — they may reinvest, use buybacks, or simply not return cash through dividends.
IOT
Software & Services industry group
0.00%
- IOT
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
MDB
Software & Services industry group
0.00%
- MDB
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
Dividend Payout Ratio (TTM)
Neither Samsara (IOT) nor MongoDB (MDB) pays a dividend this period — they may reinvest, use buybacks, or simply not return cash through dividends.
IOT
Software & Services industry group
0.00%
- IOT
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
MDB
Software & Services industry group
0.00%
- MDB
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
Dividend Metrics
| Metric | IOT | MDB |
|---|---|---|
| Dividend Yield (TTM) | 0.00% | 0.00% |
| Dividend Payout Ratio (TTM) | 0.00% | 0.00% |
Valuation
P/E Ratio (TTM)
Both Samsara (IOT) at 292.71 and MongoDB (MDB) at 434.49 trade above their industries’ P/E ratio peer ranges, pointing to unusually expensive trailing earnings relative to peers.
IOT
Software & Services industry group
292.71
- IOT
- 292.71
- Max
- 112.94
- Q3
- 60.32
- Median
- 32.91
- Q1
- 18.77
- Min
- 6.69
MDB
Software & Services industry group
434.49
- MDB
- 434.49
- Max
- 112.94
- Q3
- 60.32
- Median
- 32.91
- Q1
- 18.77
- Min
- 6.69
P/S Ratio (TTM)
Both Samsara (IOT) at 12.99 and MongoDB (MDB) at 9.04 command a richer price per dollar of sales than most peers, sitting in the upper P/S ratio quartile of their industries.
IOT
Software & Services industry group
12.99
- Max
- 17.91
- IOT
- 12.99
- Q3
- 8.78
- Median
- 4.25
- Q1
- 2.23
- Min
- 0.02
MDB
Software & Services industry group
9.04
- Max
- 17.91
- MDB
- 9.04
- Q3
- 8.78
- Median
- 4.25
- Q1
- 2.23
- Min
- 0.02
P/B Ratio (MRQ)
MongoDB (MDB) at 8.46 is valued about in line with its industry on P/B ratio, while Samsara (IOT) at 14.97 carries an above-peer premium to book — IOT is pricier on assets.
IOT
Software & Services industry group
14.97
- Max
- 16.63
- IOT
- 14.97
- Q3
- 8.50
- Median
- 4.30
- Q1
- 1.92
- Min
- -3.90
MDB
Software & Services industry group
8.46
- Max
- 16.63
- Q3
- 8.50
- MDB
- 8.46
- Median
- 4.30
- Q1
- 1.92
- Min
- -3.90
Valuation Metrics
| Metric | IOT | MDB |
|---|---|---|
| P/E Ratio (TTM) | 292.71 | 434.49 |
| P/S Ratio (TTM) | 12.99 | 9.04 |
| P/B Ratio (MRQ) | 14.97 | 8.46 |
| Free Cash Flow Yield (TTM) | 1.09% | 2.23% |