New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls.
Read the Q3 2026 report
MongoDB, Inc. (MDB) vs Okta, Inc. (OKTA)
- MongoDB, Inc. MDB 320.16 +2.11%
- Okta, Inc. OKTA 207.49 +2.83%
MongoDB, Inc. and Okta, Inc. are both Software Infrastructure companies. Okta, Inc. is the larger, with a market value of $35.3B against $25.3B — 1.4× the size. Okta, Inc. trades at the lower P/E: 123× against 433×. MongoDB, Inc. grew revenue faster over the last twelve months: 25.5% against 11.2%. Okta, Inc. has the higher net margin (9.63% vs 2.12%) and the higher return on invested capital (3.10% vs −1.60%). Across the 20 metrics below, Okta, Inc. leads on 15 and MongoDB, Inc. on 5.
Valuation
Profitability
| Metric | MDB | OKTA | Software Infrastructure median |
|---|---|---|---|
| Gross margin | 72.69% | 78.13% | 60.45% |
| Operating margin | (0.52%) | 7.55% | 0.61% |
| Net margin | 2.12% | 9.63% | (0.01%) |
| Free cash flow margin | 23.68% | 31.27% | 7.57% |
| Return on equity | 1.99% | 4.31% | 2.06% |
| Return on assets | 1.61% | 3.17% | (0.78%) |
| Return on invested capital | (1.60%) | 3.10% | 0.00% |
Growth
Health
Dividend
Size
Any metric, up to five companies and an Excel export Powerpack