C3.ai, Inc. (AI) vs MongoDB, Inc. (MDB)
A side-by-side comparison of C3.ai, Inc. and MongoDB, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of September 10, 2026. Differences are shown without an overall score or investment verdict.
AI
C3.ai, Inc.
$10.54TechnologyDelayed quote: Sep 11, 2026, 4:00 PM EDT
MDB
MongoDB, Inc.
$362.21TechnologyDelayed quote: Sep 11, 2026, 4:00 PM EDT
Total return — AI vs MDB
growth of $100 · dividends reinvested · last 6yAI -88.7% (-30.4%/yr)MDB +32.1% (+4.8%/yr)MDB compounded faster over this window
Log scale — wide-divergence pair
AI MDB
AI vs MDB: by the numbers
- •MDB is the larger company ($29.13B vs $1.60B market cap).
- •MDB is profitable (2.12% net margin) while AI runs a net loss (-192.10%).
- •MDB grew revenue faster over the past five years (31.71% vs 3.56% CAGR).
Metrics side by side
Valuation
| Metric | AI | MDB |
|---|---|---|
| P/E ratio | N/A | 513.55 |
| P/S ratio | 6.89 | 10.47 |
| P/B ratio | 2.30 | 9.78 |
| EV / EBITDA | N/A | 1378.27 |
| FCF yield | N/A | 2.29% |
Profitability
| Metric | AI | MDB |
|---|---|---|
| Gross margin | 29.09% | 72.69% |
| Operating margin | -198.43% | -0.52% |
| Net margin | -192.10% | 2.12% |
| ROE | -64.24% | 1.98% |
| ROIC | -61.51% | -0.36% |
Growth (annualized)
| Metric | AI | MDB |
|---|---|---|
| Revenue CAGR (5Y) | 3.56% | 31.71% |
| Total return CAGR (5Y) | -26.86% | -5.22% |
Frequently asked
- Which has grown faster, AI or MDB?
- Over the past five years, MDB grew revenue faster — AI at a 3.56% CAGR versus MDB at 31.71%.
- Is AI or MDB more profitable?
- MDB runs the higher net margin — AI at -192.10% versus MDB at 2.12%.
- How have AI and MDB total returns compared?
- Over the past 5 years, AI delivered -26.86% and MDB delivered -5.22% annualized total return. Past performance doesn't predict future results.
Go deeper
Dig into the metrics
MongoDB P/E ratioC3.ai ROEMongoDB ROEC3.ai operating marginMongoDB operating marginC3.ai revenue growthMongoDB revenue growthC3.ai free cash flowMongoDB free cash flow
C3.ai & MongoDB appear in these rankings
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 September 10, 2026.