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 Twilio Inc. (TWLO)
- MongoDB, Inc. MDB 320.16 +2.11%
- Twilio Inc. TWLO 185.80 +2.77%
MongoDB, Inc. and Twilio Inc. are both Software Infrastructure companies. Twilio Inc. is the larger, with a market value of $28.0B against $25.3B — 1.1× the size. Twilio Inc. trades at the lower P/E: 22.3× against 433×. MongoDB, Inc. grew revenue faster over the last twelve months: 25.5% against 19.1%. Twilio Inc. has the higher net margin (21.8% vs 2.12%) and the higher return on invested capital (3.42% vs −1.60%). Across the 21 metrics below, Twilio Inc. leads on 15 and MongoDB, Inc. on 6.
Valuation
Profitability
| Metric | MDB | TWLO | Software Infrastructure median |
|---|---|---|---|
| Gross margin | 72.69% | 48.58% | 60.45% |
| Operating margin | (0.52%) | 6.82% | 0.61% |
| Net margin | 2.12% | 21.82% | (0.01%) |
| Free cash flow margin | 23.68% | 19.18% | 7.57% |
| Return on equity | 1.99% | 14.91% | 2.06% |
| Return on assets | 1.61% | 12.23% | (0.78%) |
| Return on invested capital | (1.60%) | 3.42% | 0.00% |
Growth
Health
Dividend
Size
Any metric, up to five companies and an Excel export Powerpack